/* 두잇 & 스테이 GitHub 판 스킨: 네이버 블로그 blog.naver.com/ilutoo 와 같은 모양 (2026-12-05)
   폭 966px 가운데 정렬, 나눔고딕, 타이틀 그림, 메뉴 줄, 카테고리 타일 두 줄(두잇 주황, 스테이 남색), 프롤로그 사진 격자. */
:root {
  --bg: #ffffff; --bg-soft: #f7f7f8; --text: #333333; --text-2: #555555; --muted: #999999;
  --line: #e5e5e5; --line-soft: #f0f0f0; --accent: #e8662a; --accent-base: #e8662a; --navy: #2e3a6e;
  --out-bg: #fdeee4; --out-fg: #e5652b; --in-bg: #edf0f8; --in-fg: #2e3a6e;
  --font: 'Nanum Gothic', 나눔고딕, NanumGothic, AppleSDGothicNeo, 'Malgun Gothic', '맑은 고딕', sans-serif;
  --lb-c-muted: var(--muted); --lb-c-text: var(--text-2); --lb-c-accent: var(--accent); --lb-c-hover: var(--bg-soft);
  --lb-scroll-thumb: rgba(0, 0, 0, .18);
  color-scheme: light;
  color-scheme: only light;
}
[data-theme="dark"] {
  --bg: #16181c; --bg-soft: #1f2227; --text: #e4e4e4; --text-2: #c2c2c2; --muted: #8b9099;
  --line: #2e3238; --line-soft: #24272c; --accent: #ff8a4f; --navy: #aeb9ea;
  --out-bg: #3a261b; --out-fg: #ff9c66; --in-bg: #232a44; --in-fg: #b6c1f0;
  --lb-scroll-thumb: rgba(255, 255, 255, .2);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.7 var(--font); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--text); color: var(--bg); border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nv-wrap { max-width: 1012px; margin: 0 auto; padding: 0 23px; }

/* 맨 위 작은 링크 줄 (네이버의 내블로그, 이웃블로그 자리) */
.nv-gnb { display: flex; justify-content: flex-end; align-items: center; padding: 12px 0 6px; font-size: 12px; color: var(--muted); }
.nv-gnb > a, .nv-gnb > button { padding: 0 9px; border: 0; background: none; color: var(--muted); cursor: pointer; line-height: 13px; }
.nv-gnb > * + * { border-left: 1px solid var(--line); }
.nv-gnb > a:hover, .nv-gnb > button:hover { color: var(--text); }
.nv-gnb .lb-write-link { display: none !important; }
html.lb-owner-on .nv-gnb .lb-write-link { display: inline !important; }
.nv-search { display: flex; justify-content: flex-end; padding: 6px 0 10px; }
.nv-search[hidden] { display: none; }
.nv-search form { display: flex; width: min(360px, 100%); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg); }
.nv-search input { flex: 1; min-width: 0; padding: 8px 10px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; outline: none; }
.nv-search button { padding: 0 14px; border: 0; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }

/* 타이틀 그림 */
.nv-title { margin: 4px auto 0; text-align: center; }
.nv-title img { display: block; width: 100%; max-width: 966px; height: auto; margin: 0 auto; }
[data-theme="dark"] .nv-title img { border-radius: 10px; }

/* 메뉴 줄 */
.nv-menu { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 0; padding: 0 12px; font-size: 13px; }
.nv-menu-l, .nv-menu-r { display: flex; flex-wrap: wrap; align-items: center; }
.nv-menu a { padding: 0 9px; line-height: 13px; color: var(--text); letter-spacing: -.01em; }
.nv-menu-l a:first-child { padding-left: 0; }
.nv-menu-l a + a { border-left: 1px solid var(--line); }
.nv-menu a:hover { text-decoration: underline; }
.nv-menu a.on { color: var(--accent); font-weight: 700; }

