/* =====================================================================
   11 — 화면 잔 수정 (모든 화면에 맨 마지막으로 실립니다)
   잘림 · 넘침 · 가림 같은 작은 문제를 한곳에서 바로잡습니다.
   ⚠️ integrate.cjs 는 09 를 다시 쓰지만 이 파일은 건드리지 않아요.
   ===================================================================== */

/* 제목 띠의 펼침 메뉴(동물 골라 보기)와 「지금 무엇을 보고 있나요?」 설명이
   띠 아래쪽에서 잘렸습니다. 띠가 넘치는 내용을 통째로 잘라냈기 때문이에요.
   이제 띠는 자르지 않고, 잘라야 하는 배경 사진만 자기 상자 안에서 자릅니다.
   메뉴가 아래 본문에 덮이지 않게 띠를 본문보다 한 층 위에 둡니다(머리띠보다는 아래). */
.page-hero{overflow:visible;z-index:20}
.page-hero .ph-media{overflow:hidden}
.page-hero::after{overflow:hidden}

/* 제목 옆 「동물 골라 보기」 단추가 제목보다 위로 떠 보였습니다.
   제목(h1)에만 위 여백이 붙어 있어서, 가운데 맞춤이 여백만큼 어긋났어요.
   여백을 줄 전체로 옮겨 제목과 단추가 같은 가운데에 서게 합니다. */
.page-hero .ph-title{margin-top:14px;align-items:center}
.page-hero .ph-title>h1{margin-top:0}

/* 「현재 보기」 띠 오른쪽의 「동물 중심으로 보기」 가 넓은 화면에서도
   「동물 중심으로 …」 로 잘렸습니다(최대 폭 96px). 자리가 넉넉한 화면에서는 다 보입니다. */
@media (min-width:768px){.ctx-inner .an-nm{max-width:none}}

/* 머리띠 「동물 찾기」 펼침: 왼쪽 칸이 200px 이라 「식물 & 비바/테라리움 준비 중」 의
   「준비 중」 배지가 「준비…」 로 잘렸습니다. 왼쪽 칸을 조금 넓힙니다. */
.mainnav .mn-pop-two{grid-template-columns:232px 190px}

/* ---------- 읽기 쉬움 · 누르기 쉬움 (UX 점검에서 나온 것) ---------- */

/* 흐린 글자색이 대비 4.49 로 기준(4.5)에 딱 못 미쳤습니다 — 한 단 진하게 */
:root,:root[data-theme],:root[data-theme="dark"],:root[data-theme="light"]{--fg-3:rgba(24,36,28,.68)}

/* 바닥글의 「준비 중」 항목은 어두운 바닥글용 밝은 색(#cfe0d5)이 그대로 남아
   밝은 바탕에서 거의 안 보였습니다(대비 1.3). 밝은 바탕용 색으로 바꿉니다. */
.foot-soon,.site-footer .foot-soon{color:var(--fg-3)}
.site-footer .foot-soon .soon-mini,.soon-mini{color:var(--fg-2);background:transparent;border-color:var(--line-2);font-size:12px;opacity:1}

/* 손가락으로 누르는 화면에서 30px 안팎이던 단추들을 넉넉하게 */
@media (pointer:coarse){
  #setBtn,#gridBtn,.hd-main .icon-btn{width:40px;height:40px}
  #mSearchInput{min-height:40px}
  .pw-eye{min-width:40px;min-height:40px}
  .recent-x{min-width:36px;min-height:36px}
  .report-btn,#copyLink,#trBtn,#rqClear,.ctx-inner .an-trigger{min-height:40px}
  .tabs .tab{height:40px}
  .p-hero a.chip,.kinds a.chip{height:36px}
  .page-hero .breadcrumb a{display:inline-block;padding:8px 0}
}
/* 바닥글의 「준비 중」 항목만 글자가 한 단 컸습니다 — 옆 항목과 같은 크기로 */
.site-footer .foot-soon{font-size:inherit;font-weight:inherit}

/* ---------- 빛나는 글 줄(고정 공지 · 오늘의 누리 등) ----------
   목록 상자(.hub-list · .post-list)는 모서리 22px 로 둥글고 넘치는 것을 자릅니다.
   빛나는 줄(모서리 12px + 붉은 빛)이 상자 가장자리에 딱 붙어 있어서,
   상자의 큰 곡선이 맨 윗줄의 왼쪽·오른쪽 위 모서리와 빛을 깎아 먹었어요.
   줄을 8px 안으로 들여 곡선과 빛이 서로 닿지 않게 합니다. */
