/* ================================================
   리뷰허브 체험단 — 아싸뷰 스타일 리디자인
   화이트 베이스 · 밝고 깔끔 · 캠페인 중심
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --brand: #FF5C35;
  --naver: #03C75A;
  --naver-dark: #00A649;
  --brand-dark: #E04A25;
  --brand-light: #FFF2EE;
  --brand2: #FF7A55;
  --accent: #FFD166;
  --dark: #1A1A2E;

  /* Airbnb/Stripe v2 톤 — 전 페이지 공통 (광고주 패널과 동기화) */
  --heading: #061b31;
  --text: #0f172a;
  --body: #64748d;
  --border-light: rgba(15,23,42,0.06);
  --border-strong: rgba(15,23,42,0.09);
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #E5E7EB;
  --gray-200: #F3F4F6;
  --gray-100: #F9FAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.1);
  --shadow-brand: 0 6px 20px rgba(255,92,53,0.35);

  /* ── Stripe 5-stage Elevation System ──
     Multi-layer 블루 틴트 shadow — 모든 깊이가 브랜드 컬러 영역.
     일관된 elevation 위계를 유지하기 위해 향후 모든 카드/모달은 이 변수만 사용.
  */
  --shadow-1: rgba(23,23,23,0.06) 0px 3px 6px;                                                  /* Ambient: 미세 lift */
  --shadow-2: rgba(23,23,23,0.08) 0px 15px 35px 0px;                                            /* Standard: 일반 카드 */
  --shadow-3: rgba(50,50,93,0.1) 0px 18px 36px -16px, rgba(0,0,0,0.05) 0px 8px 16px -8px;       /* Elevated: hover 강조 */
  --shadow-4: rgba(50,50,93,0.25) 0px 30px 45px -30px, rgba(0,0,0,0.1) 0px 18px 36px -18px;     /* Featured: 두드러진 카드/드롭다운 */
  --shadow-5: rgba(3,3,39,0.25) 0px 14px 21px -14px, rgba(0,0,0,0.1) 0px 8px 17px -8px;         /* Deep: 모달, 플로팅 */
  --shadow-ring: 0 0 0 3px rgba(50,50,93,0.18);                                                 /* 포커스 링 (옵션) */

  --font: 'Noto Sans KR', sans-serif;
  --font-en: 'Outfit', sans-serif;
  --header-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: #ffffff; color: var(--gray-900); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--gray-300);
  height: var(--header-h); box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 100%; gap: 20px;
}
.logo { font-family: var(--font-en); font-weight: 800; font-size: 1.3rem; color: var(--brand); display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.logo-sub { font-family: var(--font); font-size: 0.75rem; font-weight: 600; color: var(--gray-500); }

.gnb { display: flex; align-items: center; gap: 2px; flex: 1; }
.gnb-link { padding: 7px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--gray-700); transition: all 0.15s; white-space: nowrap; }
.gnb-link:hover { background: var(--gray-100); color: var(--gray-900); }
.gnb-link.active { color: var(--brand); font-weight: 700; }

/* 드롭다운 */
.gnb-drop { position: relative; }
.gnb-drop-btn { display: flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--gray-700); cursor: pointer; background: none; border: none; font-family: var(--font); transition: all 0.15s; white-space: nowrap; }
.gnb-drop-btn:hover { background: var(--gray-100); }
.gnb-drop-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
  box-shadow: var(--shadow-md); min-width: 160px; padding: 6px;
  opacity: 0; visibility: hidden; transition: all 0.15s; z-index: 500;
}
.gnb-drop:hover .gnb-drop-menu { opacity: 1; visibility: visible; }
.gnb-drop-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--gray-700); transition: background 0.1s; }
.gnb-drop-item:hover { background: var(--gray-100); }

.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-ghost { padding: 7px 14px; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 600; color: var(--gray-700); border: 1px solid var(--gray-300); background: var(--white); cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-solid { padding: 7px 16px; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 700; color: var(--white); background: var(--brand); border: none; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.btn-solid:hover { background: var(--brand-dark); }
.btn-biz { padding: 7px 16px; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 700; color: var(--brand); background: var(--brand-light); border: 1px solid rgba(255,92,53,0.3); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.btn-biz:hover { background: var(--brand); color: var(--white); }

/* 유저 드롭다운 */
.user-drop { position: relative; }
.user-drop-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 50px; font-size: 0.84rem; font-weight: 700; color: var(--brand); background: var(--brand-light); border: 1px solid rgba(255,92,53,0.2); cursor: pointer; font-family: var(--font); transition: all 0.15s; }
.user-drop-btn:hover { background: var(--brand); color: var(--white); }
.user-drop-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
  box-shadow: var(--shadow-md); min-width: 180px; overflow: hidden;
  opacity: 0; visibility: hidden; transition: all 0.15s; z-index: 500;
}
.user-drop:hover .user-drop-menu { opacity: 1; visibility: visible; }
.user-drop-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 0.85rem; color: var(--gray-700); transition: background 0.1s; }
.user-drop-item:hover { background: var(--gray-100); }
.user-drop-item.red { color: var(--danger); }
.user-drop-hr { border: none; border-top: 1px solid var(--gray-200); }

/* ── 탭 바 (카테고리) ── */
.tab-bar { background: var(--white); border-bottom: 1px solid var(--gray-300); }
.tab-bar-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; width: 100%; }
.tab-bar-inner::-webkit-scrollbar { display: none; }
.tab-item { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-size: 0.85rem; font-weight: 600; color: var(--gray-500); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: all 0.15s; flex: 1; }
.tab-item:hover { color: var(--gray-900); }
.tab-item.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ── 메인 레이아웃 ── */
.main-wrap { max-width: 1400px; margin: 0 auto; padding: 24px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.main-content { min-width: 0; }
.main-side { display: flex; flex-direction: column; gap: 16px; }

/* ── 섹션 ── */
.sec { margin-bottom: 32px; }
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sec-title { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); }
.sec-more { font-size: 0.82rem; color: var(--gray-500); font-weight: 600; transition: color 0.15s; }
.sec-more:hover { color: var(--brand); }

