/* ==========================================================================
   슬롯매니아 (slotmania.slotnarasite.win) 전용 스타일시트
   팔레트: P03 신문지 (밝음) / 글꼴: F03 Nanum Myeongjo 800 + 시스템 고딕
   접두어: mn- (공통 배너·랩·표 클래스 .wrap .ad-slot .ad .tbl-wrap .fig 유지)
   ========================================================================== */

:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --tint: #ede6d8;
  --ink: #1b1b1b;
  --muted: #4e4840;
  --brand: #8a1c1c;
  --brand-dark: #631111;
  --brass: #9c6b1e;
  --brass-ink: #6e4910;
  --ok-bg: #eef5f0;
  --ok-ink: #1a5332;
  --ok-line: #a7cbb4;
  --warn-bg: #fbf0ee;
  --warn-ink: #8a1c1c;
  --warn-line: #e2b4b0;
  --line: #d6ccbc;
  --line-dark: #2a2622;
  --font-serif: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
  --font-sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
button, input, select { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.mn-narrow { max-width: 820px; }
.mn-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mn-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.mn-skip:focus { left: 12px; }

/* ---- 공통 배너 자리 스타일 ---- */
.ad-slot {
  padding: 26px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ad-slot .wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ad-slot.ad-grid .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.ad-top .ad-title {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 10px;
  padding-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  border-bottom: 3px double var(--brand);
}
.ad { display: block; max-width: 100%; text-decoration: none; }
.ad img { margin: 0 auto; border-radius: 3px; }
.tbl-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
}
.fig { margin: 28px 0; }
.fig img { width: 100%; border: 1px solid var(--line); }
.fig figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---- 헤더 (신문·매거진 마스트헤드형) ---- */
.mn-hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.96);
  backdrop-filter: blur(6px);
  border-top: 4px solid var(--brand);
  border-bottom: 3px double var(--line-dark);
}
.mn-hd-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.mn-brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink); min-height: 44px;
}
.mn-brand:hover { color: var(--ink); }
.mn-mark { flex-shrink: 0; }
.mn-mark-bg { fill: #8a1c1c; }
.mn-mark-ring { stroke: #e0b354; opacity: 0.72; }
.mn-mark-cup { fill: #f6f1e7; }
.mn-mark-ear { stroke: #f6f1e7; }
.mn-mark-base { fill: #e0b354; }
.mn-mark-star { fill: #8a1c1c; }
.mn-brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.mn-brand-ko {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}
.mn-brand-en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; color: var(--brand); font-weight: 700;
}
.mn-nav { display: flex; align-items: center; gap: 4px; }
.mn-nav a {
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600;
  border-bottom: 2px solid transparent; transition: border-color 0.15s, color 0.15s;
}
.mn-nav a:hover, .mn-nav a:focus-visible {
  color: var(--brand); border-bottom-color: var(--brand);
}
.mn-burger {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line-dark); cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.mn-burger span { display: block; height: 2px; background: var(--ink); width: 100%; }

/* ---- 첫 화면 H9 카드 덱 히어로 ---- */
.mn-hero {
  padding: 46px 0 54px;
  background: linear-gradient(180deg, var(--bg) 0%, #f1eadc 100%);
  border-bottom: 1px solid var(--line);
}
.mn-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
}
.mn-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--brand); text-transform: uppercase;
}
.mn-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.3vw, 39px);
  font-weight: 800; line-height: 1.3; letter-spacing: -0.02em;
  color: var(--ink);
  word-break: keep-all;
}
.mn-hero-sub {
  margin: 0 0 24px;
  font-size: 16.5px; color: var(--muted); line-height: 1.72;
  word-break: keep-all;
}
.mn-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.mn-cta-pri, .mn-cta-sec {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 22px; font-size: 15px; font-weight: 700;
  text-decoration: none; border-radius: 2px; transition: background 0.15s, color 0.15s;
}
.mn-cta-pri {
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
}
.mn-cta-pri:hover { background: var(--brand-dark); color: #fff; }
.mn-cta-sec {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-dark);
}
.mn-cta-sec:hover { background: var(--ink); color: #fff; }

.mn-hero-meta {
  margin: 0; padding: 16px 0 0;
  border-top: 3px double var(--line-dark);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.mn-meta-cell dt {
  font-family: var(--font-serif); font-size: 16px; font-weight: 800; color: var(--ink);
  margin-bottom: 3px;
}
.mn-meta-cell dd { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* H9 3장 기울어진 에디토리얼 카드 덱 */
.mn-deck {
  position: relative;
  min-height: 410px;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 10px 76px;
}
.mn-deck-card {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  box-shadow: 5px 5px 0 rgba(27, 27, 27, 0.14);
}
.mn-deck-left, .mn-deck-right {
  position: absolute;
  width: 228px;
  padding: 13px 15px;
  z-index: 3;
}
.mn-deck-left {
  left: 0; top: 0;
  transform: rotate(-3.5deg);
  border-top: 4px solid var(--brand);
}
.mn-deck-right {
  right: 0; bottom: 0;
  transform: rotate(3.2deg);
  border-top: 4px solid var(--brass);
}
.mn-deck-tag {
  display: block; font-family: var(--font-mono); font-size: 10.5px;
  font-weight: 700; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 4px;
}
.mn-deck-stat {
  display: block; font-family: var(--font-mono); font-size: 16.5px;
  font-weight: 800; color: var(--ink); margin-bottom: 4px;
}
.mn-deck-ttl { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mn-deck-ln { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }

.mn-deck-center {
  position: relative; z-index: 2; margin: 0;
  width: 84%; max-width: 390px;
  padding: 10px 10px 12px;
  transform: rotate(-1deg);
  border: 2px solid var(--line-dark);
  box-shadow: 8px 8px 0 rgba(138, 28, 28, 0.2);
}
.mn-hero-pic {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 1px solid var(--line);
}
.mn-deck-center figcaption {
  margin-top: 9px; font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-align: left;
  padding-left: 2px;
}

/* ---- 공통 섹션 프레임 ---- */
.mn-sec { padding: 62px 0; border-bottom: 1px solid var(--line); }
.mn-sec-tint { background: var(--tint); }
.mn-sec-hd {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 3px double var(--line-dark);
}
.mn-sec-hd h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.7vw, 31px);
  font-weight: 800; line-height: 1.32; color: var(--ink);
  word-break: keep-all;
}
.mn-lead { margin: 0; font-size: 16px; color: var(--muted); max-width: 78ch; word-break: keep-all; }
.mn-subh {
  margin: 38px 0 16px;
  font-family: var(--font-serif); font-size: 21px; font-weight: 800;
  padding-left: 12px; border-left: 4px solid var(--brand);
}
.mn-footnote { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---- 섹션 1: 제작사 탭 + 인기·신규 리뷰 카드 ---- */
.mn-tabs-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.mn-tab {
  min-height: 44px; padding: 9px 18px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-dark); border-radius: 2px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mn-tab:hover { background: var(--tint); }
.mn-tab.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

.mn-studio-box {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  padding: 20px 22px; margin-bottom: 20px;
}
.mn-studio-sum { margin: 0 0 14px; font-size: 15.5px; color: var(--ink); }
.mn-traits {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.mn-traits li {
  padding: 5px 12px; background: var(--bg); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}

.mn-rev-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.mn-rev-card {
  background: var(--surface); border: 1px solid var(--line-dark);
  padding: 22px 24px;
  box-shadow: 4px 4px 0 rgba(27, 27, 27, 0.08);
  display: flex; flex-direction: column;
}
.mn-rev-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
}
.mn-badge {
  display: inline-block; padding: 3px 10px;
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.mn-rev-reel {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.mn-rev-card h3 {
  margin: 0 0 14px; font-family: var(--font-serif);
  font-size: 20px; font-weight: 800; line-height: 1.35; color: var(--ink);
}
.mn-rev-card h3 small {
  display: block; margin-top: 3px; font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.mn-rev-nums {
  margin: 0 0 16px; padding: 12px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.mn-rev-nums dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.mn-rev-nums dd {
  margin: 0; font-family: var(--font-mono); font-size: 16px;
  font-weight: 800; color: var(--ink);
}
.mn-rev-desc { margin: 0 0 14px; font-size: 15px; color: var(--ink); flex: 1; }
.mn-rev-pt {
  margin: 0; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--muted);
}
.mn-rev-pt strong { color: var(--brand); margin-right: 6px; }

/* ---- 섹션 2: 스펙 비교표 + 최대 배수 SVG 차트 ---- */
.mn-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mn-flt {
  min-height: 44px; padding: 8px 15px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-dark); border-radius: 2px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.mn-flt.is-on { background: var(--ink); color: #fff; }

.mn-spec-tbl, .mn-mtx-tbl {
  width: 100%; border-collapse: collapse; min-width: 680px;
  font-size: 14.5px;
}
.mn-spec-tbl th, .mn-spec-tbl td, .mn-mtx-tbl th, .mn-mtx-tbl td {
  padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.mn-spec-tbl thead th, .mn-mtx-tbl thead th {
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px;
  white-space: nowrap;
}
.mn-spec-tbl tbody th, .mn-mtx-tbl tbody th { font-weight: 700; color: var(--ink); }
.mn-spec-tbl tbody tr:nth-child(even), .mn-mtx-tbl tbody tr:nth-child(even) {
  background: #faf6ee;
}
.mn-num { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.mn-num-hi { color: var(--brand); }
.mn-tier {
  display: inline-block; padding: 3px 9px; font-size: 12.5px; font-weight: 700;
  border-radius: 2px; white-space: nowrap;
}
.mn-tier-high { background: #e8efe9; color: #1a5332; }
.mn-tier-vhigh { background: #f8ebd6; color: #6e4910; }
.mn-tier-extreme { background: #f6dddd; color: #8a1c1c; }

.mn-chart-box {
  margin-top: 28px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line-dark);
}
.mn-chart-box h3 {
  margin: 0 0 8px; font-family: var(--font-serif); font-size: 19px; font-weight: 800;
}
.mn-chart-desc { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.mn-bars { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mn-bars-svg { width: 100%; min-width: 600px; height: auto; display: block; }
.mn-svg-lbl { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: #1b1b1b; }
.mn-svg-track { fill: #ede6d8; }
.mn-bar-hi { fill: #556b5d; }
.mn-bar-vh { fill: #9c6b1e; }
.mn-bar-ext { fill: #8a1c1c; }
.mn-svg-val { font-family: var(--font-mono); font-size: 13px; font-weight: 700; fill: #1b1b1b; }

/* ---- 섹션 3: 메커니즘 + 용어 검색 사전 ---- */
.mn-gloss-wrap {
  margin-top: 34px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line-dark);
}
.mn-gloss-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.mn-gloss-top h3 {
  margin: 0 0 6px; font-family: var(--font-serif); font-size: 20px; font-weight: 800;
}
.mn-gloss-hint { margin: 0; font-size: 14px; color: var(--muted); }
.mn-search-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mn-search-in {
  min-height: 44px; width: 270px; max-width: 100%; padding: 8px 14px;
  background: var(--bg); border: 1px solid var(--line-dark); border-radius: 2px;
  font-size: 15px;
}
.mn-search-cnt {
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; color: var(--brand);
}
.mn-tag-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.mn-tag-btn {
  min-height: 44px; padding: 6px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.mn-tag-btn.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

.mn-gloss-grid {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.mn-gloss-item {
  padding: 16px 18px; background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
}
.mn-gloss-item dt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 8px;
}
.mn-term-name { font-family: var(--font-serif); font-size: 16.5px; font-weight: 800; color: var(--ink); }
.mn-term-tag {
  padding: 2px 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--brass-ink);
}
.mn-gloss-item dd { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.mn-gloss-empty {
  margin: 18px 0 0; padding: 20px; text-align: center;
  background: var(--bg); border: 1px dashed var(--line-dark); color: var(--muted);
}

/* ---- 섹션 4: 자금 배분 시뮬레이터 + 정품 확인 + 모드 비교 ---- */
.mn-sim-card {
  background: var(--surface); border: 1px solid var(--line-dark);
  padding: 26px; box-shadow: 4px 4px 0 rgba(27, 27, 27, 0.08);
}
.mn-sim-head h3 {
  margin: 0 0 6px; font-family: var(--font-serif); font-size: 20px; font-weight: 800;
}
.mn-sim-head p { margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.mn-sim-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px; align-items: start;
}
.mn-sim-inputs { display: flex; flex-direction: column; gap: 14px; }
.mn-field label {
  display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink);
}
.mn-field input, .mn-field select {
  width: 100%; min-height: 44px; padding: 9px 12px;
  background: var(--bg); border: 1px solid var(--line-dark); border-radius: 2px;
  font-size: 15px;
}
.mn-sim-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mn-out-box {
  padding: 16px; background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}
.mn-out-box span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.mn-out-box strong {
  font-family: var(--font-mono); font-size: 18px; font-weight: 800; color: var(--ink);
  word-break: keep-all;
}

.mn-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mn-duo-col { padding: 22px 24px; border: 1px solid var(--line); }
.mn-duo-ok { background: var(--ok-bg); border-color: var(--ok-line); border-top: 4px solid var(--ok-ink); }
.mn-duo-warn { background: var(--warn-bg); border-color: var(--warn-line); border-top: 4px solid var(--warn-ink); }
.mn-duo-ttl {
  margin: 0 0 12px; font-family: var(--font-serif); font-size: 18px; font-weight: 800;
}
.mn-duo-ok .mn-duo-ttl { color: var(--ok-ink); }
.mn-duo-warn .mn-duo-ttl { color: var(--warn-ink); }
.mn-duo-col ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }

.mn-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mn-mode-card {
  background: var(--surface); border: 1px solid var(--line-dark); padding: 20px 22px;
}
.mn-mode-ttl {
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--brand);
  font-family: var(--font-serif); font-size: 18px; font-weight: 800;
}
.mn-mode-card dl { margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.mn-mode-card dt { font-size: 12.5px; font-weight: 700; color: var(--brass-ink); }
.mn-mode-card dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.mn-mode-role {
  margin: 0; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--muted);
}

/* ---- 섹션 5: 매거진 글 카드 ---- */
.mn-reads-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mn-read-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}
.mn-read-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 rgba(138, 28, 28, 0.18);
  color: inherit;
}
.mn-read-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.mn-read-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mn-read-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.mn-read-cat {
  display: inline-block; align-self: flex-start; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--brand); letter-spacing: 0.04em;
}
.mn-read-body h3 {
  margin: 0 0 10px; font-family: var(--font-serif); font-size: 19px; font-weight: 800;
  line-height: 1.38; color: var(--ink); word-break: keep-all;
}
.mn-read-body p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); flex: 1; }
.mn-read-go { font-size: 14px; font-weight: 700; color: var(--brand); }

/* ---- 섹션 6: FAQ ---- */
.mn-faq-list { display: flex; flex-direction: column; gap: 10px; }
.mn-faq-item {
  background: var(--surface); border: 1px solid var(--line-dark);
}
.mn-faq-item summary {
  padding: 16px 20px; min-height: 48px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 16px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.mn-faq-item summary::-webkit-details-marker { display: none; }
.mn-faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 20px;
  font-weight: 700; color: var(--brand); flex-shrink: 0;
}
.mn-faq-item[open] summary::after { content: "−"; }
.mn-faq-item[open] summary { border-bottom: 1px solid var(--line); }
.mn-faq-item p { margin: 0; padding: 16px 20px; font-size: 15px; color: var(--muted); }

/* ---- 하위 글 아티클 화면 (page.php) ---- */
.mn-art-wrap { max-width: 820px; padding-top: 32px; padding-bottom: 52px; }
.mn-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 20px;
}
.mn-crumbs a { text-decoration: none; color: var(--muted); }
.mn-crumbs a:hover { color: var(--brand); text-decoration: underline; }
.mn-art-hd { padding-bottom: 20px; border-bottom: 3px double var(--line-dark); margin-bottom: 24px; }
.mn-art-hd h1 {
  margin: 0 0 14px; font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.32;
  word-break: keep-all;
}
.mn-art-lead { margin: 0 0 12px; font-size: 16.5px; color: var(--muted); line-height: 1.72; }
.mn-art-meta { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--brass-ink); font-weight: 700; }
.mn-art-hero { margin: 0 0 26px; }
.mn-art-hero img { width: 100%; border: 1px solid var(--line-dark); }

.mn-toc {
  margin: 0 0 30px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line-dark);
  border-left: 4px solid var(--brand);
}
.mn-toc-ttl { margin: 0 0 10px; font-family: var(--font-serif); font-size: 16px; font-weight: 800; }
.mn-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.mn-toc a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.mn-toc a:hover { color: var(--brand); text-decoration: underline; }

.mn-prose h2 {
  margin: 38px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line-dark);
  font-family: var(--font-serif); font-size: 23px; font-weight: 800; line-height: 1.35;
}
.mn-prose h3 { margin: 26px 0 10px; font-family: var(--font-serif); font-size: 18.5px; font-weight: 800; }
.mn-prose p { margin: 0 0 16px; font-size: 16px; color: var(--ink); }
.mn-prose ul, .mn-prose ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.mn-prose blockquote {
  margin: 22px 0; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--brand); font-size: 15.5px; color: var(--ink);
}
.mn-prose table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.mn-prose th, .mn-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.mn-prose thead th { background: var(--ink); color: #fff; font-weight: 700; }
.mn-prose tbody tr:nth-child(even) { background: #faf6ee; }
.mn-prose .tbl-wrap { margin: 20px 0; }

.mn-art-faq { margin-top: 42px; padding-top: 26px; border-top: 3px double var(--line-dark); }
.mn-art-faq h2 { margin: 0 0 16px; font-family: var(--font-serif); font-size: 22px; font-weight: 800; }

.mn-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mn-more-card {
  display: flex; flex-direction: column; padding: 20px;
  background: var(--surface); border: 1px solid var(--line-dark);
  text-decoration: none; color: inherit;
}
.mn-more-card:hover { border-color: var(--brand); color: inherit; }
.mn-more-card h3 {
  margin: 0 0 10px; font-family: var(--font-serif); font-size: 17.5px; font-weight: 800; line-height: 1.38;
}
.mn-more-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---- 404 ---- */
.mn-notfound { max-width: 620px; text-align: center; padding: 56px 20px; }
.mn-notfound h1 { font-family: var(--font-serif); font-size: 28px; margin: 0 0 12px; }
.mn-nf-desc { color: var(--muted); margin: 0 0 24px; }

/* ---- 푸터 ---- */
.mn-ft {
  background: var(--ink); color: #e8e1d5;
  border-top: 4px solid var(--brand);
  padding: 48px 0 26px;
}
.mn-ft-grid {
  display: grid; grid-template-columns: 1.4fr 0.7fr 1.1fr; gap: 32px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(246, 241, 231, 0.18);
}
.mn-ft-title {
  margin: 0 0 10px; font-family: var(--font-serif); font-size: 22px; font-weight: 800; color: #fff;
}
.mn-ft-title span { font-family: var(--font-mono); font-size: 12px; color: #e0b354; margin-left: 6px; }
.mn-ft-about { margin: 0; font-size: 14.5px; color: #cfc7ba; line-height: 1.68; }
.mn-ft-head {
  margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; color: #e0b354;
}
.mn-ft-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mn-ft-col a { color: #e8e1d5; text-decoration: none; font-size: 14.5px; }
.mn-ft-col a:hover { color: #fff; text-decoration: underline; }
.mn-ft-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 20px; font-size: 13.5px; color: #b9b1a3;
}
.mn-ft-bar p { margin: 0; }
.mn-top-link { color: #e0b354; text-decoration: none; font-weight: 700; }

.mn-fab-top {
  position: fixed; right: 18px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: 2px;
  background: var(--brand); color: #fff; border: 1px solid var(--ink);
  font-size: 18px; font-weight: 700; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(27, 27, 27, 0.28);
}
.mn-fab-top[hidden] { display: none; }

/* ---- 반응형 (태블릿·모바일 390px 대응) ---- */
@media (max-width: 960px) {
  .mn-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .mn-deck { min-height: 310px; }
  .mn-sim-body { grid-template-columns: 1fr; }
  .mn-mode-grid, .mn-more-grid { grid-template-columns: 1fr; }
  .mn-ft-grid { grid-template-columns: 1fr; gap: 24px; }
  .ad-slot.ad-grid .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .mn-burger { display: inline-flex; }
  .mn-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 3px double var(--line-dark);
    padding: 10px 20px 16px; flex-direction: column; align-items: stretch; gap: 2px;
  }
  .mn-nav.is-open { display: flex; }
  .mn-nav a { border-bottom: 1px solid var(--line); padding: 12px 4px; }

  .mn-hero { padding: 30px 0 38px; }
  .mn-hero-meta { grid-template-columns: 1fr; gap: 10px; }

  /* 모바일 H9 카드 덱: 가로 넘침 없이 중심 사진 + 하단 2장 카드 */
  .mn-deck {
    min-height: auto; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .mn-deck-center {
    grid-column: 1 / -1; order: -1;
    width: 100%; max-width: none; transform: none;
    box-shadow: 4px 4px 0 rgba(138, 28, 28, 0.18);
  }
  .mn-deck-left, .mn-deck-right {
    position: static; width: auto; transform: none; padding: 12px;
    box-shadow: 3px 3px 0 rgba(27, 27, 27, 0.1);
  }
  .mn-deck-stat { font-size: 15px; }

  .mn-sec { padding: 44px 0; }
  .mn-rev-grid, .mn-gloss-grid, .mn-duo, .mn-reads-grid { grid-template-columns: 1fr; }
  .mn-sim-out { grid-template-columns: 1fr; }
  .mn-gloss-wrap, .mn-sim-card, .mn-chart-box { padding: 18px 16px; }
  .mn-search-in { width: 100%; }
  .ad-slot.ad-grid .wrap { grid-template-columns: 1fr; }
}