.post-item[class*="glow-"]{margin:8px 8px 6px}
.post-item[class*="glow-"] + .post-item[class*="glow-"]{margin-top:0}
/* ---------- 글 줄: 제목 한 줄 + 그 아래 작은 회색 「닉네임 칭호 · 날짜」 ----------
   운영자 요청(2026-11-19): 공지 줄이 두 줄 제목으로 뚱뚱해졌어요. 닉네임 · 칭호 ·
   날짜를 제목 아래 작은 회색 줄로 내려, 제목이 칸을 넓게 쓰게 합니다(카페 목록처럼).
   ⚠️ 간단히 보기(pv-simple)와 카드 보기 속 공지 줄에만 — 카드 · 앨범은 자기 배치가
      있어요(05-post-list.css). 700px 이하(폰)는 원래 이 모양이라 손대지 않습니다.
   ⚠️ 예전 「좁은 목록에서 제목 0px」 문제도 함께 풀립니다 — 닉네임 칸(150px)이 없어졌어요. */
@media (min-width:701px){
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item,
  .pv-card .post-item.pi-notice{
    grid-template-columns:minmax(52px,108px) auto auto minmax(0,1fr) 46px;
    grid-template-areas:"board title title title views" "board who when . views";
    column-gap:12px;row-gap:3px;padding-top:10px;padding-bottom:10px;
  }
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pboard,
  .pv-card .post-item.pi-notice>.pboard{grid-area:board;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.ptitle,
  .pv-card .post-item.pi-notice>.ptitle{grid-area:title;min-width:0}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pviews,
  .pv-card .post-item.pi-notice>.pviews{grid-area:views}
  /* 둘째 줄 — 작은 회색 */
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwho,
  .pv-card .post-item.pi-notice>.pwho{
    grid-area:who;display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:none;
    font-size:12.5px;line-height:1.3;color:var(--fg-3);text-align:left;
  }
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwho .author-link,
  .pv-card .post-item.pi-notice>.pwho .author-link{
    font-size:12.5px;font-weight:500;color:var(--fg-3);
    max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    -webkit-mask-image:none;mask-image:none;direction:ltr;
    /* 관리자 · 전설 칭호의 반짝이는 은색 글씨는 작게 줄이면 바탕에 묻혀 안 보였어요.
       목록의 작은 줄에서는 모두 같은 회색 — 누구인지는 옆 칭호가 말해 줍니다. */
    background:none;-webkit-text-fill-color:currentColor;filter:none;animation:none;
  }
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwho .role-badge,
  .pv-card .post-item.pi-notice>.pwho .role-badge{font-size:10px;line-height:15px;padding:0 5px;margin:0}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen,
  .pv-card .post-item.pi-notice>.pwhen{grid-area:when;font-size:12px;line-height:1.3;color:var(--fg-3);text-align:left;white-space:nowrap}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen::before,
  .pv-card .post-item.pi-notice>.pwhen::before{content:"·";margin-right:6px}
  /* 칸 사이(12px)에 「·」 앞뒤 여백까지 더해져 닉네임과 날짜가 멀어 보였어요 */
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen,
  .pv-card .post-item.pi-notice>.pwhen{margin-left:-6px}
  /* 제목은 한 줄 — 두 줄로 뚱뚱해지지 않게 */
  .post-item .pt-text,.post-item[class*="glow-"] .pt-text{white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
}
/* 「전체 공지 · 고정」 스티커 — 작게, 그림 없이 (제목에 자리를 내줍니다) */
.post-item .evt-chip{font-size:10.5px;line-height:16px;padding:0 5px;gap:0;vertical-align:1px}
.post-item .evt-chip img.emo{display:none}
/* 목록 자체가 좁을 때(가운데에 낀 목록 · 1024px 쯤 화면) — 화면 폭이 아니라
   **목록 폭**을 보고, 게시판 이름 · 조회수 칸을 빼고 제목 + 작은 줄만 둡니다. */
.post-list,.hub-list{container-type:inline-size}
@media (min-width:701px){
  @container (max-width:560px){
    :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item,
    .pv-card .post-item.pi-notice{
      grid-template-columns:auto auto minmax(0,1fr);
      grid-template-areas:"title title title" "who when .";
    }
    .post-item .pboard,.post-item .pviews,.post-item .p-allnuri{display:none}
  }
}

/* =====================================================================
   ✂️ 못생긴 줄바꿈 정리 (운영자 요청 2026-11-19 — 전 화면 점검 결과)
   점검: 모든 화면을 1440 · 1024 · 390px 로 열어, 짧은 글이 쪼개진 곳과
   마지막 줄에 글자 한두 개만 남은 곳을 찾았습니다.
   ===================================================================== */

/* ① 짧은 표시는 절대 쪼개지 않습니다 — 「총 36 / 개」, 「준비 / 중」 같은 것 */
.list-count,.soon-mini,.hub-b-n,.evt-chip,.role-badge,.ptag,.p-allnuri,.pb-animal,
.navmenu-caret,.an-nm{white-space:nowrap}
.list-head-right>.list-count{flex:0 0 auto}

/* ② 제목은 줄 길이를 고르게 — 「이 주소에는 아무것도 / 없어요」 처럼 한쪽이 짧게 남지 않게 */
h1,h2,h3,h4,.nf-title,.bc h3,.s-head h2{text-wrap:balance}

/* ③ 문단 · 목록 · 글 제목은 마지막 줄에 외톨이 글자가 안 남게
      (「…급여 방 / 법」, 「…책임 있는 / 곳」 같은 것) */
p,li,dd,figcaption,blockquote,
.ptitle,.pt-text,.si-title,.hot-title,.news-title,.title-cond,.rank h4{text-wrap:pretty}

/* ④ 바닥글 두 칸 목록 — 「설치류·소형 / 포유류」 가 쪼개졌어요. 칸 사이를 조금 좁히고 한 줄로 */
.f-col ul.two{column-gap:16px}
.f-col ul.two li{white-space:nowrap}

/* =====================================================================
   👁️ 「현재 보기」 줄 — 금색 ㄱ자 모서리 대신, 그 동물 세계의 색과 사진으로
   운영자 요청(2026-11-19): 「아 내가 지금 갑각류를 보고 있구나」 가 누구보다
   확실히 보이게. 모서리 두 개는 너무 조용해서 그냥 지나쳤어요.
   · 동물을 골랐을 때(.on) — 줄 전체가 그 세계 색(--accent, 홈과 같은 색)으로
     물들고, 이름은 진한 세계 색 알약 + 동그란 세계 사진.
   · 전체 누리 — 예전처럼 조용한 글자(정식 모드라 꾸미지 않습니다).
   ⚠️ 높이는 그대로입니다(머리띠에 붙어 다니는 줄 — 두꺼워지면 화면을 계속 먹어요).
   ===================================================================== */
.ctx-now::before,.ctx-now::after{content:none!important;display:none!important}
.ctx-now{padding:4px 2px}
.ctx-bar.on{
  background:color-mix(in srgb,var(--accent) 24%,var(--surface,#fffdf8));
  border-top-color:color-mix(in srgb,var(--accent) 50%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--accent) 50%,transparent);
}
.ctx-bar.on .ctx-lbl{color:color-mix(in srgb,var(--accent) 40%,#0b1a10)}
#ctxBar .ctx-now.on{
  display:inline-flex;align-items:center;gap:10px;
  padding:4px 18px 4px 4px;border-radius:999px;
  background:color-mix(in srgb,var(--accent) 55%,#0b1a10);
  color:#fff;font-size:1.1875rem;font-weight:800;letter-spacing:-.02em;
  box-shadow:0 2px 10px color-mix(in srgb,var(--accent) 45%,transparent);
}
#ctxBar .ctx-now.on:not(:has(.ctx-thumb)){padding-left:18px}
.ctx-thumb{
  width:36px;height:36px;flex:0 0 36px;border-radius:50%;object-fit:cover;
  box-shadow:0 0 0 2px rgba(255,255,255,.9);
}
@media (max-width:760px){
  #ctxBar .ctx-now.on{gap:7px;padding:3px 12px 3px 3px;font-size:1rem}
  #ctxBar .ctx-now.on:not(:has(.ctx-thumb)){padding-left:12px}
  .ctx-thumb{width:28px;height:28px;flex-basis:28px}
}

/* ---------- 분류 화면의 큰 칸(커뮤니티 · 이벤트 · 도감 · 업체 …) ----------
   정보글 칸을 커뮤니티로 합쳐 칸 수가 화면마다 4~5개로 달라졌어요. 다섯 칸 고정
   격자면 빈 자리가 남아서, 있는 만큼 고르게 나눕니다.
   01 · 02 … 번호는 뺍니다 — 순서가 있는 것들이 아니에요. */
@media (min-width:861px){
  .animal-tabs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
}
.animal-tab::before{content:none}
.animal-tab{justify-content:flex-end;gap:6px}
.animal-tab .at-sub{font-size:13px;font-weight:500;color:var(--fg-3);letter-spacing:-.005em;padding-right:28px}

/* =====================================================================
   🧭 머리띠 정리 (운영자 요청 2026-11-19)
   ===================================================================== */
/* ① 둥근 하위 버튼 줄(커뮤니티 게시판 · 정보글 · 화제글 …)을 **모든 화면에서** 뺍니다.
      같은 길은 위쪽 메뉴(커뮤니티 ▾ 등)를 펼치면 다 있어요. */
#hdSub,.hd-sub{display:none!important}

/* ② 로고 그림 — 「Nuri」 글자 앞에 동그란 누리 마크 */
.brand .logo-img{display:block!important;width:36px;height:36px;flex:0 0 36px;border-radius:50%;object-fit:contain}
.brand,.brand-big,.site-header .hd-main .brand,.site-header .brand-big{display:inline-flex;align-items:center;gap:10px}
@media (max-width:860px){.brand .logo-img{width:30px;height:30px;flex-basis:30px}}

/* ③ PC — 햄버거를 로고 **왼쪽**으로. 아랫줄 묶음(.hd-nav)을 풀어 한 줄에서 다시 줄 세웁니다.
      (폰 배치는 따로라 손대지 않아요) */
@media (min-width:901px){
  .site-header .header-top>.container.nav.hd-nav{display:contents}
  .site-header .header-top #hamburger{order:0;margin-right:10px;flex:0 0 auto}
  .site-header .header-top #mainNav{order:2;flex:1 1 0;min-width:0}
  .site-header .header-top .hd-nav>.header-right{order:2;flex:0 0 auto}
}
/* 홈(첫 화면 · 포털) 머리띠의 「Nuri」 앞에도 같은 마크 */
a.mark{display:inline-flex;align-items:center;gap:9px}
a.mark .mark-logo{width:32px;height:32px;flex:0 0 32px;border-radius:50%;object-fit:contain}
/* ④ 로그인하면 오른쪽에 알림 · 닉네임 단추가 붙어 자리가 모자라, 가운데 메뉴 칸이 글자보다
      좁게 줄어 「이벤트 & 행사」 위에 「동물 찾기」 가 겹쳐 찍혔어요(운영자 지적 2026-11-19).
      · 가운데 메뉴는 **글자보다 좁아지지 않게** (줄어드는 대신 오른쪽 묶음이 밀려납니다)
      · 오른쪽 묶음은 오른쪽 끝으로
      · 빠듯한 폭에서는 메뉴 사이 여백을 줄이고, 긴 닉네임은 「…」 로 */
@media (min-width:901px){
  .site-header .header-top #mainNav{flex:0 0 auto;min-width:max-content}
  .site-header .header-top .hd-nav>.header-right{margin-left:auto;min-width:max-content}
  #authArea .auth-link{max-width:15em;overflow:hidden;white-space:nowrap}
  #authArea .auth-link .nick,#authArea .auth-link .auth-nick{overflow:hidden;text-overflow:ellipsis;min-width:0}
}
@media (min-width:901px) and (max-width:1480px){
  .site-header .header-top #mainNav .mn-link,.site-header .hd-nav .header-right .mn-link{padding:0 10px}
}
/* ⑤ 로그인 상태에서 한 줄에 다 들어가게 — 1440px 에서 닉네임 단추가 둘째 줄로 내려갔어요.
      머리띠 양옆 여백을 좁히고, 머리띠의 역할 표시(관리자 등)는 뺍니다(프로필 · 글 목록에 그대로 있어요). */
@media (min-width:901px){
  .site-header .header-top{padding-left:max(24px,calc((100vw - 1440px)/2 + 24px));padding-right:max(24px,calc((100vw - 1440px)/2 + 24px))}
  #authArea .auth-link .role-badge{display:none}
  #authArea .auth-link{max-width:11em}
}

/* ---------- 왼쪽 세로줄 속 작은 단추가 칸 전체로 늘어나던 문제 ----------
   세로줄의 「단추는 가로 꽉 · 왼쪽 정렬」 규칙(09 .side-col button)이 검색칸 안의
   ×(지우기)까지 잡아서, × 가 칸 전체 폭이 되어 글자 바로 앞에 붙었어요(「×갑각류」).
   칸 안에 떠 있는 작은 단추와 칩 속 단추는 원래 모양으로 둡니다. */
.side-col .shop-search-x,
.side-col button[class$="-x"],
.side-col .search-x{
  position:absolute!important;top:50%!important;right:6px!important;left:auto!important;transform:translateY(-50%);
  width:32px!important;min-height:32px!important;height:32px;padding:0!important;
  justify-content:center!important;border-radius:999px!important;
}
.side-col .shop-animal-chip .sac-all{width:auto!important;min-height:32px;padding:0 12px!important;flex:0 0 auto}

/* ---------- 왼쪽 세로줄이 비었으면 자리도 접습니다 ----------
   세로줄로 옮긴 칸이 그 화면에서 숨겨지면(예: 동물별 「이벤트」 — 게시판 묶음이 안 나옴)
   248px 빈 자리만 남아 목록이 한쪽으로 쏠려 보였어요(운영자 지적 2026-11-19).
   보이는 칸이 하나도 없으면 한 칸 배치로 돌아가 목록이 가로를 다 씁니다. */
.side-split.has-side:not(:has(> .side-col > :not([hidden]))){display:block}
.side-split.has-side:not(:has(> .side-col > :not([hidden]))) > .side-col{display:none}
/* 「현재 보기」 — 사진이 없는 종은 이름 첫 글자 동그라미 (갈래 사진을 빌려 쓰지 않아요) */
.ctx-thumb-txt{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:color-mix(in srgb,var(--accent) 55%,#0b1a10);font-weight:800;font-size:16px;line-height:1}
@media (max-width:760px){.ctx-thumb-txt{font-size:13px}}
/* ⑥ 메뉴 위 눈썹줄(「소라게」)이 잘리고 겹치던 문제 — 햄버거를 로고 왼쪽으로 옮기며
      메뉴 묶음을 풀었더니, 메뉴 칸이 머리띠 맨 위(1px)에 붙어 눈썹줄 놓을 자리가 없어졌어요.
      메뉴 칸에 원래 높이(64px)를 돌려주고 글자는 가운데에 둡니다. */
@media (min-width:901px){
  .site-header .header-top #mainNav{height:64px;display:flex;align-items:center;align-self:center}
}

/* =====================================================================
   📰 글 목록 줄 — 홈 「갑각류 소식」 과 같은 모양 (운영자 요청 2026-11-21)
     [칩]  제목(굵게)                              ♡ 3
           (동물) 닉네임 [칭호] · 날짜 · 댓글 4
   ⚠️ 간단히 보기와 카드 보기 속 공지 줄에만 — 카드 · 앨범은 자기 배치가 있어요.
   ⚠️ 앞의 「제목 한 줄 + 작은 회색 줄」 규칙을 덮어씁니다(같은 칸 · 같은 순서).
   ===================================================================== */
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item,
.pv-card .post-item.pi-notice{
  grid-template-columns:auto auto minmax(0,1fr) auto !important;
  grid-template-areas:"board title title views" "board who when views" !important;
  column-gap:14px !important;row-gap:4px !important;
  padding:16px 20px !important;align-items:center;
}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pboard,
.pv-card .post-item.pi-notice>.pboard{grid-area:board;display:block !important;align-self:center;min-width:0;overflow:visible}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.ptitle,
.pv-card .post-item.pi-notice>.ptitle{grid-area:title}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwho,
.pv-card .post-item.pi-notice>.pwho{grid-area:who}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen,
.pv-card .post-item.pi-notice>.pwhen{grid-area:when}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pviews,
.pv-card .post-item.pi-notice>.pviews{grid-area:views;display:inline-flex !important;align-items:center;gap:5px;font-size:14px;font-weight:700;color:var(--fg-2);white-space:nowrap}
.pv-heart{font-size:15px;font-weight:400}
/* 왼쪽 칩 — 세계 색을 옅게 깐 둥근 표 */
.pb-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:9px;
  background:color-mix(in srgb,var(--accent) 16%,transparent);color:color-mix(in srgb,var(--accent) 55%,var(--fg));
  font-size:12.5px;font-weight:700;white-space:nowrap;letter-spacing:-.01em}
:root:is([data-theme="dark"],[data-theme="unit02"]) .pb-chip{color:color-mix(in srgb,var(--accent) 70%,#fff)}
/* 제목 — 굵게 */
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item .pt-text,
.pv-card .post-item.pi-notice .pt-text{font-size:16px;font-weight:700;color:var(--fg)}
/* 댓글 수는 아랫줄 「댓글 N」 이 맡습니다 — 제목 옆 붉은 [n] 은 이 모양에서 숨겨요 */
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item .pcomments{display:none}
/* 아랫줄 — 날짜 뒤 · 댓글 N, 동물 이름은 닉네임 앞 작은 글씨 */
.pw-cmt{margin-left:10px}
.pw-animal{margin-right:6px;font-weight:700;color:color-mix(in srgb,var(--accent) 55%,var(--fg-2))}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen,
.pv-card .post-item.pi-notice>.pwhen{margin-left:0}
:is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen::before,
.pv-card .post-item.pi-notice>.pwhen::before{content:"";margin:0}
/* 좁은 목록 · 폰 — 같은 모양, 여백만 줄여서 */
@container (max-width:560px){
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item,
  .pv-card .post-item.pi-notice{grid-template-columns:auto auto minmax(0,1fr) auto !important;
    grid-template-areas:"board title title views" "board who when views" !important;padding:14px 14px !important;column-gap:10px !important}
  .post-item .pboard,.post-item .pviews{display:revert}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pboard{display:block !important}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pviews{display:inline-flex !important}
}
@media (max-width:700px){
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item{
    display:grid !important;grid-template-columns:auto auto minmax(0,1fr) auto !important;
    grid-template-areas:"board title title views" "board who when views" !important;padding:13px 12px !important;column-gap:10px !important}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwho,
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item>.pwhen{font-size:12px;color:var(--fg-3)}
  :is(.pv-simple,.post-list:not(.pv-card):not(.pv-album)) .post-item .pt-text{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .pb-chip{min-height:26px;padding:0 8px;font-size:11.5px}
}

/* =====================================================================
   🅱️ 굵은 글씨는 **진짜 굵게** (운영자 요청 2026-11-21)
   예전 글꼴(Jua)에 굵은 획이 없어 글자 아래 점(방점)으로 대신했어요(06-pages.css).
   지금 본문 글꼴(Noto Sans KR)은 400~900 굵기를 다 불러오므로 점을 걷고 굵게 씁니다.
   ===================================================================== */
.detail-content b, .detail-content strong,
.editor-body b, .editor-body strong,
.post-body b, .post-body strong,
.cmt-text b, .cmt-text strong,
.jr-block b, .jr-block strong,
.ie-rich-body b, .ie-rich-body strong,
.dx-preview b, .dx-preview strong{
  font-weight:800;
  -webkit-text-emphasis:none; text-emphasis:none;
}

/* 🔍 2026-11-21 — 목록 나열법(☰ ▤ ▦) 단추가 너무 작아 안 보였어요(운영자 지적).
      크게 키우고 그림 옆에 이름(간단형 · 카드형 · 앨범형)도 붙입니다. */
.view-pick{gap:4px;padding:4px}
.view-pick button{height:44px;padding:0 16px 0 14px;gap:7px;font-size:15px}
.view-pick button .vp-ico{font-size:22px;line-height:1}
.view-pick button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:600px){.view-pick button{padding:0 12px}.view-pick button .vp-t{font-size:14px}}

/* ✂️ 2026-11-21 — 한글이 **낱말 중간에서** 끊기던 것(「좋아 / 요」) 바로잡기 (운영자 지적).
      word-break:break-word 는 옛 값이라 실제로는 '아무 글자 사이나 끊어도 됨' 처럼 굴어요.
      글 본문 · 댓글 · 글쓰기 칸 · 장터 카드가 그랬습니다. 낱말 사이에서만 끊고,
      띄어쓰기 없는 아주 긴 주소/영문만 예외로 끊습니다.
      ⚠️ 다시 word-break:break-word / break-all 을 한글 글에 쓰지 마세요. */
.detail-text,.detail-para,.detail-content,.cmt-text,.mk-name,
[contenteditable],textarea,.ptitle,.pt-text{word-break:keep-all;overflow-wrap:anywhere}
/* 꾸미는 글(영문 코드 · 번호)만 그대로 */
.rec-typed{word-break:break-all}

/* 🌏 2026-11-22 — 「누리 전체 보기」 를 **누르는 단추로 분명하게** (운영자 요청).
      예전엔 일부러 조용한 글자였는데(08-market.css .ctx-all 주석), 「이걸 누르면 전체로
      간다」 가 안 읽혔어요. 지구 그림 + 테두리 알약으로 바꿉니다.
   ⚠️ 줄 높이는 그대로 — 알약 높이 30px 안에서만 키웁니다(띠가 두꺼워지면 화면을 먹어요). */
.ctx-all{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;
  border:1.5px solid var(--brand);color:var(--brand);background:color-mix(in srgb,var(--brand) 9%,transparent);
  font-size:.8125rem;font-weight:800}
.ctx-all::before{content:"🌏";font-size:14px;line-height:1}
.ctx-all:hover{background:color-mix(in srgb,var(--brand) 20%,transparent);color:var(--brand)}
.ctx-all:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
:root:is([data-theme="dark"],[data-theme="unit02"]) .ctx-all{color:var(--fg,#fff)}
@media (max-width:600px){.ctx-all{height:28px;padding:0 9px;font-size:.75rem}}

/* 📏 2026-11-22 — 글자가 칸 테두리에 붙어 보이던 곳들 (운영자 지적: 「글자와 칸 경계의 여백」)
      전 화면을 재서(글자 ↔ 칸 테두리 12px 미만) 찾은 것만 고칩니다. */
/* 화제글 칸 — 첫 줄이 위 테두리에서 8px */
.hot-list{padding:6px}
.hot-item a{padding:10px 12px}
/* 업체 화면 왼쪽 「지금 동물」 칩 */
.side-col .shop-animal-chip{padding:12px 14px}
/* 누리 가이드 — 「ℹ️ 로그인이 필요해요」 같은 안내 칸 · 강조 카드(폰) */
.gd-cond{padding:12px 14px}
@media (max-width:600px){.gd-strong{padding:16px}}
/* 업적 — 칭호 능력 설명 칸 */
.ach-ability{padding:12px 14px}

/* 🟥 2026-11-22 — 빛깔 줄(전체 공지 · 금 · 파랑 · 초록)의 **아래 테두리**가 회색이었어요 (운영자 지적).
      까닭: 목록 줄 사이 회색 선(#hubList … .post-item { border-bottom: 1px … } — id 라 힘이 셈)과
      마지막 줄 선 지우기(.post-item:last-child { border-bottom: 0 })가 빛깔 테두리의 아래쪽만 덮었어요.
   ⚠️ :is(#hubList,#postList,html) 로 같은 힘을 맞추고, 이 파일이 뒤에 실려 이깁니다. */
:is(#hubList,#postList,html) .post-item.glow-red.glow-red { border-bottom: 2px solid #d81e50; }
:is(#hubList,#postList,html) .post-item.glow-gold.glow-gold { border-bottom: 2px solid #e6b422; }
:is(#hubList,#postList,html) .post-item.glow-blue.glow-blue { border-bottom: 2px solid #3b82f6; }
:is(#hubList,#postList,html) .post-item.glow-green.glow-green { border-bottom: 2px solid #22c55e; }
:root:not([data-theme="light"]) :is(#hubList,#postList,body) .post-item.glow-red   { border-bottom-color: #f43f5e; }
:root:not([data-theme="light"]) :is(#hubList,#postList,body) .post-item.glow-gold  { border-bottom-color: #f0c33c; }
:root:not([data-theme="light"]) :is(#hubList,#postList,body) .post-item.glow-blue  { border-bottom-color: #5b9bff; }
:root:not([data-theme="light"]) :is(#hubList,#postList,body) .post-item.glow-green { border-bottom-color: #3ddc7a; }
