/* ============================================================
   디자인 토큰
   ============================================================ */
:root {
  --ink: #18181B;
  --ink-soft: #71717A;
  --paper: #FFFFFF;
  --paper-alt: #FAF9F7;
  --border: #EAE7E2;
  --accent-gold: #F15A3A;
  --accent-gold-soft: #FFF1EC;
  --accent-gold-dark: #D94B2D;
  --accent-teal: #F15A3A;
  --danger: #F15A3A;
  --text-muted: #71717A;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --font-serif: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: #172033;
  background: var(--paper-alt);
  line-height: 1.5;
}

a { color: inherit; }
a, button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.type-tile:focus-visible,
.strip-tile:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.tabular { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ============================================================
   헤더 / 네비게이션 (반응형: 모바일은 햄버거)
   ============================================================ */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo .logo-accent { color: var(--accent-gold); }

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent-gold);
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  margin-left: 16px;
}

.auth-nickname {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
}

.auth-link {
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  white-space: nowrap;
}

.auth-link:hover { border-color: var(--accent-gold); color: var(--ink); }

.auth-login-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.auth-login-btn:hover { background: #06121A; color: var(--paper); }

/* 로그인 페이지 */
.login-card {
  max-width: 420px;
  margin: 40px auto 0;
  text-align: center;
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--ink);
  margin: 0 0 4px;
}

.login-title { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 6px; color: var(--ink); }
.login-subtitle { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 28px; }

.sns-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sns-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
}

.sns-icon { display: flex; align-items: center; flex: 0 0 auto; }

.sns-kakao { background: #FEE500; color: #391B1B; border-color: #FEE500; }
.sns-naver { background: #03C75A; color: #fff; border-color: #03C75A; }
.sns-google { background: #fff; color: #1F1F1F; }

.recent-badge {
  position: absolute;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 20px;
    border-bottom: none;
  }
  .main-nav a.active { background: var(--paper-alt); border-bottom: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   히어로
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  padding: 56px 20px 92px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-copy {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.3;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.hero-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #C9C6BE;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
}

.hero-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid rgba(250,248,244,0.4);
  padding-bottom: 2px;
  text-decoration: none;
}

.hero-art {
  position: relative;
  width: 260px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
}

.hero-card {
  position: absolute;
  width: 190px;
  height: 108px;
  border-radius: 14px;
  box-shadow: 0 20px 34px -16px rgba(0,0,0,0.45);
}

.hero-card-back {
  top: 4px;
  left: 44px;
  background: var(--accent-gold);
  transform: rotate(-9deg);
}

.hero-card-front {
  top: 64px;
  left: 2px;
  background: var(--paper);
  transform: rotate(7deg);
  display: flex;
  align-items: center;
}

.hero-card-dot {
  position: absolute;
  left: 58px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
}
.hero-card-dot-top { top: -8px; }
.hero-card-dot-bottom { bottom: -8px; }

.hero-card-perf {
  position: absolute;
  left: 65px;
  top: 6px;
  bottom: 6px;
  border-left: 1.5px dashed #C9BFA6;
}

.hero-card-label { padding: 0 14px 0 84px; }
.hero-card-label-main {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-card-label-sub {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-scallop {
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 24px;
  background-image: radial-gradient(circle at 12px 12px, var(--paper-alt) 11px, transparent 12px);
  background-size: 24px 24px;
  background-repeat: repeat-x;
}

@media (max-width: 720px) {
  .hero { padding: 44px 20px 80px; }
  .hero-title { font-size: 1.6rem; }
  .hero-art { display: none; }
}

/* ============================================================
   실시간 최고 매입가 스트립
   ============================================================ */
.rate-strip-wrap {
  max-width: var(--container-width);
  width: calc(100% - 40px);
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
}

.rate-strip {
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 22px 40px -20px rgba(27,42,77,0.22);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rate-strip-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}

.rate-strip-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.rate-strip-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.rate-strip-items {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.rate-strip-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 0 20px;
  border-left: 1px solid var(--border);
  text-decoration: none;
}
.rate-strip-item:first-of-type { border-left: none; }

.rate-strip-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-strip-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--accent-gold-soft);
  flex-shrink: 0;
}
.rate-strip-icon img { width: 100%; height: 100%; object-fit: cover; }

.rate-strip-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #211D18;
  white-space: nowrap;
}

.rate-strip-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.rate-strip-percent { font-size: 0.75rem; }

@media (max-width: 720px) {
  .rate-strip-wrap { width: calc(100% - 24px); margin-top: -32px; }
  .rate-strip { flex-direction: column; align-items: flex-start; }
  .rate-strip-items { width: 100%; justify-content: space-between; }
  .rate-strip-item { padding: 0 8px; }
}

.serif-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-size: 1.15rem;
}

/* ============================================================
   배너 캐러셀 (좌우 스크롤, 여러 장 지원)
   ============================================================ */
.banner-section {
  max-width: var(--container-width);
  margin: 24px auto 0;
  padding: 0 20px;
}

.banner-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.banner-slot {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  border-radius: 4px;
}

.banner-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .banner-slot { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .banner-slot { aspect-ratio: 1 / 1; }
}

/* ============================================================
   메인 콘텐츠 공통
   ============================================================ */
main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1, h2, h3 { letter-spacing: -0.01em; }

/* ============================================================
   비교 도구 - "티켓 스텁" 카드 (절취선 디테일은 여기 한 번만)
   ============================================================ */
.tool-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  position: relative;
  margin-bottom: 32px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(16, 32, 43, 0.06), 0 1px 2px rgba(16, 32, 43, 0.04);
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 0;
  border-top: 2px dashed var(--border);
}

.type-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.type-strip.dragging {
  cursor: grabbing;
}

.type-strip img { pointer-events: none; }

.strip-tile {
  flex: 0 0 auto;
  width: 72px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--font-sans);
}

.strip-tile.active {
  border-color: var(--accent-gold);
  background: #FBF3E3;
}

.strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strip-icon img { width: 100%; height: 100%; object-fit: cover; }
.strip-icon span {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.05rem;
}

.strip-name {
  font-size: 0.66rem;
  text-align: center;
  line-height: 1.25;
  color: var(--ink);
  white-space: normal;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.back-link:hover { color: var(--ink); }

.result-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 20px;
  color: var(--ink);
}

.amount-card { margin-bottom: 24px; }
.amount-card .amount-field { max-width: 100%; }

.field-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.875rem;
  margin: 0 0 6px;
  color: var(--ink);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-soft);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}

.field-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 12px;
}

.text-muted { color: var(--text-muted); }

/* 상품권 아이콘 그리드 */
.type-grid { margin-bottom: 24px; }

.type-group-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 18px 0 8px;
}
.type-group-heading:first-child { margin-top: 0; }

.type-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.type-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
}

.type-tile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.type-tile-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
}

.type-tile:hover { border-color: var(--accent-gold); }

.type-tile.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.type-tile.more-tile {
  border-style: dashed;
  color: var(--text-muted);
  justify-content: center;
}
.type-tile.more-tile:hover { border-color: var(--ink-soft); }

.more-icon {
  background: var(--paper-alt);
  color: var(--ink-soft);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.type-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-soft);
}

.type-icon img { width: 100%; height: 100%; object-fit: cover; }

.type-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
}

.type-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: #211D18;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amount-field {
  max-width: 100%;
}

.quick-amount-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quick-amount-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-sans);
}

.quick-amount-btn:hover { border-color: var(--accent-gold); }

.quick-amount-reset {
  color: var(--text-muted);
  border-style: dashed;
}

.amount-field label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

/* 최고 실수령액 뱃지 */
.best-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.field {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.88rem;
}

.field select,
.field input {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-sans);
}

#amount-input {
  text-align: right;
  font-family: var(--font-mono);
}

/* ============================================================
   결과 표
   ============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
}

tbody tr.best-row td {
  font-weight: 700;
  background: var(--paper-alt);
}

.rate-cell, .net-cell { font-family: var(--font-mono); }

.rate-zero { color: var(--danger); }

.site-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 600;
}

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

.fee-note {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.data-disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: #FBF3E3;
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.empty-box {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
}

/* 표는 좁은 화면에서 가로 스크롤 */
.table-scroll {
  overflow-x: auto;
}

@media (max-width: 640px) {
  table { min-width: 560px; }
}

/* ============================================================
   게시판
   ============================================================ */
#result-box, .recent-posts-section, #post-detail {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(16, 32, 43, 0.06), 0 1px 2px rgba(16, 32, 43, 0.04);
}

.recent-posts-section { margin-top: 8px; }

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #06121A; }

.btn-gold { background: var(--accent-gold); color: var(--ink); }
.btn-gold:hover { background: #C6943A; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.category-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-alt);
  color: var(--ink-soft);
  margin-right: 10px;
  vertical-align: middle;
}

.category-badge.cat-free {
  background: rgba(14, 124, 123, 0.12);
  color: var(--accent-teal);
}

.category-badge.cat-info {
  background: rgba(217, 164, 65, 0.18);
  color: #9C6F1D;
}

#editor-container {
  min-height: 260px;
  background: var(--paper);
  font-family: var(--font-sans);
}

.ql-editor { min-height: 240px; font-size: 1rem; }

.post-detail-content img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
.post-detail-content video { max-width: 100%; border-radius: 6px; margin: 8px 0; display: block; }
.post-detail-content { white-space: normal; }

.post-list { list-style: none; padding: 0; margin: 0; }

.post-list li {
  border-bottom: 1px solid var(--border);
}

.post-list-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.post-list-card .post-list { border: none; }
.post-list-card .post-list li:last-child { border-bottom: none; }

.post-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
}

.post-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--accent-gold-soft);
}

.post-list-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
}

.board-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.board-search-input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background: var(--paper);
}

.board-search-btn {
  flex-shrink: 0;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
}

.pagination-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.pagination-row a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.pagination-row a.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.post-list-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.post-list .post-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-list .post-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  flex: 0 0 auto;
}

.empty-board {
  padding: 60px 0;
  text-align: center;
  color: var(--text-muted);
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-form input,
.post-form textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  width: 100%;
}

.post-form textarea {
  min-height: 220px;
  resize: vertical;
}

.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > div { flex: 1; min-width: 160px; }

.post-detail-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.post-detail-header h1 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 10px; color: var(--ink); }

.post-detail-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.post-detail-content {
  white-space: pre-wrap;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 120px;
}

.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

/* ============================================================
   푸터
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-row .logo-mark { width: 40px; height: 40px; border-radius: 11px; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer-brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legal-doc {
  line-height: 1.75;
  font-size: 0.92rem;
  color: #211D18;
}
.legal-doc h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 12px; padding-left: 20px; }
.legal-doc li { margin-bottom: 6px; }

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
}
.footer-links a { color: var(--ink-soft); text-decoration: underline; }
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   2026 커뮤니티형 메인 리뉴얼
   ============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 헤더 */
.site-header-inner {
  gap: 24px;
}

.main-nav {
  margin-left: auto;
  gap: 24px;
}

.auth-status {
  margin-left: 4px;
}

/* 메인 전용 Hero */
.hero-community {
  padding-top: 64px;
  padding-bottom: 92px;
}

.hero-community .hero-inner {
  min-height: 330px;
}