/* ── 캠페인 카드 그리드 (아싸뷰 스타일) ── */
.cp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cp-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.2s; display: block; color: inherit;
  border: 1px solid var(--gray-200);
}
.cp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cp-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--gray-200); }
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cp-card:hover .cp-thumb img { transform: scale(1.04); }
.cp-type-row { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.cp-ch { display: inline-flex; align-items: center; gap: 3px; background: rgba(0,0,0,0.6); color: white; padding: 2px 7px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; }
.cp-type-badge { background: var(--brand); color: white; padding: 2px 7px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; }
.cp-deadline-badge { position: absolute; top: 8px; right: 8px; background: rgba(239,68,68,0.9); color: white; padding: 2px 7px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; }
.cp-body { padding: 12px; }
.cp-title { font-size: 0.88rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; min-height: 2.5em; }
.cp-sub { font-size: 0.76rem; color: var(--gray-500); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cp-apply-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.76rem; }
.cp-apply-txt { color: var(--gray-500); }
.cp-apply-num { font-weight: 700; color: var(--gray-900); }
.cp-apply-num strong { color: var(--brand); }
.cp-deadline { font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }

/* ── 사이드바 ── */
.side-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.side-card-title { font-size: 0.92rem; font-weight: 800; color: var(--gray-900); margin-bottom: 14px; }

/* 빠른 검색 */
.side-search { display: flex; gap: 6px; margin-bottom: 14px; }
.side-search input { flex: 1; padding: 9px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 0.84rem; font-family: var(--font); outline: none; }
.side-search input:focus { border-color: var(--brand); }
.side-search button { padding: 9px 14px; background: var(--brand); color: white; border: none; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700; cursor: pointer; font-family: var(--font); }
.side-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.side-cat-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--radius-sm); background: var(--gray-100); font-size: 0.72rem; font-weight: 600; color: var(--gray-700); cursor: pointer; transition: all 0.15s; border: 1px solid transparent; }
.side-cat-btn:hover { background: var(--brand-light); border-color: rgba(255,92,53,0.3); color: var(--brand); }
.side-cat-btn .icon { font-size: 1.3rem; }

