/* ============================================================
 * m_pc_shell_fix.css — PC 본문 마크업을 모바일 폭에 맞추는 오버라이드 (2026-07-17)
 *
 *   $pc_yn='N' 로 PC 파일(community/*.php)을 모바일 셸에 태워 본문을 공유할 때만 로드된다.
 *   → mobile/m_css/m_css_bundle.php 에 넣지 말 것. PC 셸에는 절대 로드되면 안 된다.
 *
 * 왜 !important 인가:
 *   PC 파일들이 본문 중간에 <style> 로 `.container_community .contents_area{margin-left:155px}`
 *   같은 규칙을 늦게 출력한다. 이 파일은 <head> 에서 로드되므로 특이성이 같으면 나중에 나온
 *   인라인 <style> 이 이긴다. 그래서 폭 관련만 !important 로 못 박는다.
 *
 * 측정 근거(헤드리스 390px):
 *   #wrap(380) > .container_community(380) > .contents_area(1345) > .contents(1343) > table(1343)
 *   → contents_area 의 margin-left(LNB 자리) + 폭 지정 없는 table 이 콘텐츠만큼 늘어나 1500px 넘침.
 * ============================================================ */

/* 가로 스크롤 차단 (넘치는 잔여가 있어도 화면은 안 밀리게) */
html, body { max-width: 100%; overflow-x: hidden; }

/* LNB 자리(margin-left)는 모바일에 LNB 가 없으므로 제거 */
.container_community { width: 100% !important; margin-top: 8px; }
.container_community .contents_area,
.contents_area {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	float: none !important;
	box-sizing: border-box;
}