.hero-copy-community {
  max-width: 650px;
  gap: 17px;
}

.hero-community .hero-title {
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.hero-community .hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}

.hero-search {
  width: min(100%, 620px);
  margin-top: 10px;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
  color: #211D18;
  font-size: 0.96rem;
}

.hero-search-input::placeholder {
  color: #8F8A81;
}

.hero-search-button {
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: var(--accent-gold);
  color: var(--ink);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.hero-search-button:hover {
  background: #C99A49;
}

.hero-quick-links {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.hero-quick-label {
  color: rgba(255,255,255,0.48);
  font-weight: 700;
}

.hero-quick-items {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.hero-quick-items a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-quick-items a:hover {
  color: var(--paper);
  border-color: rgba(185,139,62,0.75);
  background: rgba(185,139,62,0.14);
}

.hero-community .hero-art {
  width: 300px;
  height: 235px;
}

.hero-community .hero-card {
  width: 215px;
  height: 122px;
}

.hero-community .hero-card-back {
  top: 13px;
  left: 58px;
}

.hero-community .hero-card-front {
  top: 83px;
  left: 8px;
}

.hero-community .hero-card-label-main {
  font-size: 1rem;
}

/* 메인 공통 섹션 */
main:has(.home-section) {
  padding-top: 50px;
}

.home-section {
  margin: 0 0 72px;
}

.home-section-head,
.home-info-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-section-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.home-section-title {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.home-section-title.small {
  font-size: 1.35rem;
}

.home-section-desc {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.home-section-link,
.spotlight-more {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-section-link:hover,
.spotlight-more:hover {
  color: var(--accent-gold-dark);
}

/* 커뮤니티 스포트라이트 */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.spotlight-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(27,42,77,0.045);
}

.spotlight-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #EEE9E0;
}

.spotlight-card-head h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.16rem;
}

.spotlight-kicker {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.spotlight-kicker.question {
  background: #E9F4F3;
  color: #0B706E;
}

.spotlight-kicker.popular {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
}

.spotlight-list,
.home-feed-list,
.review-mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spotlight-list li + li {
  border-top: 1px solid #F1EDE6;
}

.spotlight-list a {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  padding: 12px 2px;
}

.spotlight-list a:hover strong {
  color: var(--accent-gold-dark);
}

.spotlight-index,
.spotlight-rank {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
}

.spotlight-index {
  background: #E9F4F3;
  color: #0B706E;
}

.spotlight-rank {
  background: var(--paper-alt);
  color: var(--accent-gold-dark);
}

.spotlight-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.spotlight-content strong {
  color: #2A251F;
  font-size: 0.91rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-meta {
  color: #898176;
  font-size: 0.72rem;
}

.spotlight-empty,
.home-feed-empty,
.review-empty {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--text-muted);
}

.spotlight-empty p,
.home-feed-empty p,
.review-empty p {
  margin: 0;
  font-size: 0.86rem;
}

/* 주요 시세 */
.home-rates-section {
  padding: 30px;
  background: #F2EEE5;
  border-radius: 22px;
}

.home-rate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-rate-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid rgba(231,225,214,0.95);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-rate-card:hover {
  transform: translateY(-2px);
  border-color: #D8C8AA;
  box-shadow: 0 12px 24px rgba(27,42,77,0.07);
}

.home-rate-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.home-rate-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--accent-gold-soft);
  flex: 0 0 30px;
}

.home-rate-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-rate-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent-gold-dark);
}

.home-rate-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #342E27;
  font-size: 0.83rem;
  font-weight: 700;
}

.home-rate-value {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.home-rate-value span {
  margin-left: 2px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.home-rate-meta {
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* 상품권 이야기 피드 */
.home-feed-head {
  align-items: center;
}

.home-write-btn {
  flex: 0 0 auto;
}

.home-feed-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 11px;
  scrollbar-width: none;
}

.home-feed-tabs::-webkit-scrollbar {
  display: none;
}

.home-feed-tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.home-feed-tabs a.active,
.home-feed-tabs a:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.home-feed-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.home-feed-list li + li {
  border-top: 1px solid #EEE9E0;
}

.home-feed-list > li > a {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 15px 19px;
  text-decoration: none;
  transition: background .16s ease;
}

.home-feed-list > li > a:hover {
  background: #FCFAF6;
}

.home-feed-thumb {
  width: 74px;
  height: 56px;
  flex: 0 0 74px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--accent-gold-soft);
}

.home-feed-content {
  min-width: 0;
  flex: 1;
}

.home-feed-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.home-feed-title-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2A251F;
  font-size: 0.94rem;
}

.community-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  height: 23px;
  padding: 0 7px;
  border-radius: 7px;
  background: #EFECE6;
  color: #675E52;
  font-size: 0.66rem;
  font-weight: 800;
}

.category-질문 {
  background: #E7F4F2;
  color: #0B706E;
}

.category-이용후기 {
  background: #F6E9E4;
  color: #9B4E3A;
}

.category-정보 {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
}

.category-자유 {
  background: #ECECF5;
  color: #535783;
}

.home-feed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 7px;
  color: #8A8278;
  font-size: 0.7rem;
}

.home-feed-meta span + span::before {
  content: "·";
  margin: 0 7px;
  color: #C4BDB2;
}

.home-feed-chevron {
  flex: 0 0 auto;
  color: #B0A99F;
}

.home-section-bottom-link {
  text-align: center;
  margin-top: 18px;
}

.home-section-bottom-link a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

/* 상품권별 찾아보기 */
.home-giftcards-section {
  padding-top: 2px;
}

.home-type-grid .type-group {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-type-grid .type-tile {
  min-height: 72px;
  padding: 14px 15px;
}

/* 하단 가이드 / 후기 */
.home-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-info-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.home-info-card-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

.guide-link-list {
  display: flex;
  flex-direction: column;
}

.guide-link-list a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #EEE9E0;
  color: #2B261F;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.guide-link-list a:first-child {
  border-top: 0;
}

.guide-link-list a:hover {
  color: var(--accent-gold-dark);
}

.guide-arrow {
  color: #B3AA9C;
  font-size: 1rem;
}

.review-mini-list li + li {
  border-top: 1px solid #EEE9E0;
}

.review-mini-list a {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}

.review-mini-list strong {
  color: #2B261F;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-mini-list span {
  color: #8A8278;
  font-size: 0.7rem;
}

.review-mini-list a:hover strong {
  color: var(--accent-gold-dark);
}

