
/*
 * 신설리 : 메이플스토리 백과사전
 * 2026-11-27: 티스토리 스킨(tistory-skin/, 원본 보관)을 신설리 엔진(build.js)으로 옮김. 리뷰 사이트와 같은 방식
 * 글꼴·헤더(계정 칩·알림·이벤트·친구·마이페이지)·메뉴줄·푸터·댓글·광고 자리 = 신설리 : 클라우드 스킨과 같은 것
 */

:root {
  --orange: #ff6e41;
  --orange-deep: #e8552a;
  --orange-soft: #fff1ec;
  --text: #232323;
  --text-dim: #8a8a8a;
  --line: #ececec;
  --bg: #ffffff;
  --radius: 14px;
  --maxw: 1860px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 100%;
  background: var(--bg); color: var(--text);
  font-family: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
}
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, form, fieldset, legend, input, textarea, figure { margin: 0; padding: 0; }
header, footer, section, article, aside, nav, figure { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; vertical-align: top; max-width: 100%; }
button { border: 0; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; border-radius: 0; }
hr { display: none; }
.screen_out { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

#acc-nav { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: hidden; z-index: 999; }
#acc-nav a { position: absolute; top: -50px; left: 0; padding: 12px 20px; background: var(--orange); color: #fff; font-size: 13px; }
#acc-nav a:focus, #acc-nav a:active { top: 0; }

html, body { overflow-x: hidden; scrollbar-gutter: stable; } body { scrollbar-gutter: auto; }

/* ---------- 헤더 (클라우드와 같음) ---------- */
#header { border-bottom: 1px solid var(--line); background: #fff; }

/* ---------- Header : 배너 이미지만 ---------- */
#header { border-bottom: 1px solid var(--line); background: #fff; }
#header .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 12px; /* 좌우 12px = 본문(.content-wrap)과 같은 선 */
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* 로그인 버튼 / 내 닉네임: 헤더 오른쪽 끝 (로고는 가운데 그대로) */
#header { position: relative; z-index: 1100; } /* 내 닉네임 메뉴가 아래 메뉴줄(GNB) 위로 나오게 */
#header .header-account { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
@media screen and (max-width: 767px) { #header .header-account { right: 12px; transform: translateY(-50%) scale(.9); transform-origin: right center; } }
/* 헤더 오른쪽 아이콘 버튼 (2026-11-18 B안): 칩 왼쪽, 마우스 올리면 아래 말풍선 */
#header .header-right { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; z-index: 5; }
#header .header-right .header-account { position: static; transform: none; }
.hd-tools { display: flex; align-items: center; gap: 6px; }
.hd-tool { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ececf0; border-radius: 10px; background: #fff; color: #555; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.hd-tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hd-tool:hover { border-color: var(--orange); color: var(--orange-deep); background: #fffaf7; }
.hd-tool .hd-cnt { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff4d3d; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.hd-tool.pip { color: var(--orange-deep); border-color: #ffd2c2; background: #fff8f5; }
.yt-new { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; padding: 10px 12px 10px 10px; border: 1px solid #ffd6c7; border-radius: 12px; background: linear-gradient(90deg, #fff4ef, #fff 70%); color: inherit; text-decoration: none !important; box-shadow: 0 6px 18px -12px rgba(255,110,65,.5); transition: border-color .15s, box-shadow .15s; animation: ynIn .4s ease both; }
.yt-new[hidden] { display: none; }
.yt-new:hover { border-color: var(--orange); box-shadow: 0 10px 24px -12px rgba(255,110,65,.6); }
@keyframes ynIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.yn-th { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #111; }
.yn-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yn-th i { position: absolute; left: 50%; top: 50%; width: 30px; height: 21px; margin: -10.5px 0 0 -15px; border-radius: 6px; background: #ff0000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center/15px no-repeat; }
.yn-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yn-tx b { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--orange-deep); }
.yn-tx em { font-style: normal; padding: 1px 6px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 10.5px; letter-spacing: .04em; }
.yn-t { font-size: 15px; font-weight: 800; color: #1f1f23; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yn-go { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; transition: background .15s; }
.yt-new:hover .yn-go { background: var(--orange-deep); }
.yn-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 7px; background: none; color: #a0a0a8; font-size: 13px; cursor: pointer; }
.yn-x:hover { background: #f1f1f3; color: #333; }
@media (max-width: 640px) { .yn-th { width: 84px; } .yn-go { display: none; } .yn-t { font-size: 13.5px; } }
.hd-tool.tip-off::after, .hd-tool.tip-off::before { display: none; } /* 누르면 말풍선 숨김, 마우스가 나가면 다시 (2026-11-21) */
.hd-tool.on { color: #fff; border-color: var(--orange); background: var(--orange); } .hd-tool.on::after, .hd-tool.on::before { display: none; } /* 친구 창 열림 (2026-11-21) */
.hd-tool::after { content: attr(data-tip); position: absolute; top: calc(100% + 9px); left: 50%; transform: translate(-50%, -4px); padding: 6px 10px; border-radius: 7px; background: #1d1d1f; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 30; }
.hd-tool::before { content: ""; position: absolute; top: calc(100% + 3px); left: 50%; transform: translate(-50%, -4px); border: 6px solid transparent; border-top: 0; border-bottom-color: #1d1d1f; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 30; }
.hd-tool:hover::after, .hd-tool:focus-visible::after, .hd-tool:hover::before, .hd-tool:focus-visible::before { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media screen and (max-width: 767px) {
  #header .header-right { right: 8px; gap: 4px; transform: translateY(-50%) scale(.88); transform-origin: right center; }
  .hd-tool { width: 36px; height: 36px; } .hd-tools { gap: 4px; }
}

#header h1.logo { line-height: 0; }
#header h1.logo a { display: inline-flex; align-items: center; height: 40px; }
#header h1.logo a img { display: block; height: 100%; width: auto; max-width: 200px; object-fit: contain; }
#header h1.logo a:not(:has(img)) { display: block; height: auto; padding: 10px 0; font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -0.01em; }

/* =========================================================
   GNB + 메가메뉴 패널 (햄버거 클릭 → 전체 카테고리 패널)
   ========================================================= */
:root {
  --sm-orange: #ff6e41;
  --sm-height: 65px;
  --mega-bg: #fff;
}

.custom-gnb-wrapper {
  position: relative; width: var(--fit-vw, 100vw); left: 50%; transform: translateX(-50%); /* --fit-vw: 확대·축소 중 화면 폭 */
  height: var(--sm-height); background-color: #fff; box-sizing: border-box;
  border-top: none; border-bottom: none;
  margin: 0; padding: 0; z-index: 1000; overflow: visible;
}
.gnb-inner-container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 12px; box-sizing: border-box; /* 본문과 같은 선 */
}
.gnb-left-section { display: flex; align-items: center; height: 100%; }
.gnb-hamburger-btn {
  position: relative; width: 26px; height: 20px; background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between; padding: 0;
  margin-right: 0; box-sizing: border-box; z-index: 10005;
  display: none; /* 기능/이벤트는 그대로 두고 화면에만 안 보이게 처리 */
}
.gnb-hamburger-btn span {
  display: block; width: 100%; height: 3px; background-color: var(--sm-orange); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(2) { opacity: 0; }
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.custom-gnb-wrapper.menu-active .gnb-pc-nav,
.custom-gnb-wrapper.menu-active .gnb-inner-container > .gnb-right-section {
  opacity: 0; visibility: hidden; pointer-events: none;
}

.gnb-pc-nav, .gnb-right-section { transition: opacity .22s cubic-bezier(.16,1,.3,1), visibility .22s; }
.gnb-pc-nav { display: flex; align-items: center; height: 100%; }
.gnb-depth1-ul { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; }
.gnb-depth1-ul > li { position: relative; height: 100%; margin-right: 40px; }
.gnb-depth1-ul > li:last-child { margin-right: 0; }
.gnb-depth1-ul > li > a.gnb-main-link {
  display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 800; color: var(--text);
  transition: color .15s ease;
}
.gnb-main-link:hover { color: var(--sm-orange) !important; }
/* 노래 신청하기 : 오렌지(현재 페이지 표시색)와 겹치지 않도록 블루 계열 */
.gnb-main-link.gnb-main-link-accent { color: #2f74e0 !important; }
.gnb-main-link.gnb-main-link-accent:hover { color: #1f5bbd !important; }
/* 지금 보고 있는 카테고리(또는 메인 홈) : 오렌지 글자 + 하단 바 */
.gnb-main-link.active-page { position: relative; color: var(--sm-orange) !important; }
.gnb-main-link.active-page::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 4px; background: var(--sm-orange); border-radius: 3px;
}
.mega-link-accent { color: #2f74e0 !important; }
/* 재생목록 · PIP (후원 회원) */
.gnb-depth1-ul > li > button.gnb-main-link { display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 800; line-height: 22.5px; padding-bottom: 0; }
.gnb-main-link.gnb-pip-link { gap: 5px; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; color: var(--sm-orange) !important; }
.gnb-pip-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gnb-pip-link:hover { color: #e8552a !important; }
.mega-link-pip { color: var(--sm-orange) !important; }
.ks-gate { position: fixed; z-index: 10000; width: 270px; padding: 14px 16px; background: #fff; border: 1px solid #ececf0; border-radius: 12px; box-shadow: 0 16px 40px rgba(20,20,30,.16); font-size: 13px; line-height: 1.55; color: #3a3a40; }
.ks-gate b { display: block; margin-bottom: 4px; padding-right: 22px; font-size: 14px; color: #1c1c1f; }
.ks-gate .gx { position: absolute; top: 8px; right: 8px; flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #9a9aa2; font-size: 13px; cursor: pointer; }
.ks-gate .gx:hover { background: #f4f4f6; color: #1c1c1f; }
.ks-gate .row { display: flex; gap: 6px; margin-top: 10px; }
.ks-gate button { flex: 1; height: 34px; border-radius: 8px; border: 1px solid #e6e6ea; background: #fff; font: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.ks-gate button.ac { background: #ff6e41; border-color: #ff6e41; color: #fff; }
.gnb-main-link .menu-custom-icon { width: 20px; height: 20px; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.gnb-depth2-ul {
  position: absolute; top: 100%; left: 50%; background: #fff; min-width: 170px; border: 1px solid #eee;
  border-top: none; border-radius: 0 0 6px 6px; box-shadow: 0 10px 25px rgba(0,0,0,.1); padding: 8px 0; margin: 0;
  list-style: none; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-10px);
  transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1), visibility .28s;
  z-index: 99999;
}
.gnb-depth1-ul > li:hover .gnb-depth2-ul { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnb-depth2-ul li a { display: block; padding: 10px 18px; font-size: 13px; font-weight: 700; color: #444; text-align: left; white-space: nowrap; }
.gnb-depth2-ul li a:hover { background: var(--orange-soft); color: var(--sm-orange); }

.gnb-right-section { display: flex; align-items: center; height: 100%; }
.shortcut-container { display: flex; align-items: center; }
.shortcut-static-title { font-size: 13px; font-weight: 800; color: var(--sm-orange); margin-right: 12px; white-space: nowrap; }
.gnb-quick-ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gnb-premium-quick-btn {
  display: inline-flex; align-items: center; padding: 9px 16px; background-color: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 8px; white-space: nowrap; box-sizing: border-box; transition: all .22s cubic-bezier(.16,1,.3,1);
}
.gnb-premium-quick-btn .quick-btn-icon { width: 20px; height: 20px; margin-right: 8px; object-fit: contain; border-radius: 4px; }
.quick-btn-text { font-size: 13px; font-weight: 700; color: #475569; transition: color .15s ease; }
.gnb-premium-quick-btn:hover { background-color: var(--orange-soft); border-color: var(--sm-orange); transform: translateY(-1.5px); box-shadow: 0 4px 10px rgba(255,110,65,.08); }
.gnb-premium-quick-btn:hover .quick-btn-text { color: var(--sm-orange); }

.custom-mega-menu-panel {
  position: absolute; top: 0; left: 0; width: 100%; background-color: var(--mega-bg); z-index: 9998;
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
  transition: max-height .34s cubic-bezier(.16,1,.3,1), opacity .25s ease, visibility .25s;
  box-shadow: 0 15px 30px rgba(0,0,0,.08);
}
.custom-mega-menu-panel.open { max-height: 700px; opacity: 1; visibility: visible; padding-bottom: 50px; }
.mega-inner-wrapper { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: 100%; max-width: 1860px; margin: 0 auto; padding: 0 24px 0 74px; box-sizing: border-box; }
.mega-column { width: 200px; flex: 0 0 200px; margin: 0 45px 0 0; box-sizing: border-box; }
.mega-title { height: 64px; display: flex; align-items: center; margin-bottom: 15px; position: relative; text-align: left; box-sizing: border-box; }
.mega-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #f1f5f9; }
.mega-title a { display: flex; align-items: center; height: 100%; font-size: 17px; font-weight: 800; color: var(--sm-orange); }
.mega-title .menu-custom-icon { width: 22px; height: 22px; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.mega-depth2-ul-mega { list-style: none; margin: 0; padding: 0; }
.mega-column .mega-depth2-ul-mega li { margin-bottom: 10px; }
.mega-column .mega-depth2-ul-mega li a { display: block; padding: 4px 0; font-size: 14px; font-weight: 600; color: #475569; text-align: left; }
.mega-column .mega-depth2-ul-mega li a:hover { color: var(--sm-orange); }

.mega-column.mega-shortcut-column { margin: 0 0 0 10px; width: 260px; flex: 0 0 260px; display: block; }
.mega-shortcut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.mega-shortcut-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(145deg, #ffffff 0%, #fdf6f3 100%); border: 1px solid #f1ddd5; border-radius: 14px;
  padding: 16px 8px; box-sizing: border-box; transition: all .25s cubic-bezier(.16,1,.3,1); box-shadow: 0 2px 6px rgba(255,110,65,.06);
}
.msc-icon-wrap { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid #fde3d8; margin-bottom: 8px; box-shadow: 0 2px 5px rgba(0,0,0,.04); }
.mega-shortcut-card .msc-icon { width: 24px; height: 24px; object-fit: contain; display: block; }
.mega-shortcut-card .msc-title { font-size: 12.5px; font-weight: 700; color: #334155; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mega-shortcut-card:hover { transform: translateY(-4px); border-color: var(--sm-orange); box-shadow: 0 8px 18px rgba(255,110,65,.18); }
.mega-shortcut-card:hover .msc-icon-wrap { border-color: var(--sm-orange); background: var(--orange-soft); }
.mega-shortcut-card:hover .msc-title { color: var(--sm-orange); }

.mega-contact-link { position: absolute; bottom: 16px; right: 74px; font-size: 12.5px; font-weight: 600; color: #94a3b8; transition: color .2s ease; z-index: 10; }
.mega-contact-link:hover { color: var(--sm-orange); text-decoration: underline; }

@media screen and (max-width: 1600px) {
  .gnb-inner-container, .mega-inner-wrapper { max-width: 95%; }
  .gnb-depth1-ul > li { margin-right: 28px; }
  .mega-inner-wrapper { padding-left: 54px; }
  .mega-column { width: 150px; margin-right: 26px; }
  .mega-column.mega-shortcut-column { width: 220px; flex: 0 0 220px; }
}


/* ---------- Layout ---------- */
#container { width: 100%; }
.content-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 12px 60px; }
#content { width: 100%; }

/* ---------- Notice ---------- */
.notice-banner {
  margin-bottom: 20px; padding: 12px 16px; border-radius: 10px;
  background: var(--orange-soft); font-size: 13px; font-weight: 700; color: var(--orange-deep);
}
.notice-banner a { display: flex; gap: 8px; align-items: center; }

/* ---------- List header ---------- */
.list-header {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 2px solid var(--text);
}
.list-header h2 { display: flex; align-items: baseline; gap: 6px; font-size: 19px; font-weight: 900; }
.list-header h2 em { font-style: normal; color: var(--orange); }

.empty-box { padding: 70px 0; text-align: center; color: var(--text-dim); }
.empty-box p { font-size: 14px; margin-bottom: 6px; }
.empty-box .sub { font-size: 12.5px; color: #b6b6b6; }

/* ---------- 페이지(고정 페이지) ---------- */
.page-header { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--text); }
.page-header h1 { font-size: 22px; font-weight: 900; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}

.post-card { border-radius: var(--radius); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-3px); }
.post-card a { display: block; }

.post-card .thum {
  display: block; aspect-ratio: 230 / 300; width: 100%;
  border-radius: 12px; overflow: hidden; background: var(--orange-soft);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08); margin-bottom: 10px;
}
.post-card .thum img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card a:hover .thum img { transform: scale(1.06); }
.post-card .thum .lock {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 22px;
}

.post-card .title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; font-weight: 700; line-height: 1.4; margin-bottom: 2px;
}
.post-card a:hover .title { color: var(--orange); }
.post-card .subtitle {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 11.5px; color: var(--text-dim); line-height: 1.4; margin-bottom: 6px;
}
.post-card .card-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; letter-spacing: 1px; }
.post-card .card-rating .card-star { position: relative; display: inline-block; width: 1em; height: 1em; }
.post-card .card-rating .card-star-back { position: absolute; top: 0; left: 0; color: #dcdcdc; }
.post-card .card-rating .card-star-front { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--orange); white-space: nowrap; }
.post-card .card-rating .card-rating-num { font-size: 11px; color: var(--orange-deep); font-weight: 800; margin-left: 2px; }

/* ---------- 글 상세 (post-detail) ---------- */
.post-detail { grid-column: 1 / -1; }

.entry-content { padding: 8px 0 30px; font-size: 15.5px; line-height: 1.85; color: var(--text); }
.entry-content a { color: var(--orange-deep); text-decoration: underline; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { border-left: 3px solid var(--orange); padding-left: 16px; color: var(--text-dim); margin: 16px 0; }

/* ---------- 티스토리 기본 삽입 위젯 강제 숨김 (다른 카테고리 글 / 공감·공유 버튼 / 작성자 카드) ---------- */
.another_category,
.container_postbtn,
#post_button_group,
.tt_box_namecard {
  display: none !important;
}

.tag-box { padding: 20px 0; border-top: 1px solid var(--line); }
.tag-box h3 { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--text-dim); }
.tag-box a {
  display: inline-block; margin: 0 8px 8px 0; padding: 6px 14px; border-radius: 16px;
  border: 1px solid var(--line); font-size: 12px; color: var(--text);
}
.tag-box a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.related-box { padding: 24px 0; border-top: 1px solid var(--line); }
.related-box h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.related-box ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-box ul li figure { aspect-ratio: 176/230; border-radius: 10px; overflow: hidden; background: var(--orange-soft); margin-bottom: 8px; }
.related-box ul li figure img { width: 100%; height: 100%; object-fit: cover; }
.related-box ul li .title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.related-box ul li a:hover .title { color: var(--orange); }

.comments, .tt-comments-wrap { padding: 24px 0; }
.comments .btn, .comment-form .submit button, .comments button[type="submit"] {
  padding: 8px 18px; border-radius: 18px; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 700;
}
.comment-form .submit button:hover, .comments button[type="submit"]:hover { background-color: var(--orange-deep); }

.protected-form { text-align: center; padding: 60px 0; grid-column: 1 / -1; }
.protected-form h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.protected-form p { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.protected-form input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; margin-right: 8px; }
.protected-form button { padding: 10px 18px; border-radius: 18px; background: var(--orange); color: #fff; font-weight: 700; }

/* ---------- 페이지네이션 ---------- */
.pagination { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 10px; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; font-size: 12.5px; color: var(--text-dim);
}
.pagination a:hover { background: var(--orange-soft); color: var(--orange-deep); }
.pagination a.selected, .pagination a.on { background: var(--orange); color: #fff; }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); }
.pagination .no-more-prev, .pagination .no-more-next { opacity: 0.3; pointer-events: none; }


/* ---------- 글 아래 버튼 줄 · 공유 · 댓글 · 푸터 (클라우드와 같음) ---------- */
/* ---------- 티스토리 기본 공감/공유/통계 툴바 숨김 (애드온 태그 미사용시 강제 삽입됨) ---------- */
#post_button_group, .container_postbtn { display: none !important; }

/* ---------- 댓글 관련: 이름카드 팝업은 완전히 숨기고, 댓글 영역은 기본 숨김 후 버튼으로 토글 ---------- */
.tt_box_namecard { display: none !important; }
.comments, .tt-comment-cont { display: none; margin-top: 20px; }
body.sc-comments-open .comments, body.sc-comments-open .tt-comment-cont { display: block; }

.action-bar { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; position: relative; flex-wrap: wrap; }
.action-bar .comment-toggle-btn { padding: 8px 16px; border-radius: 18px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; background: #fff; cursor: pointer; }
.action-bar .comment-toggle-btn.open { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-deep); }
.action-bar .copyright-line { margin: 0 0 0 auto; font-size: 12px; color: #b6b6b6; }
@media screen and (max-width: 560px) {
  .action-bar .copyright-line { margin: 8px 0 0 0; flex-basis: 100%; }
}
.action-bar .like-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 18px; background: var(--orange-soft); font-size: 13px; font-weight: 700; color: var(--orange-deep); }
.action-bar .like-btn.liked .like-icon { color: var(--orange-deep); }
.action-bar .share-btn { padding: 8px 16px; border-radius: 18px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.action-bar .like-btn { border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.action-bar .like-btn:not(.liked) { background: #fff; border-color: var(--line); color: var(--text-dim); }
.action-bar .like-btn:not(.liked) .like-icon { color: #c9c9c9; }
.action-bar .like-btn.liked { border-color: #ffc9b5; }
.action-bar .like-btn.pop .like-icon { animation: likePop .35s ease; }
@keyframes likePop { 40% { transform: scale(1.35); } }
.action-bar .share-btn, .action-bar .comment-toggle-btn { background: #fff; cursor: pointer; }
.action-bar .share-btn[aria-expanded="true"] { border-color: var(--orange); color: var(--orange-deep); }
.action-bar .comment-toggle-btn { display: inline-flex; align-items: center; gap: 6px; }
.action-bar .cmt-n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #f1f1f1; font-style: normal; font-size: 11px; font-weight: 800; color: var(--text-dim); box-sizing: border-box; }
.action-bar .comment-toggle-btn.open .cmt-n { background: #fff; color: var(--orange-deep); }
.share-pop { position: absolute; left: 0; top: calc(100% - 6px); z-index: 50; width: 320px; max-width: calc(100vw - 32px); padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.14); box-sizing: border-box; }
.share-pop[hidden] { display: none; }
.share-pop-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.share-pop-h b { font-size: 14px; font-weight: 900; }
.share-x { width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--text-dim); cursor: pointer; }
.share-x:hover { background: #f3f3f3; color: var(--text); }
.share-grid { display: flex; gap: 6px; margin-bottom: 12px; }
.share-grid button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--text); cursor: pointer; }
.share-grid button:hover { background: #f7f7f7; }
.share-grid button[hidden] { display: none; }
.sh-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.sh-ic svg { width: 24px; height: 24px; }
.sh-ic.kakao { background: #fee500; } .sh-ic.naver { background: #03c75a; } .sh-ic.mail { background: #6b7280; } .sh-ic.more { background: #b0b4bb; }
.share-copy { display: flex; gap: 6px; }
.share-copy input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; font: inherit; font-size: 12px; color: var(--text-dim); outline: none; }
.share-copy button { flex: none; height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--orange); font: inherit; font-size: 13px; font-weight: 800; color: #fff; cursor: pointer; }
.share-copy button.done { background: #22903f; }
.share-msg { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: #22903f; }
.share-msg:empty { display: none; }
.share-msg.warn { color: var(--orange-deep); }

.tag-box { padding: 20px 0; border-top: 1px solid var(--line); }
.tag-box h3 { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--text-dim); }
.tag-box a { display: inline-block; margin: 0 8px 8px 0; padding: 6px 14px; border-radius: 16px; border: 1px solid var(--line); font-size: 12px; color: var(--text); }
.tag-box a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.comments, .tt-comments-wrap { padding: 24px 0; }

.protected-form { text-align: center; padding: 60px 0; grid-column: 1 / -1; }
.protected-form h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.protected-form p { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.protected-form input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; margin-right: 8px; }
.protected-form button { padding: 10px 18px; border-radius: 18px; background: var(--orange); color: #fff; font-weight: 700; }

/* ---------- 페이지네이션 ---------- */
.pagination { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 10px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12.5px; color: var(--text-dim); }
.pagination a:hover { background: var(--orange-soft); color: var(--orange-deep); }
.pagination a.selected, .pagination a.on { background: var(--orange); color: #fff; }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); }
.pagination .no-more-prev, .pagination .no-more-next { opacity: 0.3; pointer-events: none; }

/* ---------- 푸터 (후원카드 + 최근 업데이트 음악 + 네비카드) ---------- */
#footer { margin-top: 0; padding: 0; border-top: none; background: #fff; }
#footer .inner-footer { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 40px 12px 28px; box-sizing: border-box; }
#footer .footer-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; min-height: 180px; }
/* 수익 기능 끄기 (2026-11-24): <html> 에 money-on 이 없으면 = "오픈 이벤트" 기간 — 광고는 안 뜨고, 후원 UI 는 그대로 보이되 버튼만 잠김
   (스튜디오 → 신설리 계정 → 수익 기능, 이벤트 끝나는 날 = config/money.until) */
html:not(.money-on) .ad-rail:not(.oe) { display: none !important; } /* 오픈 이벤트 땐 광고 대신 이벤트 상자(.oe)만 */
html:not(.money-on) #footer .fsc-qr img { visibility: hidden; }
html:not(.money-on) .fsp-qr { position: relative; display: grid; place-items: center; } html:not(.money-on) .fsp-qr img { visibility: hidden; }
html:not(.money-on) .fsp-qr::after { content: "OPEN\A EVENT"; white-space: pre; position: absolute; font-size: 20px; font-weight: 900; line-height: 1.25; letter-spacing: .04em; text-align: center; color: #ff6e41; } /* 후원 혜택 창 QR 도 가림 (오픈 이벤트) */
html:not(.money-on) .fsp-scan { visibility: hidden; }
html:not(.money-on) .fsp-count { font-size: 0; } html:not(.money-on) .fsp-count::after { content: "후원은 이벤트 이후부터 열려요"; font-size: 12px; } /* QR 도 못 찍게 (오픈 이벤트) */
html:not(.money-on) #footer .fsc-qr { display: grid; place-items: center; } html:not(.money-on) #footer .fsc-qr::after { content: "OPEN\A EVENT"; white-space: pre; position: absolute; font-size: 11px; font-weight: 900; line-height: 1.3; text-align: center; color: #ff6e41; }
html:not(.money-on) #footer .fsc-qr { position: relative; }
html:not(.money-on) [data-donate], html:not(.money-on) .sc-kr-lp-opt[data-lp="donate"] { pointer-events: none !important; opacity: .45; filter: grayscale(1); }
.oe-note { display: none; }
html:not(.money-on) #footer .fsc-act { margin-top: 0; } /* 이벤트 문구가 버튼에 바로 붙게 */
#footer .fsc-text.fsc-oe { margin: auto -14px 14px 0; font-size: 11.5px; line-height: 1.45; letter-spacing: -.02em; white-space: nowrap; } /* 후원하기 버튼 바로 위로 */
#footer .fsc-text.fsc-oe b { font-size: 13px; font-weight: 900; letter-spacing: .08em; }
html:not(.money-on) .oe-note { display: block; }
html:not(.money-on) .oe-hide { display: none !important; }

/* 후원 카드 */
/* 후원 상자 : 티켓 */
#footer .footer-support-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 112px; border-radius: 16px; filter: drop-shadow(0 12px 22px rgba(255,110,65,.22)); box-sizing: border-box; }
#footer .fsc-hole { position: absolute; left: calc(100% - 123px); z-index: 3; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
#footer .fsc-hole-t { top: -11px; } #footer .fsc-hole-b { bottom: -11px; }
#footer .fsc-main { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 20px 20px 20px 24px; border-radius: 16px 0 0 16px; color: #fff; background: linear-gradient(150deg, #ff875a 0%, var(--orange) 50%, #f2542a 100%); }
#footer .fsc-main::after { content: ""; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
#footer .fsc-no { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.78); }
#footer .fsc-name { position: relative; margin-top: 8px; font-size: 20px; font-weight: 900; line-height: 1.3; }
#footer .fsc-text { position: relative; margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.92); }
#footer .fsc-act { position: relative; z-index: 1; margin-top: auto; display: flex; gap: 8px; }
#footer .fsc-act .fsc-go { flex: 1; min-width: 0; padding: 0 12px; }
/* 후원 (2026-11-22): 크티 하나 — 운영자 수동 확인 (최대 7일). Ko-fi 는 뺌 */
#footer .fsc-note { position: relative; margin: 6px 0 10px; font-size: 10.5px; white-space: nowrap; font-weight: 700; color: rgba(255,255,255,.85); }
/* 후원 혜택 보기 : 후원하기 옆 선물 아이콘 버튼 + "혜택" 이름표 (2026-11-13 G안) */
#footer .fsc-perk { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 9px; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; box-sizing: border-box; transition: background .15s ease, transform .2s ease; }
#footer .fsc-perk:hover { background: rgba(255,255,255,.32); transform: translateY(-2px); }
#footer .fsc-perk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#footer .fsc-perk i { position: absolute; top: -9px; right: -7px; height: 17px; padding: 0 6px; border-radius: 5px; background: #fff; color: #e85a2e; font-style: normal; font-size: 10px; font-weight: 900; line-height: 17px; white-space: nowrap; box-shadow: 0 2px 5px rgba(0,0,0,.15); }
#footer .fsc-go { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-radius: 9px; background: #fff; color: #e85a2e; font-size: 15px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
#footer .fsc-go:hover { background: #fff5f0; transform: translateY(-2px); }
#footer .fsc-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-left: 2px dashed #ffb08f; border-radius: 0 16px 16px 0; background: #fff4ee; }
#footer .fsc-qr { width: 80px; height: 80px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(255,110,65,.15); box-sizing: border-box; }
#footer .fsc-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
#footer .fsc-scan { font-size: 10px; font-weight: 900; letter-spacing: .2em; color: #e85a2e; }
#footer .fsc-bars { width: 70px; height: 16px; opacity: .55; background: repeating-linear-gradient(90deg, #e85a2e 0 2px, transparent 2px 4px, #e85a2e 4px 5px, transparent 5px 8px); }
@keyframes dnpF { from { opacity: 0; } }
@keyframes dnpU { from { transform: translateY(14px) scale(.98); opacity: 0; } }
@media (max-width: 640px) {
}
/* 후원 혜택 팝업 : 티켓 (왼쪽 본문 + 오른쪽 QR 조각) — 2026-11-13 새 디자인: 서비스 탭 + 혜택 카드 + 받는 방법 */
.fsc-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,20,24,.55); backdrop-filter: blur(3px); }
.fsc-modal[hidden] { display: none; }
.fsp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 232px; width: 100%; max-width: 880px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.3)); animation: fspIn .3s cubic-bezier(.2,.9,.3,1.15); }
@keyframes fspIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.fsp-hole { display: none; }
.fsp-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px 0 0 18px; background: #fff; -webkit-mask: radial-gradient(circle 14px at 100% 0, #0000 96%, #000 100%), radial-gradient(circle 14px at 100% 100%, #0000 96%, #000 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fsp-head { position: relative; overflow: hidden; padding: 26px 32px 58px; color: #fff; background:
  radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px,
  linear-gradient(135deg, #ff9466 0%, var(--orange) 42%, #e9481f 100%); }
.fsp-head::after { content: ""; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.34), transparent 68%); }
.fsp-head::before { content: ""; position: absolute; right: 26px; bottom: 18px; width: 92px; height: 92px; opacity: .14; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M5 12v9h14v-9'/%3E%3Cpath d='M12 8S10.5 3.5 8 4.5 9 8 12 8zM12 8s1.5-4.5 4-3.5S15 8 12 8z'/%3E%3C/svg%3E"); }
.fsp-no { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.82); }
.fsp-no b { font-size: 15px; letter-spacing: .12em; color: #fff; }
.fsp-head h3 { position: relative; z-index: 1; margin: 12px 0 0; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.fsp-head p { position: relative; z-index: 1; margin: 6px 0 0; max-width: 440px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.94); }
.fsp-body { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 0 32px 26px; }
/* 서비스 탭 : 머리띠 아래에 걸쳐 놓인 흰 막대 */
.fsp-tabs { position: relative; z-index: 2; display: flex; gap: 4px; margin: -26px 0 18px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(233,72,31,.14), 0 0 0 1px rgba(0,0,0,.04); overflow-x: auto; scrollbar-width: none; }
.fsp-tabs::-webkit-scrollbar { display: none; }
.fsp-tabs[hidden] { display: none; }
.fsp-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #8a8f98; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.fsp-tab:hover { color: var(--text); background: #f7f7f8; }
.fsp-tab.on { background: #fff3ee; color: #e2511f; }
.fsp-tab img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.fsp-tab em { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #eef0f2; color: #8a8f98; font-style: normal; font-size: 10.5px; font-weight: 900; line-height: 18px; text-align: center; box-sizing: border-box; }
.fsp-tab.on em { background: var(--orange); color: #fff; }
.fsp-body.no-tabs { padding-top: 24px; }
/* 혜택 카드 2열 */
.fsp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; animation: fspFade .22s ease; }
@keyframes fspFade { from { opacity: 0; transform: translateY(4px); } }
.fsp-card { position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 15px 15px 15px 14px; border: 1px solid #f0e7e2; border-radius: 12px; background: linear-gradient(180deg, #fff, #fffbf9); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fsp-card:hover { border-color: #ffc6ae; box-shadow: 0 8px 18px rgba(255,110,65,.1); transform: translateY(-1px); }
.fsp-card:only-child, .fsp-card.wide { grid-column: 1 / -1; }
.fsp-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #fff1ea; overflow: hidden; font-size: 22px; line-height: 1; }
.fsp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fsp-ico img { width: 100%; height: 100%; object-fit: contain; }
.fsp-ico.img { background: #fff; box-shadow: inset 0 0 0 1px #f0e7e2; }
.fsp-card b { display: block; font-size: 14.5px; font-weight: 900; line-height: 1.35; color: var(--text); }
.fsp-card small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); word-break: keep-all; }
.fsp-card small strong { color: #e2511f; font-weight: 800; }
.fsp-tag { display: inline-block; margin-top: 7px; padding: 2px 8px; border-radius: 5px; background: #fff1ea; font-style: normal; font-size: 11.5px; font-weight: 800; color: #e2511f; }
.fsp-empty { grid-column: 1 / -1; padding: 26px 0; border: 1px dashed #eadbd3; border-radius: 12px; font-size: 13px; color: var(--text-dim); text-align: center; }
/* 받는 방법 : 이어진 단계 */
.fsp-how h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: #b0b4bb; }
.fsp-steps { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: fsp; }
.fsp-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-dim); word-break: keep-all; }
.fsp-steps li::before { counter-increment: fsp; content: counter(fsp); position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 4px #fff; }
.fsp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 30px; right: -6px; top: 12px; border-top: 2px dashed #ffc6ae; }
.fsp-steps b, .fsp-steps strong { color: #e2511f; font-weight: 800; }
.fsp-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 22px; border-radius: 0 18px 18px 0; border-left: 2px dashed #ffb08f; background: linear-gradient(180deg, #fff8f4, #ffece2); -webkit-mask: radial-gradient(circle 14px at 0 0, #0000 96%, #000 100%), radial-gradient(circle 14px at 0 100%, #0000 96%, #000 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fsp-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 7px; background: rgba(0,0,0,.05); color: var(--text-dim); font-size: 15px; cursor: pointer; }
.fsp-x:hover { background: rgba(0,0,0,.09); color: var(--text); }
.fsp-qr { width: 150px; height: 150px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(255,110,65,.2); box-sizing: border-box; }
.fsp-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fsp-scan { font-size: 10.5px; font-weight: 900; letter-spacing: .2em; color: #e85a2e; }
.fsp-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 14.5px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 18px rgba(255,110,65,.3); transition: background .15s ease, transform .15s ease; }
.fsp-go:hover { background: var(--orange-deep); transform: translateY(-1px); }
.fsp-go { flex-direction: column; gap: 1px; height: auto; min-height: 46px; padding: 6px 8px; line-height: 1.25; }
.fsp-go small { font-size: 10.5px; font-weight: 700; opacity: .9; }
.fsp-go2 { margin-top: -2px; background: #fff; color: var(--orange-deep); border: 1.5px solid var(--orange); box-shadow: none; }
.fsp-go2:hover { background: #fff5f0; }
.fsp-count { min-height: 16px; font-size: 11.5px; font-weight: 700; color: #b9785f; text-align: center; }
.fsp-bars { width: 110px; height: 18px; opacity: .45; background: repeating-linear-gradient(90deg, #e85a2e 0 2px, transparent 2px 4px, #e85a2e 4px 5px, transparent 5px 8px); }
@media screen and (max-width: 760px) {
  .fsp { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
  .fsp-main { border-radius: 18px 18px 0 0; -webkit-mask: none; mask: none; overflow: visible; }
  .fsp-head { padding: 22px 20px 52px; border-radius: 18px 18px 0 0; }
  .fsp-head h3 { font-size: 23px; }
  .fsp-no { padding-right: 44px; }
  .fsp-body { padding: 0 16px 20px; }
  .fsp-list { grid-template-columns: 1fr; max-height: none; }
  .fsp-steps { grid-auto-flow: row; }
  .fsp-steps li { flex-direction: row; align-items: center; }
  .fsp-steps li::after { display: none; }
  .fsp-stub { border-left: 0; border-top: 2px dashed #ffb08f; border-radius: 0 0 18px 18px; padding: 22px; -webkit-mask: none; mask: none; position: static; }
  .fsp-x { z-index: 4; background: rgba(255,255,255,.22); color: #fff; }
}

/* 최근 업데이트 된 음악 카드 */
#footer .footer-recent-card {
  display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; min-width: 0;
  background: linear-gradient(160deg, #fffdf9 0%, #fff8f0 100%); border: 1px solid #f1e3cf;
  border-radius: 16px; box-sizing: border-box;
}
#footer .frc-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #ecddc0; }
#footer .frc-title { font-size: 15.5px; font-weight: 800; color: var(--orange); letter-spacing: -0.2px; }
/* 곡이 1~4개 어느 때든 칸 높이(38px)와 2줄 자리(84px)를 고정 → 적을 때 늘어나지 않음 */
#footer .frc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 38px; align-content: start; gap: 8px 10px; margin-bottom: 10px; height: 84px; }
#footer .frc-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; min-width: 0; overflow: hidden; /* 제목이 길어도 칸이 안 늘어나고 … (2026-11-23) */
  background: #fff; border: 1px solid #ecddc0; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
#footer .frc-item:hover { border-color: var(--orange); }
#footer .frc-item:hover .frc-item-title { color: var(--orange-deep); }
#footer .frc-artist-box {
  flex: 0 0 auto; max-width: 150px; padding: 3px 7px; border-radius: 6px; /* (2026-11-23) '메이플스토리 OST'까지 보이게 84 → 150 */
  background: var(--orange-soft); color: var(--orange-deep); font-size: 10px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#footer .frc-item > .sc-flag { flex: none; margin: 0 -2px 0 0; } /* 가수명 칸 왼쪽에 따로 (2026-11-24) */
#footer .frc-item-title {
  min-width: 0; font-size: 12px; font-weight: 700; color: #6b5a2a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#footer .frc-empty { grid-column: 1 / -1; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: #b0a488; padding: 0; } /* 비었을 때 문구를 칸 가운데로 */
#footer .frc-page-nav { display: flex; gap: 6px; justify-content: center; align-items: center; margin-bottom: 6px; }
#footer .frc-page-arrow {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid #e0c87a; background: #fff; color: #8a6d23;
  font-size: 10px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; padding: 0; line-height: 1;
}
#footer .frc-page-arrow:hover { background: #f5e4a0; }
#footer .frc-page-arrow[disabled] { opacity: 0.3; pointer-events: none; }
#footer .frc-page-num { font-size: 11px; font-weight: 700; color: #8a6d23; min-width: 14px; text-align: center; }
#footer .fdc-refresh { margin: 0 0 6px 0; font-size: 11px; font-weight: 600; color: #b0b0b0; text-align: center; }
#footer .fdc-signoff { margin: 0; padding-top: 12px; border-top: 1px solid #ecddc0; font-size: 12.5px; font-weight: 800; color: var(--orange); text-align: center; line-height: 1.6; }

/* 네비게이션 카드 */
#footer .footer-nav-card {
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px 24px;
  background: #fafbfc; border: 1px solid #eef1f4; border-radius: 16px; box-sizing: border-box; gap: 12px;
}
#footer .footer-nav-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; }
#footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
#footer .fb-logo-img { height: 32px; width: auto; object-fit: contain; display: block; }
#footer .fb-desc { font-size: 12px; font-weight: 600; color: #94a3b8; }
#footer .box-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; flex-shrink: 0; }
#footer .footer-nav-top > .box-buttons { margin-top: 2.5px; } /* 버튼 가운데 = SINCERELY 로고 글자줄 가운데 (리뷰·클라우드와 같게) */
#footer .fdc-email-wrap { position: relative; display: inline-block; }
#footer .fdc-email-popup {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
  border: 1px solid #ffd2bd; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 50; min-width: 220px; white-space: nowrap;
}
#footer .fdc-email-wrap.open .fdc-email-popup { display: block; }
#footer .fdc-email-addr-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px; }
#footer .fdc-email-addr { font-size: 13px; font-weight: 700; color: #1a1a1a; }
#footer .fdc-email-copy-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 3px 9px;
  font-size: 11px; font-weight: 700; color: var(--orange); background: #fff5f2; border: 1px solid #ffd2bd;
  border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all .15s ease;
}
#footer .fdc-email-copy-btn:hover { background: #ffe4d6; }
#footer .fdc-email-copy-btn.copied { background: var(--orange); color: #fff; border-color: var(--orange); }
#footer .fdc-email-go {
  display: flex; width: 100%; justify-content: center; padding: 8px 14px; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: background .15s; box-sizing: border-box;
}
#footer .fdc-email-go:hover { background: var(--orange-deep); }
#footer .fdc-email-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 17px; min-height: 34px; background: #fff;
  border: 1px solid var(--orange); border-radius: 18px; font-size: 12px; font-weight: 700; color: var(--orange);
  text-decoration: none; transition: all .2s ease; cursor: pointer; white-space: nowrap; box-sizing: border-box;
}
#footer .fdc-email-btn:hover { background: #fff5f2; }
html.dark .dk-txt { color: #000 !important; } html.dark ::placeholder { color: #262626 !important; opacity: 1; } /* 입력칸 안내 글자도 흰색(살짝 덜 밝게) */ /* 반전되면 흰색 */
html.dark .top-song-1 .top-song-video { box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 0 0 5px rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.5); } /* 신설리's PICK: 어두운 썸네일이 다크 바탕에 묻히지 않게 밝은 테두리 */
html.dark .dk-wbtn:not(.on):not(.active) { background-color: #fff; }
/* 흰 바탕 버튼은 따로 필터(층)를 만들지 않고 "반전되면 원래 색이 되는 색"을 직접 칠함 → 화면 배율(125% 등)에서 테두리 위아래 두께가 달라지던 것 없음.
   #000 → 흰색, #f37048 → #ff6e41, #bdcadc → #475569, #32170d → #ffe1d5 */
html.dark :is(.dk-wbtn, .gnb-premium-quick-btn, .fdc-email-btn, .top-song-rank, .gtc-hero .gtb-cta):not(.on):not(.active) { filter: none !important; background: #000 !important; border-color: #f37048 !important; color: #f37048 !important; }
html.dark .gtc-hero .gtb-cta { box-shadow: inset 0 0 0 1.5px #f37048 !important; }
html.dark .gnb-premium-quick-btn:not(.on):not(.active):not(:hover) { border-color: #171c23 !important; } html.dark .gnb-premium-quick-btn .quick-btn-text { color: #bdcadc !important; }
html.dark .gnb-premium-quick-btn:hover { border-color: #f37048 !important; } html.dark .gnb-premium-quick-btn:hover .quick-btn-text { color: #f37048 !important; }
/* 회원 목록 내 카드: 필터 없이 반전 후 원래 색이 되는 색 (#000→흰, #fff→#1f1f23, #75757c→#9a9aa2, #88888f→#8a8a92, #101012→#f1f1f4) */
html.dark .mb-card.is-me { background: #000; border-color: #fff; color: #fff; border-bottom-width: 3px; } /* 다크: 아래 테두리가 얇아 보여서 +1px */
html.dark .mb-card.is-me.is-op { border-color: #f37048; box-shadow: none; }
html.dark .mb-card.is-me .mb-bn:not([style*="url"]) { background-color: #101012; }
html.dark .mb-card.is-me .mb-nm { color: #fff; } html.dark .mb-card.is-me .mb-id { color: #75757c; }
html.dark .mb-card.is-me .mb-st { color: #88888f; } html.dark .mb-card.is-me .mb-st b { color: #fff; }
html.dark .mb-card.is-me .mb-av { border-color: #000; } html.dark .mb-card.is-me .mb-av.dk-keep { border-color: #fff; }
html.dark .mb-card.is-me .mb-tag.me { background: #fff; color: #000; } html.dark .mb-card.is-me .mb-tag.op { background: #f37048; color: #000; }
/* 번역 영상: 선택 탭·YouTube 버튼은 흰 바탕 (반전 후 색으로 직접) */
html.dark .vl-tabs button { transition: none !important; } html.dark .vl-tabs button:not(.on) { color: #000 !important; } /* 글자: 처음부터 흰색 (JS 가 나중에 바꾸면 검→흰 깜빡임) */ html.dark .vl-tabs button:not(.on):hover { background: rgba(0,0,0,.12) !important; } /* 다크: 누를 때 검게 됐다가 하얘지는 깜빡임 없앰 */
html.dark .vl-tabs button.on { background: #000 !important; color: #ff8c66 !important; box-shadow: 0 0 0 1px #3a1d12 !important; }
html.dark .vl-yt { background: #000 !important; border-color: #141414 !important; color: #fff !important; } html.dark .vl-yt small { color: #88888f !important; }
html.dark .vl-yt:hover { border-color: #f37048 !important; color: #f37048 !important; }
html.dark .mb-tab.on { background: #000 !important; border-color: #000 !important; color: #fff !important; } /* 회원 목록 선택 탭: 다크에선 흰 바탕 + 검정 글자 */
html.dark .top-song-rank::before { background: #f37048; box-shadow: 0 0 0 3px #32170d; } /* 원래 색 버튼 가장자리에 생기던 흰 띠 → 바탕색 링으로 덮음 (반전 필터 가장자리 계산 문제) */ /* 다크 모드: 테두리를 안쪽 그림자로 → 바깥에 번지던 연한 띠 없앰 */
#footer .fdc-inquiry-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; min-height: 34px; background: #FFE300;
  border: 1px solid #111; border-radius: 18px; font-size: 12px; font-weight: 700; color: #111;
  text-decoration: none; transition: all .2s ease; cursor: pointer; white-space: nowrap; box-sizing: border-box;
}
#footer .fdc-inquiry-btn:hover { background: #ffd700; }
#footer .fdc-inquiry-icon { width: 14px; height: 14px; object-fit: contain; display: block; flex-shrink: 0; }
#footer .footer-nav-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 12px; border-top: 1px solid #eef1f4;
}
#footer .box-policy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#footer .box-policy .link-footer { font-size: 12.5px; font-weight: 700; color: #64748b; text-decoration: none; position: relative; }
#footer .box-policy .link-footer:hover { color: var(--orange); }
#footer .box-policy .link-footer.current { color: var(--orange); cursor: default; pointer-events: none; font-weight: 800; }
#footer .box-meta-text { text-align: right; line-height: 1.3; }
/* 프로젝트 목록: 2열 목록 (2026-11-24, 시안 A) — 늘어나도 줄만 추가 */
#footer .fb-no { font-size: 12.5px; font-weight: 800; color: #475569; }
#footer .fb-sub { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
#footer .fb-app { width: 38px; height: 38px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.08); }
#footer .fb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#footer .footer-nav-card { justify-content: flex-start; }
#footer .footer-nav-bottom { flex-direction: column; align-items: stretch; }
#footer .box-policy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; width: 100%; }
#footer .box-policy .link-footer { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border-radius: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#footer .box-policy .link-footer:hover { background: #f1f4f7; }
#footer .box-policy .link-footer b { font-weight: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#footer .pj-ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 7px; background: #fff; border: 1px solid #e6eaef; color: #94a3b8; transition: all .15s; }
#footer .pj-ic.pj-img { background: #fff; overflow: hidden; padding: 0; width: auto; min-width: 24px; max-width: 84px; }
/* 사진은 자르지 않고 비율 그대로 (가로로 긴 배너면 칸이 넓어짐) */
#footer .pj-ic img { height: 100%; width: auto; max-width: 84px; object-fit: contain; display: block; }
#footer .pj-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#footer .box-policy .link-footer:hover .pj-ic { color: var(--orange); border-color: #ffd2bd; }
#footer .box-policy .link-footer.current .pj-ic { background: var(--orange); border-color: var(--orange); color: #fff; }
#footer .box-policy .link-footer.current { background: #fff3ee; }
#footer .footer-nav-bottom .box-meta-text { text-align: left; padding-top: 10px; border-top: 1px solid #eef1f4; }
#footer .text-info { font-size: 11.5px; font-weight: 600; color: #b4b8c2; margin: 0; }
#footer .text-info .link-privacy { color: #8a8f99; font-weight: 800; text-decoration: none; }
#footer .text-info .link-privacy:hover { color: var(--orange); }
#footer address { font-size: 11px; font-style: normal; color: #cbd0d8; margin: 1px 0 0 0; }

@media screen and (max-width: 1300px) {
  #footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #footer .footer-nav-card { grid-column: 1 / -1; }
}
@media screen and (max-width: 700px) {
  #footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
  #footer .footer-nav-card { grid-column: auto; }
  #footer .inner-footer { padding: 24px 18px; }
  #footer .footer-nav-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  #footer .footer-nav-top > .box-buttons { margin-top: 0; }
  #footer .footer-nav-bottom { flex-direction: column; align-items: flex-start; }
  #footer .box-meta-text { text-align: left; }
}


/* ---------- 반응형 ---------- */
@media screen and (max-width: 1600px) {
  .post-grid { grid-template-columns: repeat(6, 1fr); }
}

@media screen and (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(4, 1fr); }
  .related-box ul { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 767px) {
  #header h1.logo a { height: 32px; }
  #header h1.logo a img { max-width: 140px; }
  #header .inner { padding: 10px 16px; }

  .mega-nav-top { padding: 12px 14px; gap: 12px; }
  .mega-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .mega-tab-btn { white-space: nowrap; padding: 9px 14px; }
  .live-search input { width: 140px; }
  .live-search-results { width: 220px; }

  .content-wrap { padding: 20px 16px 40px; gap: 24px; }
  .featured-pick, .featured-pick-slides { min-height: 380px; }
  .featured-pick-inner { padding: 24px; max-width: 100%; }
  .featured-pick-title { font-size: 24px; }
  .featured-pick-dots { left: 24px; }
  .featured-slide-rank { right: 24px; top: 20px; }

  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .related-box ul { grid-template-columns: repeat(2, 1fr); }

}

@media screen and (max-width: 767px) {
  #header h1.logo a { height: 32px; }
  #header h1.logo a img { max-width: 140px; }
  #header .inner { padding: 10px 16px; }
  #header .inner { justify-content: flex-start; }
  #header h1.logo a:not(:has(img)) { font-size: 16px; padding: 8px 0; }
  .custom-gnb-wrapper { display: none; }
}
.post-title { margin-top: 28px; } .post-title .post-meta { margin-top: 8px; font-size: 13px; color: var(--text-dim); } .post-title .post-meta a:hover { color: var(--orange-deep); }

/* ===================== 메이플 백과사전 전용 (2026-11-27) ===================== */
/* 글 목록: 메이플 글은 가로 썸네일 → 4칸 16:9 (리뷰는 포스터 8칸) */
.post-grid.mp-list { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.post-grid.mp-list .post-card .thum { aspect-ratio: 16 / 9; }
.post-grid.mp-list .post-card .title { font-size: 15px; }
.post-card .cat { display: block; font-size: 12px; font-weight: 700; color: var(--orange-deep); margin-bottom: 4px; }
.post-card .date { display: block; font-size: 11.5px; color: var(--text-dim); margin-top: 4px; }
.home-list-head { margin-top: 40px; }
/* 하위 카테고리 칩 */
.mp-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.mp-subcats a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #475569; background: #fff; transition: all .15s; }
.mp-subcats a:hover, .mp-subcats a.on { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
.mp-crumb { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.mp-crumb a:hover { color: var(--orange); }
/* 검색 결과 (티스토리 검색 대신) */
.custom-search-box { position: relative; }
.mp-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #f1ddd5; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.1); padding: 6px; z-index: 1200; text-align: left; max-height: 420px; overflow-y: auto; }
.mp-sr { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.mp-sr:hover { background: var(--orange-soft); }
.mp-sr img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; background: #f5f5f5; }
.mp-sr span { display: flex; flex-direction: column; min-width: 0; }
.mp-sr b { font-size: 14px; font-weight: 700; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-sr small { font-size: 12px; color: var(--text-dim); }
.mp-sr-none { padding: 18px; text-align: center; font-size: 13px; color: var(--text-dim); }
/* 글 아래 계산기 바로가기 (티스토리 땐 화면 오른쪽 떠 있는 상자 → 좌우 광고 자리와 겹쳐서 글 아래로) */
.mp-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 24px; padding: 14px 18px; border: 1px solid #f1ddd5; border-radius: 14px; background: linear-gradient(145deg,#fff 0%,#fdf6f3 100%); }
.mp-calc b { font-size: 14px; font-weight: 800; color: var(--orange); margin-right: 6px; }
.mp-calc a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #fde3d8; font-size: 13px; font-weight: 700; color: #475569; }
.mp-calc a:hover { border-color: var(--orange); color: var(--orange); }
/* 글 본문: 티스토리 글 서식(style.css #article-view)이 그대로 먹게, 신설리 기본 글 서식은 약하게 */
.entry-content.article-view { font-size: 16px; }
.entry-content.article-view a { text-decoration: none; }
/* 메인 배너: 메뉴줄 바로 아래 꽉 채움 */
#main-banner-link { margin-top: 0; }

/* 메인 화면: 원래 스킨은 위로 -30px 끌어올렸는데, 여기선 검색창 아래 추천 키워드와 겹쳐서 0 */
#main-custom-layout { margin-top: 18px !important; }
/* 글 본문: 원래 스킨처럼 가운데 · 1100px */
.entry-content.article-view { max-width: 1100px; margin: 0 auto; text-align: center; }
@media (max-width: 767px) {
  /* 휴대폰 메뉴줄: 햄버거만 → 누르면 전체 카테고리 (리뷰 스킨은 휴대폰에서 메뉴줄을 숨겼음) */
  .custom-gnb-wrapper { display: block !important; height: 48px !important; margin-top: 0 !important; border-top: 1px solid #eef0f3 !important; }
  .gnb-inner-container { max-width: 100% !important; padding: 0 16px !important; }
  .custom-gnb-wrapper .gnb-pc-nav, .custom-gnb-wrapper .gnb-inner-container > .gnb-right-section { display: none !important; }
  .custom-gnb-wrapper .gnb-hamburger-btn { display: flex !important; margin-right: 10px !important; }
  .gnb-left-section::after { content: '전체 카테고리'; font-size: 14px; font-weight: 800; color: var(--orange); }
  .custom-gnb-wrapper.menu-active .gnb-left-section::after { content: ''; }
  .custom-mega-menu-panel.open { max-height: none !important; padding-bottom: 56px !important; }
  .mega-inner-wrapper { flex-wrap: wrap !important; padding: 52px 16px 0 !important; gap: 0 16px; max-width: 100% !important; }
  .mega-column { width: calc(50% - 8px) !important; flex: 0 0 calc(50% - 8px) !important; margin: 0 0 4px !important; }
  .mega-column.mega-shortcut-column { width: 100% !important; flex-basis: 100% !important; margin: 8px 0 0 !important; }
  .mega-title { height: 44px !important; margin-bottom: 8px !important; }
  .mega-title a { font-size: 15px !important; }
  .mega-column .mega-depth2-ul-mega li { margin-bottom: 4px !important; }
  .mega-column .mega-depth2-ul-mega li a { font-size: 13.5px !important; }
  .mega-contact-link { right: 16px !important; }
  /* 메인 바로가기 · 이벤트 */
  .custom-grid.grid-7 { flex-wrap: wrap !important; }
  .grid-7 a, .grid-7 .c-btn { width: calc(50% - 6px) !important; font-size: 12.5px !important; height: 44px !important; }
  .event-card, .grid-5 .c-item { width: 100% !important; }
  .event-meta-box { flex-wrap: wrap !important; }
  #main-banner-title { font-size: 22px !important; }
  .custom-search-container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 1100px) { .post-grid.mp-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid.mp-list { grid-template-columns: 1fr; } }

  