/* ════════════════════════════════════════════
   이북리더 v4 — Auto-hide Overlay Bars
   ════════════════════════════════════════════ */

@font-face {
  font-family: 'KoPub돋움체';
  src: local('KoPub돋움체 Light'), local('KoPubDotumLight'),
       local('KoPub World 돋움 Light'), local('KoPubWorld돋움체 Light'),
       url('fonts/KoPubDotumLight.ttf') format('truetype'),
       url('fonts/KoPubDotumLight.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'KoPub돋움체';
  src: local('KoPub돋움체 Medium'), local('KoPubDotumMedium'),
       local('KoPub World 돋움 Medium'), local('KoPubWorld돋움체 Medium'),
       url('fonts/KoPubDotumMedium.ttf') format('truetype'),
       url('fonts/KoPubDotumMedium.woff2') format('woff2');
  font-weight: 400 500;
}

/* ── Themes ── */
body.theme-dark {
  --bg: #111218; --bg2: #191a23; --bg3: #21222e;
  --line: #2a2b3a; --txt: #e3e1dc; --dim: #888696; --muted: #46455a;
  --accent: #f0b429; --danger: #f87171;
  --bar-bg: rgba(17,18,24,0.92);
}
body.theme-light {
  --bg: #f6f4f0; --bg2: #ffffff; --bg3: #eceae4;
  --line: #dbd8d0; --txt: #1a1917; --dim: #6a6860; --muted: #aaa89e;
  --accent: #c9893b; --danger: #e55353;
  --bar-bg: rgba(246,244,240,0.92);
}
body.theme-sepia {
  --bg: #f2e7cc; --bg2: #fdf5e0; --bg3: #e9dfc3;
  --line: #d3c29e; --txt: #3c2a1e; --dim: #796050; --muted: #af9a84;
  --accent: #8a5d38; --danger: #c0392b;
  --bar-bg: rgba(242,231,204,0.92);
}

/* ── Heights ── */
:root {
  --tb-h:  48px;
  --nav-h: 44px;
  --prog-h: 2px;
  --bar-transition: 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--txt); font-family: 'DM Sans', system-ui, sans-serif; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ── Library Sidebar ── */
.lib-sidebar {
  position: fixed; inset: 0; width: 300px; z-index: 400;
  background: var(--bg2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 24px rgba(0,0,0,.4);
}
.lib-sidebar.open { transform: translateX(0); }
.lib-overlay { display: none; position: fixed; inset: 0; z-index: 350; background: rgba(0,0,0,.4); }
.lib-overlay.show { display: block; }
.lib-hdr { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.lib-hdr-title { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.lib-add-row { padding: 12px 16px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.btn-add-file { width: 100%; padding: 9px; background: var(--bg3); border: 1.5px dashed var(--line); border-radius: 8px; color: var(--dim); font-size: 13px; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.btn-add-file:hover { border-color: var(--accent); color: var(--accent); }
.lib-items { flex: 1; overflow-y: auto; padding: 6px 0; }
.lib-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; transition: background .1s; }
.lib-item:hover { background: var(--bg3); }
.lib-item.active .lib-name { color: var(--accent); }
.lib-icon { width: 30px; height: 36px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.lib-icon.txt  { background: rgba(96,165,250,.12);  color: #60a5fa; border: 1px solid rgba(96,165,250,.25); }
.lib-icon.epub { background: rgba(52,211,153,.12);  color: #34d399; border: 1px solid rgba(52,211,153,.25); }
.lib-icon.pdf  { background: rgba(248,113,113,.12); color: #f87171; border: 1px solid rgba(248,113,113,.25); }
.lib-meta { flex: 1; min-width: 0; }
.lib-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-sub  { font-size: 11px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.lib-prog { height: 2px; width: 48px; background: var(--bg3); border-radius: 1px; overflow: hidden; }
.lib-prog-fill { height: 100%; background: var(--accent); }
.lib-del { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 4px; font-size: 13px; opacity: 0; transition: opacity .1s; }
.lib-item:hover .lib-del { opacity: 1; }
.lib-del:hover { color: var(--danger); }
.ch-section { border-top: 1px solid var(--line); flex-shrink: 0; max-height: 260px; display: flex; flex-direction: column; }
.ch-hdr { padding: 10px 16px 6px; font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.ch-items { overflow-y: auto; }
.ch-item { padding: 7px 16px; font-size: 13px; color: var(--dim); cursor: pointer; transition: all .1s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-item:hover { color: var(--txt); background: var(--bg3); }
.ch-item.active { color: var(--accent); }

/* ════════════════════════════════════════════
   TOOLBAR — fixed overlay, auto-hide
   ════════════════════════════════════════════ */
.toolbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--tb-h); z-index: 300;
  background: var(--bar-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--bar-transition), opacity var(--bar-transition);
}
.toolbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.tb-left, .tb-right { display: flex; align-items: center; gap: 6px; }
.icon-btn { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 18px; padding: 7px 8px; border-radius: 8px; line-height: 1; transition: color .12s, background .12s; }
.icon-btn:hover { color: var(--txt); background: var(--bg3); }
.icon-btn.active { color: var(--accent); }
.book-info { display: flex; align-items: baseline; gap: 8px; margin-left: 6px; }
.book-title { font-size: 14px; font-weight: 500; color: var(--txt); max-width: 500px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-badge { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--accent); }

/* ── Settings Bar (fixed, below toolbar) ── */
.settings-bar {
  position: fixed; top: var(--tb-h); left: 0; right: 0; z-index: 299;
  background: var(--bar-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  display: none;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--bar-transition), opacity var(--bar-transition);
}
.settings-bar.open { display: block; }
.settings-bar.bar-hidden { transform: translateY(calc(-100% - var(--tb-h))); opacity: 0; pointer-events: none; }

.sbar-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.sbar-group { display: flex; flex-direction: column; gap: 4px; }
.sbar-sm { min-width: 70px; }
.sbar-label { font-size: 9px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.sbar-select { height: 30px; min-width: 120px; background: var(--bg3); border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font-size: 12px; color: var(--txt); font-family: inherit; outline: none; cursor: pointer; }
.sbar-select:focus { border-color: var(--accent); }
.sbar-select option { background: var(--bg2); }
.sbar-num { height: 30px; width: 70px; background: var(--bg3); border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font-size: 12px; color: var(--txt); font-family: inherit; outline: none; text-align: center; -moz-appearance: textfield; }
.sbar-num::-webkit-inner-spin-button, .sbar-num::-webkit-outer-spin-button { -webkit-appearance: none; }
.sbar-num:focus { border-color: var(--accent); }
.theme-btns { display: flex; gap: 5px; }
.theme-btn { height: 30px; padding: 0 10px; background: var(--bg3); border: 1px solid var(--line); border-radius: 7px; font-size: 12px; color: var(--dim); cursor: pointer; font-family: inherit; transition: border-color .12s; white-space: nowrap; }
.theme-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(240,180,41,.08); }

/* ── Progress bar (fixed, at content top) ── */
.prog-bar {
  position: fixed; left: 0; right: 0; height: var(--prog-h); z-index: 298;
  background: var(--line);
  top: var(--tb-h); /* updated via JS when settings open */
  transition: top var(--bar-transition);
}
.prog-fill { height: 100%; background: var(--accent); width: 0%; transition: width .35s ease; }

/* ════════════════════════════════════════════
   CONTENT AREA — full viewport, padded
   ════════════════════════════════════════════ */
.content-area {
  position: fixed; inset: 0;
  /* v2.2.0: 바는 순수 오버레이 → 본문 풀 높이 (상단 진행바 2px 만 확보). JS(updateLayout)가 고정 설정 */
  padding-top: var(--prog-h);
  padding-bottom: 0;
  overflow: hidden;
}

/* v2.2.0: 좌측 메뉴 FAB — 기본 숨김 상태에서 누르면 헤더/푸터 오버레이 토글 */
.bar-fab {
  position: fixed; left: 10px; top: 50%; transform: translateY(-50%);
  z-index: 150;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bar-bg);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid var(--line); color: var(--dim);
  font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: .38; box-shadow: 0 2px 12px rgba(0,0,0,.28);
  transition: opacity .15s, color .15s, background .15s;
}
.bar-fab:hover { opacity: 1; color: var(--txt); background: var(--bg3); }
.bar-fab.bars-on { opacity: .9; color: var(--accent); }

/* v2.0.0: vertical scroll 폐기 → paginated (CSS columns + transform translateX) — fade overlay 불필요 */

/* Welcome */
.welcome { display: flex; align-items: center; justify-content: center; height: 100%; }
.welcome-box { text-align: center; padding: 48px 32px; }
.welcome-icon { font-size: 56px; margin-bottom: 20px; }
.welcome-box h2 { font-family: 'DM Serif Display', serif; font-size: 28px; margin-bottom: 12px; }
.welcome-box p { font-size: 14px; color: var(--dim); line-height: 1.7; margin-bottom: 28px; }
.btn-primary { background: var(--accent); color: #111; border: none; border-radius: 9px; padding: 12px 28px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
.btn-primary:hover { opacity: .88; }
.hint { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* v2.0.1: Paginated reading — block + width: max-content + column-gap: 0 */
.reading-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.reading-col {
  /* block + width: max-content + columns → 콘텐츠가 가로 칼럼으로 자연 확장 (예측 가능) */
  display: block;
  width: max-content;
  height: 100%;
  box-sizing: border-box;
  padding: 0;  /* padding 은 column 분할 어긋나게 함 — body 안에서 처리 */
  column-gap: 0;
  -webkit-column-gap: 0;
  column-fill: auto;
  -webkit-column-fill: auto;
  column-rule: none;
  /* 부드러운 페이지 전환 */
  transition: transform .22s ease;
  will-change: transform;
}
.reading-body {
  color: var(--txt); word-wrap: break-word; word-break: keep-all;
  /* 본문 좌우 padding 으로 안전 영역 확보 (column 분할에 영향 X) */
  padding: 0;
}
/* 페이지 break 안에 절대 들어가면 안 되는 요소들 */
.reading-body h1,
.reading-body h2,
.reading-body h3,
.reading-body img,
.reading-body table,
.reading-body blockquote,
.reading-body pre,
.reading-body figure {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.reading-body h1, .reading-body h2, .reading-body h3 { font-family: 'DM Serif Display', serif; color: var(--txt); margin: 1.8em 0 .6em; line-height: 1.3; font-weight: normal; }
.reading-body h1 { font-size: 1.6em; border-bottom: 1px solid var(--line); padding-bottom: .4em; }
.reading-body h2 { font-size: 1.3em; }
.reading-body h3 { font-size: 1.1em; }
.reading-body p  { margin-bottom: 1em; }
.reading-body a  { color: var(--accent); }
.reading-body blockquote { border-left: 3px solid var(--accent); margin: 1.2em 0; padding: .6em 1em; background: var(--bg2); border-radius: 0 6px 6px 0; font-style: italic; color: var(--dim); }
.reading-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.reading-body img { max-width: 100%; border-radius: 4px; }

/* PDF */
.pdf-wrap { height: 100%; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 24px; background: var(--bg3); }
.pdf-wrap canvas { border-radius: 4px; box-shadow: 0 2px 20px rgba(0,0,0,.4); max-width: 100%; }

/* Loading */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 14px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { font-size: 14px; color: var(--dim); }

/* ════════════════════════════════════════════
   BOTTOM NAV — fixed overlay, auto-hide
   ════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 300;
  background: var(--bar-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--bar-transition), opacity var(--bar-transition);
}
.bottom-nav.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.nav-btn { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 22px; padding: 5px 14px; border-radius: 8px; line-height: 1; transition: color .12s, background .12s; }
.nav-btn:hover:not(:disabled) { color: var(--accent); background: var(--bg3); }
.nav-btn:disabled { opacity: .2; cursor: default; }

.nav-center { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.nav-page   { font-size: 13px; color: var(--txt); font-variant-numeric: tabular-nums; }
.nav-pct    { font-size: 11px; color: var(--muted); }

.nav-clock  { font-size: 13px; color: var(--dim); font-family: 'DM Sans', monospace; font-variant-numeric: tabular-nums; letter-spacing: .5px; min-width: 70px; text-align: center; }

/* ── Fade in ── */
.fade-in { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ════════════════════════════════════════════
   v1.0.0 신규 — 북마크 / 하이라이트 / 검색 / 메모 모달
   ════════════════════════════════════════════ */

/* 책갈피·하이라이트 섹션 헤더 카운트 */
.ch-count { font-size: 11px; color: var(--muted); margin-left: 6px; font-weight: 400; }

/* 책갈피 아이템 */
.bm-item, .hl-item {
  padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 8px; transition: background .12s;
}
.bm-item:hover, .hl-item:hover { background: var(--bg3); }
.bm-icon { font-size: 14px; flex-shrink: 0; }
.bm-meta { flex: 1; min-width: 0; }
.bm-label { font-size: 13px; color: var(--txt); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-pos { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bm-del { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px 6px; font-size: 14px; border-radius: 4px; opacity: 0; transition: opacity .12s; }
.bm-item:hover .bm-del, .hl-item:hover .bm-del { opacity: 1; }
.bm-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

/* 하이라이트 색상 — 본문 안에서 */
.hl-mark { padding: 1px 2px; border-radius: 2px; cursor: pointer; transition: filter .12s; }
.hl-mark:hover { filter: brightness(1.2); }
.hl-mark.hl-yellow { background: rgba(253, 224, 71, 0.45); }
.hl-mark.hl-green  { background: rgba(134, 239, 172, 0.45); }
.hl-mark.hl-blue   { background: rgba(147, 197, 253, 0.45); }
.hl-mark.hl-pink   { background: rgba(249, 168, 212, 0.55); }
.theme-light .hl-mark.hl-yellow { background: rgba(253, 224, 71, 0.7); }
.theme-light .hl-mark.hl-green  { background: rgba(134, 239, 172, 0.7); }
.theme-light .hl-mark.hl-blue   { background: rgba(147, 197, 253, 0.7); }
.theme-light .hl-mark.hl-pink   { background: rgba(249, 168, 212, 0.75); }

/* 하이라이트 색깔 dot (사이드바 list) */
.hl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.hl-dot.hl-yellow { background: #facc15; }
.hl-dot.hl-green  { background: #4ade80; }
.hl-dot.hl-blue   { background: #60a5fa; }
.hl-dot.hl-pink   { background: #f472b6; }
.hl-text { font-size: 12px; color: var(--txt); line-height: 1.4; max-height: 2.8em; overflow: hidden; }
.hl-note-icon { font-size: 11px; color: var(--accent); margin-left: 4px; }

/* 텍스트 선택 popup */
.hl-popup {
  position: fixed; z-index: 100; display: none;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  gap: 4px;
}
.hl-popup.show { display: flex; }
.hl-color {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: border-color .12s, transform .12s;
}
.hl-color:hover { transform: scale(1.1); }
.hl-color.hl-yellow { background: #facc15; }
.hl-color.hl-green  { background: #4ade80; }
.hl-color.hl-blue   { background: #60a5fa; }
.hl-color.hl-pink   { background: #f472b6; }
.hl-note {
  background: var(--bg3); border: none; border-radius: 50%;
  width: 26px; height: 26px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--txt); transition: background .12s;
}
.hl-note:hover { background: var(--accent); color: white; }

/* 모달 (검색·메모 공용) */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
  align-items: flex-start; justify-content: center; padding-top: 60px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  width: 90%; max-width: 580px; max-height: 80vh; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.modal-sm { max-width: 420px; }
.modal-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 14px; font-weight: 600; color: var(--txt); }
.modal-body { padding: 14px 16px; flex: 1; overflow-y: auto; }

/* 검색 모달 */
.search-input-row { display: flex; gap: 8px; margin-bottom: 12px; }
.search-input {
  flex: 1; background: var(--bg); color: var(--txt); border: 1px solid var(--border);
  border-radius: 6px; padding: 9px 12px; font-size: 14px; font-family: inherit;
}
.search-input:focus { outline: none; border-color: var(--accent); }
.search-go { padding: 0 14px; font-size: 13px; }
.search-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; min-height: 14px; }
.search-results { max-height: 50vh; overflow-y: auto; margin: 0 -8px; }
.search-result {
  padding: 9px 12px; margin: 4px 0; border-radius: 6px; cursor: pointer;
  border: 1px solid transparent; transition: background .12s, border-color .12s;
}
.search-result:hover { background: var(--bg3); border-color: var(--border); }
.search-loc { font-size: 11px; color: var(--accent); font-weight: 600; margin-bottom: 3px; }
.search-snippet { font-size: 12.5px; color: var(--txt); line-height: 1.5; }
.search-snippet mark { background: rgba(74, 158, 255, 0.35); color: var(--txt); padding: 0 1px; border-radius: 2px; }

/* 메모 모달 */
.note-quote {
  font-size: 12.5px; color: var(--muted); border-left: 3px solid var(--accent);
  padding: 8px 12px; margin-bottom: 10px; max-height: 6em; overflow-y: auto;
  background: var(--bg3); border-radius: 0 4px 4px 0;
}
.note-input {
  width: 100%; background: var(--bg); color: var(--txt); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 12px; font-size: 13px; font-family: inherit;
  line-height: 1.6; resize: vertical;
}
.note-input:focus { outline: none; border-color: var(--accent); }
.note-actions { display: flex; justify-content: space-between; margin-top: 12px; gap: 8px; }

/* v2.1.0: 목차 모달 */
.toc-list { max-height: 60vh; overflow-y: auto; margin: 0 -8px; }
.toc-item {
  padding: 9px 12px 9px 16px; margin: 2px 0; border-radius: 6px; cursor: pointer;
  font-size: 13.5px; color: var(--txt); line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border: 1px solid transparent; transition: background .12s, border-color .12s;
}
.toc-item:hover { background: var(--bg3); border-color: var(--line); }
.toc-item.active { color: var(--accent); font-weight: 600; }
.toc-empty { padding: 24px 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* home-link in toolbar */
.icon-btn.home-link {
  text-decoration: none; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ────── 검색 결과 페이지 점프 임시 highlight ────── */
.search-target-hl { background: rgba(255, 215, 0, 0.5); animation: searchPulse 1.5s ease-out; }
@keyframes searchPulse {
  0%   { background: rgba(255, 215, 0, 0.8); }
  100% { background: rgba(255, 215, 0, 0); }
}
