/* ===================================================================
   ÉCLAT MAGAZINE THEME — layout/style.css v1.0.0
   DXCMS v8 시스템 CSS + 에클라 디자인 시스템
=================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Noto+Serif+KR:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ① DXCMS 필수 시스템 CSS — 절대 삭제 금지
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* body 구조 — 푸터 하단 여백 방지 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--dark, #1a1a1a);
  background: var(--cream, #FAF9F6);
  line-height: 1.6;
}
*,*::before,*::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

/* 모바일 메뉴 드로어 */
.dx-mob-nav { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9000; }
.dx-mob-nav.open { display: block; }
.dx-mob-panel {
  background: #1a1a1a; color: #fff;
  position: absolute; top: 0; right: 0;
  width: 280px; height: 100%; overflow-y: auto;
  animation: dxSlide .22s ease;
}
@keyframes dxSlide {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* 햄버거 버튼 반응형 */
@media (max-width: 767px) { #dxMobBtn { display: flex !important; } }
@media (min-width: 768px) { #dxMobBtn { display: none  !important; } }

/* FAB 스크롤 탑 */
#dx-fab-wrap {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0; pointer-events: none; z-index: 9990;
  display: flex; align-items: center; gap: 8px;
  transition: opacity .35s, transform .35s;
}
#dx-fab-wrap.dx-fab-show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dx-fab-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 100px;
  font-size: .8rem; font-weight: 700;
  cursor: pointer; border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
#dx-fab-top {
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,.9) !important;
  color: #111; flex-direction: column; padding: 8px 14px; gap: 2px;
}
#dx-fab-svg-wrap { position: relative; width: 28px; height: 28px; }
#dx-fab-svg      { width: 28px; height: 28px; transform: rotate(-90deg); }
#dx-fab-track    { fill: none; stroke: rgba(203,213,225,.6); stroke-width: 2.5; }
#dx-fab-ring     { fill: none; stroke: url(#dx-fab-grad); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset .12s; }
#dx-fab-arrow    { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
#dx-fab-pct      { font-size: .65rem; font-weight: 600; color: #888; }
#dx-fab-write    { display: none; }
#dx-fab-list     { display: none; }

/* 드롭다운 네비 */
.dx-nav-item { position: relative; overflow: visible; }
.dx-nav-item:hover .dx-dropdown { display: block; }
.dx-dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); min-width: 150px;
  background: #fff; border: 1px solid #eee; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px; z-index: 500;
}