/* 카테고리 타일 두 줄 */
.nv-tiles { display: flex; flex-direction: column; gap: 18px; margin: 26px 0 0; }
/* 줄마다 칸 수가 달라도(바깥 5개, 실내 6개) 타일 크기는 같게: 가장 긴 줄의 칸 수(--cols, default.html이 셈)로 너비를 나누고 짧은 줄은 가운데 둔다(2026-12-05) */
.nv-tile-row { display: flex; justify-content: center; gap: 20px; }
.nv-tile-row > .nv-tile { flex: 0 0 calc((100% - (var(--cols, 5) - 1) * 20px) / var(--cols, 5)); min-width: 0; }
.nv-tile { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 75px; border-radius: 10px; font-family: 'Jua', var(--font); font-size: 21px; letter-spacing: -.01em; transition: transform .15s ease, box-shadow .15s ease; }
.nv-tile svg { width: 24px; height: 24px; flex: none; }
.nv-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.nv-tile.on { box-shadow: 0 0 0 2px currentColor inset; }
.is-out .nv-tile { background: var(--out-bg); color: var(--out-fg); }
.is-in .nv-tile { background: var(--in-bg); color: var(--in-fg); }
.is-etc .nv-tile { background: var(--bg-soft); color: var(--text); }
/* 새 글이 있는 카테고리 버튼은 오른쪽 위 모서리에 작은 N (2026-12-05 사용자 "카테고리에도 새글표시가 안뜨네?") */
.nv-tile .lb-new { position: absolute; top: 7px; right: 7px; margin: 0; width: 17px; height: 17px; font-size: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
/* 네이버 위젯과 같은 그림 타일 (assets/skin/nav, _data/naver_tiles.yml) */
.nv-tile.is-img { height: auto; padding: 0; background: none !important; border-radius: 10px; overflow: hidden; }
.nv-tile.is-img img { display: block; width: 100%; height: auto; }
[data-theme="dark"] .nv-tile.is-img img { filter: brightness(.88); }
.nv-tile.is-img.on { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 2px; }
/* 그림이 없는 카테고리(추천템 등)는 그림 타일과 같은 비율, 같은 색, 같은 글자 크기로 그린다. 그림 타일은 어두운 화면에서도 밝은 그림이라 맞춘다 */
/* 그림 타일(288x120)의 아이콘 46px, 글자 38px 과 같은 비율. 아이콘이 글자보다 작아 보이던 것(2026-12-05 "추천템에 있는 아이콘이 너무 작아서 이상하네")을 맞춤 */
.nv-tile:not(.is-img) { height: auto; aspect-ratio: 340 / 120; padding: 0; gap: 4.2cqw; container-type: inline-size; border-radius: 10px; }
.nv-tile:not(.is-img) span { font-size: 13.2cqw; line-height: 1; }
.nv-tile:not(.is-img) svg { width: 16cqw; height: 16cqw; }
.is-out .nv-tile:not(.is-img) { background: #fdeee4; color: #e5652b; }
.is-in .nv-tile:not(.is-img) { background: #edf0f8; color: #2e3a6e; }
[data-theme="dark"] .nv-tile:not(.is-img) { filter: brightness(.88); }
/* 메뉴의 새 글 표시는 네이버처럼 작은 네모 N */
.nv-menu .lb-new { width: 13px; height: 13px; min-width: 0; margin-left: 3px; border-radius: 3px; background: #ff6a3d; box-shadow: none; font-size: 8.5px; top: -.05em; }

.nv-main { margin: 34px 0 0; min-height: 40vh; }

/* 프롤로그 */
.nv-sec { padding: 0 0 26px; }
.nv-sec + .nv-sec { padding-top: 22px; border-top: 1px solid var(--line); }
.nv-sec-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--text); }
.nv-sec-title a:hover { text-decoration: underline; }
.nv-empty { margin: 0; color: var(--text-2); font-size: 13px; }
.nv-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 2px; }
.nv-card { min-width: 0; margin: 0 0 16px; }
.nv-card .card-link { display: block; }
.nv-thumb { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.nv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nv-card:hover .nv-thumb img { transform: scale(1.04); }
.nv-thumb-none { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 30px; font-weight: 800; color: var(--muted); }
/* 사진 칸 제목은 한 줄에서 잘리므로 NEW 를 제목 앞에 둔다(뒤에 두면 말줄임에 가려진다) */
.nv-card .card-title .lb-new--title { margin: 0 6px 0 0; }
.nv-card .card-title { margin: 8px 2px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; font-weight: 400; color: var(--text); }
.nv-card:hover .card-title { text-decoration: underline; }
.nv-card .card-meta { display: flex; align-items: center; gap: 4px; margin: 2px 2px 0; color: var(--muted); font-size: 12px; }
.nv-card .lb-counts { margin-left: 6px; font-size: 11.5px; }

/* 글 목록 칸 (공지, 검색 결과): 왼쪽 작은 사진, 제목, 요약, 시각 */
.nv-list .card, #tt-body-search .entries .card { margin: 0 0 18px; }
.nv-list .card-link, #tt-body-search .entries .card-link { display: flex; gap: 16px; align-items: flex-start; }
.nv-list .card-media, #tt-body-search .entries .card-media { flex: none; width: 120px; height: 110px; overflow: hidden; background: var(--bg-soft); }
.nv-list .card-media:empty, #tt-body-search .entries .card-media:empty { display: none; }
.nv-list .card-media img, #tt-body-search .entries .card-media img { width: 100%; height: 100%; object-fit: cover; }
.nv-list .card-body, #tt-body-search .entries .card-body { display: flex; flex-direction: column; min-width: 0; }
.nv-list .card-meta, #tt-body-search .entries .card-meta { order: 3; display: flex; gap: 8px; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.nv-list .card-title, #tt-body-search .entries .card-title { order: 1; margin: 0; font-size: 17px; font-weight: 400; color: var(--text); }
.nv-list .card-summary, #tt-body-search .entries .card-summary { order: 2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 6px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.nv-list .card-link:hover .card-title, #tt-body-search .entries .card-link:hover .card-title { text-decoration: underline; }
#tt-body-search .entries .lb-hit-snippet { order: 2; }

/* 카테고리 막대와 목록 표 (네이버 "국내 맛집 7개의 글  목록열기") */
.nv-listbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0 8px; font-size: 13px; }
.nv-listbar .list-title { margin: 0; font-size: 13px; font-weight: 700; color: var(--text); }
.nv-listbar .list-count { font-weight: 400; color: var(--text-2); }
.nv-listtoggle { padding: 0; border: 0; background: none; color: var(--text-2); font-size: 13px; cursor: pointer; }
.nv-listtoggle:hover { color: var(--text); text-decoration: underline; }
.nv-listtable { width: 100%; margin: -6px 0 26px; border-collapse: collapse; border-top: 1px solid var(--text); font-size: 13px; }
.nv-listtable[hidden] { display: none; }
.nv-listtable th { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 400; text-align: left; }
.nv-listtable th:last-child, .nv-listtable td:last-child { width: 110px; text-align: right; white-space: nowrap; color: var(--muted); }
.nv-listtable td { padding: 9px 8px; border-bottom: 1px solid var(--line-soft); }
.nv-listtable td a:hover { text-decoration: underline; }
.nv-listtable tr.on td a { color: var(--accent); font-weight: 700; }

/* 검색, 방명록, 태그 화면의 머리 */
.list-head { margin: 0 0 22px; padding: 0 8px; }
.list-head .list-kicker { margin: 0; color: var(--muted); font-size: 12px; }
.list-head .list-title { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
.list-head .list-count { color: var(--muted); font-size: 14px; font-weight: 400; }
.list-head .list-desc:empty { display: none; }
.empty-note { color: var(--text-2); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.tag-cloud a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 13px; }
.tag-cloud a:hover { border-color: var(--accent); color: var(--accent); }
.tag-cloud a.cloud1 { font-weight: 800; color: var(--text); }

/* 글 화면 */
.nv-post { max-width: 784px; margin: 0 auto; }
.nv-post-head { padding: 34px 32px 0; }
.nv-post-head .post-cat { color: var(--muted); font-size: 15px; }
.nv-post-head .post-cat:hover { text-decoration: underline; }
.nv-post-head .post-title { margin: 14px 0 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; line-height: 1.42; letter-spacing: -.02em; color: var(--text); word-break: keep-all; text-wrap: balance; }
.nv-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.nv-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nv-nick { color: var(--text); }
.nv-byline .post-meta { display: flex; align-items: center; gap: 4px; margin: 0; }
.nv-byline-sp { flex: 1; }
.nv-btn { padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); color: var(--text-2); font-size: 13px; cursor: pointer; }
.nv-btn:hover { border-color: var(--text-2); color: var(--text); }
.nv-post .post-body { padding: 40px 32px 10px; font-size: 16.5px; line-height: 1.88; color: var(--text); word-break: keep-all; overflow-wrap: break-word; }
.nv-post .post-body p { margin: 0 0 1em; }
.nv-post .post-body .lb-naver p, .nv-post .post-body .tt_article_useless_p_margin p { margin: 0 !important; }
.nv-post .post-body h2, .nv-post .post-body h3 { margin: 1.6em 0 .6em; font-weight: 800; line-height: 1.5; }
.nv-post .post-body h2 { font-size: 22px; }
.nv-post .post-body h3 { font-size: 19px; }
.nv-post .post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.nv-post .post-body figure { margin: 1.6em 0; text-align: center; }
.nv-post .post-body figure img { display: block; margin: 0 auto; height: auto; }
.nv-post .post-body figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.nv-post .post-body blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 3px solid var(--out-fg); background: var(--bg-soft); color: var(--text); }
.nv-post .post-body blockquote p { margin: 0 !important; }
.nv-post .post-body hr { margin: 2em auto; width: 60px; border: 0; border-top: 2px solid var(--line); }
.nv-post .post-body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 14px; }
.nv-post .post-body th, .nv-post .post-body td { padding: 8px 10px; border: 1px solid var(--line); }
.nv-post .post-body pre { overflow: auto; padding: 14px 16px; border-radius: 6px; background: var(--bg-soft); font-size: 13.5px; line-height: 1.6; }
.nv-post .post-body .lb-place { margin: 1.2em 0 !important; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
/* 네이버 플레이스 지도 칸: 위는 지도, 아래는 장소 카드 (네이버 글과 같은 배치, 2026-12-05 "네이버플레이스 지도도 안보이고") */
.nv-post .post-body .nv-place { margin: 1.6em 0; border: 1px solid var(--line); background: var(--bg); }
.nv-place-map { position: relative; padding-top: 45%; background: var(--bg-soft); }
.nv-place-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-place-card { display: flex; align-items: center; gap: 12px; padding: 16px 24px 18px; border-top: 1px solid var(--line); }
.nv-post .post-body a.nv-place-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--text); text-decoration: none; }
.nv-place-name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.nv-place-addr, .nv-place-tel { color: var(--muted); font-size: 12px; line-height: 1.5; }
a.nv-place-info:hover .nv-place-name { text-decoration: underline; }
.nv-post .post-body a.nv-place-book { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: #03c75a; font-size: 11px; font-weight: 700; text-decoration: none; }
.nv-post .post-body a.nv-place-book::before { content: "N"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 2px solid #03c75a; border-radius: 3px; font-size: 11px; line-height: 1; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 18px 32px 0; }
.nv-tags a { color: #4a7ee8; font-size: 14px; }
.nv-tags a:hover { text-decoration: underline; }

.nv-related { margin: 40px 32px 0; }
.nv-related-title { margin: 0 0 8px; font-size: 14px; font-weight: 400; color: var(--text-2); }
.nv-related-title a { color: var(--text); font-weight: 700; }
.nv-related-table { margin: 0; }

.nv-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 32px 0; }
.nv-pn-item { display: block; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; }
.nv-pn-item:hover { border-color: var(--text-2); }
.nv-pn-item span { display: block; color: var(--muted); font-size: 12px; }
.nv-pn-item strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 400; font-size: 14px; }
.nv-pn-item.is-next { grid-column: 2; text-align: right; }

.nv-post .lb-comments, .nv-post .comments { margin: 40px 32px 0; }
.comments-header h3 { margin: 0 0 6px; font-size: 16px; }
.lb-comments-note { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

/* 보호글 */
.protected { max-width: 420px; margin: 30px auto; padding: 30px 24px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.protected-title { margin: 0 0 8px; font-size: 18px; }
.protected-desc { margin: 0 0 16px; color: var(--text-2); font-size: 14px; }
.protected-form { display: flex; gap: 8px; justify-content: center; }
.protected-form input { flex: 1; max-width: 220px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--text); font: inherit; }
.protected-form button { padding: 0 16px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }

/* 방명록 */
.guestbook { max-width: 966px; margin: 0 auto; }

/* 아래쪽 블로그 메뉴 (네이버 글 아래 위젯 줄: 프로필, 검색, 카테고리, RSS) */
.nv-widgets { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 22px; max-width: 966px; margin: 70px auto 0; }
.nv-w { flex: none; }
.nv-w-profile { display: flex; flex-direction: column; width: 214px; padding: 6px 6px 16px; border: 1px solid var(--line); background: var(--bg); }
.nv-w-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.nv-w-nick { margin: 14px 10px 0; font-size: 18px; font-weight: 800; color: var(--text); }
.nv-w-id { margin: 2px 10px 0; color: var(--muted); font-size: 13px; }
.nv-w-desc { margin: 10px 10px 0; color: var(--text-2); font-size: 13px; line-height: 1.75; word-break: keep-all; }
.nv-w-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 10px 0; }
.nv-w-more { color: var(--muted); font-size: 12px; }
.nv-w-more::after { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 0 2px 3px; border-radius: 50%; background: #ff5f45; }
.nv-w-more:hover { color: var(--text); }
.nv-w-links .nv-w-owner { display: none; }
html.lb-owner-on .nv-w-links .nv-w-owner { display: inline; }
.nv-w-search { width: 214px; }
.nv-w-search form { display: flex; border: 1px solid var(--line); background: var(--bg); }
.nv-w-search input { flex: 1; min-width: 0; padding: 9px 10px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; outline: none; }
.nv-w-search button { display: inline-flex; align-items: center; justify-content: center; width: 38px; border: 0; background: none; color: var(--text-2); cursor: pointer; }
.nv-w-search button:hover { color: var(--accent); }
.nv-w-cats { width: 200px; }
.nv-w-title { margin: 0 0 10px; font-size: 14px; }
.nv-w-title button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 2px 0; border: 0; background: none; color: var(--text); font-weight: 800; cursor: pointer; }
.nv-w-title button svg { transition: transform .2s; color: var(--muted); }
.nv-w-title button[aria-expanded="false"] svg { transform: rotate(180deg); }
.nv-w-cat-list, .nv-w-cat-list ul { margin: 0; padding: 0; list-style: none; }
.nv-w-cat-list[hidden] { display: none; }
.nv-w-cat-list li { margin: 0; font-size: 13px; line-height: 1.9; }
.nv-w-cat-list > li + li { margin-top: 3px; }
.nv-w-cat-list > li.is-all { margin-bottom: 8px; font-weight: 700; }
.nv-w-cat-list ul { margin: 1px 0 0 2px; }
.nv-w-cat-list ul li { position: relative; padding-left: 16px; color: var(--text-2); }
.nv-w-cat-list ul li::before { content: ""; position: absolute; left: 4px; top: 0; width: 7px; height: .95em; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nv-w-cat-list a { color: inherit; }
.nv-w-cat-list a:hover { text-decoration: underline; }
.nv-w-cat-list a.on { color: var(--accent); font-weight: 700; }
.nv-w-cnt { color: var(--muted); font-weight: 400; }
.nv-w-rss a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.nv-w-rss a:hover { color: var(--text); }

/* 바닥 */
.nv-footer { margin: 44px 0 0; padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.nv-foot-box { margin: 0 0 22px; }
.nv-foot-box[hidden] { display: none; }
.nv-foot-title { margin: 0 0 8px; color: var(--text); font-size: 13px; font-weight: 700; }
.nv-foot-blog-list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nv-foot-group { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.nv-foot-group b { color: var(--text-2); }
.nv-foot-group a:hover, .nv-foot-links a:hover { color: var(--text); text-decoration: underline; }
.nv-foot-links { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 8px; }
.nv-foot-links a { padding: 0 10px; line-height: 12px; }
.nv-foot-links a:first-child { padding-left: 0; }
.nv-foot-links a + a { border-left: 1px solid var(--line); }
.nv-copy { margin: 0; }
.nv-copy .lb-total-visits:not([hidden]) { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.lb-recent-item { padding: 6px 8px; }

.nv-top-btn { position: fixed; right: 22px; bottom: 26px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text-2); box-shadow: 0 4px 14px rgba(0, 0, 0, .1); cursor: pointer; }
.nv-top-btn[hidden] { display: none; }
.nv-toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; padding: 10px 16px; border-radius: 8px; background: rgba(25, 28, 33, .92); color: #fff; font-size: 13px; transform: translateX(-50%); }

/* 스크롤바 */
* { scrollbar-width: thin; scrollbar-color: var(--lb-scroll-thumb) transparent; }

/* 좁은 화면 (네이버 모바일처럼 한 줄씩) */
@media (max-width: 760px) {
  .nv-wrap { padding: 0 14px; }
  .nv-menu { margin-top: 12px; padding: 0 2px 2px; overflow-x: auto; scrollbar-width: none; }
  .nv-menu::-webkit-scrollbar { display: none; }
  .nv-place-card { padding: 12px 14px 14px; }
  .nv-widgets { margin-top: 46px; gap: 18px; }
  .nv-w-profile { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; padding: 14px; }
  .nv-w-photo { flex: none; width: 72px; }
  .nv-w-photo img { border-radius: 50%; }
  .nv-w-profile .nv-w-nick { margin: 0 0 0 14px; }
  .nv-w-profile .nv-w-id { margin: 0 0 0 8px; }
  .nv-w-desc { flex-basis: 100%; margin: 12px 0 0; }
  .nv-w-links { flex-basis: 100%; margin: 8px 0 0; }
  .nv-w-search, .nv-w-cats { width: 100%; }
  .nv-footer { margin-top: 40px; }
  .nv-menu-l, .nv-menu-r { flex-wrap: nowrap; white-space: nowrap; }
  .nv-tiles { gap: 10px; margin-top: 16px; }
  /* 넓은 화면의 가운데 정렬을 그대로 두면 넘친 줄의 왼쪽 칸(국내 맛집, 제품 리뷰)이 잘려 밀어도 안 보인다 */
  .nv-tile-row { display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nv-tile-row::-webkit-scrollbar { display: none; }
  .nv-tile { flex: 0 0 auto; height: 52px; padding: 0 16px; font-size: 17px; }
  .nv-tile.is-img, .nv-tile:not(.is-img) { flex: 0 0 136px; height: auto; padding: 0; }
  .nv-tile svg { width: 19px; height: 19px; }
  .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-post-head { padding: 22px 6px 0; }
  .nv-post-head .post-title { font-size: clamp(22px, 6vw, 26px); line-height: 1.42; }
  .nv-post .post-body { padding: 24px 6px 10px; font-size: 16px; line-height: 1.85; }
  .nv-post .post-body h2 { font-size: 20px; }
  .nv-post .post-body h3 { font-size: 18px; }
  .nv-post .post-body blockquote { padding: 12px 14px; font-size: 15px; line-height: 1.75; }
  .nv-post .post-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nv-place-map { padding-top: 62%; }
  .nv-pn { grid-template-columns: 1fr; }
  .nv-pn-item.is-next { grid-column: auto; text-align: left; }
  .nv-tags, .nv-related, .nv-pn, .nv-post .lb-comments, .nv-post .comments { margin-left: 6px; margin-right: 6px; padding-left: 0; padding-right: 0; }
  .nv-list .card-media, #tt-body-search .entries .card-media { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-tile, .nv-thumb img { transition: none; }
  .nv-tile:hover, .nv-card:hover .nv-thumb img { transform: none; }
}

/* 네이버 글에서 옮긴 형광펜(배경색) 글자는 어두운 테마에서도 읽히게 진한 글자로 */
[data-theme="dark"] .post-body span[style*="background-color"] { color: #222; -webkit-text-fill-color: #222; }
