/*
 * 마이디팟 앞 화면 — 새 디자인 (2026-11-07, 사용자 「기존 있는걸 다 버리고 새롭게 만들어」·「사이즈도 너무 커」·「동적 동작등은 정적으로」)
 * 옛 스타일 파일은 하나도 읽지 않는다. 이 파일 하나가 앞 화면 전부를 꾸민다(관리자 화면은 css/admin/lattebook-admin.css).
 * 색: 흰 바탕 + 블러시 띠, 글은 깊은 자두색. 장밋빛은 주 단추와 「지금 위치」 표시에만(독자·작가 대부분이 여성 — 11/07 사용자).
 *     임프린트 넷은 책등 색: 라떼북 라떼 갈색 · 다카포 남보라 · 페이즈 청록 · 메타노블 회청.
 * 글꼴: 화면 글 IBM Plex Sans KR · 제목과 책 제목 고운바탕.
 * 움직임: 없음. 슬라이드·스크롤 효과를 두지 않는다(손을 댔을 때 색이 바뀌는 정도만).
 */
:root {
  /* 2026-11-07 사용자 「대부분이 여성들이야」 → 차가운 회색·먹색 대신 블러시·장미·자두 */
  --ld-ink: #2B1F2A;
  --ld-text: #3E3240;
  --ld-graphite: #6F6171;
  --ld-faint: #9D909F;
  --ld-rule: #EFE5EA;
  --ld-rule-strong: #DDCCD4;
  --ld-tint: #FBF5F7;
  --ld-blush: #F8E9EE;
  --ld-sheet: #FFFFFF;
  --ld-red: #C8385E;
  --ld-red-deep: #A12B4B;
  --ld-red-wash: #FCEEF2;
  --ld-latte: #A47552;
  --ld-dacapo: #6B5FC7;
  --ld-faces: #2A8C82;
  --ld-meta: #8A7F90;
  --ld-sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ld-serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --ld-wrap: 1120px;
  --ld-radius: 10px;
}

/* ───────── 바탕 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--ld-sheet); color: var(--ld-text);
  font-family: var(--ld-sans); font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ld-ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, h5, h6, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; }
.ld-wrap { width: 100%; max-width: var(--ld-wrap); margin: 0 auto; padding: 0 24px; }
.ld-skip { position: absolute; left: -9999px; top: 0; }
.ld-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border: 1px solid var(--ld-ink); }
.ld-main { display: block; min-height: 60vh; outline: none; }
.ld-empty { color: var(--ld-faint); font-size: 14px; padding: 24px 0; }
.ld-hidden, .hidden_item, .blind, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* 글자 위계 */
.ld-h1 { font-family: var(--ld-serif); font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--ld-ink); letter-spacing: -.01em; }
.ld-h2 { font-family: var(--ld-serif); font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--ld-ink); }
.ld-h3 { font-family: var(--ld-serif); font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ld-ink); }
.ld-more { font-size: 13.5px; color: var(--ld-graphite); white-space: nowrap; border-bottom: 1px solid var(--ld-rule-strong); }
.ld-more:hover { color: var(--ld-red-deep); border-color: var(--ld-red); }

/* 임프린트 점 */
.ld-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ld-meta); flex: 0 0 8px; }
.ld-dot--latte { background: var(--ld-latte); }
.ld-dot--dacapo { background: var(--ld-dacapo); }
.ld-dot--faces { background: var(--ld-faces); }
.ld-dot--meta { background: var(--ld-meta); }