/* 버튼 보완 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
}

/* 반응형 */
@media (max-width: 980px) {
  .site-header-inner {
    gap: 14px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.86rem;
  }

  .hero-community .hero-art {
    width: 245px;
  }

  .home-rate-grid,
  .home-type-grid .type-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .auth-status {
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    margin-left: 0;
    background: var(--paper);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 28px rgba(27,42,77,0.08);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 20px;
    border-bottom: 0;
  }

  .main-nav a.active {
    background: var(--paper-alt);
  }

  .spotlight-grid,
  .home-bottom-grid {
    grid-template-columns: 1fr;
  }

  .hero-community .hero-inner {
    min-height: 0;
  }

  .hero-community .hero-art {
    display: none;
  }

  .hero-copy-community {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  main:has(.home-section) {
    padding: 36px 14px 48px;
  }

  .site-header-inner {
    padding: 12px 14px;
  }

  .logo-text {
    font-size: 1.18rem;
  }

  .logo-mark {
    width: 31px;
    height: 31px;
  }

  .auth-status {
    gap: 5px;
  }

  .auth-link {
    padding: 6px 9px;
    font-size: 0.73rem;
  }

  .auth-nickname {
    display: none;
  }

  .hero-community {
    padding: 43px 16px 67px;
  }

  .hero-community .hero-title {
    font-size: 2.05rem;
  }

  .hero-community .hero-desc {
    font-size: 0.9rem;
  }

  .hero-search-box {
    border-radius: 13px;
  }

  .hero-search-input {
    height: 47px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero-search-button {
    height: 41px;
    padding: 0 12px;
  }

  .hero-search-button span {
    display: none;
  }

  .hero-quick-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-section {
    margin-bottom: 54px;
  }

  .home-section-head,
  .home-info-card-head {
    align-items: flex-start;
    margin-bottom: 17px;
  }

  .home-section-head {
    flex-direction: column;
    gap: 8px;
  }

  .home-section-title {
    font-size: 1.48rem;
  }

  .spotlight-card,
  .home-info-card {
    padding: 18px;
    border-radius: 15px;
  }

  .spotlight-card-head {
    padding-bottom: 13px;
  }

  .spotlight-card-head h3 {
    font-size: 1.04rem;
  }

  .spotlight-list a {
    min-height: 66px;
  }

  .spotlight-meta {
    font-size: 0.68rem;
  }

  .home-rates-section {
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
    padding: 28px 14px;
  }

  .home-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-rate-card {
    padding: 14px;
  }

  .home-rate-value {
    font-size: 1.62rem;
  }

  .home-feed-head {
    flex-direction: row;
    align-items: center;
  }

  .home-write-btn {
    padding: 10px 13px;
    font-size: 0.76rem;
  }

  .home-feed-list > li > a {
    min-height: 76px;
    padding: 13px 14px;
  }

  .home-feed-thumb {
    width: 58px;
    height: 48px;
    flex-basis: 58px;
  }

  .home-feed-title-row {
    gap: 6px;
  }

  .home-feed-title-row strong {
    font-size: 0.86rem;
  }

  .community-category {
    min-width: 39px;
    height: 21px;
    font-size: 0.61rem;
  }

  .home-feed-meta {
    font-size: 0.65rem;
  }

  .home-feed-meta span:nth-child(3),
  .home-feed-meta span:nth-child(3)::before {
    display: none;
  }

  .home-type-grid .type-group {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .home-type-grid .type-tile {
    min-height: 64px;
    padding: 12px;
  }

  .home-type-grid .type-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .home-rate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-feed-chevron {
    display: none;
  }

  .home-type-grid .type-group {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   HOME V3 — Production UI
   ============================================================ */

html { background: #F8FAFC; }
body {
  background: #F8FAFC;
  color: #0F172A;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 1px 10px rgba(15,23,42,.025);
}
.site-header-inner {
  max-width: 1180px;
  height: 72px;
  padding: 0 20px;
}
.logo {
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg,#0F172A,#233A69);
  color: #60A5FA;
  box-shadow: 0 7px 18px rgba(15,23,42,.16);
}
.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-copy strong {
  color: #0F172A;
  font-size: 1rem;
  letter-spacing: -.035em;
  font-weight: 800;
}
.logo-copy small {
  color: #94A3B8;
  font-size: .56rem;
  margin-top: 5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.main-nav {
  gap: 6px;
}
.main-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: #475569;
  font-size: .84rem;
  font-weight: 700;
  border-bottom: 0;
}
.main-nav a:hover {
  background: #F1F5F9;
  color: #0F172A;
}
.main-nav a.active {
  background: #EFF6FF;
  color: #1D4ED8;
  border-bottom: 0;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px 0;
  border-radius: 99px;
  background: #0F172A;
}

/* Hero */
.hero-v3 {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 78px 20px 74px;
  background:
    radial-gradient(circle at 88% 7%, rgba(37,99,235,.10), transparent 28%),
    radial-gradient(circle at 78% 88%, rgba(15,186,169,.08), transparent 25%),
    linear-gradient(180deg,#FFFFFF 0%,#F8FAFC 100%);
  border-bottom: 1px solid #EAF0F6;
}
.hero-v3-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.10) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 43%, #000 100%);
}
.hero-v3-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr);
  gap: 74px;
  align-items: center;
}
.hero-v3-copy { max-width: 650px; }
.hero-v3-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 20px;
  border: 1px solid #DCE7F5;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #47617F;
  font-size: .72rem;
  font-weight: 750;
  box-shadow: 0 5px 18px rgba(15,23,42,.04);
}
.hero-v3-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14B8A6;
  box-shadow: 0 0 0 4px rgba(20,184,166,.12);
}
.hero-v3 h1 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(3rem,4.5vw,4.55rem);
  line-height: 1.06;
  letter-spacing: -.065em;
  font-weight: 850;
}
.hero-v3 h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg,#2563EB 0%,#3B82F6 52%,#0FBAA9 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-v3-copy > p {
  margin: 24px 0 0;
  color: #526078;
  font-size: 1.03rem;
  line-height: 1.82;
  letter-spacing: -.012em;
}
.hero-v3-search {
  width: 100%;
  max-width: 640px;
  min-height: 66px;
  margin-top: 30px;
  padding: 7px 8px 7px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #D8E2EE;
  border-radius: 17px;
  background: #FFFFFF;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 16px 38px rgba(15,23,42,.08);
}
.hero-v3-search svg { color: #94A3B8; flex: 0 0 auto; }
.hero-v3-search input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: #0F172A;
  font-size: .95rem;
}
.hero-v3-search input::placeholder { color: #9AA8BA; }
.hero-v3-search button {
  width: 80px;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,#2563EB,#1D4ED8);
  color: #FFFFFF;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37,99,235,.20);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-v3-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37,99,235,.25);
}
.hero-v3-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: wrap;
}
.hero-v3-primary {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(15,23,42,.15);
}
.hero-v3-primary:hover { background:#1E293B; }
.hero-v3-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}
.hero-v3-link:hover { color:#1D4ED8; }
.hero-v3-keywords {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hero-v3-keywords > span {
  color: #94A3B8;
  font-size: .7rem;
  font-weight: 700;
  margin-right: 2px;
}
.hero-v3-keywords a {
  padding: 6px 9px;
  border-radius: 8px;
  background: #EFF4F9;
  color: #64748B;
  font-size: .69rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-v3-keywords a:hover {
  background: #E6EFFC;
  color: #2563EB;
}

/* Hero visual */
.hero-v3-visual {
  position: relative;
  min-height: 390px;
}
.hero-v3-visual::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  top: 34px;
  left: 78px;
  background:
    radial-gradient(circle at 35% 32%,rgba(255,255,255,.95),rgba(219,234,254,.66) 35%,rgba(224,242,254,.15) 70%);
  border: 1px solid rgba(191,219,254,.52);
  box-shadow: inset 0 0 60px rgba(255,255,255,.8);
}
.visual-orbit {
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(59,130,246,.12);
}
.visual-orbit-one { width:380px;height:380px;top:10px;left:53px; }
.visual-orbit-two { width:280px;height:280px;top:61px;left:103px;border-style:dashed; }
.visual-card {
  position: absolute;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 55px rgba(15,23,42,.13);
}
.visual-card-main {
  z-index: 3;
  width: 330px;
  left: 9px;
  top: 105px;
  padding: 22px;
  border-radius: 20px;
  transform: rotate(-2.2deg);
}
.visual-card-head {
  display:flex;
  align-items:center;
  gap:11px;
}
.visual-avatar {
  width:38px;height:38px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#DBEAFE,#CCFBF1);
  color:#1D4ED8;font-size:.82rem;font-weight:900;
}
.visual-card-head div:last-child {
  display:flex;flex-direction:column;gap:3px;
}
.visual-card-head span { color:#94A3B8;font-size:.65rem;font-weight:700; }
.visual-card-head strong { color:#172033;font-size:.84rem;letter-spacing:-.02em; }
.visual-card-main p {
  margin:20px 0 16px;
  color:#334155;
  font-size:.92rem;
  line-height:1.55;
  font-weight:700;
}
.visual-card-foot {
  padding-top:13px;
  border-top:1px solid #EEF2F7;
  display:flex;justify-content:space-between;
  color:#94A3B8;font-size:.65rem;font-weight:650;
}
.visual-card-rate {
  z-index:4;
  width:250px;
  right:0;
  top:42px;
  padding:18px 19px;
  border-radius:18px;
  transform:rotate(2.8deg);
}
.visual-rate-top {
  display:flex;justify-content:space-between;align-items:center;
  color:#64748B;font-size:.64rem;font-weight:750;
}
.visual-live { display:flex;align-items:center;gap:5px;color:#0F9D8D;font-size:.58rem;letter-spacing:.04em; }
.visual-live i { width:6px;height:6px;border-radius:50%;background:#14B8A6;box-shadow:0 0 0 4px rgba(20,184,166,.10); }
.visual-card-rate strong {
  display:block;
  margin-top:14px;
  color:#172033;
  font-size:.95rem;
}
.visual-card-rate strong b { color:#2563EB;font-size:1.5rem;margin-left:8px;letter-spacing:-.04em; }
.visual-card-rate > span:last-child {
  display:block;margin-top:6px;color:#94A3B8;font-size:.62rem;
}
.visual-card-review {
  z-index:5;
  width:254px;
  right:27px;
  bottom:25px;
  padding:17px 18px;
  border-radius:17px;
  display:flex;align-items:center;gap:12px;
  transform:rotate(-1deg);
}
.visual-review-icon {
  width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:#ECFDF5;color:#0F9D8D;
}
.visual-card-review div:last-child { display:flex;flex-direction:column;gap:4px; }
.visual-card-review span { color:#94A3B8;font-size:.62rem;font-weight:700; }
.visual-card-review strong { color:#334155;font-size:.78rem;letter-spacing:-.015em; }
.visual-spark { position:absolute;inset:40px 0 0 32px;width:390px;height:300px;z-index:1; }

/* Main */
main { background:#F8FAFC; }
.home-section {
  max-width: 1180px;
  padding-left:20px;
  padding-right:20px;
}
.home-community-spotlight { padding-top:72px; }
.home-section-head { margin-bottom:24px; }
.home-section-eyebrow {
  color:#2563EB;
  font-size:.66rem;
  letter-spacing:.13em;
  font-weight:850;
}
.home-section-title {
  margin-top:8px;
  color:#0F172A;
  font-family:var(--font-sans);
  font-size:1.72rem;
  letter-spacing:-.045em;
  font-weight:820;
}
.home-section-title.small { font-size:1.35rem; }
.home-section-desc {
  margin-top:7px;
  color:#718096;
  font-size:.8rem;
}
.home-section-link,
.spotlight-more {
  color:#52637A;
  font-size:.72rem;
  font-weight:750;
}
.home-section-link:hover,
.spotlight-more:hover { color:#2563EB; }

.spotlight-grid { gap:18px; }
.spotlight-card {
  border:1px solid #E6EBF1;
  border-radius:20px;
  background:#FFFFFF;
  box-shadow:0 12px 34px rgba(15,23,42,.045);
  overflow:hidden;
}
.spotlight-card-head {
  padding:22px 22px 15px;
  border-bottom:1px solid #EEF2F6;
}
.spotlight-card-head h3 {
  margin-top:9px;
  color:#172033;
  font-size:1rem;
  letter-spacing:-.025em;
}
.spotlight-kicker {
  padding:5px 7px;
  border-radius:999px;
  font-size:.55rem;
  font-weight:900;
  letter-spacing:.08em;
}
.spotlight-kicker.question { background:#EAFBF7;color:#07866F; }
.spotlight-kicker.popular { background:#EEF4FF;color:#2563EB; }
.spotlight-list li + li { border-top:1px solid #F1F4F7; }
.spotlight-list a { padding:14px 22px; }
.spotlight-list a:hover { background:#F8FAFC; }
.spotlight-empty { min-height:140px; }

/* Rates */
.home-rates-section {
  margin-top:50px;
  padding:30px;
  border:1px solid #DBE6F2;
  border-radius:24px;
  background:
    radial-gradient(circle at 97% 0%,rgba(45,212,191,.08),transparent 28%),
    linear-gradient(135deg,#F1F6FF 0%,#F8FBFF 52%,#F2FBFA 100%);
}
.home-rate-grid { gap:12px; }
.home-rate-card {
  border:1px solid rgba(222,231,241,.95);
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 22px rgba(15,23,42,.035);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.home-rate-card:hover {
  transform:translateY(-3px);
  border-color:#BCD2F4;
  box-shadow:0 14px 30px rgba(37,99,235,.10);
}
.home-rate-value { color:#0F172A;letter-spacing:-.055em; }
.home-rate-value span { color:#2563EB; }

/* Stories */
.home-feed-section { margin-top:72px; }
.home-feed-tabs a {
  border-color:#E1E8F0;
  background:#FFFFFF;
  color:#64748B;
  font-size:.7rem;
  font-weight:750;
}
.home-feed-tabs a.active,
.home-feed-tabs a:hover {
  background:#0F172A;
  border-color:#0F172A;
  color:#FFFFFF;
}
.home-feed-card {
  border:1px solid #E4EAF1;
  border-radius:20px;
  background:#FFFFFF;
  box-shadow:0 12px 32px rgba(15,23,42,.04);
}
.home-feed-list li + li { border-top:1px solid #EFF3F7; }
.home-feed-list li > a:hover { background:#FAFBFD; }
.btn-primary,
.btn-write {
  border-color:#0F172A;
  background:#0F172A;
  color:#FFFFFF;
  box-shadow:0 7px 16px rgba(15,23,42,.10);
}
.btn-primary:hover,
.btn-write:hover {
  border-color:#1D4ED8;
  background:#1D4ED8;
}

/* Giftcard browser */
.home-giftcards-section { margin-top:72px; }
.home-type-grid .type-tile {
  border:1px solid #E4EAF1;
  background:#FFFFFF;
  border-radius:14px;
  box-shadow:0 7px 20px rgba(15,23,42,.03);
}
.home-type-grid .type-tile:hover {
  transform:translateY(-2px);
  border-color:#BDD2F2;
  box-shadow:0 12px 24px rgba(37,99,235,.08);
}
.home-bottom-grid { margin-top:56px; padding-bottom:82px; }
.home-info-card {
  border:1px solid #E4EAF1;
  border-radius:20px;
  background:#FFFFFF;
  box-shadow:0 10px 28px rgba(15,23,42,.035);
}
.guide-link-list a:hover,
.review-mini-list a:hover { background:#FAFBFD; }

/* Future ad inventory: invisible until ad code removes [hidden] */
.ad-reserve[hidden] { display:none !important; }
.ad-reserve {
  max-width:1180px;
  min-height:90px;
  margin:36px auto;
  padding:0 20px;
}

/* Footer */
.site-footer {
  border-top:1px solid #E5EBF2;
  background:#FFFFFF;
}
.footer-inner { max-width:1180px; }
.footer-brand-row { padding-bottom:22px; }
.footer-links-wrap {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.footer-disclaimer {
  max-width:900px;
  margin:0;
  padding:22px 0 0;
  border-top:1px solid #EEF2F6;
  color:#8A98AA;
  font-size:.68rem;
  line-height:1.7;
}
.footer-copyright { color:#A0AABA; }

/* Responsive */
@media (max-width: 980px) {
  .hero-v3 {
    min-height:auto;
    padding:62px 20px 64px;
  }
  .hero-v3-inner {
    grid-template-columns:1fr;
    gap:42px;
  }
  .hero-v3-copy { max-width:760px; }
  .hero-v3-visual {
    width:520px;
    max-width:100%;
    min-height:330px;
    margin:0 auto;
  }
  .visual-card-main { left:18px; }
  .visual-card-rate { right:14px; }
  .visual-card-review { right:46px; }
}

@media (max-width: 760px) {
  .site-header-inner { height:64px; padding:0 16px; }
  .logo-copy small { display:none; }
  .hero-v3 {
    padding:48px 16px 52px;
  }
  .hero-v3-bg { opacity:.32; }
  .hero-v3 h1 {
    font-size:clamp(2.45rem,11vw,3.25rem);
    line-height:1.08;
  }
  .hero-v3-copy > p {
    font-size:.94rem;
    line-height:1.75;
  }
  .hero-v3-copy > p br { display:none; }
  .hero-v3-search {
    min-height:60px;
    margin-top:25px;
    padding-left:14px;
  }
  .hero-v3-search button {
    width:68px;
    height:46px;
  }
  .hero-v3-visual {
    min-height:300px;
    transform:scale(.88);
    transform-origin:top center;
    margin-bottom:-35px;
  }
  .home-community-spotlight { padding-top:54px; }
  .home-rates-section {
    margin-top:38px;
    padding:22px 16px;
    border-radius:20px;
  }
  .home-feed-section,
  .home-giftcards-section { margin-top:56px; }
  .home-bottom-grid { margin-top:44px; padding-bottom:62px; }
}

@media (max-width: 520px) {
  .hero-v3-visual { display:none; }
  .hero-v3-keywords { gap:6px; }
  .hero-v3-actions {
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
  .hero-v3-primary { width:100%; justify-content:center; }
  .home-section { padding-left:14px; padding-right:14px; }
  .home-section-title { font-size:1.5rem; }
  .spotlight-grid { gap:12px; }
}
/* ============================================================
   HOME WARM RENEWAL — Orange / Coral
   ============================================================ */
body { color:#202124; background:#FFF9F5; }
.site-header { border-bottom-color:#F2E5DD; background:rgba(255,255,255,.96); }
.logo-mark { background:linear-gradient(145deg,#FF6B35,#F04438); color:#FFF3ED; box-shadow:0 7px 18px rgba(240,68,56,.16); }
.logo-copy strong { color:#202124; }
.logo-copy small { color:#8A7168; }
.main-nav a { color:#667085; }
.main-nav a:hover { background:#FFF4EE; color:#D94A27; }
.main-nav a.active { background:#FFF0E8; color:#E55224; }
.nav-toggle span { background:#202124; }

.hero-v3 {
  min-height:500px;
  background:radial-gradient(circle at 88% 8%,rgba(255,107,53,.13),transparent 30%),radial-gradient(circle at 76% 88%,rgba(240,68,56,.07),transparent 26%),linear-gradient(180deg,#FFFFFF 0%,#FFF9F5 100%);
  border-bottom-color:#F5E5DC;
}
.hero-v3-bg { background-image:radial-gradient(circle at 1px 1px,rgba(255,107,53,.12) 1px,transparent 0); }
.hero-v3-badge { border-color:#F2D8C9; color:#8B4B35; }
.hero-v3-badge-dot { background:#FF6B35; box-shadow:0 0 0 4px rgba(255,107,53,.13); }
.hero-v3 h1 { color:#202124; }
.hero-v3 h1 em { color:#FF6B35; background:none; -webkit-text-fill-color:initial; }
.hero-v3-copy > p { color:#667085; max-width:590px; }
.hero-v3-search { border-color:#F0D8CC; box-shadow:0 16px 38px rgba(111,55,33,.09); }
.hero-v3-search svg { color:#B78573; }
.hero-v3-search input { color:#202124; }
.hero-v3-search button { background:#FF6B35; box-shadow:0 8px 20px rgba(255,107,53,.22); }
.hero-v3-search button:hover { background:#EB5A29; box-shadow:0 12px 24px rgba(255,107,53,.27); }
.hero-v3-primary,.hero-v3-secondary { min-height:44px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; font-size:.82rem; font-weight:800; text-decoration:none; }
.hero-v3-primary { background:#F04438; color:#fff; box-shadow:0 7px 18px rgba(240,68,56,.18); }
.hero-v3-primary:hover { background:#D92D20; }
.hero-v3-secondary { border:1px solid #F0B9A6; background:#fff; color:#C94825; }
.hero-v3-secondary:hover { background:#FFF3ED; }
.hero-v3-keywords a { background:#FFF0E8; color:#8B5948; }
.hero-v3-keywords a:hover { background:#FFE1D2; color:#D94A27; }
.hero-v3-visual::before { background:radial-gradient(circle at 35% 32%,rgba(255,255,255,.96),rgba(255,225,210,.68) 36%,rgba(255,244,237,.2) 72%); border-color:rgba(255,183,153,.55); }
.visual-orbit { border-color:rgba(255,107,53,.18); }
.visual-card { border-color:rgba(241,218,207,.96); box-shadow:0 22px 55px rgba(91,49,32,.12); }
.visual-avatar { background:linear-gradient(135deg,#FFE3D5,#FFF0E8); color:#E55224; }
.visual-live { color:#D94A27; }
.visual-live i { background:#FF6B35; box-shadow:0 0 0 4px rgba(255,107,53,.12); }
.visual-card-rate strong b { color:#F04438; }
.visual-review-icon { background:#FFF0E8; color:#FF6B35; }

main { background:#FFF9F5; }
.home-rates-section { margin-top:56px; background:linear-gradient(135deg,#FFF0E8,#FFF8F3); border-color:#F3D7C8; }
.home-community-spotlight { padding-top:72px; }
.home-section-eyebrow { color:#E55224; }
.home-section-title { color:#202124; }
.home-section-desc { color:#667085; }
.home-section-link:hover,.spotlight-more:hover { color:#E55224; }
.spotlight-card,.home-feed-card,.home-type-grid .type-tile,.home-info-card { border-color:#F0E3DB; box-shadow:0 10px 28px rgba(98,53,34,.045); }
.spotlight-kicker.question { background:#FFF0E8; color:#D94A27; }
.spotlight-kicker.popular { background:#FFE8DF; color:#C9382D; }
.spotlight-index { background:#FFF0E8; color:#E55224; }
.spotlight-rank { background:#FFF7F2; color:#F04438; }
.spotlight-list a:hover,.home-feed-list li > a:hover { background:#FFFAF7; }
.home-rate-card { padding:15px 16px; border-color:#F0DED4; box-shadow:none; }
.home-rate-card:hover { border-color:#F5B69B; box-shadow:0 12px 26px rgba(255,107,53,.10); }
.home-rate-value { margin-top:13px; font-size:1.72rem; color:#202124; }
.home-rate-value span { color:#FF6B35; }
.home-feed-section { margin-top:64px; }
.home-feed-tabs a { border-color:#EFDCD1; color:#667085; }
.home-feed-tabs a:hover { background:#FFF0E8; border-color:#FFB89D; color:#D94A27; }
.btn-primary,.btn-write,.home-feed-tabs a.active { border-color:#F04438; background:#F04438; color:#fff; }
.btn-primary:hover,.btn-write:hover { border-color:#D92D20; background:#D92D20; }
.category-질문 { background:#FFF0E8; color:#D94A27; }
.category-정보 { background:#FFF5DE; color:#9A6412; }
.category-이용후기 { background:#FFE8E4; color:#C9382D; }
.home-type-grid .type-tile:hover { border-color:#F4B69C; box-shadow:0 12px 24px rgba(255,107,53,.08); }
.home-guide-section { margin-top:64px; padding-bottom:82px; }
.home-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-guide-card { min-width:0; padding:24px; border:1px solid #F0E3DB; border-radius:18px; background:#fff; text-decoration:none; box-shadow:0 10px 28px rgba(98,53,34,.04); transition:transform .18s ease,border-color .18s ease; }
.home-guide-card:hover { transform:translateY(-2px); border-color:#F4B69C; }
.guide-card-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:#FFF0E8; color:#E55224; font-size:.72rem; font-weight:900; }
.home-guide-card strong { display:block; margin-top:18px; color:#202124; font-size:1.02rem; }
.home-guide-card p { min-height:44px; margin:9px 0 18px; color:#667085; font-size:.8rem; line-height:1.65; }
.home-guide-card > span:last-child { color:#E55224; font-size:.75rem; font-weight:750; }
.site-footer { border-top-color:#F0E3DB; background:#fff; }

@media (max-width:820px) { .home-guide-grid { grid-template-columns:1fr; } }
@media (max-width:760px) {
  .home-rates-section { margin-top:38px; }
  .home-community-spotlight { padding-top:54px; }
  .home-guide-section { margin-top:50px; padding-bottom:62px; }
}
@media (max-width:640px) { main:has(.home-section) { padding:0; } }
@media (max-width:520px) {
  .hero-v3-actions { flex-direction:row; align-items:center; gap:9px; }
  .hero-v3-primary,.hero-v3-secondary { width:50%; padding:0 10px; }
  .home-rate-card { padding:13px; }
}

/* ============================================================
   BOARD V3 — Community UI
   ============================================================ */

.board-page-v3 {
  min-height: 720px;
  background:
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.035), transparent 25%),
    #F8FAFC;
  padding: 64px 20px 88px;
}

.board-shell,
.board-write-shell,
.board-detail-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Board heading */
.board-hero,
.board-write-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.board-hero-copy,
.board-write-head {
  max-width: 760px;
}

.board-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #2563EB;
  font-size: .67rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .13em;
}

.board-title {
  margin: 0;
  color: #0F172A;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -.055em;
  font-weight: 850;
}

.board-description {
  margin: 13px 0 0;
  color: #64748B;
  font-size: .91rem;
  line-height: 1.75;
  letter-spacing: -.01em;
}

.board-write-primary {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: .81rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(15,23,42,.12);
  transition: transform .18s ease, background .18s ease;
}

.board-write-primary:hover {
  transform: translateY(-1px);
  background: #1D4ED8;
}

/* Category navigation */
.board-category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.board-category-link {
  min-height: 82px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #E3EAF2;
  border-radius: 15px;
  background: #FFFFFF;
  color: #475569;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(15,23,42,.025);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.board-category-link:hover {
  transform: translateY(-2px);
  border-color: #C7D8EF;
  box-shadow: 0 10px 24px rgba(15,23,42,.055);
}

.board-category-link.active {
  border-color: #AFC9F2;
  background: linear-gradient(145deg, #F4F8FF, #FFFFFF);
  box-shadow: 0 10px 26px rgba(37,99,235,.08);
}

.board-category-link > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.board-category-link strong {
  color: #172033;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.board-category-link small {
  color: #94A3B8;
  font-size: .64rem;
  line-height: 1.25;
}

.board-category-icon,
.choice-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.board-category-icon.all {
  background: #EEF2F7;
  color: #475569;
}

.board-category-icon.question,
.choice-icon.question {
  background: #E8FBF6;
  color: #07866F;
}

.board-category-icon.review,
.choice-icon.review {
  background: #F1EEFF;
  color: #6D52C7;
}

.board-category-icon.info,
.choice-icon.info {
  background: #EAF2FF;
  color: #2563EB;
}

.board-category-icon.free,
.choice-icon.free {
  background: #F2F4F7;
  color: #667085;
}

/* Toolbar */
.board-toolbar {
  min-height: 58px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.board-search-v3 {
  margin: 0;
}

.board-search-box {
  width: min(420px, 100%);
  height: 48px;
  padding: 0 6px 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #DDE5EE;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15,23,42,.025);
}

.board-search-box svg {
  flex: 0 0 auto;
  color: #94A3B8;
}

.board-search-box .board-search-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0F172A;
  font-size: .78rem;
}

.board-search-box .board-search-input::placeholder {
  color: #A0AABD;
}

.board-search-box .board-search-btn {
  min-width: 66px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.board-result-info {
  color: #94A3B8;
  font-size: .71rem;
}

.board-result-info strong {
  color: #526078;
}

/* Board list */
.board-list-v3 {
  overflow: hidden;
  border: 1px solid #E3EAF2;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(15,23,42,.035);
}

.board-list-v3 .post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-list-v3 .post-list > li + li {
  border-top: 1px solid #EEF2F6;
}

.board-post-row {
  min-height: 88px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
  transition: background .16s ease;
}

.board-post-row:hover {
  background: #FAFBFD;
}

.board-post-thumb-wrap {
  width: 70px;
  height: 54px;
  flex: 0 0 70px;
  overflow: hidden;
  border-radius: 10px;
  background: #F1F5F9;
}

.board-post-thumb-wrap .post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-list-v3 .post-list-text {
  min-width: 0;
  flex: 1;
}

.post-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.board-list-v3 .post-title {
  min-width: 0;
  overflow: hidden;
  color: #172033;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: -.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-badge {
  min-width: 36px;
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: .59rem;
  font-weight: 850;
}

.category-badge.cat-question {
  background: #E8FBF6;
  color: #07866F;
}

.category-badge.cat-review {
  background: #F1EEFF;
  color: #6D52C7;
}

.category-badge.cat-info {
  background: #EAF2FF;
  color: #2563EB;
}

.category-badge.cat-free {
  background: #F2F4F7;
  color: #667085;
}

.board-list-v3 .post-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: #94A3B8;
  font-size: .65rem;
}

.board-list-v3 .post-meta span + span::before {
  content: "·";
  margin: 0 7px;
  color: #CBD5E1;
}

.post-list-chevron {
  flex: 0 0 auto;
  color: #B4BFCD;
}

.notice-row {
  background: #FBFDFF;
}

.notice-badge {
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #FFF2E2;
  color: #B45F06;
  font-size: .59rem;
  font-weight: 850;
}

/* Empty */
.board-empty-v3 {
  min-height: 310px;
  padding: 50px 24px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94A3B8;
}

.board-empty-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #F1F5F9;
  color: #8492A6;
}

.board-empty-v3 strong {
  color: #334155;
  font-size: .89rem;
}

.board-empty-v3 > span {
  margin-top: 7px;
  color: #94A3B8;
  font-size: .72rem;
}

.board-empty-action {
  min-height: 38px;
  margin-top: 17px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

/* Pagination */
.board-pagination-v3 {
  margin-top: 24px;
}

.board-pagination-v3 a {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  background: #FFFFFF;
  color: #64748B;
  font-size: .7rem;
  text-decoration: none;
}

.board-pagination-v3 a.active {
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF;
}

/* Write / edit */
.board-write-page,
.board-edit-page {
  padding-top: 64px;
}

.board-write-head {
  display: block;
}

.board-write-card {
  overflow: hidden;
  border: 1px solid #E3EAF2;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(15,23,42,.04);
}

.board-write-section {
  padding: 28px;
}

.board-write-section + .board-write-section {
  border-top: 1px solid #EEF2F6;
}

.board-write-section-head {
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.board-write-step {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #EEF4FF;
  color: #2563EB;
  font-size: .62rem;
  font-weight: 900;
}

.board-write-section-head strong {
  color: #172033;
  font-size: .86rem;
  font-weight: 800;
}

.board-write-section-head p {
  margin: 4px 0 0;
  color: #94A3B8;
  font-size: .68rem;
}

.board-category-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.board-category-choice {
  min-height: 78px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #E2E8F0;
  border-radius: 13px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.board-category-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.board-category-choice:hover {
  border-color: #C8D7EB;
}

.board-category-choice.active {
  border-color: #AFC9F2;
  background: #F7FAFF;
  box-shadow: 0 7px 18px rgba(37,99,235,.07);
}

.choice-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.choice-copy strong {
  color: #172033;
  font-size: .78rem;
  font-weight: 800;
}

.choice-copy small {
  color: #94A3B8;
  font-size: .63rem;
  line-height: 1.3;
}

.board-category-hidden-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.board-write-title-input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #DDE5EE;
  border-radius: 11px;
  outline: none;
  background: #FFFFFF;
  color: #172033;
  font-size: .82rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.board-write-title-input:focus {
  border-color: #9DBCEB;
  box-shadow: 0 0 0 3px rgba(37,99,235,.07);
}

.board-editor-wrap {
  overflow: hidden;
  border: 1px solid #DDE5EE;
  border-radius: 12px;
}

.board-editor-wrap .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #E7EDF4;
  background: #FAFBFD;
}

.board-editor-wrap .ql-container.ql-snow {
  min-height: 330px;
  border: 0;
}

.board-editor-wrap .ql-editor {
  min-height: 330px;
  padding: 20px;
  color: #334155;
  font-family: var(--font-sans);
  font-size: .85rem;
  line-height: 1.75;
}

.board-write-notice {
  margin: 0 28px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 11px;
  background: #F8FAFC;
  color: #8190A4;
  font-size: .66rem;
  line-height: 1.55;
}

.board-write-notice svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.board-write-actions {
  padding: 22px 28px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.board-write-cancel,
.board-write-submit,
.board-write-primary-link {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}

.board-write-cancel {
  border: 1px solid #DDE5EE;
  background: #FFFFFF;
  color: #64748B;
}

.board-write-submit,
.board-write-primary-link {
  border: 1px solid #0F172A;
  background: #0F172A;
  color: #FFFFFF;
  cursor: pointer;
}

.board-login-required {
  min-height: 340px;
  padding: 50px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #E3EAF2;
  border-radius: 20px;
  background: #FFFFFF;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15,23,42,.04);
}

.board-login-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #EEF4FF;
  color: #2563EB;
}

.board-login-required strong {
  color: #172033;
  font-size: 1rem;
}

.board-login-required p {
  margin: 7px 0 18px;
  color: #94A3B8;
  font-size: .74rem;
}

/* Detail */
.board-detail-page {
  padding-top: 54px;
}

.board-detail-breadcrumb {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #94A3B8;
  font-size: .68rem;
}

.board-detail-breadcrumb a {
  color: #64748B;
  text-decoration: none;
}

.board-detail-card,
.board-comments-card {
  border: 1px solid #E3EAF2;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 34px rgba(15,23,42,.035);
}

.board-detail-header-v3 {
  padding: 34px 34px 26px;
  border-bottom: 1px solid #EEF2F6;
}

.board-detail-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
}

.board-detail-header-v3 h1 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -.045em;
  font-weight: 830;
}

.board-detail-meta-v3 {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #94A3B8;
  font-size: .68rem;
}

.board-detail-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.board-detail-author-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #EEF4FF;
  color: #2563EB;
  font-size: .66rem;
  font-weight: 900;
}

.board-detail-author strong {
  color: #526078;
}

.board-detail-meta-divider {
  width: 1px;
  height: 16px;
  background: #E2E8F0;
}

.board-detail-content-v3 {
  min-height: 260px;
  padding: 38px 34px 50px;
  color: #334155;
  font-size: .88rem;
  line-height: 1.85;
}

.board-detail-content-v3 img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.board-detail-actions-v3 {
  padding: 20px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #EEF2F6;
}

.board-detail-back {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #E1E7EF;
  border-radius: 9px;
  color: #64748B;
  font-size: .7rem;
  font-weight: 750;
  text-decoration: none;
}

.board-comments-card {
  margin-top: 18px;
  padding: 28px 30px;
}

.board-comments-head {
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #EEF2F6;
}

.board-comments-head h2 {
  margin: 5px 0 0;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 820;
}

.board-comments-head p {
  margin: 0;
  align-self: flex-end;
  color: #94A3B8;
  font-size: .66rem;
}

/* Legacy board.js generated elements */
#comment-list {
  margin-top: 4px;
}

.comment-item {
  padding: 18px 2px;
  border-bottom: 1px solid #EEF2F6;
}

#comment-form-area {
  margin-top: 20px;
}

#comment-form-area textarea {
  width: 100%;
  min-height: 100px;
  padding: 13px;
  border: 1px solid #DDE5EE;
  border-radius: 11px;
  outline: none;
  resize: vertical;
  font-family: var(--font-sans);
}

#comment-form-area button {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: .7rem;
  font-weight: 800;
}

/* Responsive board */
@media (max-width: 860px) {
  .board-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-category-link:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .board-page-v3 {
    padding: 42px 14px 64px;
  }

  .board-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .board-write-primary {
    width: 100%;
  }

  .board-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .board-search-box {
    width: 100%;
  }

  .board-result-info {
    padding-left: 2px;
  }

  .board-post-row {
    min-height: 82px;
    padding: 15px;
  }

  .board-post-thumb-wrap {
    width: 62px;
    height: 48px;
    flex-basis: 62px;
  }

  .board-list-v3 .post-meta span:nth-child(n+4) {
    display: none;
  }

  .board-category-select-grid {
    grid-template-columns: 1fr;
  }

  .board-write-section {
    padding: 22px 18px;
  }

  .board-write-notice {
    margin: 0 18px;
  }

  .board-write-actions {
    padding: 18px;
  }

  .board-write-cancel,
  .board-write-submit {
    flex: 1;
  }

  .board-detail-header-v3,
  .board-detail-content-v3,
  .board-detail-actions-v3 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .board-detail-meta-v3 {
    flex-wrap: wrap;
  }

  .board-comments-card {
    padding: 22px 18px;
  }

  .board-comments-head {
    flex-direction: column;
    gap: 5px;
  }

  .board-comments-head p {
    align-self: flex-start;
  }
}

@media (max-width: 460px) {
  .board-category-nav {
    grid-template-columns: 1fr;
  }

  .board-category-link:first-child {
    grid-column: auto;
  }

  .board-category-link {
    min-height: 68px;
  }

  .board-title {
    font-size: 2rem;
  }

  .post-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .board-list-v3 .post-title {
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* ============================================================
   HOME DESIGN POLISH — warm, compact community service
   ============================================================ */
:root {
  --home-bg:#FAF9F7;
  --home-card:#FFFFFF;
  --home-text:#18181B;
  --home-muted:#71717A;
  --home-line:#EAE7E2;
  --home-primary:#F15A3A;
  --home-primary-hover:#D94B2D;
  --home-accent:#FFF1EC;
  --home-warm:#F6F2EE;
}
body { color:var(--home-text); background:var(--home-bg); }
main { background:var(--home-bg); }
main:has(.home-section) { padding-top:0; padding-bottom:4px; }
.site-header { border-bottom-color:var(--home-line); background:rgba(255,255,255,.96); }
.logo-copy strong { color:var(--home-text); }
.logo-copy small,.main-nav a { color:var(--home-muted); }
.main-nav a:hover { background:var(--home-warm); color:var(--home-text); }
.main-nav a.active { background:var(--home-accent); color:var(--home-primary-hover); }

/* Hero: quieter surface, tighter height and one composed action area */
.hero-v3 {
  min-height:420px;
  padding:42px 20px 38px;
  background:
    radial-gradient(circle at 88% 12%,rgba(241,90,58,.055),transparent 26%),
    linear-gradient(180deg,#FFFFFF 0%,#FAF9F7 100%);
  border-bottom-color:#EAE7E2;
}
.hero-v3-bg { opacity:.28; background-image:radial-gradient(circle at 1px 1px,rgba(113,113,122,.11) 1px,transparent 0); }
.hero-v3-inner { grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr); gap:48px; }
.hero-v3-badge { margin-bottom:12px; padding:5px 9px; border-color:#EAE7E2; color:#71717A; box-shadow:none; }
.hero-v3-badge-dot { background:#F15A3A; box-shadow:0 0 0 3px rgba(241,90,58,.10); }
.hero-v3 h1 { color:#18181B; font-size:clamp(2.65rem,3.9vw,3.75rem); line-height:1.08; }
.hero-v3 h1 em { color:#F15A3A; }
.hero-v3-copy > p { margin-top:14px; color:#71717A; font-size:.96rem; line-height:1.65; }
.hero-v3-search {
  min-height:58px;
  margin-top:18px;
  padding:5px 6px 5px 16px;
  border-color:#EAE7E2;
  border-radius:11px;
  box-shadow:0 6px 20px rgba(24,24,27,.055);
}
.hero-v3-search input { height:44px; color:#18181B; }
.hero-v3-search svg { color:#A1A1AA; }
.hero-v3-search button { width:76px; height:46px; border-radius:8px; background:#F15A3A; box-shadow:none; }
.hero-v3-search button:hover { background:#D94B2D; box-shadow:none; }
.hero-v3-actions { max-width:640px; margin-top:8px; gap:7px; }
.hero-v3-primary,.hero-v3-secondary { min-height:39px; border-radius:8px; }
.hero-v3-primary { background:#F15A3A; box-shadow:none; }
.hero-v3-primary:hover { background:#D94B2D; }
.hero-v3-secondary { border-color:#EAE7E2; color:#52525B; }
.hero-v3-secondary:hover { background:#F6F2EE; color:#18181B; }
.hero-v3-keywords { margin-top:12px; }
.hero-v3-keywords a { padding:5px 8px; background:#F6F2EE; color:#71717A; border-radius:6px; }
.hero-v3-keywords a:hover { background:#FFF1EC; color:#D94B2D; }
.hero-v3-visual { min-height:300px; transform:scale(.82); transform-origin:center; }
.hero-v3-visual::before { width:280px; height:280px; top:22px; left:70px; opacity:.6; border-color:#EAE7E2; }
.visual-orbit-one { width:320px; height:320px; top:2px; left:50px; }
.visual-orbit-two { width:234px; height:234px; top:45px; left:93px; }
.visual-card { border-color:#EAE7E2; box-shadow:0 12px 28px rgba(24,24,27,.07); }
.visual-card-main { width:294px; top:76px; padding:18px; border-radius:13px; }
.visual-card-rate { width:218px; top:25px; padding:15px 16px; border-radius:12px; }
.visual-card-review { width:222px; bottom:14px; padding:14px 15px; border-radius:12px; }
.visual-card-rate strong b { color:#F15A3A; }
.visual-avatar,.visual-review-icon { background:#FFF1EC; color:#D94B2D; }

/* Shared section rhythm and typography */
.home-section { margin:0 auto 44px; }
.home-rates-section { margin-top:30px; }
.home-community-spotlight,.home-feed-section,.home-giftcards-section,.home-guide-section { margin-top:0; padding-top:0; }
.home-guide-section { padding-bottom:20px; }
.home-section-head { margin-bottom:16px; align-items:flex-end; }
.home-section-eyebrow { margin-bottom:3px; color:#D94B2D; font-size:.62rem; letter-spacing:.065em; font-weight:750; }
.home-section-title { margin-top:3px; color:#18181B; font-size:1.68rem; line-height:1.28; font-weight:800; }
.home-section-desc { margin-top:5px; color:#71717A; font-size:.8rem; }
.home-section-link,.spotlight-more { color:#71717A; font-size:.73rem; }
.home-section-link:hover,.spotlight-more:hover { color:#D94B2D; }

/* Rates: restrained surface, numbers first */
.home-rates-section { padding:22px 23px; border:1px solid #EAE7E2; border-radius:12px; background:#F6F2EE; }
.home-rate-grid { gap:1px; overflow:hidden; border:1px solid #EAE7E2; border-radius:10px; background:#EAE7E2; }
.home-rate-card { padding:16px 17px; border:0; border-radius:0; box-shadow:none; background:#FFFFFF; }
.home-rate-card:hover { transform:none; border-color:transparent; box-shadow:none; background:#FFFCFA; }
.home-rate-icon { width:27px; height:27px; flex-basis:27px; border-radius:7px; }
.home-rate-name { color:#52525B; font-size:.8rem; }
.home-rate-value { margin-top:12px; color:#F15A3A; font-size:1.9rem; font-weight:800; }
.home-rate-value span { color:#F15A3A; }
.home-rate-meta { margin-top:7px; color:#71717A; }

/* Community spotlight: list panels rather than floating cards */
.spotlight-grid { gap:34px; }
.spotlight-card { padding:0; border:0; border-top:1px solid #18181B; border-bottom:1px solid #EAE7E2; border-radius:0; background:transparent; box-shadow:none; overflow:visible; }
.spotlight-card-head { padding:16px 2px 13px; border-bottom:1px solid #EAE7E2; }
.spotlight-card-head h3 { margin-top:6px; color:#18181B; font-size:1.02rem; }
.spotlight-kicker { height:auto; padding:3px 6px; border-radius:5px; letter-spacing:.04em; }
.spotlight-kicker.question,.spotlight-kicker.popular { background:#F6F2EE; color:#71717A; }
.spotlight-list li + li { border-top-color:#EAE7E2; }
.spotlight-list a { min-height:64px; padding:10px 2px; }
.spotlight-list a:hover { background:transparent; }
.spotlight-list a:hover strong { color:#D94B2D; }
.spotlight-index,.spotlight-rank { width:27px; height:27px; flex-basis:27px; border-radius:6px; background:#FFF1EC; color:#D94B2D; }
.spotlight-content strong { color:#18181B; }
.spotlight-meta { color:#71717A; }

/* Latest stories remain a dense, low-chrome content list */
.home-feed-tabs { padding-bottom:8px; }
.home-feed-tabs a { height:31px; border-color:#EAE7E2; border-radius:7px; background:#FFFFFF; color:#71717A; }
.home-feed-tabs a:hover { background:#F6F2EE; border-color:#EAE7E2; color:#18181B; }
.home-feed-card { border-color:#EAE7E2; border-radius:10px; box-shadow:none; }
.home-feed-list > li > a { min-height:72px; padding:12px 16px; }
.home-feed-list li + li { border-top-color:#EAE7E2; }
.home-feed-list li > a:hover { background:#FAF9F7; }
.home-feed-title-row strong { color:#18181B; }
.home-feed-meta { color:#71717A; }
.btn-primary,.btn-write,.home-feed-tabs a.active { border-color:#F15A3A; background:#F15A3A; box-shadow:none; }
.btn-primary:hover,.btn-write:hover { border-color:#D94B2D; background:#D94B2D; }

/* Giftcard browser: compact selectors */
.home-type-grid .type-group { gap:8px; }
.home-type-grid .type-tile { min-height:54px; padding:9px 12px; border-color:#EAE7E2; border-radius:8px; box-shadow:none; }
.home-type-grid .type-tile:hover { transform:none; border-color:#F15A3A; box-shadow:none; background:#FFF1EC; }
.home-type-grid .type-icon { width:30px; height:30px; border-radius:7px; }
.home-type-grid .type-name { color:#3F3F46; font-size:.79rem; }

/* Guide is the intentional card-based area */
.home-guide-grid { gap:13px; }
.home-guide-card { padding:21px; border-color:#EAE7E2; border-radius:12px; box-shadow:0 5px 16px rgba(24,24,27,.035); }
.home-guide-card:hover { transform:translateY(-1px); border-color:#D8D3CC; }
.guide-card-icon { width:31px; height:31px; border-radius:7px; background:#FFF1EC; color:#D94B2D; }
.home-guide-card strong { margin-top:15px; color:#18181B; }
.home-guide-card p { margin:7px 0 15px; color:#71717A; }
.home-guide-card > span:last-child { color:#D94B2D; }

@media (max-width:980px) {
  .hero-v3 { padding:40px 20px 38px; }
  .hero-v3-inner { gap:18px; }
  .hero-v3-visual { transform:scale(.76); margin-bottom:-48px; }
}
@media (max-width:768px) {
  .hero-v3 {
    width:100%;
    height:auto;
    min-height:0;
    padding:28px 20px 34px;
  }
  .hero-v3-inner {
    width:100%;
    max-width:none;
    grid-template-columns:minmax(0,1fr);
    gap:0;
    align-items:start;
  }
  .hero-v3-copy {
    width:100%;
    max-width:none;
    min-width:0;
  }
  .hero-v3-badge {
    max-width:100%;
    white-space:nowrap;
    writing-mode:horizontal-tb;
  }
  .hero-v3 h1 {
    width:100%;
    max-width:none;
    font-size:clamp(2.15rem,10.2vw,2.9rem);
    line-height:1.12;
    word-break:keep-all;
    overflow-wrap:normal;
    writing-mode:horizontal-tb;
  }
  .hero-v3-copy > p {
    width:100%;
    max-width:none;
    margin-top:13px;
    line-height:1.62;
    word-break:keep-all;
  }
  .hero-v3-search { width:100%; max-width:none; margin-top:18px; }
  .hero-v3-actions { width:100%; }
  .hero-v3-visual { display:none; }
  .home-rates-section { margin-top:25px; padding:17px 14px; border-radius:10px; }
  .home-section { margin-bottom:35px; }
  .home-guide-section { padding-bottom:16px; }
  .home-section-title { font-size:1.4rem; }
  .home-section-head { margin-bottom:14px; }
  .spotlight-grid { gap:22px; }
}
@media (max-width:640px) {
  .hero-v3-visual { display:none; }
  .home-rate-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-rate-card:nth-child(2n) { border-left:0; }
  .home-type-grid .type-group { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:520px) {
  .hero-v3 { padding-top:31px; padding-bottom:33px; }
  .hero-v3-actions { margin-top:8px; gap:7px; }
  .hero-v3-primary,.hero-v3-secondary { width:auto; min-height:39px; flex:1 1 0; padding:0 9px; border-radius:8px; }
  .hero-v3-keywords { margin-top:12px; }
  .home-section { padding-left:14px; padding-right:14px; margin-bottom:32px; }
  .home-rates-section { margin-top:22px; }
  .home-rate-card { padding:13px; }
  .home-rate-value { font-size:1.68rem; }
  .home-guide-section { padding-bottom:14px; }
}

/* Integrated search */
.search-page { min-height:70vh; padding:54px 20px 80px; background:#FAF9F7; }
.search-shell { width:100%; max-width:980px; margin:0 auto; }
.search-header { text-align:center; }
.search-eyebrow { color:#D94B2D; font-size:.72rem; font-weight:800; letter-spacing:.1em; }
.search-header h1 { margin:8px 0 7px; color:#18181B; font-size:2.15rem; letter-spacing:-.045em; }
.search-header > p { margin:0; color:#71717A; font-size:.92rem; }
.search-main-form { max-width:680px; min-height:58px; margin:25px auto 0; padding:6px 7px 6px 17px; display:flex; align-items:center; gap:10px; border:1px solid #E2DED8; border-radius:13px; background:#fff; box-shadow:0 10px 28px rgba(24,24,27,.06); }
.search-main-form svg { flex:0 0 auto; color:#A1A1AA; }
.search-main-form input { min-width:0; flex:1; height:44px; border:0; outline:0; background:transparent; color:#18181B; font-size:.93rem; }
.search-main-form button { width:78px; height:44px; border:0; border-radius:8px; background:#F15A3A; color:#fff; font-weight:800; cursor:pointer; }
.search-main-form button:hover { background:#D94B2D; }
.search-summary { margin:38px 0 15px; color:#52525B; font-size:.9rem; }
.search-summary strong { color:#18181B; }
.search-result-section { margin-bottom:24px; padding:25px; border:1px solid #EAE7E2; border-radius:14px; background:#fff; }
.search-section-head { margin-bottom:17px; display:flex; align-items:center; justify-content:space-between; }
.search-section-head h2 { margin:0; color:#18181B; font-size:1.2rem; letter-spacing:-.025em; }
.search-section-head > span { padding:4px 8px; border-radius:99px; background:#FFF1EC; color:#D94B2D; font-size:.75rem; font-weight:800; }
.search-giftcard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.search-giftcard-item { min-width:0; padding:13px; display:flex; align-items:center; gap:11px; border:1px solid #EEEAE5; border-radius:10px; color:#27272A; text-decoration:none; transition:border-color .15s,background .15s; }
.search-giftcard-item:hover { border-color:#F0B9A6; background:#FFF9F6; }
.search-giftcard-icon { width:38px; height:38px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:9px; background:#FFF1EC; color:#D94B2D; font-weight:800; }
.search-giftcard-icon img { width:100%; height:100%; object-fit:contain; }
.search-giftcard-item > span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:4px; }
.search-giftcard-item strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.88rem; }
.search-giftcard-item small { color:#A1A1AA; font-size:.7rem; }
.search-arrow { margin-left:auto; color:#A1A1AA; }
.search-post-list { margin:0; padding:0; list-style:none; }
.search-post-list li + li { border-top:1px solid #F0EDE9; }
.search-post-list a { padding:15px 2px; display:block; color:inherit; text-decoration:none; }
.search-post-list a:hover strong { color:#D94B2D; }
.search-post-title { display:flex; align-items:center; gap:9px; }
.search-post-title span { flex:0 0 auto; padding:3px 6px; border-radius:5px; background:#F6F2EE; color:#71717A; font-size:.68rem; font-weight:700; }
.search-post-title strong { overflow:hidden; color:#27272A; font-size:.92rem; text-overflow:ellipsis; white-space:nowrap; }
.search-post-list p { margin:7px 0 0; overflow:hidden; color:#71717A; font-size:.8rem; line-height:1.55; text-overflow:ellipsis; white-space:nowrap; }
.search-post-meta { margin-top:7px; color:#A1A1AA; font-size:.7rem; }
.search-empty { padding:28px 10px; border-radius:9px; background:#FAF9F7; color:#8A8A91; text-align:center; font-size:.84rem; }
.search-notice,.search-all-empty { margin:36px auto 0; padding:38px 20px; display:flex; flex-direction:column; align-items:center; gap:8px; border:1px solid #EAE7E2; border-radius:14px; background:#fff; text-align:center; }
.search-notice strong,.search-all-empty strong { color:#27272A; font-size:1rem; }
.search-notice span,.search-all-empty span { color:#8A8A91; font-size:.82rem; }
.search-all-empty { margin-top:0; }
@media (max-width:640px) {
  .search-page { padding:35px 14px 55px; }
  .search-header h1 { font-size:1.8rem; }
  .search-header > p { line-height:1.55; }
  .search-main-form { margin-top:20px; padding-left:13px; }
  .search-result-section { padding:18px 14px; }
  .search-giftcard-grid { grid-template-columns:1fr; }
}

/* ============================================================
   BOARD RENEWAL — warm neutral / compact community
   ============================================================ */
.board-page-v3 {
  min-height: 0;
  padding: 38px 20px 58px;
  background: #FAF9F7;
  color: #18181B;
}
.board-page-v3.board-page-empty { padding-bottom: 30px; }
.board-page-empty .board-pagination-v3 { display: none; }
.board-page-v3 .board-shell,
.board-page-v3 .board-write-shell,
.board-page-v3 .board-detail-shell { max-width: 1060px; }
.board-hero,
.board-write-head { margin-bottom: 22px; align-items: center; }
.board-eyebrow { margin-bottom: 7px; color: #D94B2D; letter-spacing: .09em; }
.board-title { color: #18181B; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.18; }
.board-description { max-width: 700px; margin-top: 8px; color: #71717A; line-height: 1.6; }
.board-write-primary {
  min-height: 42px; padding: 0 16px; border-radius: 9px;
  background: #F15A3A; box-shadow: none;
}
.board-write-primary:hover { transform: none; background: #D94B2D; }

/* Categories and search form one compact exploration group */
.board-category-nav {
  display: flex; gap: 5px; margin: 0; padding: 5px;
  overflow-x: auto; scrollbar-width: none;
  border: 1px solid #EAE7E2; border-radius: 11px 11px 0 0;
  background: #F6F2EE;
}
.board-category-nav::-webkit-scrollbar { display: none; }
.board-category-link {
  min-width: max-content; min-height: 38px; padding: 0 14px;
  justify-content: center; border: 0; border-radius: 7px;
  background: transparent; box-shadow: none; color: #71717A;
}
.board-category-link:hover { transform: none; border-color: transparent; background: #FFFFFF; box-shadow: none; }
.board-category-link.active { border: 0; background: #FFFFFF; box-shadow: 0 1px 4px rgba(24,24,27,.07); }
.board-category-link strong { color: inherit; font-size: .78rem; }
.board-category-link.active strong { color: #D94B2D; }
.board-category-link > span:last-child { display: block; }
.board-category-link small,
.board-category-icon { display: none; }
.board-toolbar {
  min-height: 64px; margin-bottom: 12px; padding: 9px 10px;
  border: 1px solid #EAE7E2; border-top: 0; border-radius: 0 0 11px 11px;
  background: #FFFFFF;
}
.board-search-v3 { flex: 1; }
.board-search-box {
  width: min(520px, 100%); height: 43px; padding-left: 13px;
  border-color: #EAE7E2; border-radius: 8px; box-shadow: none;
}
.board-search-box:focus-within { border-color: #F2A18E; box-shadow: 0 0 0 3px rgba(241,90,58,.08); }
.board-search-box svg { color: #A1A1AA; }
.board-search-box .board-search-input { color: #18181B; }
.board-search-box .board-search-btn { height: 33px; border-radius: 7px; background: #F15A3A; }
.board-search-box .board-search-btn:hover { background: #D94B2D; }
.board-result-info { color: #71717A; }
.board-result-info strong { color: #3F3F46; }

/* Dense content list */
.board-list-v3 { border-color: #EAE7E2; border-radius: 10px; box-shadow: none; }
.board-list-v3 .post-list > li + li { border-top-color: #EAE7E2; }
.board-post-row { min-height: 76px; padding: 13px 16px; gap: 13px; }
.board-post-row:hover { background: #F6F2EE; }
.board-post-thumb-wrap { width: 62px; height: 48px; flex-basis: 62px; border-radius: 7px; background: #F6F2EE; }
.board-list-v3 .post-title { color: #18181B; font-size: .87rem; }
.board-list-v3 .post-meta { margin-top: 6px; color: #71717A; }
.board-list-v3 .post-meta span + span::before { color: #D6D3D1; }
.post-list-chevron { color: #A1A1AA; }
.notice-row { background: #FFFCFA; }
.notice-badge { border-radius: 5px; background: #FFF1EC; color: #D94B2D; }
.category-badge { border-radius: 5px; background: #F6F2EE !important; color: #71717A !important; }
.category-badge.cat-question { background: #FFF1EC !important; color: #D94B2D !important; }
.board-empty-v3 { min-height: 190px; padding: 28px 20px !important; color: #71717A; }
.board-empty-icon { width: 44px; height: 44px; margin-bottom: 11px; border-radius: 12px; background: #F6F2EE; color: #A1A1AA; }
.board-empty-v3 strong { color: #3F3F46; }
.board-empty-v3 > span { color: #71717A; }
.board-empty-action { min-height: 35px; margin-top: 13px; border-radius: 7px; background: #F15A3A; color: #FFFFFF; }
.board-empty-action:hover { background: #D94B2D; color: #FFFFFF; }
.board-pagination-v3 { margin-top: 18px; }
.board-pagination-v3 a { border-color: #EAE7E2; border-radius: 7px; color: #71717A; }
.board-pagination-v3 a.active { border-color: #F15A3A; background: #F15A3A; }

/* Write and edit */
.board-write-page, .board-edit-page { padding-top: 38px; }
.board-write-card { border-color: #EAE7E2; border-radius: 12px; box-shadow: none; }
.board-write-section { padding: 22px 24px; }
.board-write-section + .board-write-section { border-top-color: #EAE7E2; }
.board-write-section-head { margin-bottom: 14px; }
.board-write-step { border-radius: 7px; background: #FFF1EC; color: #D94B2D; }
.board-write-section-head strong, .choice-copy strong { color: #18181B; }
.board-write-section-head p, .choice-copy small { color: #71717A; }
.board-category-select-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.board-category-choice { min-height: 64px; padding: 10px; border-color: #EAE7E2; border-radius: 9px; }
.board-category-choice:hover { border-color: #F2B5A6; }
.board-category-choice.active { border-color: #F15A3A; background: #FFF1EC; box-shadow: none; }
.choice-icon { width: 29px; height: 29px; flex-basis: 29px; border-radius: 7px; background: #F6F2EE !important; color: #71717A !important; }
.board-category-choice.active .choice-icon { background: #FFFFFF !important; color: #D94B2D !important; }
.board-write-title-input { border-color: #EAE7E2; border-radius: 8px; color: #18181B; }
.board-write-title-input:focus { border-color: #F2A18E; box-shadow: 0 0 0 3px rgba(241,90,58,.08); }
.board-editor-wrap { border-color: #EAE7E2; border-radius: 9px; }
.board-editor-wrap .ql-toolbar.ql-snow { border-bottom-color: #EAE7E2; background: #F6F2EE; }
.board-editor-wrap .ql-container.ql-snow, .board-editor-wrap .ql-editor { min-height: 280px; }
.board-editor-wrap .ql-editor { color: #3F3F46; }
.board-write-notice { margin: 0 24px; background: #F6F2EE; color: #71717A; }
.board-write-actions { padding: 18px 24px 22px; }
.board-write-cancel, .board-write-submit, .board-write-primary-link { min-height: 40px; border-radius: 8px; }
.board-write-cancel { border-color: #EAE7E2; color: #71717A; }
.board-write-cancel:hover { background: #F6F2EE; color: #18181B; }
.board-write-submit, .board-write-primary-link { border-color: #F15A3A; background: #F15A3A; }
.board-write-submit:hover, .board-write-primary-link:hover { border-color: #D94B2D; background: #D94B2D; }
.board-login-required { min-height: 240px; border-color: #EAE7E2; border-radius: 12px; box-shadow: none; }
.board-login-icon { background: #FFF1EC; color: #D94B2D; }
.board-login-required strong { color: #18181B; }
.board-login-required p { color: #71717A; }

/* Detail and comments */
.board-detail-page { padding-top: 34px; }
.board-detail-breadcrumb { margin-bottom: 13px; color: #A1A1AA; }
.board-detail-breadcrumb a { color: #71717A; }
.board-detail-card, .board-comments-card { border-color: #EAE7E2; border-radius: 12px; box-shadow: none; }
.board-detail-header-v3 { padding: 27px 28px 21px; border-bottom-color: #EAE7E2; }
.board-detail-header-v3 h1 { color: #18181B; font-size: clamp(1.45rem, 2.7vw, 2rem); }
.board-detail-meta-v3 { margin-top: 14px; color: #71717A; }
.board-detail-author-avatar, .board-comment-avatar { background: #FFF1EC; color: #D94B2D; }
.board-detail-author strong { color: #52525B; }
.board-detail-meta-divider { background: #EAE7E2; }
.board-detail-content-v3 { min-height: 200px; padding: 30px 28px 38px; color: #3F3F46; }
.board-detail-actions-v3 { padding: 16px 28px; border-top-color: #EAE7E2; }
.board-detail-back, .like-btn, .report-btn, .board-detail-manage-btn {
  min-height: 36px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #EAE7E2; border-radius: 7px; background: #FFFFFF; color: #71717A;
  font-size: .7rem; font-weight: 750; text-decoration: none; cursor: pointer;
}
.board-detail-back:hover, .like-btn:hover, .report-btn:hover, .board-detail-manage-btn:hover { background: #F6F2EE; color: #18181B; }
.board-detail-engage { display: flex; flex-wrap: wrap; gap: 6px; }
.like-btn.liked { border-color: #F5B5A6; background: #FFF1EC; color: #D94B2D; }
.board-comments-card { margin-top: 14px; padding: 23px 26px; }
.board-comments-head { padding-bottom: 14px; border-bottom-color: #EAE7E2; }
.board-comments-head h2 { color: #18181B; }
.board-comments-head p { color: #71717A; }
.board-comment-list { margin-top: 0; }
.board-comment-item { padding: 17px 2px; border-bottom: 1px solid #EAE7E2; }
.board-comment-item.is-reply { padding-left: 28px; background: #FFFCFA; }
.board-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-comment-author { display: flex; align-items: center; gap: 7px; color: #A1A1AA; font-size: .68rem; }
.board-comment-avatar { width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; font-weight: 800; }
.board-comment-author strong { color: #52525B; }
.board-comment-content { padding: 8px 0 0 34px; color: #3F3F46; font-size: .82rem; line-height: 1.65; white-space: pre-wrap; }
.board-comment-actions { display: flex; gap: 5px; }
.board-comment-actions button { padding: 3px 5px; border: 0; background: transparent; color: #71717A; font-size: .67rem; cursor: pointer; }
.board-comment-actions button:hover { color: #D94B2D; }
.board-comment-empty { padding: 24px 8px; border-bottom: 1px solid #EAE7E2; color: #71717A; text-align: center; font-size: .76rem; }
.board-comment-form-area { margin-top: 16px; }
.board-comment-form, .board-reply-form { display: flex; gap: 7px; }
.board-comment-form input, .board-reply-form input { min-width: 0; flex: 1; height: 42px; padding: 0 12px; border: 1px solid #EAE7E2; border-radius: 8px; outline: 0; color: #18181B; }
.board-comment-form input:focus, .board-reply-form input:focus { border-color: #F2A18E; box-shadow: 0 0 0 3px rgba(241,90,58,.08); }
.board-comment-form button, .board-reply-form button { min-height: 42px !important; margin: 0 !important; padding: 0 15px !important; border-radius: 8px !important; background: #F15A3A !important; }
.board-comment-form button:hover, .board-reply-form button:hover { background: #D94B2D !important; }
.board-comment-login { padding: 14px; border-radius: 8px; background: #F6F2EE; color: #71717A; text-align: center; font-size: .76rem; }
.board-comment-login a { color: #D94B2D; font-weight: 800; }
.reply-form-holder { padding: 10px 0 10px 28px; border-bottom: 1px solid #EAE7E2; }

@media (max-width: 860px) {
  .board-category-nav { grid-template-columns: none; }
  .board-category-link:first-child { grid-column: auto; }
  .board-category-select-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .board-page-v3 { padding: 27px 14px 42px; }
  .board-hero { gap: 14px; margin-bottom: 18px; }
  .board-write-primary { width: auto; }
  .board-category-nav { margin: 0; padding: 4px; border-radius: 9px 9px 0 0; }
  .board-category-link { min-height: 36px; padding: 0 12px; }
  .board-toolbar { min-height: 58px; padding: 7px; gap: 6px; flex-direction: row; align-items: center; }
  .board-result-info { display: none; }
  .board-post-row { min-height: 72px; padding: 12px; }
  .board-list-v3 .post-meta span:nth-child(n+4) { display: inline; }
  .board-list-v3 .post-meta span:nth-child(4) { display: none; }
  .board-write-section { padding: 19px 16px; }
  .board-write-notice { margin: 0 16px; }
  .board-write-actions { padding: 16px; }
  .board-detail-header-v3, .board-detail-content-v3, .board-detail-actions-v3 { padding-left: 18px; padding-right: 18px; }
  .board-detail-actions-v3 { align-items: flex-start; gap: 10px; }
  .board-comments-card { padding: 19px 16px; }
  .board-comments-head { flex-direction: row; }
  .board-comments-head p { display: none; }
}
@media (max-width: 460px) {
  .board-category-nav { display: flex; }
  .board-category-link { min-height: 34px; }
  .board-title { font-size: 1.7rem; }
  .board-write-primary { min-height: 39px; }
  .board-category-select-grid { grid-template-columns: 1fr 1fr; }
  .choice-copy small { display: none; }
  .board-category-choice { min-height: 52px; }
  .post-title-row { flex-wrap: nowrap; align-items: center; }
  .board-list-v3 .post-title { width: auto; white-space: nowrap; display: block; }
  .board-post-thumb-wrap { width: 54px; height: 44px; flex-basis: 54px; }
  .post-list-chevron { display: none; }
  .board-list-v3 .post-meta span:nth-child(n+3) { display: none; }
  .board-detail-meta-divider { display: none; }
  .board-detail-actions-v3 { flex-direction: column; }
  .board-detail-action-slot, .board-detail-engage { width: 100%; }
  .board-detail-engage > * { flex: 1; }
  .board-comment-content { padding-left: 0; }
  .board-comment-form, .board-reply-form { align-items: stretch; }
}

/* ============================================================
   MOBILE LAYOUT STABILIZATION
   ============================================================ */
html, body { max-width: 100%; overflow-x: clip; }
main, main > *, .site-header-inner, .footer-inner { min-width: 0; }

@media (max-width: 820px) {
  .site-header-inner { width: 100%; }
  .logo { min-width: 0; flex: 0 1 auto; }
  .auth-status { min-width: 0; flex: 0 1 auto; }
  .auth-nickname { display: none; }
  .nav-toggle { flex: 0 0 auto; }
  .main-nav { width: auto; max-width: none; }
}

@media (max-width: 640px) {
  body { min-width: 0; }
  .site-header-inner { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .logo-copy strong { font-size: .94rem; }
  .auth-status { margin-left: auto; gap: 4px; }
  .auth-link { padding: 6px 8px; }
  .nav-toggle { margin-left: 0; padding: 5px; }

  main { width: 100%; max-width: 100%; }
  main:has(.home-section) { padding-left: 0; padding-right: 0; }
  .hero-v3, .hero-v3-inner, .hero-v3-copy,
  .home-section, .board-page-v3, .board-shell,
  .tool-card, .search-page, .search-shell { min-width: 0; max-width: 100%; }

  /* 기존 음수 여백이 뷰포트 밖으로 카드를 밀어내던 문제를 제거 */
  .home-rates-section {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .home-community-spotlight,
  .home-feed-section,
  .home-giftcards-section,
  .home-guide-section { width: 100%; }

  .home-section-head > div,
  .spotlight-card-head > div,
  .home-feed-content,
  .post-list-text { min-width: 0; }
  .home-section-title, .home-section-desc,
  .spotlight-content strong, .home-feed-title-row strong,
  .board-description { overflow-wrap: anywhere; }
  .home-section-link { white-space: normal; }

  .tool-card { padding-left: 14px; padding-right: 14px; }
  .type-grid, .type-group { min-width: 0; }
  .type-tile { min-width: 0; }

  .board-page-v3 { width: 100%; }
  .board-hero { width: 100%; }
  .board-write-primary { flex: 0 0 auto; }
  .board-toolbar, .board-search-v3, .board-search-box { min-width: 0; max-width: 100%; }
  .board-post-row { min-width: 0; }
  .board-list-v3 .post-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

  .board-detail-content-v3,
  .board-comment-content,
  .ql-editor { overflow-wrap: anywhere; word-break: break-word; }
  .board-detail-content-v3 pre,
  .ql-editor pre { max-width: 100%; overflow-x: auto; }
  .board-detail-content-v3 iframe,
  .board-detail-content-v3 video { max-width: 100%; height: auto; }

  table { max-width: 100%; }
  .table-wrap, .price-table-wrap, .comparison-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  input, select, textarea { max-width: 100%; }
}

@media (max-width: 390px) {
  .site-header-inner { padding-left: 10px; padding-right: 10px; }
  .logo { gap: 7px; }
  .logo-mark { width: 30px; height: 30px; }
  .auth-link { padding: 5px 7px; font-size: .68rem; }
  .hero-v3 { padding-left: 14px; padding-right: 14px; }
  .hero-v3 h1 { font-size: clamp(2rem, 10vw, 2.45rem); }
  .hero-v3-primary, .hero-v3-secondary { min-width: 0; font-size: .75rem; }
  .home-rate-card { min-width: 0; padding: 11px; }
  .home-rate-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .board-post-row { gap: 9px; }
}