/* 에디터 콘텐츠 */
.dx-content img { max-width: 100%; }
.dx-content a { color: var(--gold, #c9a96e); text-decoration: underline; }
.dx-content pre { background: #1e293b; color: #e2e8f0; padding: 16px; overflow-x: auto; }
.dx-content code:not(pre code) { background: #f1f5f9; padding: 1px 5px; }
.dx-content blockquote { border-left: 3px solid var(--gold, #c9a96e); margin: 12px 0; padding: .5em 1em; }

/* 플래시 메시지 */
.dx-flash-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.dx-flash-error   { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.dx-flash-info    { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* 알림 토스트 */
#dx-notif-toast-wrap {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 99998; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}

/* 다크모드 */
body.dark { background-color: #111; color: #f1f5f9; }

/* 유틸 */
.hidden { display: none !important; }
.flex   { display: flex; }
.items-center { align-items: center; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ② ÉCLAT 디자인 변수
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --gold:        #c9a96e;
  --dark:        #1a1a1a;
  --cream:       #FAF9F6;
  --light-beige: #f5f0e8;
  --border:      #e0ddd8;
  --muted:       #888888;
  --font-main:   'Noto Sans KR', sans-serif;
  --font-serif:  'Noto Serif KR', serif;
  --font-display:'Playfair Display', serif;
  --font-logo:   'Cormorant Garamond', serif;
  --p: var(--gold);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ③ 상단 티커
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-ticker {
  background: var(--dark);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.eclat-ticker-inner {
  display: inline-block;
  animation: eclatTicker 35s linear infinite;
  font-family: var(--font-main);
  font-weight: 300;
}
@keyframes eclatTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ④ 헤더
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250,249,246,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.eclat-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.eclat-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}
.eclat-header-top a {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .15s;
}
.eclat-header-top a:hover { color: var(--dark); }
.eclat-header-top .sep { color: var(--border); }
.btn-subscribe {
  background: var(--dark);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background .15s;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.btn-subscribe:hover { background: var(--gold); color: #fff; }

.eclat-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

/* 로고 */
.eclat-logo {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.3em;
  color: var(--dark);
  display: block;
  line-height: 1;
  text-decoration: none;
}

/* 메인 네비 */
.eclat-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.eclat-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .15s;
  font-family: var(--font-main);
}
.eclat-nav a:hover,
.eclat-nav a.active { border-color: var(--gold); color: var(--gold); }

/* 헤더 우측 아이콘/링크 */
.eclat-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eclat-header-actions a,
.eclat-header-actions button {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: var(--dark);
  cursor: pointer;
  padding: 4px;
  transition: color .15s;
  font-family: var(--font-main);
}
.eclat-header-actions a:hover,
.eclat-header-actions button:hover { color: var(--gold); }

/* 서브 카테고리 네비 */
.eclat-subnav {
  display: flex;
  gap: 20px;
  padding: 6px 24px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.eclat-subnav a { color: var(--muted); text-transform: uppercase; transition: color .15s; }
.eclat-subnav a:hover { color: var(--dark); }

/* 검색 바 */
.eclat-search-bar {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 14px 24px;
}
.eclat-search-bar.open { display: flex; align-items: center; gap: 12px; }
.eclat-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 300;
  font-family: var(--font-main);
  background: transparent;
  color: var(--dark);
}
.eclat-search-bar input::placeholder { color: var(--muted); }

/* 모바일 메뉴 패널 커스텀 */
.dx-mob-panel { background: var(--dark); }
.eclat-mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.eclat-mob-nav a {
  display: block;
  padding: 16px 24px;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: 0.05em;
  transition: color .15s;
}
.eclat-mob-nav a:hover { color: var(--gold); }

@media (max-width: 767px) {
  .eclat-nav,
  .eclat-subnav { display: none !important; }
  .eclat-logo { font-size: 1.9rem; }
  .eclat-header-top { padding: 8px 16px; }
  .eclat-header-main { padding: 12px 16px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑤ 섹션 공통
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eclat-section { padding: 40px 0; }

.section-heading {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--dark);
}
.section-link {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--muted);
  transition: color .15s, border-color .15s;
}
.section-link:hover { color: var(--dark); border-color: var(--dark); }

/* 카테고리 배지 */
.cat-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 3px 8px;
}
.cat-badge-sm {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 2px 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑥ 홈 히어로
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑦ 카드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-card { cursor: pointer; }
.eclat-card .card-img { overflow: hidden; }
.eclat-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.eclat-card:hover .card-img img { transform: scale(1.06); }
.card-title {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.4;
  font-size: 0.92rem;
  color: var(--dark);
}
.card-meta { font-size: 0.72rem; color: var(--muted); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑧ 아티클 뷰
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#readingProgress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gold); z-index: 9999;
  transition: width .1s linear; width: 0%;
}
.article-body {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
}
.article-body p { margin-bottom: 1.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--light-beige);
  font-style: italic;
  font-size: 1.2rem;
  font-family: var(--font-logo);
}
.pull-quote {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--dark);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 24px 0;
  margin: 40px 0;
  text-align: center;
}
.sidebar-sticky { position: sticky; top: 120px; }
.author-card {
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑨ 게시판
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.board-table { width: 100%; border-collapse: collapse; }
.board-table thead tr { border-bottom: 2px solid var(--dark); }
.board-table thead th {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 8px;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}
.board-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.board-table tbody tr:hover { background: var(--light-beige); }
.board-table tbody td { padding: 14px 8px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑩ 페이지네이션
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-pagination { display: flex; gap: 4px; align-items: center; }
.page-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  cursor: pointer; transition: all .15s;
  background: #fff; color: var(--dark);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑪ 폼 / 버튼
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.form-input {
  width: 100%;
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  font-weight: 300;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  color: var(--dark);
  border-radius: 0;
}
.form-input:focus { border-color: var(--dark); }
.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.btn-primary {
  background: var(--dark); color: #fff;
  padding: 13px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .2s;
  font-family: var(--font-main);
  font-weight: 400;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold); }
.btn-outline {
  background: transparent; color: var(--dark);
  padding: 13px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--dark); cursor: pointer;
  transition: all .2s;
  font-family: var(--font-main);
  font-weight: 400;
  display: inline-block;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑫ 태그
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-tag {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  text-transform: uppercase;
  background: #fff;
}
.eclat-tag:hover, .eclat-tag.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑬ 댓글
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.comment-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.comment-avatar {
  width: 36px; height: 36px;
  background: var(--light-beige);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 500; color: var(--muted); flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑭ 소셜 공유 버튼
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.social-share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  cursor: pointer; transition: all .15s;
  color: var(--dark); text-decoration: none;
  background: #fff;
}
.social-share-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑮ 로그인 / 회원가입 페이지
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-wrap {
  display: flex;
  min-height: 100vh;
}
.auth-left {
  flex: 0 0 46%;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.auth-left-bg {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.65;
  position: absolute; inset: 0;
}
.auth-left-content {
  position: relative; z-index: 2;
  padding: 48px 44px;
  height: 100%;
  display: flex; flex-direction: column;
  color: #fff;
}
.auth-left-logo {
  font-family: var(--font-logo);
  font-size: 3rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.auth-left-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}
.auth-left-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: auto;
}
.auth-feature-list { margin-top: 40px; }
.auth-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px;
}
.auth-feature-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(201,169,110,.5);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.auth-feature-title { font-size: 0.82rem; font-weight: 500; color: var(--gold); margin-bottom: 2px; }
.auth-feature-desc  { font-size: 0.75rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.auth-quote {
  font-family: var(--font-logo);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,.45);
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.auth-right {
  flex: 1;
  background: var(--cream);
  padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-right-back {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 32px;
  cursor: pointer; transition: color .15s;
  background: none; border: none;
  font-family: var(--font-main);
  text-decoration: none;
}
.auth-right-back:hover { color: var(--dark); }
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  text-decoration: none;
  font-family: var(--font-main);
  background: none; border: none;
  border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--dark); border-bottom-color: var(--gold); }
.auth-heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.auth-subtext { font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; }

/* 소셜 버튼 */
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-family: var(--font-main);
  cursor: pointer; transition: all .15s;
  background: #fff; color: var(--dark);
  margin-bottom: 8px;
}
.social-btn:hover { border-color: var(--dark); }
.social-btn.kakao  { background: #FEE500; color: #000; border-color: #FEE500; }
.social-btn.naver  { background: #03C75A; color: #fff; border-color: #03C75A; }
.social-btn.kakao:hover  { background: #f0d800; border-color: #f0d800; }
.social-btn.naver:hover  { background: #02b34f; border-color: #02b34f; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0;
  font-size: 0.72rem; color: var(--muted);
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* 체크박스 동의 */
.agree-box {
  background: var(--light-beige);
  border: 1px solid var(--border);
  padding: 14px 16px;
  margin-top: 4px;
}
.agree-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.agree-row:last-child { margin-bottom: 0; }
.agree-row label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--dark); }
.agree-row a { font-size: 0.72rem; color: var(--muted); border-bottom: 1px solid var(--border); }

/* 비밀번호 강도 바 */
.pw-strength { height: 3px; background: var(--border); margin-top: 6px; }
.pw-strength-bar { height: 100%; width: 0%; transition: width .3s, background .3s; }

@media (max-width: 767px) {
  .auth-left { display: none; }
  .auth-right { padding: 32px 24px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑯ 마이페이지
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mypage-hero {
  background: var(--dark);
  color: #fff;
  padding: 32px 24px;
}
.mypage-sidebar a {
  display: block; padding: 10px 16px;
  font-size: 0.85rem; color: var(--muted);
  transition: color .15s, background .15s;
  border-left: 2px solid transparent;
}
.mypage-sidebar a:hover { color: var(--dark); background: var(--light-beige); }
.mypage-sidebar a.active { color: var(--dark); border-left-color: var(--gold); background: var(--light-beige); }
.mypage-sidebar a.danger { color: #dc2626; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑰ 푸터
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-footer {
  background: var(--dark);
  color: rgba(255,255,255,.45);
  padding: 56px 0 24px;
  margin-top: auto;
}
.eclat-footer-logo {
  font-family: var(--font-logo);
  font-size: 2.4rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 14px;
}
.eclat-footer-desc { font-size: 0.82rem; line-height: 1.8; margin-bottom: 20px; }
.eclat-footer-sns { display: flex; gap: 14px; }
.eclat-footer-sns a {
  color: rgba(255,255,255,.4);
  font-size: 1.1rem;
  transition: color .15s;
}
.eclat-footer-sns a:hover { color: var(--gold); }
.eclat-footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.eclat-footer-col ul { list-style: none; padding: 0; margin: 0; }
.eclat-footer-col ul li { margin-bottom: 10px; }
.eclat-footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.eclat-footer-col ul li a:hover { color: #fff; }
.eclat-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.7rem;
}
@media (max-width: 767px) {
  .eclat-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .eclat-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑱ 애니메이션
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.fade-in { animation: eclatFadeIn .4s ease forwards; }
.fade-in-trigger { opacity: 0; }
@keyframes eclatFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes likeAnim {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.like-animate { animation: likeAnim .3s ease; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑲ 홈 카테고리 배너 (중간 풀블리드)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-feature-banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.eclat-feature-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45;
}
.eclat-feature-banner-content { position: relative; z-index: 2; color: #fff; padding: 40px 24px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑳ 반응형 그리드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eclat-grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.eclat-col-7 { grid-column: span 7; }
.eclat-col-5 { grid-column: span 5; }
.eclat-col-4 { grid-column: span 4; }
.eclat-col-3 { grid-column: span 3; }
.eclat-col-6 { grid-column: span 6; }
.eclat-col-8 { grid-column: span 8; }
@media (max-width: 1023px) {
  .eclat-col-7, .eclat-col-5,
  .eclat-col-4, .eclat-col-3,
  .eclat-col-6, .eclat-col-8 { grid-column: span 12; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .eclat-col-4 { grid-column: span 6; }
  .eclat-col-3 { grid-column: span 6; }
}