/* 단추 */
.ld-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--ld-rule-strong); background: #fff; color: var(--ld-ink);
  font-size: 14.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .12s, border-color .12s, color .12s;
}
.ld-btn:hover { background: var(--ld-tint); border-color: var(--ld-graphite); color: var(--ld-ink); }
.ld-btn--primary { background: var(--ld-red); border-color: var(--ld-red); color: #fff; }
.ld-btn--primary:hover { background: var(--ld-red-deep); border-color: var(--ld-red-deep); color: #fff; }
.ld-btn--ink { background: var(--ld-ink); border-color: var(--ld-ink); color: #fff; }
.ld-btn--ink:hover { background: #45313F; border-color: #45313F; color: #fff; }
.ld-btn--sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 7px; }
.ld-btn--block { display: flex; width: 100%; }
.ld-badge {
  position: absolute; left: 8px; top: 8px;
  background: var(--ld-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 2px 6px; border-radius: 4px; line-height: 1.4;
}
.ld-new { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ld-red-deep); background: var(--ld-red-wash); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }

/* ───────── 머리 ───────── */
.ld-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ld-rule); }
.ld-topline { background: var(--ld-tint); border-bottom: 1px solid var(--ld-rule); font-size: 13px; }
.ld-topline__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.ld-topline__notice { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ld-topline__tag { flex: 0 0 auto; font-weight: 700; color: var(--ld-red-deep); }
.ld-topline__text { color: var(--ld-graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-topline__text:hover { color: var(--ld-ink); text-decoration: underline; text-underline-offset: 3px; }
.ld-topline__auth { display: flex; gap: 14px; flex: 0 0 auto; color: var(--ld-graphite); }
.ld-topline__auth a:hover { color: var(--ld-ink); }
/* 2026-11-07 사용자 「임직원 이메일로 들어가면 … 관리자 인세조회로 들어가는 버튼」 — 관리자·직원에게만 보이는 단추(inc/header) */
.ld-topline__auth .ld-staff-link, .ld-nav__auth .ld-staff-link { padding: 1px 10px; border: 1px solid var(--ld-red); border-radius: 999px; color: var(--ld-red-deep); font-weight: 600; }
.ld-topline__auth .ld-staff-link:hover, .ld-nav__auth .ld-staff-link:hover { background: var(--ld-red); color: #fff; }
.ld-bar__in { display: flex; align-items: center; gap: 28px; min-height: 62px; }
.ld-logo img { height: 40px; width: auto; display: block; }
.ld-nav { margin-left: auto; }
.ld-nav__list { display: flex; align-items: center; gap: 4px; }
.ld-nav__item { position: relative; }
.ld-nav__link {
  display: block; padding: 20px 14px; font-size: 15px; font-weight: 600; color: var(--ld-text);
  position: relative;
}
.ld-nav__link:hover { color: var(--ld-ink); }
.ld-nav__link.is-on { color: var(--ld-ink); }
.ld-nav__link.is-on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ld-red); }
.ld-nav__sub {
  display: none; position: absolute; left: 0; top: 100%; min-width: 200px;
  background: #fff; border: 1px solid var(--ld-rule); border-radius: 8px; padding: 6px;
  box-shadow: 0 12px 28px -14px rgba(43, 31, 42, .35);
}
.ld-nav__item:hover > .ld-nav__sub,
.ld-nav__item:focus-within > .ld-nav__sub { display: block; }
.ld-nav__sub a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--ld-text); white-space: nowrap; }
.ld-nav__sub a:hover { background: var(--ld-tint); color: var(--ld-ink); }
.ld-nav__sub small { margin-left: auto; padding-left: 14px; color: var(--ld-faint); font-size: 12.5px; }
.ld-nav__auth, .ld-menu-btn { display: none; }

/* ───────── 꼬리 ───────── */
.ld-footer { margin-top: 72px; background: var(--ld-ink); color: #BFAFBC; font-size: 13px; padding: 36px 0 40px; }
.ld-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #45343F; }
.ld-footer__logo img { height: 40px; width: auto; }
.ld-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ld-footer__links button, .ld-footer__links a { background: none; border: 0; padding: 0; color: #E6D7DF; font-size: 13.5px; }
.ld-footer__links button:hover, .ld-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ld-footer__links .is-strong { color: #fff; font-weight: 600; }
.ld-footer__info { font-style: normal; line-height: 1.9; margin-top: 18px; }
.ld-footer__info span { margin-right: 16px; white-space: nowrap; display: inline-block; }
.ld-footer__info a { color: #E6D7DF; }
.ld-footer__copy { margin-top: 12px; color: #9A8796; font-size: 12px; }

/* 약관 창 */
.ld-modal { width: min(760px, calc(100vw - 32px)); max-height: 82vh; padding: 0; border: 0; border-radius: 12px; color: var(--ld-text); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.ld-modal::backdrop { background: rgba(15, 18, 26, .55); }
.ld-modal[open] { display: flex; flex-direction: column; }
.ld-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--ld-rule); font-size: 16px; }
.ld-modal__head strong { font-family: var(--ld-serif); font-size: 18px; color: var(--ld-ink); }
.ld-modal__close { background: #fff; border: 1px solid var(--ld-rule-strong); border-radius: 7px; padding: 5px 12px; font-size: 13px; }
.ld-modal__close:hover { background: var(--ld-tint); }
.ld-modal__body { overflow-y: auto; padding: 20px 22px 26px; font-size: 14px; line-height: 1.75; }
.ld-modal__body img { height: auto !important; }

/* ───────── 메인: 첫 띠 ───────── */
.ld-hero { border-bottom: 1px solid var(--ld-rule); background: radial-gradient(1200px 380px at 85% 20%, var(--ld-blush) 0%, rgba(248, 233, 238, 0) 70%), linear-gradient(180deg, #fff 0%, var(--ld-tint) 100%); }
.ld-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.ld-hero__title { font-family: var(--ld-serif); font-size: 38px; font-weight: 700; line-height: 1.28; color: var(--ld-ink); letter-spacing: -.015em; }
.ld-hero__lead { margin-top: 16px; max-width: 34em; color: var(--ld-graphite); font-size: 15.5px; line-height: 1.75; }
.ld-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* 임프린트 = 책등 넷 */
.ld-spines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; height: 230px; }
.ld-spines li { height: 100%; display: flex; align-items: flex-end; }
.ld-spines li:nth-child(1) { height: 100%; }
.ld-spines li:nth-child(2) { height: 88%; }
.ld-spines li:nth-child(3) { height: 94%; }
.ld-spines li:nth-child(4) { height: 80%; }
.ld-spine {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 12px 14px; border-radius: 4px 4px 2px 2px; color: #fff;
  background: var(--ld-meta);
  box-shadow: inset 6px 0 0 rgba(255, 255, 255, .12), inset -1px 0 0 rgba(0, 0, 0, .15);
}
.ld-spine:hover { color: #fff; filter: brightness(1.08); }
.ld-spine--latte { background: var(--ld-latte); }
.ld-spine--dacapo { background: var(--ld-dacapo); }
.ld-spine--faces { background: var(--ld-faces); }
.ld-spine--meta { background: var(--ld-meta); }
.ld-spine__name { font-family: var(--ld-serif); font-size: 19px; font-weight: 700; writing-mode: vertical-rl; letter-spacing: .08em; align-self: center; }
.ld-spine__genre { font-size: 12px; font-weight: 600; text-align: center; opacity: .9; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 8px; }
.ld-spines::after { content: none; }

/* ───────── 메인: 묶음 ───────── */
.ld-section { padding: 48px 0; }
.ld-section--tint { background: var(--ld-tint); border-top: 1px solid var(--ld-rule); border-bottom: 1px solid var(--ld-rule); }
.ld-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ld-section__note { margin-top: 4px; font-size: 13.5px; color: var(--ld-graphite); }

/* 서가: 한 줄 다섯 권, 줄마다 선반 */
.ld-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; padding-bottom: 22px; margin-bottom: 30px; position: relative; }
.ld-shelf::after {
  content: ""; position: absolute; left: -8px; right: -8px; bottom: 0; height: 8px; border-radius: 2px;
  background: linear-gradient(180deg, #EAD9E0 0%, #DCC6CF 100%);
  box-shadow: 0 6px 10px -6px rgba(43, 31, 42, .35);
}
.ld-shelf:last-child { margin-bottom: 0; }
.ld-book a { display: block; }
.ld-book__cover {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 3px 5px 5px 3px;
  background: var(--ld-tint);
  box-shadow: 0 1px 2px rgba(43, 31, 42, .18), 0 10px 18px -12px rgba(43, 31, 42, .55);
}
.ld-book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-book__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, 0)); z-index: 1; }
.ld-book__title { margin-top: 12px; font-family: var(--ld-serif); font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--ld-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-book__line { margin-top: 4px; font-size: 13px; color: var(--ld-graphite); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ld-book__date { margin-top: 4px; font-size: 12px; color: var(--ld-faint); font-variant-numeric: tabular-nums; }
.ld-book a:hover .ld-book__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 마케팅 리포트 목록(두 줄) */
.ld-reports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.ld-report { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--ld-rule); border-radius: var(--ld-radius); }
.ld-report:hover { border-color: var(--ld-rule-strong); }
.ld-report__thumb { flex: 0 0 56px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 3px; background: var(--ld-tint); }
.ld-report__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ld-report__title { font-size: 14.5px; font-weight: 500; color: var(--ld-ink); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-report__date { margin-top: 3px; font-size: 12.5px; color: var(--ld-faint); }

/* 두 칸(출간 일정 · 원고 투고) */
.ld-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ld-panel { border: 1px solid var(--ld-rule); border-radius: 10px; padding: 20px 22px 22px; background: #fff; display: flex; flex-direction: column; }
.ld-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ld-rule); margin-bottom: 6px; }
.ld-agenda { max-height: 300px; overflow-y: auto; padding-right: 4px; }
.ld-agenda__day { padding: 10px 0; border-bottom: 1px dashed var(--ld-rule); }
.ld-agenda__day:last-child { border-bottom: 0; }
.ld-agenda__date { font-size: 13.5px; font-weight: 700; color: var(--ld-ink); font-variant-numeric: tabular-nums; }
.ld-agenda__date::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--day-color, var(--ld-red)); margin-right: 8px; vertical-align: 2px; }
.ld-agenda__date span { font-weight: 500; color: var(--ld-graphite); margin-left: 4px; }
.ld-agenda__day li { font-size: 14px; color: var(--ld-text); padding: 3px 0 3px 15px; line-height: 1.5; }
.ld-lines li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ld-rule); }
.ld-lines li:last-child a { border-bottom: 0; }
.ld-lines__title { font-size: 14.5px; color: var(--ld-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-lines li a:hover .ld-lines__title { text-decoration: underline; text-underline-offset: 3px; }
.ld-lines__date { flex: 0 0 auto; font-size: 12.5px; color: var(--ld-faint); font-variant-numeric: tabular-nums; }
.ld-panel > .ld-btn--block { margin-top: auto; }
.ld-panel > .ld-lines { margin-bottom: 18px; }

/* ───────── 하위 쪽 머리 ───────── */
.ld-pagehead { background: radial-gradient(900px 260px at 90% 0%, var(--ld-blush) 0%, rgba(248, 233, 238, 0) 70%), var(--ld-tint); border-bottom: 1px solid var(--ld-rule); padding: 30px 0 0; }
.ld-crumb { font-size: 12.5px; color: var(--ld-faint); display: flex; gap: 8px; flex-wrap: wrap; }
.ld-crumb span::before { content: "›"; margin-right: 8px; color: var(--ld-rule-strong); }
.ld-crumb a:hover { color: var(--ld-ink); }
.ld-pagehead .ld-h1 { margin-top: 8px; padding-bottom: 22px; }
.ld-h1__note { font-family: var(--ld-sans); font-size: 14px; font-weight: 600; color: var(--ld-graphite); margin-left: 6px; }
.ld-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; }
.ld-tabs::-webkit-scrollbar { display: none; }
.ld-tabs a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 16px 12px; font-size: 14.5px; font-weight: 600; color: var(--ld-graphite); border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; }
.ld-tabs a small { font-size: 12px; font-weight: 500; color: var(--ld-faint); }
.ld-tabs a:hover { color: var(--ld-ink); background: rgba(255, 255, 255, .6); }
.ld-tabs a.is-on { background: #fff; color: var(--ld-ink); border-color: var(--ld-rule); }
.ld-pagehead:not(:has(.ld-tabs)) { padding-bottom: 0; }

.ld-board { padding-top: 28px; }
.ld-listbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ld-listbar__count { font-size: 14px; color: var(--ld-graphite); margin-right: auto; }
.ld-listbar__count strong { color: var(--ld-ink); font-variant-numeric: tabular-nums; }
.ld-search { display: flex; gap: 6px; align-items: center; }
.ld-search select, .ld-search input {
  height: 38px; border: 1px solid var(--ld-rule-strong); border-radius: 8px; background: #fff; padding: 0 12px; font-size: 14px; color: var(--ld-ink);
}
.ld-search input { width: 220px; }
.ld-search select:focus, .ld-search input:focus { outline: none; border-color: var(--ld-red); box-shadow: 0 0 0 3px var(--ld-red-wash); }
.ld-search .ld-btn { min-height: 38px; }
.ld-empty--box { text-align: center; border: 1px dashed var(--ld-rule-strong); border-radius: var(--ld-radius); padding: 48px 16px; }

/* 투고 안내 */
.ld-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; }
.ld-intro--single { grid-template-columns: minmax(0, 1fr); }
.ld-intro__text p { margin-top: 10px; color: var(--ld-graphite); line-height: 1.75; max-width: 36em; }
.ld-steps { counter-reset: s; margin-top: 16px; display: grid; gap: 8px; }
.ld-steps li { counter-increment: s; display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ld-text); }
.ld-steps li::before { content: counter(s); flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--ld-red-wash); color: var(--ld-red-deep); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.ld-intro__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ld-intro__poster { border: 1px solid var(--ld-rule); border-radius: var(--ld-radius); background: #fff; overflow: hidden; }
.ld-intro__poster summary { cursor: pointer; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--ld-ink); list-style: none; display: flex; justify-content: space-between; }
.ld-intro__poster summary::after { content: "펼치기"; font-size: 12.5px; font-weight: 500; color: var(--ld-graphite); }
.ld-intro__poster[open] summary::after { content: "접기"; }
.ld-intro__poster img { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: var(--ld-tint); border-top: 1px solid var(--ld-rule); }

/* ───────── 출간작 목록: 서점 진열 ───────── */
.ld-store { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 20px; }
.ld-item a { display: block; height: 100%; }
.ld-item__cover {
  position: relative; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; overflow: hidden; background: var(--ld-blush);
  box-shadow: 0 1px 2px rgba(43, 31, 42, .16), 0 12px 20px -14px rgba(43, 31, 42, .6);
}
.ld-item__cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(255, 255, 255, 0)); z-index: 1; }
.ld-item__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-item__nocover { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-family: var(--ld-serif); font-weight: 700; color: var(--ld-ink); }
.ld-item__flags { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; z-index: 2; }
.ld-flag { font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 4px; background: rgba(255, 255, 255, .92); color: var(--ld-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.ld-flag--new { background: var(--ld-red); color: #fff; }
.ld-item__body { padding-top: 12px; }
.ld-item__title { font-family: var(--ld-serif); font-size: 15px; font-weight: 700; color: var(--ld-ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-item a:hover .ld-item__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ld-item__author { margin-top: 3px; font-size: 13px; color: var(--ld-graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-item__line { margin-top: 4px; font-size: 12.5px; color: var(--ld-faint); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-item__meta { margin-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ld-item__price { font-size: 14px; font-weight: 700; color: var(--ld-red-deep); font-variant-numeric: tabular-nums; }
.ld-item__price small { font-size: 12px; font-weight: 600; margin-left: 1px; }
.ld-item__date { font-size: 12px; color: var(--ld-faint); font-variant-numeric: tabular-nums; }

/* ───────── 글 목록 ───────── */
.ld-posts { border-top: 2px solid var(--ld-ink); }
.ld-post a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px 8px; border-bottom: 1px solid var(--ld-rule); }
.ld-post a:hover { background: var(--ld-tint); }
.ld-post.is-pinned a { background: #FFFBFC; }
.ld-post__no { text-align: center; font-size: 13px; color: var(--ld-faint); font-variant-numeric: tabular-nums; }
.ld-post__title { font-size: 15px; color: var(--ld-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-post a:hover .ld-post__title { text-decoration: underline; text-underline-offset: 3px; }
.ld-post__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ld-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ld-pin, .ld-status { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--ld-red-wash); color: var(--ld-red-deep); }
.ld-status { background: #F1ECEF; color: var(--ld-graphite); }
.ld-status.is-done { background: #E7F3F1; color: #1F6F66; }
.ld-lock, .ld-clip { font-size: 11px; font-weight: 600; color: var(--ld-graphite); border: 1px solid var(--ld-rule-strong); border-radius: 4px; padding: 0 5px; margin: 0 6px 0 0; vertical-align: 1px; }
.ld-clip { margin: 0 0 0 6px; }
.ld-genre { color: var(--ld-graphite); }

/* ───────── 카드(마케팅 리포트) ───────── */
.ld-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.ld-card { display: block; height: 100%; background: #fff; border: 1px solid var(--ld-rule); border-radius: 12px; overflow: hidden; }
.ld-card:hover { border-color: var(--ld-rule-strong); box-shadow: 0 10px 22px -16px rgba(43, 31, 42, .45); }
.ld-card__thumb { aspect-ratio: 4 / 3; background: var(--ld-blush); overflow: hidden; display: grid; place-items: center; }
.ld-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ld-card__body { padding: 12px 14px 14px; }
.ld-card__kicker { font-size: 12px; color: var(--ld-red-deep); font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-card__title { font-size: 14.5px; font-weight: 500; color: var(--ld-ink); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-card__date { margin-top: 6px; font-size: 12px; color: var(--ld-faint); }

/* ───────── 쪽 번호 ───────── */
.ld-pager { display: flex; justify-content: center; gap: 4px; margin: 40px 0 8px; flex-wrap: wrap; }
.ld-pager a, .ld-pager span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; color: var(--ld-text); font-variant-numeric: tabular-nums; }
.ld-pager a:hover { background: var(--ld-blush); color: var(--ld-ink); }
.ld-pager .is-on { background: var(--ld-ink); color: #fff; font-weight: 700; }
.ld-pager .is-off { color: var(--ld-rule-strong); }

/* ───────── 출간작 한 권(상품 화면) ───────── */
.ld-product { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.ld-product__cover img { width: 100%; border-radius: 4px 8px 8px 4px; box-shadow: 0 2px 4px rgba(43, 31, 42, .18), 0 24px 40px -24px rgba(43, 31, 42, .65); }
.ld-product__imprint { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ld-ink); }
.ld-product__imprint span { font-weight: 500; color: var(--ld-graphite); }
.ld-product__title { margin-top: 10px; font-family: var(--ld-serif); font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--ld-ink); }
.ld-product__line { margin-top: 10px; font-size: 16px; color: var(--ld-graphite); line-height: 1.6; }
.ld-product__meta { margin-top: 22px; border-top: 1px solid var(--ld-rule); }
.ld-product__meta div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ld-rule); font-size: 14.5px; }
.ld-product__meta dt { color: var(--ld-faint); }
.ld-product__meta dd { color: var(--ld-ink); font-variant-numeric: tabular-nums; }
.ld-product__price { font-size: 18px; font-weight: 700; color: var(--ld-red-deep) !important; }
.ld-product__note { margin-top: 16px; font-size: 13.5px; color: var(--ld-graphite); }
.ld-product__story { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ld-rule); }
.ld-product__story .ld-h3 { margin-bottom: 16px; }

/* ───────── 글 보기 ───────── */
.ld-view { padding-bottom: 8px; }
.ld-article { max-width: 820px; margin: 0 auto; }
.ld-article__head { padding-bottom: 18px; border-bottom: 1px solid var(--ld-rule); }
.ld-article__title { font-family: var(--ld-serif); font-size: 26px; font-weight: 700; line-height: 1.35; color: var(--ld-ink); }
.ld-article__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ld-faint); }
.ld-article__file { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--ld-tint); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.ld-article__file span { color: var(--ld-graphite); }
.ld-article__file a { color: var(--ld-ink); text-decoration: underline; text-underline-offset: 3px; }
.ld-article__figure { margin-top: 22px; text-align: center; }
.ld-article__figure img { max-width: min(100%, 480px); border-radius: 8px; }
.ld-prose { margin-top: 24px; font-size: 15.5px; line-height: 1.85; color: var(--ld-text); overflow-wrap: anywhere; }
.ld-prose p { margin: 0 0 .7em; }
.ld-prose img { max-width: 100% !important; height: auto !important; border-radius: 6px; }
.ld-prose table { max-width: 100%; border-collapse: collapse; }
.ld-prose td, .ld-prose th { border: 1px solid var(--ld-rule); padding: 6px 8px; }
.ld-prose a { color: var(--ld-red-deep); text-decoration: underline; }
.ld-view__foot { display: flex; justify-content: center; margin-top: 44px; }

/* ───────── 폼 ───────── */
.ld-form { display: grid; gap: 18px; }
.ld-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ld-field { display: grid; gap: 7px; }
.ld-field > label, .ld-field__label { font-size: 13.5px; font-weight: 600; color: var(--ld-ink); }
.ld-field input[type="text"], .ld-field input[type="email"], .ld-field input[type="password"], .ld-field input[type="number"], .ld-field input[type="tel"], .ld-field select, .ld-field textarea, .ld-gate input {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--ld-rule-strong); border-radius: 10px; background: #fff; font-size: 15px; color: var(--ld-ink);
  transition: border-color .12s, box-shadow .12s;
}
.ld-field textarea { min-height: 220px; line-height: 1.7; resize: vertical; }
.ld-field input:focus, .ld-field select:focus, .ld-field textarea:focus, .ld-gate input:focus { outline: none; border-color: var(--ld-red); box-shadow: 0 0 0 4px var(--ld-red-wash); }
.ld-field input[readonly], .ld-field textarea[readonly], .ld-field select:disabled { background: var(--ld-tint); color: var(--ld-text); }
.ld-field__hint { font-size: 12.5px; color: var(--ld-faint); }
.ld-field input::-webkit-outer-spin-button, .ld-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ld-files { display: grid; gap: 8px; }
.ld-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--ld-rule-strong); border-radius: 10px; background: var(--ld-tint); }
.ld-file input[type="file"] { flex: 1 1 220px; font-size: 13.5px; color: var(--ld-graphite); }
.ld-file input[type="file"]::file-selector-button { font: inherit; font-size: 13px; font-weight: 600; color: var(--ld-ink); background: #fff; border: 1px solid var(--ld-rule-strong); border-radius: 7px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }
.ld-files__done a { color: var(--ld-ink); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.ld-files__none { font-size: 14px; color: var(--ld-faint); }
.ld-consent { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 10px; background: var(--ld-blush); }
.ld-check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ld-ink); cursor: pointer; }
.ld-check input { width: 18px; height: 18px; accent-color: var(--ld-red); }
.ld-linkbtn { background: none; border: 0; padding: 0; font-size: 13.5px; color: var(--ld-red-deep); text-decoration: underline; text-underline-offset: 3px; }
.ld-form__actions { display: flex; justify-content: center; gap: 10px; padding-top: 8px; }
.ld-form__actions .ld-btn { min-width: 140px; }
.ld-formcard { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--ld-rule); border-radius: 16px; padding: 30px 32px 32px; box-shadow: 0 20px 40px -32px rgba(43, 31, 42, .35); }
.ld-formcard__lead { margin-bottom: 22px; padding: 12px 14px; border-radius: 10px; background: var(--ld-tint); font-size: 14px; color: var(--ld-graphite); line-height: 1.65; }
.ld-reply__body { padding: 16px; border-radius: 10px; background: #F4FAF8; border: 1px solid #D5EAE5; font-size: 15px; line-height: 1.75; }
.ld-reply__wait { padding: 14px 16px; border-radius: 10px; background: var(--ld-tint); font-size: 14px; color: var(--ld-graphite); }
.ld-btn--lg { min-height: 50px; font-size: 15.5px; border-radius: 12px; }

/* 비밀글 열기 */
.ld-gate { max-width: 460px; margin: 20px auto 0; text-align: center; background: #fff; border: 1px solid var(--ld-rule); border-radius: 16px; padding: 36px 28px; }
.ld-gate p { margin-top: 8px; color: var(--ld-graphite); font-size: 14px; }
.ld-gate__form { display: flex; gap: 8px; margin-top: 20px; }
.ld-gate__form input { flex: 1; }

/* ───────── 작가 계정 화면(로그인·찾기) ───────── */
.ld-auth { padding: 56px 24px 24px; background: radial-gradient(900px 420px at 15% 10%, var(--ld-blush) 0%, rgba(248, 233, 238, 0) 70%), radial-gradient(700px 360px at 95% 90%, #F3E6F4 0%, rgba(243, 230, 244, 0) 70%); }
.ld-auth__card { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--ld-rule); box-shadow: 0 40px 80px -48px rgba(43, 31, 42, .45); }
.ld-auth__aside {
  position: relative; padding: 44px 40px; color: #fff; display: flex; flex-direction: column;
  background: linear-gradient(155deg, #D9577C 0%, #B9406A 45%, #6E3C74 100%);
}
.ld-auth__aside::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at 80% 15%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.ld-auth__kicker { font-size: 13px; font-weight: 600; opacity: .85; }
.ld-auth__quote { margin-top: 18px; font-family: var(--ld-serif); font-size: 27px; font-weight: 700; line-height: 1.45; }
.ld-auth__sub { margin-top: 14px; font-size: 14.5px; line-height: 1.7; opacity: .9; }
.ld-auth__spines { margin-top: auto; padding-top: 40px; display: flex; align-items: flex-end; gap: 8px; height: 170px; }
.ld-spine-mini { writing-mode: vertical-rl; font-family: var(--ld-serif); font-weight: 700; font-size: 14px; letter-spacing: .1em; padding: 12px 0; width: 38px; display: flex; align-items: center; border-radius: 3px 3px 2px 2px; box-shadow: inset 4px 0 0 rgba(255, 255, 255, .15); }
.ld-spine-mini--latte { background: #F6E2D3; color: #6A4329; height: 100%; }
.ld-spine-mini--dacapo { background: #E3DEFA; color: #3E3592; height: 84%; }
.ld-spine-mini--faces { background: #D7EFEA; color: #1A5F57; height: 92%; }
.ld-spine-mini--meta { background: #F1E6EC; color: #5D4C58; height: 74%; }
.ld-auth__main { padding: 48px 44px 40px; }
.ld-auth__title { font-family: var(--ld-serif); font-size: 26px; font-weight: 700; color: var(--ld-ink); margin-bottom: 26px; }
.ld-auth__links { display: flex; justify-content: center; gap: 18px; font-size: 13.5px; color: var(--ld-graphite); }
.ld-auth__links a { position: relative; }
.ld-auth__links a + a::before { content: ""; position: absolute; left: -10px; top: 50%; width: 1px; height: 12px; background: var(--ld-rule-strong); transform: translateY(-50%); }
.ld-auth__links a:hover { color: var(--ld-red-deep); }
.ld-auth__help { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--ld-rule); font-size: 13px; color: var(--ld-faint); line-height: 1.7; text-align: center; }
.ld-auth__help a { color: var(--ld-graphite); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── 출간 일정 ───────── */
.ld-pagehead__lead { margin-top: -12px; padding-bottom: 24px; color: var(--ld-graphite); font-size: 14.5px; }
.ld-cal + .ld-cal { margin-top: 40px; }
.ld-cal__month { font-family: var(--ld-serif); font-size: 21px; font-weight: 700; color: var(--ld-ink); padding-bottom: 12px; border-bottom: 2px solid var(--ld-ink); }
.ld-cal__day { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ld-rule); }
.ld-cal__day.is-today { background: linear-gradient(90deg, var(--ld-red-wash) 0%, rgba(252, 238, 242, 0) 70%); border-radius: 10px; }
.ld-cal__date { display: flex; flex-direction: column; align-items: flex-start; padding-left: 12px; color: var(--day-color, var(--ld-ink)); }
.ld-cal__num { font-family: var(--ld-serif); font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ld-cal__dow { margin-top: 6px; font-size: 13px; font-weight: 600; }
.ld-cal__today { margin-top: 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--ld-red); border-radius: 999px; padding: 2px 9px; }
.ld-cal__list { display: grid; gap: 8px; }
.ld-release { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--ld-rule); border-radius: 10px; }
.ld-release__form { font-size: 11.5px; font-weight: 700; color: var(--ld-red-deep); background: var(--ld-red-wash); border-radius: 5px; padding: 2px 7px; align-self: center; }
.ld-release__form.is-serial { color: #3E3592; background: #ECE9FB; }
.ld-release__title { font-family: var(--ld-serif); font-size: 16px; font-weight: 700; color: var(--ld-ink); }
.ld-release__author { font-size: 13.5px; color: var(--ld-graphite); }
.ld-release__where { margin-left: auto; font-size: 12.5px; color: var(--ld-faint); white-space: nowrap; }
.ld-release__where em { font-style: normal; font-weight: 600; color: var(--ld-text); margin-right: 6px; }

/* ───────── 인세 조회 ───────── */
.ld-royalty__notice { border: 1px solid var(--ld-rule); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; background: #fff; }
.ld-royalty__notice-title { font-size: 13px; font-weight: 700; color: var(--ld-red-deep); margin-bottom: 6px; }
.ld-royalty__notice li a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ld-text); }
.ld-royalty__notice li a:hover { color: var(--ld-ink); text-decoration: underline; text-underline-offset: 3px; }
.ld-royalty__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(120deg, var(--ld-blush) 0%, #F3E8F5 100%); margin-bottom: 14px; }
.ld-royalty__who { display: flex; align-items: baseline; gap: 8px; }
.ld-royalty__who span { font-size: 12.5px; font-weight: 700; color: var(--ld-red-deep); background: #fff; border-radius: 999px; padding: 2px 9px; }
.ld-royalty__who strong { font-family: var(--ld-serif); font-size: 20px; color: var(--ld-ink); }
.ld-royalty__period { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.ld-royalty__period label { font-size: 13.5px; font-weight: 600; color: var(--ld-ink); }
.ld-royalty__period input, .ld-royalty__search input, .ld-royalty__search select { height: 38px; border: 1px solid var(--ld-rule-strong); border-radius: 8px; background: #fff; padding: 0 10px; font-size: 14px; color: var(--ld-ink); }
.ld-royalty__hint { flex: 1 1 100%; font-size: 12.5px; color: var(--ld-graphite); margin-top: -4px; text-align: right; }
.ld-royalty__search { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ld-royalty__search input { width: 240px; }
.ld-royalty__count { margin-left: auto; font-size: 13.5px; color: var(--ld-graphite); }
.ld-royalty__table { overflow-x: auto; border: 1px solid var(--ld-rule); border-radius: 12px; background: #fff; }
.ld-royalty__table table { width: 100%; min-width: 1100px; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ld-royalty__table thead th { position: sticky; top: 0; background: var(--ld-tint); color: var(--ld-graphite); font-weight: 600; font-size: 12.5px; padding: 10px 8px; border-bottom: 1px solid var(--ld-rule); text-align: center; vertical-align: top; line-height: 1.5; white-space: nowrap; }
.ld-royalty__table thead select { display: block; width: 100%; max-width: 180px; margin: 6px auto 0; height: 30px; border: 1px solid var(--ld-rule-strong); border-radius: 6px; background: #fff; font-size: 12.5px; padding: 0 6px; }
.ld-royalty__table td { padding: 10px 8px; border-bottom: 1px solid var(--ld-rule); text-align: center; color: var(--ld-text); line-height: 1.5; }
.ld-royalty__table td:nth-child(3) { text-align: left; color: var(--ld-ink); font-weight: 500; }
.ld-royalty__table tbody tr:hover td { background: #FFFBFC; }
.ld-royalty__table #common_total td { background: var(--ld-blush) !important; font-weight: 700; color: var(--ld-ink); border-top: 1px solid var(--ld-rule-strong); border-bottom: 2px solid var(--ld-ink); }
.ld-royalty__table #common_total { border: 0 !important; }

/* 회원정보 */
.ld-profile { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--ld-rule); }
.ld-profile__badge { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #E3809C, #A94A7C); color: #fff; font-size: 13px; font-weight: 700; }
.ld-profile__name { font-family: var(--ld-serif); font-size: 20px; font-weight: 700; color: var(--ld-ink); }
.ld-profile__mail { font-size: 13.5px; color: var(--ld-graphite); }

/* ───────── SNS 공유 ───────── */
.ld-share { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ld-share__label { font-size: 12.5px; font-weight: 600; color: var(--ld-faint); margin-right: 4px; }
.ld-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid var(--ld-rule-strong); background: #fff; color: var(--ld-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ld-share__btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.ld-share__btn:hover { background: var(--ld-tint); border-color: var(--ld-graphite); color: var(--ld-ink); }
.ld-share__btn--ig { border: 0; color: #fff; background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.ld-share__btn--ig:hover { color: #fff; filter: brightness(1.06); background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.ld-share__btn--fb svg { color: #1877F2; }
.ld-share__btn--x svg { color: #111; }
.ld-share__done { font-size: 12.5px; color: var(--ld-red-deep); margin-left: 4px; }
.ld-article__head .ld-share { margin-top: 12px; }

/* 고르기 마디(권한 신청 작가/직원) */
.ld-segment { display: inline-flex; border: 1px solid var(--ld-rule-strong); border-radius: 10px; overflow: hidden; width: max-content; }
.ld-segment label { position: relative; cursor: pointer; }
.ld-segment input { position: absolute; opacity: 0; }
.ld-segment span { display: block; padding: 9px 22px; font-size: 14px; font-weight: 600; color: var(--ld-graphite); }
.ld-segment label + label span { border-left: 1px solid var(--ld-rule-strong); }
.ld-segment input:checked + span { background: var(--ld-red); color: #fff; }
.ld-segment input:focus-visible + span { outline: 2px solid var(--ld-ink); outline-offset: -2px; }
[hidden] { display: none !important; }

/* ───────── 좁은 화면 ───────── */
@media (max-width: 1000px) {
  .ld-hero__in { grid-template-columns: 1fr; gap: 32px; }
  .ld-spines { height: 170px; max-width: 520px; }
  .ld-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ld-store { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ld-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-intro { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ld-topline__auth { display: none; }
  .ld-menu-btn {
    display: inline-flex; margin-left: auto; align-items: center;
    background: #fff; border: 1px solid var(--ld-rule-strong); border-radius: 7px;
    padding: 6px 12px; font-size: 13.5px; font-weight: 600;
  }
  .ld-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ld-rule); box-shadow: 0 18px 30px -20px rgba(43, 31, 42, .4); padding: 8px 24px 18px; max-height: calc(100vh - 100px); overflow-y: auto; }
  body.ld-nav-open .ld-nav { display: block; }
  .ld-bar { position: relative; }
  .ld-nav__list { display: block; }
  .ld-nav__link { padding: 12px 0; border-bottom: 1px solid var(--ld-rule); }
  .ld-nav__link.is-on::after { display: none; }
  .ld-nav__link.is-on { color: var(--ld-red-deep); }
  .ld-nav__sub { display: block; position: static; border: 0; box-shadow: none; padding: 4px 0 8px; min-width: 0; }
  .ld-nav__sub a { padding: 7px 0 7px 12px; }
  .ld-nav__auth { display: flex; gap: 16px; padding-top: 14px; font-size: 14px; font-weight: 600; }
  .ld-hero__title { font-size: 30px; }
  .ld-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .ld-reports, .ld-split { grid-template-columns: 1fr; }
  .ld-cal__day { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .ld-cal__num { font-size: 24px; }
  .ld-release__where { margin-left: 0; width: 100%; }
  .ld-store { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; }
  .ld-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-product { grid-template-columns: 1fr; gap: 24px; }
  .ld-product__cover { max-width: 220px; }
  .ld-post a { grid-template-columns: 58px minmax(0, 1fr); }
  .ld-post__meta { grid-column: 2; }
  .ld-auth__card { grid-template-columns: 1fr; }
  .ld-auth__aside { padding: 32px 28px; }
  .ld-auth__spines { height: 110px; padding-top: 24px; }
  .ld-auth__main { padding: 32px 28px; }
  .ld-form__row { grid-template-columns: 1fr; }
  .ld-search input { width: 100%; }
  .ld-search { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .ld-wrap { padding: 0 16px; }
  .ld-hero__in { padding-top: 34px; padding-bottom: 34px; }
  .ld-hero__title { font-size: 26px; }
  .ld-spines { height: 140px; gap: 8px; }
  .ld-spine__name { font-size: 16px; }
  .ld-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-store { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-cards { grid-template-columns: 1fr; }
  .ld-section { padding: 36px 0; }
  .ld-auth { padding: 24px 12px 8px; }
  .ld-formcard { padding: 22px 18px; border-radius: 12px; }
  .ld-product__title { font-size: 24px; }
  .ld-footer__info span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