/* 본문 박스 */
.contents,
.gCenter {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* 폭 지정 없는 표가 콘텐츠만큼 늘어나는 것을 차단 (이게 1343px 의 직접 원인) */
.contents_area table,
.contents table,
.gCenter table {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed;
}
/* colgroup 의 PC 고정폭 무력화 */
.contents_area col,
.contents table col { width: auto !important; }
/* 2026-11-12 실종 전단지 표는 예외 — 위 «.gCenter table = fixed» 에 걸려 제목 칸(품종·실종일시)이 11px 로 눌려 값과 겹쳤다. 전단지는 PC 폭(종이)으로 그린 뒤 통째로 줄이므로 원래 표 규칙 그대로 */
#flyerContent table:not([style*="table-layout:fixed"]), .flyer-page table:not([style*="table-layout:fixed"]) { table-layout: auto !important; }
#flyerContent col, .flyer-page col { width: revert-layer !important; }
#flyerContent td.td_title, .flyer-page td.td_title { white-space: nowrap !important; word-break: keep-all; overflow-wrap: normal; }

/* 셀 안 긴 텍스트가 표를 밀어내지 않게 */
.contents_area td,
.contents_area th {
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal !important;
}

/* 이미지·미디어 */
.contents_area img,
.contents img { max-width: 100%; height: auto; }

/* 의도적 가로 스크롤 영역은 유지하되 화면 밖으로 나가지 않게 */
.scrollable-list { max-width: 100% !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* PC 좌우 배너 자리(모바일 셸에선 include 안 하지만 잔여 규칙 방어)
   .top_menu_area = 2026-08-06 커뮤니티 좌측 LNB 를 대체한 상단 가로 메뉴(PC 폭 1140 전제) */
.banner_left, .banner_right, .lnb_area, .top_menu_area { display: none !important; }

/* ── 커뮤니티 메인: PC 2단(좌 인기글 / 우 게시판) → 모바일 1단 세로 스택 ──
 * 셀렉터를 `.contents > table` 로 좁힌 이유: community_main.php 만 이 구조를 쓴다.
 * board_list/gallery 등은 `.gCenter.bbs > .bg3 > table.list` 라 여기 안 걸린다(실제 표라 유지해야 함).
 * 측정: 2단이면 td 가 각 184px 로 찌그러져 내부 .mList2 가 550px 로 넘쳤다. */
.contents > table,
.contents > table > tbody,
.contents > table > tbody > tr {
	display: block;
	width: 100% !important;
}
.contents > table > colgroup { display: none; }
.contents > table > tbody > tr > td {
	display: block;
	width: 100% !important;
	padding-right: 8px !important;
	padding-left: 8px !important;
	box-sizing: border-box;
}

/* 스택된 두 영역 사이 구분 */
.contents > table > tbody > tr > td + td { border-top: 8px solid var(--color-bg-lighter, #f7f7f7); margin-top: 10px; }

/* 리스트 아이템 내부가 셀을 밀어내지 않게 */
.mList2, .mList3, .main_left, #main_right_board_list { max-width: 100% !important; }
.mList2 a, .mList3 a { word-break: break-all; }

/* 중첩 표(#main_right_board_list 안 게시판별 표)가 셀을 밀어내는 것 차단.
 * 측정: 부모 td 368px 인데 안쪽 table 이 scrollWidth 429 → body 438 넘침의 직접 원인. */
#main_right_board_list table,
.contents table table {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed !important;
}
#main_right_board_list td,
#main_right_board_list th,
.contents table table td {
	white-space: normal !important;
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
/* nowrap 로 가로를 밀어내는 잔여 요소 방어 */
.contents_area .nowrap,
.contents_area [style*="nowrap"] { white-space: normal !important; }

/* ── 마이페이지(마이커뮤니티) 프로필 박스: PC 2단(프로필 | 정보표) → 모바일 세로 ──
 * 측정: .mycommunity_box01 이 318px 로 눌려 라벨("닉네임","가입일")이 한 글자씩 세로로 쪼개졌다. */
.mycommunity_box01,
.mycommunity_box02 {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	box-sizing: border-box;
}
.mycommunity_box01 .member_img_wrap {
	float: none !important;
	margin: 0 auto 12px !important;
	text-align: center;
}
.mycommunity_box01 table {
	width: 100% !important;
	table-layout: auto !important; /* 라벨/값 2열은 내용에 맞춰야 자연스러움 */
}
.mycommunity_box01 td { height: auto !important; padding: 9px 6px !important; }
/* 라벨 열은 줄바꿈 금지 — 세로로 쪼개지는 것을 막는 핵심 */
.mycommunity_box01 td.info_label {
	width: 96px;
	white-space: nowrap !important;
	word-break: keep-all !important;
	text-align: left !important;
}

/* ── 등록/관리 목록(register/<cat>/<cat>_list.php)의 PC 표 ──
 * 측정(390px): body.scrollWidth 가 **1205px** 로 화면을 3배 넘겼다.
 * 범인은 CSS 폭이 아니라 **마크업의 인라인 값**:
 *     <table style="min-width:1205px;">   ← min-width 는 width:100% 로 못 이긴다
 *     <col width=1200>                    ← colgroup 픽셀 고정폭
 * 그래서 width 만 100% 로 눌러도 계속 넘쳤다 → min-width 를 직접 0 으로 꺾는다.
 * ⚠ `[style*="min-width"]` 셀렉터를 지우면 다시 1205px 로 돌아간다.
 */
#wrap table[style*="min-width"],
.contents_area table[style*="min-width"],
.contents table[style*="min-width"] {
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed !important;
}
/* colgroup 의 픽셀 고정폭(width=1200 등) 무력화 */
#wrap colgroup col,
.contents_area colgroup col { width: auto !important; }

/* 표 안에서 셀이 서로 밀어내지 않게 */
#wrap table[style*="min-width"] td,
#wrap table[style*="min-width"] th {
	word-break: break-all;
	white-space: normal !important;
	max-width: 100%;
}
/* 등록목록 썸네일: PC 인라인 132x99 → 모바일 폭에 맞춤 */
.contents_area .hover_img,
.contents_area .hover_img img {
	max-width: 100% !important;
	height: auto !important;
}

/* 🔴 글보기 작성자·공유 영역(.bg2 table): PC 는 프로필|정보|공유 3열이지만
   모바일 390px 에서 3열이 좁게 뭉쳐 틀어졌다(작성자 왼쪽·SNS 아이콘 우측 산개).
   → 프로필+정보는 한 줄, 공유 아이콘은 아래 전폭 한 줄로 재배치. */
.bg2 > table { width: 100%; }
.bg2 tr { display: flex; flex-wrap: wrap; align-items: flex-start; }
.bg2 td { vertical-align: top; }
.bg2 td:nth-child(1) { flex: 0 0 auto; }         /* 프로필 */
.bg2 td:nth-child(2) { flex: 1; min-width: 0; word-break: break-word; }  /* 작성자 정보 */
.bg2 .bv-share-row {                              /* 공유 아이콘 = 아래 줄 전폭, 왼쪽 정렬 1줄 */
	flex: 0 0 100%;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 6px;
	text-align: left !important;
	padding: 12px 0 2px !important;
	margin-top: 8px;
	border-top: 1px solid var(--color-border-light, #eee);
}
.bg2 .bv-share-row a { flex: 0 0 auto; white-space: nowrap; }
.bg2 .bv-share-row br { display: none; }
.bg2 td:nth-child(2) .go_community { display: inline-block; }
.bg2 .profile_icon_placeholder { font-size: 3.4em !important; padding: 6px 8px 0 !important; }
.bg2 td:nth-child(1) img { width: 62px !important; height: 62px !important; }

/* ── 상세 화면(animal_detail·bz_info·listings·map) 모바일 보정 (2026-08-17) ── */

/* 탭 스트립(.animal_tab): PC 는 고정폭 a(152px)×N 이라 390px 에서 3번째부터 잘려 나갔다(실측 619px).
   → 가로 스크롤 스트립으로 — 탭 글자를 찌부러뜨리지 않으면서 전부 접근 가능하게. */
.animal_tab li {
	display: flex !important;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	width: 100% !important;
}
.animal_tab li::-webkit-scrollbar { display: none; }
.animal_tab li a {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 104px;
	padding: 0 14px !important;
	white-space: nowrap;
}

/* 상세 정보 표: colgroup 고정폭이 428px 로 뷰포트를 넘어 우측 회사이미지 열이 화면 밖으로 나갔다.
   표를 100% 로 눕히고 이미지가 자기 칸에 맞게 줄어들게 한다(인라인 width:200px 무력화). */
.detail_info_table_wrap table { width: 100% !important; table-layout: fixed !important; }
.detail_info_table_wrap col { width: auto !important; }
.detail_info_table_wrap td { word-break: break-word; }
.detail_info_table_wrap td img { max-width: 100% !important; height: auto !important; }
.detail_info_table_wrap td span { max-width: 100%; box-sizing: border-box; }

/* ── 글보기(board_view) 상단 모바일 보정 (2026-08-17) ──
   #bbs_container 직계의 float:right 스팬(목록|이전글|다음글)이 오른쪽 반 폭을 차지해
   제목·작성자 블록이 왼쪽 ~200px 로 찌그러졌다. 내비를 전폭 한 줄(우측 정렬)로 떼어낸다. */
#bbs_container > span[style*="float"] {
	float: none !important;
	display: flex !important;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	margin: 2px 0 10px;
}
/* 잔여 5px 가로 스크롤(댓글 정렬 커스텀 셀렉트가 오른쪽 여백을 5px 넘음) — 컨테이너에서 클립 */
#bbs_container { overflow-x: clip; }

/* ── 커뮤니티 목록 툴바(best 등): 보기모드 4개+글쓰기 묶음(.listSelect_box)이
   오른쪽 밖(실측 444px)으로 밀려 글쓰기 버튼이 잘렸다 — 줄바꿈 허용(2026-08-17) */
.listSelect_box {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	max-width: 100%;
	row-gap: 6px;
}
.right_buttons { max-width: 100%; }

/* 툴바 행 전체(정렬 탭 + 우측 버튼) — 정렬 탭(최신순/조회순/추천순…)이 우측 묶음에 밀려
   172px 에서 잘리던 것. 행을 flex-wrap 으로 눕혀 두 줄 허용 */
.bg3 div:has(> .right_buttons) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
}
.bg3 div:has(> .right_buttons) > .right_buttons { margin-left: auto; }

/* ── 마이페이지 공통 헤더: h1.page-title 이 float:left 라 설명(p.page-desc)이 같은 자리에
   겹쳐 찍혔다(내 정보수정·결제내역 실측) — 모바일은 세로 스택으로(2026-08-17) */
.page-header .page-title { float: none !important; display: block; margin-bottom: 4px; }
.page-header .page-desc { margin-top: 2px; }
.page-header::after { content: ''; display: block; clear: both; }

/* 내 정보수정 프로필 영역: 사진 옆 버튼 열이 400px 까지 밀려 파일선택 버튼이 잘렸다 — 줄바꿈 허용 */
.profile-area { flex-wrap: wrap; max-width: 100%; }
.profile-area > div { min-width: 0; }
.btn-file { max-width: 100%; }

/* 비밀번호 확인 카드(pop_change_userinfo): 고정 440px 가 뷰포트(390)를 넘었다 */
.pw-card { width: auto !important; max-width: 100% !important; box-sizing: border-box; }
.pw-card-inner { max-width: 100%; box-sizing: border-box; }

/* ── 목록 카드 날짜 뱃지(루리식 흰 글씨): 좁은 폭에서 "2025.11.13" 이 두 줄로 꺾이며
   썸네일 위에 지저분하게 겹쳤다(btnM.png) — 한 줄 고정(2026-08-17) */
.imagebox_time_boxStyle { white-space: nowrap !important; }

/* ── 검색 리스트 카드: 좌우 패딩이 2px 뿐이라 주소·본문이 카드 모서리에 붙어 보였다(btnM.png)
   — 모바일만 숨통 패딩(2026-08-17) */
.flex-container.list-mode .inner_list.mypage_searchList_listStyle { padding: 12px 12px; }

/* ── 2026-09-16 게시판 개편: 모바일 게시판 이동 드로어 ─────────────────────────
   왜: 모바일에는 다른 게시판으로 옮길 수단이 아예 없었다(보이는 링크 62개가 전부 글·정렬 버튼).
       서버(inc/top_menu_community.php)는 이미 묶음별 게시판 35개를 그려 주는데
       m_pc_shell_fix.css 가 .top_menu_area 를 통째로 display:none 으로 덮고 있었다.
   그래서 새로 만들지 않고 그 목록을 드로어 모양으로 살린다.
   조사한 9곳(대형 커뮤니티)이 모두 모바일은 드로어/전용 목록이고,
   맨 위에 찾기·최근 방문을 올린다 — 같은 차례로 둔다. */
@media (max-width:640px){
  /* 숨김 해제 — 단, 평소엔 드로어 안에 접혀 있다 */
  .top_menu_area{ display:block !important; }

  .an-mdrawer-btn{ position:fixed; right:14px; bottom:76px; z-index:60;
    display:flex; align-items:center; gap:5px; height:40px; padding:0 15px;
    border:none; border-radius:999px; background:var(--color-brand, #D8432A); color:#fff;
    font-size:13px; font-weight:700; box-shadow:0 4px 14px rgba(0,0,0,.22); }
  .an-mdrawer-btn:active{ transform:translateY(1px); }

  .an-mdrawer-dim{ position:fixed; inset:0; z-index:10000; /* 2026-09-16: 탭바(.anTabbar z 9990)가 시트 아랫부분을 덮어 마지막 줄이 잘렸다 → 탭바 시트와 같은 층(10000/10001) */ background:rgba(0,0,0,.42); opacity:0; pointer-events:none; transition:opacity .18s; }
  .an-mdrawer-dim.on{ opacity:1; pointer-events:auto; }

  .top_menu_area{ position:fixed; z-index:10001; left:0; right:0; bottom:0; max-height:calc(100dvh - 56px);   /* [2026-09-21] 76vh(639px) → 788px — 세로 리스트로 바꾸면서 한 번에 더 보이게(등록 시트와 같은 기준) */
    background:var(--color-bg-page, #fff); border-radius:14px 14px 0 0; box-shadow:0 -6px 22px rgba(0,0,0,.18);
    transform:translateY(102%); transition:transform .2s ease-out; overflow-y:auto; -webkit-overflow-scrolling:touch;
    padding:0 0 18px; }
  .top_menu_area.an-open{ transform:translateY(0); }

  .an-mdrawer-head{ position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between;
    padding:13px 16px 9px; background:var(--color-bg-page, #fff); border-bottom:1px solid var(--color-border, #E2DDD6); }
  .an-mdrawer-head b{ font-size:14.5px; font-weight:700; color:var(--color-text-primary, #333); }
  .an-mdrawer-head button{ border:none; background:none; font-size:19px; line-height:1; color:var(--color-text-tertiary, #8A827A); padding:2px 4px; }

  .an-mfind{ margin:10px 16px 4px; }
  .an-mfind input{ width:100%; height:36px; padding:0 11px; box-sizing:border-box; font-size:13px;
    border:1px solid var(--color-border, #E2DDD6); border-radius:8px; background:var(--color-bg-page, #fff); color:var(--color-text-primary, #333); }
  .an-mfind input:focus{ outline:none; border-color:var(--color-brand, #D8432A); }
  .an-mrecent-link{ display:flex; align-items:center; gap:7px; margin:6px 16px 2px; padding:9px 12px; border:1px solid var(--color-border, #E2DDD6); border-radius:8px; font-size:13.5px; font-weight:600; color:var(--color-text-primary, #333); text-decoration:none; }   /* 2026-09-17 최근 본 글 입구 */
  .an-mrecent-link span{ margin-left:auto; color:var(--color-text-quaternary, #8a8a8a); }

  /* 서버가 그려 준 탭·패널을 드로어 몸통으로 — 탭은 감추고 묶음 전부를 펼친다 */
  .top_menu_area .top_menu_tabs{ display:none !important; }
  .top_menu_area .top_menu_panel{ display:block !important; padding:0 !important; border:none !important; }
  .top_menu_area .top_menu_panel::before{ content:attr(data-gname); display:block; padding:12px 16px 5px;
    font-size:12px; font-weight:700; color:var(--color-brand, #D8432A); }
  /* ── [2026-09-21 사장님 안1] 칩 격자 → 세로 리스트 + 아이콘 + 글 수 ──
     왜: 칩은 길이가 제각각이라 눈이 지그재그로 움직이고, 34개가 전부 똑같아 보였다.
         라이브 실측으로 글이 상위 6개에 85% 몰려 있고 7개는 0건인데 그게 안 보였다.
     그래서 한 줄에 하나(세로 한 방향) · 오른쪽에 글 수 · 0건은 흐리게. */
  .top_menu_area .top_menu_panel::before{ padding:11px 16px 5px !important; font-size:11px !important;
    font-weight:800 !important; color:var(--color-text-tertiary, #8A827A) !important;
    background:var(--color-bg-light, #FAFAFB); }
  .top_menu_area .top_menu_links{ display:block !important; margin:0 !important; padding:0 !important; list-style:none; }
  .top_menu_area .top_menu_links li{ margin:0 !important; }
  .top_menu_area .top_menu_links li a{ display:flex !important; align-items:center; gap:11px;
    height:44px; padding:0 16px !important; border:0 !important; border-radius:0 !important;
    border-bottom:1px solid var(--color-border-light, #F0F0F2) !important;
    font-size:15.5px !important; color:var(--color-text-primary, #222) !important;   /* [2026-09-22] 아이콘을 뺀 자리만큼 이름을 키운다 */
    background:var(--color-bg-page, #fff); text-decoration:none; }
  /* [2026-09-22] 아이콘은 뺀다(사장님 확정).
     왜: 22px 회색 실루엣이라 강아지·고양이·새가 한눈에 안 갈렸다. 인덱싱한 대형 커뮤니티 8곳에서도
         아이콘을 쓰는 건 칸이 열 개 안쪽인 대분류 격자(뽐뿌 10·인벤 8)뿐이고, 게시판을 수십 개
         나열하는 목록(에펨 칩 18·디시 갤러리·클리앙 서비스·네이트판)은 전부 글자만 쓴다.
     🔴 마크업(inc/top_menu_community.php 의 i.tm-ico)은 그대로 둔다 — PC 는 css/community.css 가
        이미 감추고 있고, 되돌릴 때 이 한 줄만 지우면 된다. */
  .top_menu_area .top_menu_links li a .tm-ico{ display:none !important; }
  .top_menu_area .top_menu_links li a .tm-nm{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .top_menu_area .top_menu_links li a .tm-cnt{ flex:0 0 auto; font-size:12px;
    color:var(--color-text-quaternary, #9AA0A6); font-variant-numeric:tabular-nums; }
  /* 글 0건 — 흐리게 해서 헛걸음을 막는다(링크는 살려 둔다) */
  .top_menu_area .top_menu_links li.tm-zero a .tm-nm,
  .top_menu_area .top_menu_links li.tm-zero a .tm-cnt,
  .top_menu_area .top_menu_links li.tm-zero a .tm-ico{ color:var(--color-text-light, #C2C5CA) !important; }
  /* 지금 보고 있는 게시판 */
  .top_menu_area .top_menu_links li a.on,
  .top_menu_area .top_menu_links li a.selected{ background:rgba(216,67,42,.07) !important; }
  .top_menu_area .top_menu_links li a.on .tm-nm,
  .top_menu_area .top_menu_links li a.selected .tm-nm,
  .top_menu_area .top_menu_links li a.on .tm-ico,
  .top_menu_area .top_menu_links li a.selected .tm-ico{ color:var(--color-brand, #D8432A) !important; font-weight:800; }
  .top_menu_area.is-finding .top_menu_panel.an-none{ display:none !important; }
  .top_menu_area .top_menu_links li.an-hide{ display:none !important; }
  .an-mfind-none{ display:none; padding:10px 16px; font-size:12.5px; color:var(--color-text-tertiary, #8A827A); }
  .an-mfind-none.on{ display:block; }

  /* ── [2026-11-01] 세로 리스트 → 묶음별 3칸(시안 https://claude.ai/artifact/WVP4MPKrgG6uR6upwuJKqr, 사장님 「바로 이동할 수 있게 시야 좋게」)
     왜: 게시판 31개를 한 줄에 하나씩 놓으니 창 높이가 1,896px, 끝까지 화면 세 장 가까이 내려야 했다 → 1,144px.
     찾기·최근 본 글은 머리 줄로 합쳤다(m_board_drawer.js). 글 수는 칸이 좁아 뺐고 글 0건 흐림(.tm-zero)은 그대로 쓴다.
     칸 크기는 엄지 기준 115×44. 위 세로 리스트 규칙을 뒤에서 덮는다 — 그 규칙 대부분이 !important 라 여기도 맞춘다. */
  .top_menu_area{ --tm-cell:var(--color-bg-light, #F2F2F3); background:var(--color-bg-white, #fff); }
  body.dark .top_menu_area, html.dark .top_menu_area{ --tm-cell:var(--dark-bg-tertiary, #2E2E2E); background:var(--dark-bg-secondary, #232323); }
  .an-mdrawer-head{ gap:6px; padding:8px 10px 8px 16px; background:var(--color-bg-white, #fff); border-bottom-color:var(--color-border-light, #ECECEE); }
  body.dark .an-mdrawer-head, html.dark .an-mdrawer-head{ background:var(--dark-bg-secondary, #232323); }
  .an-mdrawer-head button{ flex:none; }
  .an-mdrawer-tool{ display:flex; flex:1 1 auto; align-items:center; gap:8px; min-width:0; }
  .an-mdrawer-tool .an-mfind{ flex:1 1 auto; min-width:0; margin:0; }
  html body .an-mdrawer-tool .an-mfind input{ height:40px !important; border-radius:10px !important; background:var(--tm-cell) !important; border-color:transparent !important; }
  .an-mdrawer-tool .an-mrecent-link{ flex:none; height:40px; box-sizing:border-box; margin:0; padding:0 12px; white-space:nowrap; }
  .an-mdrawer-tool .an-mrecent-link span{ margin-left:0; }
  .top_menu_area .top_menu_panel{ padding:12px 16px 14px !important; border-top:1px solid var(--color-border-light, #ECECEE) !important; background:none; }
  .top_menu_area .top_menu_tabs + .top_menu_panel{ border-top:0 !important; }
  .top_menu_area .top_menu_panel::before{ padding:0 0 8px !important; background:none !important; font-size:13px !important; color:var(--color-brand, #D8432A) !important; }
  .top_menu_area .top_menu_links{ display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .top_menu_area .top_menu_links li{ min-width:0; }
  .top_menu_area .top_menu_links li a{ justify-content:center; height:44px; padding:0 4px !important; box-sizing:border-box;
    border:0 !important; border-radius:8px !important; background:var(--tm-cell) !important;
    font-size:13.5px !important; line-height:1.2; text-align:center; word-break:keep-all; }
  .top_menu_area .top_menu_links li a .tm-nm{ flex:none; max-width:100%; white-space:normal; }
  .top_menu_area .top_menu_links li a .tm-cnt{ display:none; }
  .top_menu_area .top_menu_links li a.on,
  .top_menu_area .top_menu_links li a.selected{ background:var(--ui-select-soft-bg, #FBE4DE) !important; }
  /* 맨 위로(z 999999)·글쓰기 버튼이 창 위로 떠 있었다 */
  body:has(.top_menu_area.an-open) .btn_scroll_top, body:has(.top_menu_area.an-open) .an-m3-fab{ display:none !important; }
}