/* 광고주 CTA 카드 */
.biz-cta-card { background: linear-gradient(135deg, var(--brand), #FF8A60); border-radius: var(--radius); padding: 20px; color: white; }
.biz-cta-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.biz-cta-card p { font-size: 0.78rem; opacity: 0.9; margin-bottom: 14px; line-height: 1.6; }
.biz-cta-card a { display: block; background: white; color: var(--brand); text-align: center; padding: 9px; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 800; transition: opacity 0.15s; }
.biz-cta-card a:hover { opacity: 0.9; }

/* 관심분야 카드 */
.interest-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.interest-chip { padding: 5px 12px; border-radius: 50px; background: var(--gray-100); border: 1px solid var(--gray-300); font-size: 0.78rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.15s; }
.interest-chip:hover, .interest-chip.active { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }

/* ── HERO 배너 (아싸뷰처럼 심플) ── */
.hero-banner {
  background: linear-gradient(135deg, #1A1A2E 0%, #0F2040 100%);
  border-radius: var(--radius-lg); padding: 32px 36px; margin-bottom: 24px;
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero-banner::before { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: rgba(255,92,53,0.15); border-radius: 50%; }
.hero-banner-left { position: relative; z-index: 1; }
.hero-banner-badge { display: inline-block; background: rgba(255,92,53,0.2); border: 1px solid rgba(255,92,53,0.4); color: #FFB38A; padding: 4px 12px; border-radius: 50px; font-size: 0.74rem; font-weight: 700; margin-bottom: 10px; }
.hero-banner-title { font-size: 1.6rem; font-weight: 900; color: white; line-height: 1.3; margin-bottom: 8px; }
.hero-banner-title em { color: #FF9A5C; font-style: normal; }
.hero-banner-sub { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.hero-banner-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-hero1 { padding: 10px 22px; background: var(--brand); color: white; border-radius: 50px; font-size: 0.88rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-brand); }
.btn-hero1:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-hero2 { padding: 10px 22px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border-radius: 50px; font-size: 0.88rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; }
.btn-hero2:hover { background: rgba(255,255,255,0.18); }
.hero-banner-stats { display: flex; gap: 24px; position: relative; z-index: 1; flex-shrink: 0; }
.hero-stat { text-align: center; }
.hero-stat-n { font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: white; line-height: 1.1; }
.hero-stat-l { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* ── 폼 ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-label .req { color: var(--brand); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: 0.88rem; font-family: var(--font); color: var(--gray-900); background: var(--white); transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,92,53,0.1); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 0.76rem; color: var(--gray-500); margin-top: 5px; }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; font-family: var(--font); }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: white; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-gray { background: var(--gray-200); color: var(--gray-700); }
.btn-gray:hover { background: var(--gray-300); }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-dark { background: var(--dark); color: white; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-lg { padding: 12px 28px; font-size: 0.95rem; border-radius: 50px; }
.btn-block { width: 100%; justify-content: center; }

/* ── 뱃지 ── */
.badge { padding: 2px 8px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.badge-new { background: var(--brand); color: white; }
.badge-hot { background: #FF3B3B; color: white; }

/* ── 선정확률 ── */
.chance { font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 50px; }
.chance-hi { background: #E9F7EF; color: #1D8348; }
.chance-md { background: #FEF9E7; color: #B7950B; }
.chance-lo { background: var(--gray-200); color: var(--gray-500); }

/* ── 진행률 바 ── */
.prog { height: 3px; background: var(--gray-200); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.prog-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #FF9A5C); border-radius: 2px; }

/* ── 카드 일반 ── */
.card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.card-title { font-size: 1rem; font-weight: 800; margin-bottom: 14px; }

/* ── 통계 그리드 (Notion 위스퍼 보더 + Stripe tabular numerals) ── */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card {
  background: white;
  border-radius: 14px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);     /* Notion 위스퍼 보더 */
  border-left: 3px solid var(--brand);        /* 브랜드 액센트 유지 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);                  /* Stripe Elevated */
  border-color: rgba(0, 0, 0, 0.1);
}
.stat-num {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: -0.025em;                    /* Stripe 타이트 트래킹 */
  font-variant-numeric: tabular-nums;          /* Stripe 숫자 정렬 */
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.55);                  /* Notion 따뜻한 그레이 */
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.stat-sub {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);   /* dashed → 더 부드러운 solid */
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-sub strong {
  color: rgba(0, 0, 0, 0.85);
  font-weight: 800;
}
.stat-delta {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.stat-delta-up {
  background: rgba(21, 190, 83, 0.12);         /* Stripe 성공 알파 */
  color: #047857;
}
.stat-delta-down {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── 등급 ── */
.grade-badge { padding: 2px 8px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; display: inline-block; }
.grade-bronze { background: #FDF2E9; color: #935116; }
.grade-silver { background: #F2F3F4; color: #616A6B; }
.grade-gold { background: #FEF9E7; color: #B7950B; }
.grade-platinum { background: #EBF5FB; color: #1A5276; }
.grade-diamond { background: #F4ECF7; color: #6C3483; }

/* ── 상태 ── */
.status-badge { padding: 2px 8px; border-radius: 50px; font-size: 0.74rem; font-weight: 700; }
.status-pending { background: #FEF9E7; color: #B7950B; }
.status-selected { background: #E9F7EF; color: #1D8348; }
.status-rejected { background: #FDEDEC; color: #922B21; }
.status-completed { background: #EBF5FB; color: #1A5276; }
.status-active { background: #E9F7EF; color: #1D8348; }
.status-closed { background: var(--gray-200); color: var(--gray-500); }

/* ── 테이블 ── */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: white; font-size: 0.85rem; }
thead { background: var(--gray-100); }
th { padding: 11px 14px; text-align: left; font-weight: 700; color: var(--gray-600); border-bottom: 2px solid var(--gray-200); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--brand-light); }

/* ── 페이지네이션 ── */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 32px; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); font-size: 0.85rem; font-weight: 600; color: var(--gray-700); cursor: pointer; background: white; transition: all 0.15s; }
.page-btn:hover, .page-btn.active { background: var(--brand); border-color: var(--brand); color: white; }

/* ── 모달 ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.2s; }
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal { background: white; border-radius: var(--radius-lg); padding: 28px; max-width: 480px; width: 100%; box-shadow: var(--shadow-md); transform: scale(0.95); transition: transform 0.2s; }
.modal-overlay.show .modal { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-title { font-size: 1.1rem; font-weight: 800; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--gray-500); }

/* ── 토스트 ── */
/* ── Toast (Linear 영감: 미니멀 다크 + 아이콘 + smooth slide) ── */
.toast-wrap {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 200px; max-width: 360px;
  padding: 12px 16px;
  background: rgba(20, 20, 22, 0.96);            /* Linear near-black */
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);   /* 위스퍼 보더 */
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-4);                    /* Stripe Featured */
  backdrop-filter: blur(8px);
  pointer-events: auto;
  animation: toastIn .25s cubic-bezier(.2, .6, .2, 1);
  transition: opacity .3s ease, transform .3s ease;
}
.toast::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900;
  background: rgba(255, 255, 255, 0.1);
}
.toast-success { border-left: 3px solid #15be53; }
.toast-success::before { content: "✓"; background: rgba(21, 190, 83, 0.2); color: #4ade80; }
.toast-error { border-left: 3px solid #ef4444; }
.toast-error::before { content: "!"; background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.toast-info { border-left: 3px solid #3b82f6; }
.toast-info::before { content: "i"; background: rgba(59, 130, 246, 0.2); color: #93c5fd; font-style: italic; }
.toast.toast-leaving {
  opacity: 0;
  transform: translateX(20px) scale(0.96);
}
@keyframes toastIn {
  0%   { opacity: 0; transform: translateX(20px) scale(0.96); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@media (max-width: 640px) {
  .toast-wrap { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .toast.toast-leaving { transform: none; }
}
@keyframes slideUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ── 알림 ── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; margin-bottom: 16px; }
.alert-success { background: #E9F7EF; color: #1D8348; border-left: 4px solid var(--success); }
.alert-error { background: #FDEDEC; color: #922B21; border-left: 4px solid var(--danger); }
.alert-info { background: #EBF5FB; color: #1A5276; border-left: 4px solid var(--info); }

/* ── 빈 상태 (Notion 영감: 따뜻한 그레이 + 부드러운 보더) ── */
.empty,
.empty-state {
  text-align: center;
  padding: 56px 24px 52px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);     /* 위스퍼 보더 */
  border-radius: 14px;
  margin: 8px 0;
}
.empty-icon,
.empty-state .empty-icon {
  font-size: 3.4rem;
  margin-bottom: 18px;
  display: inline-block;
  filter: grayscale(0.05);
  transition: transform .35s ease;
  animation: emptyIconFloat 4s ease-in-out infinite;
}
.empty:hover .empty-icon,
.empty-state:hover .empty-icon {
  transform: scale(1.06);
}
@keyframes emptyIconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.empty-title,
.empty-state .empty-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.85);                /* Notion 따뜻한 near-black */
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.empty-desc,
.empty-state .empty-desc {
  font-size: 0.86rem;
  color: rgba(0, 0, 0, 0.5);                 /* 부드러운 그레이 */
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}
/* 빈 상태 안의 CTA 버튼 톤 통일 */
.empty .empty-btn,
.empty-state .empty-state-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  margin-top: 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  transition: opacity .15s, transform .15s;
}
.empty .empty-btn:hover,
.empty-state .empty-state-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
/* 사이트의 'reduce motion' 사용자에게 떨림 비활성 */
@media (prefers-reduced-motion: reduce) {
  .empty-icon, .empty-state .empty-icon { animation: none; }
}

/* ── 마이페이지 레이아웃 ── */
.my-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; max-width: 1400px; margin: 24px auto; padding: 0 24px; }
.my-sidebar { position: sticky; top: calc(var(--header-h) + 16px); height: fit-content; }
.my-menu { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--gray-200); }
.my-menu-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 0.86rem; font-weight: 600; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); transition: all 0.15s; }
.my-menu-item:last-child { border-bottom: none; }
.my-menu-item:hover, .my-menu-item.active { background: var(--brand-light); color: var(--brand); }

/* ── 인증 ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-100); padding: 40px 20px; }
.auth-card { background: white; border-radius: var(--radius-lg); padding: 36px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.auth-logo { text-align: center; margin-bottom: 24px; font-family: var(--font-en); font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.auth-title { font-size: 1.3rem; font-weight: 900; color: var(--gray-900); margin-bottom: 4px; }
.auth-sub { font-size: 0.84rem; color: var(--gray-500); margin-bottom: 24px; }
.auth-div { display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: 0.8rem; color: var(--gray-400); }
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.social-btn { width: 100%; padding: 11px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); background: white; display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.15s; margin-bottom: 10px; font-family: var(--font); }
.social-btn:hover { border-color: var(--gray-500); background: var(--gray-100); }
.kakao-btn { background: #FEE500; border-color: #FEE500; color: #3A1D1D; }
.kakao-btn:hover { background: #F5DC00; border-color: #F5DC00; }

/* ── 필터 ── */
.filter-wrap { background: white; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.filter-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-sel { padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 0.84rem; background: white; font-family: var(--font); color: var(--gray-700); cursor: pointer; }
.filter-sel:focus { outline: none; border-color: var(--brand); }
.filter-inp { flex: 1; min-width: 160px; padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 0.84rem; font-family: var(--font); }
.filter-inp:focus { outline: none; border-color: var(--brand); }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-100); }
.fchip { padding: 4px 12px; border-radius: 50px; font-size: 0.76rem; font-weight: 600; background: var(--gray-100); color: var(--gray-600); cursor: pointer; transition: all 0.15s; border: 1px solid transparent; }
.fchip:hover, .fchip.active { background: var(--brand-light); border-color: rgba(255,92,53,0.3); color: var(--brand); }
.btn-search { padding: 8px 16px; background: var(--brand); color: white; border: none; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 700; cursor: pointer; font-family: var(--font); }

/* ── 광고주 섹션 ── */
.biz-section { background: linear-gradient(135deg, #FFF2EE 0%, #FFF8F5 100%); border: 1px solid rgba(255,92,53,0.15); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.biz-section-left h3 { font-size: 1.05rem; font-weight: 900; color: var(--gray-900); margin-bottom: 6px; }
.biz-section-left p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; }

/* ── 이용방법 ── */
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.how-card { background: white; border-radius: var(--radius); padding: 20px 16px; text-align: center; border: 1px solid var(--gray-200); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.how-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #FF9A5C); }
.how-step { font-family: var(--font-en); font-size: 0.65rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.how-icon { font-size: 2rem; margin-bottom: 10px; }
.how-ttl { font-size: 0.92rem; font-weight: 800; margin-bottom: 6px; }
.how-desc { font-size: 0.78rem; color: var(--gray-500); line-height: 1.6; }

/* ── 메뉴 반짝거림 (체험 후기 강조) ── */
.menu-shine {
  position: relative;
  background: linear-gradient(120deg,
    rgba(13, 148, 136, .08) 0%,
    rgba(245, 158, 11, .12) 50%,
    rgba(13, 148, 136, .08) 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  font-weight: 800 !important;
  color: #b45309 !important;
  overflow: hidden;
  animation: menuShineBg 3s ease-in-out infinite;
}
.menu-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, .55) 45%,
    rgba(255, 220, 130, .85) 50%,
    rgba(255, 255, 255, .55) 55%,
    transparent 100%);
  animation: menuShineSweep 2.6s ease-in-out infinite;
  pointer-events: none;
}
.menu-shine:hover {
  color: #92400e !important;
  background: linear-gradient(120deg,
    rgba(13, 148, 136, .15) 0%,
    rgba(245, 158, 11, .22) 50%,
    rgba(13, 148, 136, .15) 100%);
}
@keyframes menuShineBg {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes menuShineSweep {
  0%   { left: -100%; }
  60%, 100% { left: 120%; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-shine { animation: none; }
  .menu-shine::before { display: none; }
}

/* ── 리뷰 그리드 ── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-items: stretch; }
.review-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.review-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,.08); border-color: var(--brand, #0d9488); }
.review-thumb { aspect-ratio: 4/3; background: var(--gray-200); overflow: hidden; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.review-card:hover .review-thumb img { transform: scale(1.04); }
.review-info { padding: 10px 12px 12px; }
.review-user { font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 5px; margin-bottom: 3px; color: #1e293b; }
.review-ttl { font-size: 0.76rem; color: var(--gray-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 이전 후기 (텍스트 카드) */
.review-card-legacy { background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%); cursor: pointer; }
.review-card-legacy:hover { background: linear-gradient(165deg, #ffffff 0%, #f0fdfa 100%); }
.rc-legacy-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; flex-wrap: wrap; }
.rc-legacy-rating { font-size: 13px; color: #f59e0b; letter-spacing: 1px; }
.rc-legacy-badge { font-size: 10px; background: #f1f5f9; color: #64748b; padding: 2px 8px; border-radius: 99px; font-weight: 700; letter-spacing: -0.01em; margin-left: auto; }
.rc-legacy-body { padding: 0 14px 12px; font-size: 13px; color: #334155; line-height: 1.65; letter-spacing: -0.01em; flex: 1; position: relative; max-height: 11em; overflow: hidden; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.rc-legacy-body::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, transparent, #f8fafc); pointer-events: none; }
.review-card-legacy.is-expanded .rc-legacy-body { max-height: none; }
.review-card-legacy.is-expanded .rc-legacy-body::after { display: none; }
.rc-legacy-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid #f1f5f9; font-size: 11.5px; color: #64748b; flex-wrap: wrap; background: rgba(255,255,255,.6); }
.rc-legacy-foot .rc-foot-name { font-weight: 700; color: #1e293b; }
.rc-legacy-foot .rc-foot-more { margin-left: auto; color: var(--brand, #0d9488); font-weight: 700; font-size: 11px; }

/* ── 리뷰 리스트(개선판) ── */
.rl-hidden { display: none !important; }
.review-more-btn {
  display: block; width: 100%; margin-top: 14px;
  padding: 13px 16px; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 12px;
  font-size: 13.5px; font-weight: 700; color: #1e293b;
  cursor: pointer; letter-spacing: -0.01em;
  transition: background .15s, border-color .15s, transform .12s;
}
.review-more-btn:hover { background: #f8fafc; border-color: var(--brand, #0d9488); color: var(--brand, #0d9488); transform: translateY(-1px); }
.review-more-btn:active { transform: translateY(0); }

.review-list { display: flex; flex-direction: column; gap: 12px; }
.rl-item {
  display: flex; gap: 14px; align-items: stretch;
  background: #fff; border: 1px solid #eef1f6; border-radius: 14px;
  padding: 14px; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .12s, box-shadow .15s;
  min-width: 0; word-break: break-word; overflow-wrap: anywhere;
}
.rl-item:hover { border-color: var(--brand, #0d9488); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13,148,136,.08); }
.rl-item-legacy { background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%); }
.rl-item-legacy:hover { background: linear-gradient(165deg, #ffffff 0%, #f0fdfa 100%); }

/* 좌측: 별점/뱃지 (legacy) */
.rl-leading {
  flex-shrink: 0; width: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 8px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 10px;
}
.rl-rating-big { font-size: 14px; color: #f59e0b; letter-spacing: 1px; line-height: 1; }
.rl-legacy-tag { font-size: 10.5px; background: rgba(255,255,255,.85); color: #92400e; padding: 3px 8px; border-radius: 99px; font-weight: 700; letter-spacing: -0.01em; }

/* 좌측: 썸네일 (photo) */
.rl-thumb-wrap {
  flex-shrink: 0; width: 110px; height: 110px;
  border-radius: 10px; overflow: hidden; position: relative; background: #f1f5f9;
}
.rl-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.rl-item-photo:hover .rl-thumb-wrap img { transform: scale(1.05); }
.rl-ch-badge {
  position: absolute; top: 6px; left: 6px;
  padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 700;
  background: rgba(15,23,42,.75); color: #fff; backdrop-filter: blur(4px);
  letter-spacing: -0.005em;
}
.rl-ch-badge.rl-ch-blog { background: rgba(30,64,175,.85); }
.rl-ch-badge.rl-ch-insta { background: rgba(157,23,77,.85); }
.rl-ch-badge.rl-ch-youtube { background: rgba(153,27,27,.85); }
.rl-ch-badge.rl-ch-tiktok { background: rgba(91,33,182,.85); }

/* 우측: 본문 영역 */
.rl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rl-camp-title {
  font-size: 14px; font-weight: 700; color: #1e293b; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  letter-spacing: -0.01em;
}
.rl-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #64748b; }
.rl-meta .rl-name { font-weight: 700; color: #1e293b; font-size: 12.5px; }
.rl-meta .rl-dot { color: #cbd5e1; }
.rl-meta .rl-date { color: #94a3b8; }
.rl-meta .rl-stat { color: #64748b; font-variant-numeric: tabular-nums; }
.rl-meta .rl-rating-inline { color: #f59e0b; font-size: 11px; letter-spacing: 0.5px; }
.rl-meta .rl-link-cta { margin-left: auto; color: var(--brand, #0d9488); font-weight: 700; font-size: 12px; }
.rl-meta .rl-more { margin-left: auto; color: var(--brand, #0d9488); font-weight: 700; font-size: 12px; }

.rl-body {
  font-size: 13px; color: #334155; line-height: 1.7; letter-spacing: -0.005em;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 2px;
}
.rl-body-photo { -webkit-line-clamp: 3; color: #475569; }
.rl-body-empty { color: #94a3b8; font-size: 12.5px; font-style: italic; padding: 4px 0; }

/* 모바일 대응 */
@media (max-width: 640px) {
  .rl-item { padding: 12px; gap: 10px; }
  .rl-leading { width: 72px; padding: 6px; }
  .rl-rating-big { font-size: 11px; }
  .rl-legacy-tag { font-size: 9.5px; padding: 2px 6px; }
  .rl-thumb-wrap { width: 84px; height: 84px; }
  .rl-camp-title { font-size: 13px; }
  .rl-body { font-size: 12.5px; -webkit-line-clamp: 4; }
  .rl-body-photo { -webkit-line-clamp: 2; }
  .rl-meta { font-size: 11.5px; gap: 6px; }
}

/* 리뷰 전문 모달 */
.review-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.review-modal-overlay.is-open { display: flex; }
.review-modal { background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.review-modal-head { padding: 18px 22px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-modal-head .rm-rating { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.review-modal-head .rm-name { font-weight: 700; color: #1e293b; font-size: 14px; }
.review-modal-head .rm-date { color: #94a3b8; font-size: 12px; margin-left: auto; }
.review-modal-body { padding: 22px; overflow-y: auto; font-size: 14.5px; color: #334155; line-height: 1.75; letter-spacing: -0.005em; white-space: pre-wrap; }
.review-modal-close { position: absolute; top: 12px; right: 14px; background: rgba(15,23,42,.06); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; color: #475569; }
.review-modal-close:hover { background: rgba(15,23,42,.12); }

/* ── 푸터 ── */
.footer { background: #1F2937; color: rgba(255,255,255,0.65); padding: 44px 20px 28px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { font-family: var(--font-en); font-size: 1.2rem; font-weight: 800; color: var(--brand); margin-bottom: 0; }
.footer-tagline { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: -0.015em; }
.footer-desc { font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.45); margin: 0; }
.footer-contact { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600; }
.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }

/* 체험단 가이드 & 카테고리 SEO 섹션 */
.footer-seo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-seo-col { min-width: 0; }
.footer-seo-col h4 { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 700; margin: 0 0 12px; }
.footer-seo-col .footer-links { gap: 6px; }
.footer-seo-col .footer-links li a { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color 0.15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%; }
.footer-seo-col .footer-links li a:hover { color: var(--brand); }
.footer-seo-more { color: rgba(255,255,255,0.7) !important; font-weight: 700; }
/* 태블릿·모바일에서도 3열 유지 — "세로로 늘어지는" 현상 차단, 폰트·간격 조임 */
@media (max-width: 900px) {
  .footer-seo { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; padding: 20px 0; }
  .footer-seo-col h4 { font-size: 0.8rem; margin-bottom: 8px; }
  .footer-seo-col .footer-links { gap: 5px; }
  .footer-seo-col .footer-links li a { font-size: 0.72rem; }
}
@media (max-width: 560px) {
  .footer-seo { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 14px 0; }
  .footer-seo-col h4 { font-size: 0.72rem; margin-bottom: 6px; letter-spacing: -0.02em; }
  .footer-seo-col .footer-links { gap: 4px; }
  .footer-seo-col .footer-links li a { font-size: 0.68rem; line-height: 1.4; }
}
@media (max-width: 360px) {
  .footer-seo { gap: 10px 6px; }
  .footer-seo-col h4 { font-size: 0.68rem; }
  .footer-seo-col .footer-links li a { font-size: 0.64rem; }
}

/* details/summary 기본 마커/스타일 제거 — 데스크톱에서는 항상 펼친 상태로 동작 */
.footer-acc { padding: 0; margin: 0; border: 0; }
.footer-acc > summary {
  list-style: none; cursor: default;
  padding: 0; margin: 0; outline: none;
}
.footer-acc > summary::-webkit-details-marker { display: none; }
.footer-acc > summary > h4 { display: inline-block; }
/* 데스크톱: details가 닫혀 있어도 강제로 콘텐츠 표시 */
.footer-acc > .footer-links { display: flex; }
.footer-links li a { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-links li a:hover { color: var(--brand); }

/* 가족 사이트 cross-link */
.footer-family { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-family-label { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.65); margin-bottom: 12px; letter-spacing: -0.01em; }
.footer-family-list { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-family-link {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.footer-family-link:hover { background: rgba(255,255,255,0.1); border-color: var(--brand); transform: translateY(-2px); }
.ffl-name { font-size: 0.84rem; font-weight: 800; color: rgba(255,255,255,0.92); }
.ffl-desc { font-size: 0.7rem; color: rgba(255,255,255,0.5); font-weight: 600; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 0.74rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px; }
.footer-bottom-right { display: flex; align-items: center; gap: 8px; }
.footer-bottom-right a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-bottom-right a:hover { color: var(--brand); }
.footer-bottom-sep { color: rgba(255,255,255,0.2); }
/* ─── 리뷰허브 패밀리 (5개 체험단 교차 백링크 + 프리미엄 카드) ─── */
.footer-family{padding:28px 0 20px;border-top:1px solid rgba(255,255,255,0.08);margin-top:16px}
.footer-family-head{margin-bottom:16px}
.footer-family-eyebrow{display:inline-block;font-size:0.68rem;font-weight:800;letter-spacing:0.18em;color:rgba(255,255,255,0.5);padding:3px 10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:999px;margin-bottom:10px}
.footer-family-title{font-size:1rem;font-weight:700;color:#fff;letter-spacing:-0.025em;margin-bottom:4px;line-height:1.3}
.footer-family-sub{font-size:0.78rem;color:rgba(255,255,255,0.55);line-height:1.55;letter-spacing:-0.005em}

.footer-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media(max-width:900px){.footer-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.footer-family-grid{grid-template-columns:1fr}}

.ff-card{position:relative;display:flex;align-items:stretch;gap:12px;padding:14px 14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:12px;text-decoration:none;overflow:hidden;transition:background .2s,border-color .2s,transform .15s,box-shadow .2s}
.ff-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0% 0%,hsla(var(--ff-hue),85%,60%,0.12) 0%,transparent 60%);opacity:0;transition:opacity .25s;pointer-events:none}
.ff-card:hover{background:rgba(255,255,255,0.06);border-color:var(--ff-accent, rgba(255,255,255,0.22));transform:translateY(-2px);box-shadow:0 8px 20px -8px hsla(var(--ff-hue),60%,40%,0.4)}
.ff-card:hover::before{opacity:1}

.ff-card-ico{flex-shrink:0;width:38px;height:38px;display:flex;align-items:center;justify-content:center;font-family:var(--font-en,'Inter',system-ui,sans-serif);font-size:0.72rem;font-weight:800;letter-spacing:0.04em;color:#fff;background:linear-gradient(135deg,hsla(var(--ff-hue),70%,55%,0.9),hsla(var(--ff-hue),70%,45%,0.8));border-radius:9px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 4px 10px hsla(var(--ff-hue),60%,40%,0.3)}

.ff-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ff-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.ff-card-name{font-size:0.82rem;font-weight:700;color:rgba(255,255,255,0.92);letter-spacing:-0.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ff-card:hover .ff-card-name{color:#fff}
.ff-card-arrow{flex-shrink:0;font-size:0.82rem;color:rgba(255,255,255,0.4);transition:transform .2s,color .2s}
.ff-card:hover .ff-card-arrow{color:var(--ff-accent, #fff);transform:translate(2px,-2px)}
.ff-card-tagline{font-size:0.72rem;font-weight:600;color:var(--ff-accent, rgba(255,255,255,0.75));letter-spacing:-0.005em;line-height:1.3;opacity:0.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ff-card:hover .ff-card-tagline{opacity:1}
.ff-card-desc{font-size:0.68rem;color:rgba(255,255,255,0.45);line-height:1.4;letter-spacing:-0.005em;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:480px){
  .ff-card{padding:12px}
  .ff-card-ico{width:34px;height:34px;font-size:0.68rem}
  .ff-card-name{font-size:0.78rem}
  .ff-card-desc{white-space:normal}
}

.footer-legal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0 12px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; font-size: 0.78rem; }
.footer-legal a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.85); }
.footer-legal a strong { color: rgba(255,255,255,0.8); font-weight: 700; }
.footer-legal a strong:hover { color: #fff; }
.footer-sns { display: flex; gap: 8px; }
.sns-btn { width: 30px; height: 30px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: background 0.15s; }
.sns-btn:hover { background: var(--brand); }

/* ── 관리자 ── */
.admin-body { background: #F0F2F5; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 210px; background: var(--dark); display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100; overflow-y: auto; }
.admin-logo { display: flex; align-items: center; gap: 8px; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--brand); font-family: var(--font-en); font-weight: 800; font-size: 1.1rem; }
.admin-menu { padding: 8px 0; flex: 1; }
.admin-sec-label { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 16px 5px; }
.admin-menu-item { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 0.83rem; color: rgba(255,255,255,0.6); transition: all 0.15s; cursor: pointer; text-decoration: none; border-right: 3px solid transparent; }
.admin-menu-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }
.admin-menu-item.active { background: rgba(255,92,53,0.15); color: var(--brand); border-right-color: var(--brand); }
.admin-badge { margin-left: auto; background: var(--danger); color: white; border-radius: 50px; padding: 1px 6px; font-size: 0.65rem; font-weight: 700; }
.admin-user { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.76rem; color: rgba(255,255,255,0.5); }
.admin-content { margin-left: 210px; padding: 24px 28px; min-height: 100vh; flex: 1; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.admin-page-title { font-size: 1.3rem; font-weight: 900; color: var(--gray-900); }
.tab-bar2 { display: flex; gap: 5px; margin-bottom: 16px; flex-wrap: wrap; }
.tab-btn { padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--gray-300); background: white; color: var(--gray-600); cursor: pointer; transition: all 0.15s; text-decoration: none; }
.tab-btn:hover, .tab-btn.active { background: var(--brand); border-color: var(--brand); color: white; }
.inline-sel { padding: 4px 8px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 0.78rem; font-family: var(--font); cursor: pointer; }
.type-badge { padding: 2px 8px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.type-influencer { background: var(--brand-light); color: var(--brand); }
.type-advertiser { background: #EFF6FF; color: #3B82F6; }

/* ── 반응형 ── */
@media (max-width: 1100px) { .cp-grid { grid-template-columns: repeat(3, 1fr); } .main-wrap { grid-template-columns: 1fr; } .main-side { display: none; } .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; } .footer-top .footer-col:nth-child(5) { grid-column: 1 / -1; } .footer-top .footer-col:nth-child(5) .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; } }
@media (max-width: 900px) { .cp-grid { grid-template-columns: repeat(3, 1fr); } .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; } .footer-top .footer-brand { grid-column: 1 / -1; } .footer-top .footer-col:nth-child(5) .footer-links { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .gnb { display: none; } .hero-banner-stats { display: none; }
  .cp-grid { grid-template-columns: repeat(2, 1fr); } .footer-top { grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; }
  .footer-top .footer-brand { grid-column: auto; margin-bottom: 8px; }
  .footer-top .footer-col:nth-child(5) .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-family-list .footer-family-link { flex: 1 1 calc(50% - 5px); }
  .my-layout { grid-template-columns: 1fr; } .my-sidebar { position: static; }
  .admin-content { margin-left: 0; padding: 16px; } .admin-sidebar { display: none; }

  /* Footer accordion 동작 — 모바일 768px 이하에서만 details 동작 활성 */
  .footer-acc { border-top: 1px solid rgba(255,255,255,0.06); }
  .footer-acc > summary {
    cursor: pointer; padding: 14px 0;
    display: flex; align-items: center; justify-content: space-between;
    user-select: none; -webkit-tap-highlight-color: transparent;
  }
  .footer-acc > summary > h4 { margin: 0; font-size: 0.92rem; }
  .footer-acc > summary::after {
    content: "+"; font-size: 1.4rem; color: rgba(255,255,255,0.4);
    font-weight: 300; line-height: 1; transition: transform .2s;
    margin-left: 8px;
  }
  .footer-acc[open] > summary::after { content: "−"; color: var(--brand); }
  /* 닫힌 상태에서는 콘텐츠 숨김 (데스크톱 강제 display:flex 오버라이드) */
  .footer-acc:not([open]) > .footer-links { display: none; }
  .footer-acc[open] > .footer-links { display: flex; padding-bottom: 14px; }
  /* 광고주 컬럼은 모바일에서 그리드 안 함 */
  .footer-top .footer-col:nth-child(5) .footer-links { display: flex; grid-template-columns: none; }
}
@media (max-width: 480px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-banner { padding: 22px 16px; }
  .cp-body { padding: 8px; }
  .cp-title { font-size: 0.78rem; min-height: 2.2em; }
  .cp-sub { font-size: 0.7rem; }
  .cp-apply-row { font-size: 0.7rem; }
  .cp-ch { font-size: 0.62rem; padding: 2px 5px; }
  .cp-type-badge { font-size: 0.62rem; padding: 2px 5px; }
  .cp-deadline-badge { font-size: 0.62rem; padding: 2px 5px; }
}
@media (max-width: 360px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .cp-body { padding: 6px; }
  .cp-title { font-size: 0.72rem; }
}

/* ── Mypage Sidebar ──
   position 속성 없음 = 기본 static (일반 문서 흐름).
   스크롤 시 다른 카드들과 함께 자연스럽게 같이 움직임.
*/
.sidebar { height: fit-content; }
.sidebar-menu { display: flex; flex-direction: column; gap: 6px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 10px; box-shadow: var(--shadow-sm); }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: background 0.15s, color 0.15s; }
.sidebar-item:hover { background: var(--gray-100); color: var(--brand); }
.sidebar-item.active { background: var(--brand-light, #fff0eb); color: var(--brand); }
.sidebar-item .icon { font-size: 1.1rem; width: 22px; text-align: center; }

/* ── Layout Sidebar (Mypage) ── */
.layout-sidebar { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar-menu { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .sidebar-item { flex: 1 1 auto; justify-content: center; font-size: 0.82rem; padding: 8px 10px; min-width: 80px; text-align: center; }
}

/* ── Auth Page ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #f5f6fa; }

.new-recruit-section{grid-column:1 / -1; width:100%; margin-top:14px;}


/* onepick: 오늘의 모집 + 새로운 모집 세로 배치 고정 */
.site-onepick .main-content,
.site-onepick .home-wrap {
  display: block !important;
}
.site-onepick .section,
.site-onepick .new-recruit-section {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── 모바일 최적화 ── */
@media (max-width: 480px) {
  /* 전체 여백 */
  .main-wrap { padding: 12px 12px; gap: 12px; }

  /* 캠페인 카드 2열 */
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* 카드 내부 */
  .cp-card { border-radius: 10px; }
  .cp-title { font-size: 0.78rem; min-height: 2.2em; }
  .cp-info { padding: 8px 8px 10px; gap: 4px; }
  .cp-badge { font-size: 10px; padding: 2px 6px; }
  .cp-biz { font-size: 11px; }
  .cp-meta { font-size: 11px; }
  .cp-apply-btn { height: 32px; font-size: 12px; }

  /* 히어로 배너 */
  .hero-banner { padding: 16px 14px; border-radius: 10px; }
  .hero-banner h2 { font-size: 1rem; }
  .hero-banner p { font-size: 12px; }

  /* 필터 영역 */
  .filter-bar { flex-wrap: wrap; gap: 6px; }
  .filter-bar select, .filter-bar input { font-size: 13px; height: 36px; }
  .filter-bar button { height: 36px; font-size: 13px; }

  /* 섹션 타이틀 */
  .section-title { font-size: 1rem; }
  .section-header { margin-bottom: 12px; }

  /* 사이드바 숨김 */
  .main-side { display: none !important; }

  /* 푸터 */
  .footer-top { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { padding: 24px 16px; }
  .footer-bottom { padding: 14px 16px; font-size: 11px; }

  /* 마이페이지 */
  .my-layout { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .my-sidebar { display: none; }

  /* 인기 카테고리 */
  .side-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }

  /* 페이지네이션 */
  .pagination { gap: 4px; }
  .pagination a, .pagination span { width: 32px; height: 32px; font-size: 12px; }

  /* 공통 컨테이너 */
  .container { padding: 0 12px; }
  .wrap { padding: 12px; }
}

@media (max-width: 360px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .cp-title { font-size: 0.72rem; }
  .main-wrap { padding: 8px; }
}

/* BIZ_PHONE_UI_V2 */
.hero-right{
  width:390px !important;
  background:#0b1220 !important;
  border:2px solid #0f172a !important;
  border-left:2px solid #0f172a !important;
  border-radius:34px !important;
  box-shadow:0 24px 48px rgba(2,6,23,.35) !important;
  padding:34px 14px 14px !important;
  margin:20px 0 20px 20px !important;
  position:relative !important;
  overflow:hidden !important;
}
.hero-right::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:120px;
  height:18px;
  border-radius:999px;
  background:#020617;
  z-index:3;
}
.hero-right::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:24px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  z-index:0;
}
.hero-right > *{ position:relative; z-index:1; }
.hero-right h2,.hero-right h3{font-size:18px !important;font-weight:900 !important;color:#0f172a !important;margin:4px 0 8px !important;}
.hero-right p{color:#64748b !important;font-size:12px !important;line-height:1.6 !important;}
.hero-right label{display:block !important;font-size:12px !important;font-weight:700 !important;color:#374151 !important;margin:10px 0 6px !important;}
.hero-right input,.hero-right select,.hero-right textarea{
  width:100% !important;height:42px !important;border:1px solid #dbe3ef !important;background:#eef3fb !important;
  border-radius:12px !important;padding:0 12px !important;font-size:14px !important;color:#111827 !important;
}
.hero-right button,.hero-right .btn,.hero-right [type="submit"]{
  width:100% !important;height:44px !important;border:none !important;border-radius:12px !important;
  background:#22c55e !important;color:#fff !important;font-size:15px !important;font-weight:900 !important;margin-top:10px !important;
}
.hero-right a{color:#16a34a !important;font-size:12px !important;font-weight:700 !important;}
@media (max-width:768px){ .hero-right{width:100% !important;margin:14px 0 0 0 !important;} }

.hero-right .phone-status{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#0f172a;padding:0 6px 10px;margin-bottom:8px;border-bottom:1px solid #e5e7eb}

/* BIZ_LOGIN_CARD_HOVER_V1 */
.hero-right{
  width:400px !important;
  background:#ffffff !important;
  border:1px solid #e5e7eb !important;
  border-left:1px solid #e5e7eb !important;
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(2,6,23,.12) !important;
  padding:34px 30px !important;
  margin:20px 0 20px 20px !important;
  position:relative !important;
  overflow:hidden !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.hero-right::before,
.hero-right::after{content:none !important;display:none !important;}
.hero-right:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(2,6,23,.18) !important;
  border-color:#d1d5db !important;
}
.hero-right h2,.hero-right h3{
  color:#111827 !important;
  font-size:24px !important;
  font-weight:900 !important;
  margin:0 0 10px !important;
}
.hero-right p{color:#6b7280 !important;}
.hero-right input,.hero-right select,.hero-right textarea{
  border:1px solid #dbe3ef !important;
  background:#f3f6fb !important;
  border-radius:12px !important;
}
.hero-right input:focus,.hero-right select:focus,.hero-right textarea:focus{
  outline:none !important;
  border-color:#22c55e !important;
  box-shadow:0 0 0 3px rgba(34,197,94,.16) !important;
}
.hero-right button,.hero-right .btn,.hero-right [type="submit"]{
  border-radius:12px !important;
}
@media (max-width:768px){
  .hero-right{width:100% !important;margin:14px 0 0 0 !important;padding:28px 20px !important;}
}

/* BIZ_LOGIN_CARD_TUNE_V2 */
.hero-right{
  background:#ffffff !important;
  border:1px solid #e5e7eb !important;
  border-left:1px solid #e5e7eb !important;
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(2,6,23,.12) !important;
  color:#111827 !important;
}
.hero-right::before,
.hero-right::after{content:none !important;display:none !important;}

.hero-right h2,.hero-right h3{
  color:#111827 !important;
}
.hero-right p,
.hero-right label{
  color:#4b5563 !important;
}

.hero-right .alert,
.hero-right .notice,
.hero-right .tip{
  background:#ecfdf5 !important;
  border:1px solid #bbf7d0 !important;
  color:#166534 !important;
  border-radius:12px !important;
}

.hero-right input,
.hero-right select,
.hero-right textarea{
  background:#f3f6fb !important;
  border:1px solid #dbe3ef !important;
  color:#111827 !important;
}
.hero-right input::placeholder,
.hero-right textarea::placeholder{
  color:#94a3b8 !important;
}

.hero-right button,
.hero-right .btn,
.hero-right [type="submit"]{
  background:#22c55e !important;
  color:#ffffff !important;
}

.hero-right:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(2,6,23,.18) !important;
  border-color:#d1d5db !important;
}

/* ============================================================
   접근성: 키보드 포커스 인디케이터 (사이트 공통 기본값)
   각 사이트별 브랜드 컬러 링은 site-*.css 에서 오버라이드
   ============================================================ */
*:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand, #0f766e);
  outline-offset: 2px;
  border-radius: 4px;
}
/* 카드/링크 래퍼는 박스 쉐도우 링으로 (레이아웃 간섭 방지) */
.campaign-card:focus-visible,
.cp-card:focus-visible,
.card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand, #0f766e), 0 8px 24px rgba(0,0,0,0.08);
}

/* ── 검색 자동완성 드롭다운 (Linear/Cursor 영감) ── */
.ac-dropdown {
  position: absolute;
  z-index: 1100;
  min-width: 280px;
  max-width: 480px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-4);
  padding: 6px;
  overflow: hidden;
  animation: acIn .15s cubic-bezier(.2, .6, .2, 1);
}
@keyframes acIn {
  0%   { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .12s ease;
  cursor: pointer;
}
.ac-item:hover,
.ac-item.ac-active {
  background: rgba(0, 0, 0, 0.04);
}
.ac-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-light, #f0fdfa), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  overflow: hidden;
}
.ac-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-item-body { flex: 1; min-width: 0; }
.ac-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-item-meta {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-item-arrow {
  color: rgba(0, 0, 0, 0.25);
  font-size: 0.86rem;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .12s ease;
}
.ac-item:hover .ac-item-arrow,
.ac-item.ac-active .ac-item-arrow { opacity: 1; }
.ac-empty {
  padding: 20px 16px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.5);
}
.ac-loading {
  padding: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.4);
}
.ac-footer {
  margin-top: 4px;
  padding: 8px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.5);
  text-align: right;
  font-weight: 600;
}
.ac-footer kbd {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: ui-monospace, monospace;
  color: rgba(0, 0, 0, 0.65);
  margin-left: 2px;
}

/* 스크린 리더 전용 (SEO용 h1 + 접근성) */
.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;
}
