/* ═══════════════════════════════════════════════════════════════════════════
   MEMORY CONTINUUM — Architectural & Spatial Exhibition Design System
   Inspired by Award-Winning Spatial Design Panels:
   [사석정 · CONTINUUM GROVE · LUCTUS · DIALOGOS · Pausa]
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Noto+Serif+KR:wght@400;500;600;700&display=swap');

:root {
  --mc-stone-bg: #F4F1EA;
  --mc-paper-bg: #FAF8F5;
  --mc-panel-bg: #FFFFFF;
  --mc-obsidian: #141413;
  --mc-charcoal: #262523;
  --mc-taupe: #78716A;
  --mc-muted: #9E978E;
  --mc-hairline: #DCD7CD;
  --mc-hairline-dark: #2E2D2A;
  --mc-sage: #3D5245;
  --mc-sage-light: #E9EFEA;
  --mc-gold: #B08448;
  --mc-gold-light: #F7F1E5;
  --mc-terracotta: #A85A44;
  --mc-serif-en: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
  --mc-serif-kr: 'Noto Serif KR', 'Pretendard Variable', serif;
  --mc-sans: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  --mc-mono: 'JetBrains Mono', monospace;
}

/* 전체 전시 보드 컨테이너 */
#continuum-exhibition-board {
  background-color: var(--mc-stone-bg);
  color: var(--mc-obsidian);
  font-family: var(--mc-sans);
  min-height: 100vh;
  letter-spacing: -0.01em;
}

/* 상단 에디토리얼 GNB (건국대 산업디자인 전시 헤더 + 스위스 그리드 스타일) */
.mc-gnb {
  background: rgba(20, 20, 19, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mc-hairline-dark);
  color: #FAF8F5;
  position: sticky;
  top: 0;
  z-index: 45;
}

.mc-gnb-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mc-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
}

.mc-brand-title {
  font-family: var(--mc-serif-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

.mc-brand-sub {
  font-family: var(--mc-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #A39E93;
  text-transform: uppercase;
}

.mc-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-nav-btn {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #D6D3CD;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.mc-nav-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.mc-nav-btn.active {
  background: #FAF8F5;
  color: #141413;
  font-weight: 700;
}

.mc-nav-btn.gold-outline {
  border: 1px solid rgba(176, 132, 72, 0.65);
  color: #F3D9B1;
  background: rgba(176, 132, 72, 0.12);
}

.mc-nav-btn.gold-outline:hover {
  background: rgba(176, 132, 72, 0.26);
}

/* 메인 에디토리얼 캔버스 (패널 프레임) */
.mc-exhibition-sheet {
  max-width: 1440px;
  margin: 28px auto 72px;
  background: var(--mc-paper-bg);
  border: 1px solid var(--mc-hairline);
  box-shadow: 0 28px 80px rgba(20, 20, 19, 0.08);
}

/* 상단 인덱스 메타 스트립 */
.mc-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border-bottom: 1px solid var(--mc-hairline);
  font-family: var(--mc-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mc-taupe);
  background: #F3EFE6;
}

/* ━━ ZONE 01: 와이드 시네마 히어로 스테이지 (LUCTUS / DIALOGOS 감성) ━━ */
.mc-hero-zone {
  position: relative;
  width: 100%;
  height: 520px;
  background: #0D0F12;
  overflow: hidden;
  border-bottom: 1px solid var(--mc-hairline);
}

@media (max-width: 900px) {
  .mc-hero-zone { height: 420px; }
}

.mc-hero-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mc-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.6s ease;
}

.mc-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mc-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 13, 15, 0.84) 0%,
    rgba(12, 13, 15, 0.42) 48%,
    rgba(12, 13, 15, 0.78) 100%
  ),
  linear-gradient(
    180deg,
    rgba(12, 13, 15, 0.25) 0%,
    rgba(12, 13, 15, 0.1) 50%,
    rgba(12, 13, 15, 0.88) 100%
  );
  pointer-events: none;
}

.mc-hero-overlay {
  position: absolute;
  inset: 0;
  padding: 42px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FAF8F5;
}

@media (max-width: 768px) {
  .mc-hero-overlay { padding: 24px 20px; }
}

.mc-hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.mc-hero-kicker {
  font-family: var(--mc-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E2C699;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #E2C699;
}

.mc-hero-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mc-glass-btn {
  background: rgba(250, 248, 245, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 248, 245, 0.28);
  color: #FAF8F5;
  padding: 8px 15px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-glass-btn:hover {
  background: rgba(250, 248, 245, 0.22);
  border-color: #E2C699;
}

.mc-glass-btn.primary {
  background: #FAF8F5;
  color: #141413;
  border-color: #FAF8F5;
  font-weight: 700;
}

.mc-glass-btn.primary:hover {
  background: #E2C699;
  border-color: #E2C699;
}

.mc-hero-bottom-row {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: end;
}

@media (max-width: 960px) {
  .mc-hero-bottom-row { grid-template-columns: 1fr; gap: 16px; }
}

.mc-display-title {
  font-family: var(--mc-serif-en);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.02;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.mc-display-kr {
  font-family: var(--mc-serif-kr);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  color: #EAE4D7;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

/* 무결점 4K 한글 시네마 자막 바 (오타 0% 플랫폼 자체 렌더링) */
.mc-subtitle-bar {
  background: rgba(12, 13, 15, 0.76);
  backdrop-filter: blur(8px);
  border-left: 2px solid #E2C699;
  padding: 12px 18px;
  max-width: 760px;
}

.mc-subtitle-speaker {
  font-family: var(--mc-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #E2C699;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mc-subtitle-text {
  font-family: var(--mc-serif-kr);
  font-size: 14.5px;
  color: #FFFFFF;
  line-height: 1.55;
}

.mc-hero-spec-box {
  border-top: 1px solid rgba(250, 248, 245, 0.25);
  padding-top: 14px;
  font-size: 12px;
  color: #D6D1C7;
  line-height: 1.65;
}

/* ━━ ZONE 02: 에디토리얼 리서치 & 3대 핵심 지표 스트립 (DIALOGOS / Pausa 상단 좌측 스타일) ━━ */
.mc-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--mc-hairline);
  background: var(--mc-panel-bg);
}

@media (max-width: 960px) {
  .mc-metrics-strip { grid-template-columns: 1fr; }
}

.mc-metric-cell {
  padding: 28px 32px;
  border-right: 1px solid var(--mc-hairline);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.mc-metric-cell:last-child {
  border-right: none;
}

@media (max-width: 960px) {
  .mc-metric-cell {
    border-right: none;
    border-bottom: 1px solid var(--mc-hairline);
  }
  .mc-metric-cell:last-child {
    border-bottom: none;
  }
}

.mc-metric-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mc-hairline);
}

.mc-metric-code {
  font-family: var(--mc-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mc-taupe);
}

.mc-radial-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mc-radial-svg {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.mc-radial-row > div {
  flex: 1 1 200px;
  min-width: 0;
}

.mc-metric-big-num {
  font-family: var(--mc-serif-en);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--mc-obsidian);
  margin-bottom: 6px;
}

.mc-metric-index {
  font-family: var(--mc-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mc-taupe);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mc-metric-number {
  font-family: var(--mc-serif-en);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--mc-obsidian);
  margin-bottom: 6px;
}

.mc-metric-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mc-charcoal);
  margin-bottom: 4px;
}

.mc-metric-desc {
  font-size: 12px;
  color: var(--mc-taupe);
  line-height: 1.55;
}

/* ━━ ZONE 03 & 04: 좌측 입체 분해 다이어그램(Isometric) + 우측 6컷 포토·비디오 화보 그리드 ━━ */
.mc-main-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-bottom: 1px solid var(--mc-hairline);
}

@media (max-width: 1120px) {
  .mc-main-split { grid-template-columns: 1fr; }
}

.mc-left-column {
  border-right: 1px solid var(--mc-hairline);
  padding: 36px 34px;
  background: var(--mc-paper-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mc-right-column {
  padding: 36px 34px;
  background: var(--mc-panel-bg);
}

.mc-section-header {
  border-bottom: 1px solid var(--mc-obsidian);
  padding-bottom: 12px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.mc-section-kicker {
  font-family: var(--mc-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--mc-taupe);
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.mc-section-title {
  font-family: var(--mc-serif-kr);
  font-size: 20px;
  font-weight: 700;
  color: var(--mc-obsidian);
}

/* 4층 아이소메트릭 레이어 분해도 카드 */
.mc-iso-layer-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}

.mc-iso-layer-card {
  border: 1px solid var(--mc-hairline);
  background: #FFFFFF;
  padding: 15px 18px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 14px;
}

.mc-iso-layer-card:hover,
.mc-iso-layer-card.active {
  border-color: var(--mc-obsidian);
  background: var(--mc-gold-light);
  transform: translateX(4px);
}

.mc-iso-layer-tag {
  font-family: var(--mc-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mc-obsidian);
  border-right: 1px solid var(--mc-hairline);
  padding-right: 10px;
}

.mc-iso-layer-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--mc-obsidian);
}

.mc-iso-layer-sub {
  font-size: 11.5px;
  color: var(--mc-taupe);
  margin-top: 2px;
}

/* 에디토리얼 공통 그리드 섹션 & 4층 아이소메트릭·입면도 섹션 정식 정의 */
.mc-grid-section {
  background: var(--mc-panel-bg);
  border: 1px solid var(--mc-hairline);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}

.mc-grid-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--mc-hairline);
}

.mc-grid-section > :not(.mc-grid-header) {
  padding: 22px 28px 28px;
}

.mc-iso-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  background: var(--mc-panel-bg);
  border: 1px solid var(--mc-hairline);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .mc-iso-section {
    grid-template-columns: 1fr;
  }
}

.mc-iso-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.mc-iso-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--mc-hairline);
}

@media (max-width: 1024px) {
  .mc-iso-right {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--mc-hairline);
  }
}

.mc-iso-diagram-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .mc-iso-diagram-wrap {
    grid-template-columns: 1fr;
  }
}

.mc-iso-svg-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF8F5;
  border: 1px solid var(--mc-hairline);
  border-radius: 14px;
  padding: 12px;
}

.mc-iso-legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mc-iso-legend-list .mc-iso-layer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-radius: 12px;
}

.mc-iso-layer-num {
  font-family: var(--mc-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #9A6B2E;
}

.mc-iso-layer-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--mc-obsidian);
  line-height: 1.45;
}

.mc-elevation-card {
  background: #FAF8F5;
  border: 1px solid var(--mc-hairline);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-elevation-label {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mc-taupe);
}

/* 우측 6컷 포토·비디오 매거진 그리드 (CONTINUUM GROVE / Pausa 우측 하단 화보 스타일) */
.mc-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 680px) {
  .mc-scene-grid { grid-template-columns: 1fr; }
}

.mc-scene-card {
  border: 1px solid var(--mc-hairline);
  background: var(--mc-paper-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mc-scene-card:hover {
  border-color: var(--mc-obsidian);
  box-shadow: 0 14px 34px rgba(20, 20, 19, 0.12);
  transform: translateY(-2px);
}

.mc-scene-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  height: auto;
  min-height: 340px;
  background: #141413;
  overflow: hidden;
}

.mc-scene-thumb video,
.mc-scene-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: opacity 0.35s ease;
}

.mc-scene-thumb canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.mc-scene-card:hover .mc-scene-thumb video,
.mc-scene-card:hover .mc-scene-thumb img,
.mc-scene-card:hover .mc-scene-thumb canvas {
  transform: none;
}

.mc-scene-num-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(20, 20, 19, 0.85);
  backdrop-filter: blur(6px);
  color: #FAF8F5;
  font-family: var(--mc-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border: 1px solid rgba(250, 248, 245, 0.22);
}

.mc-scene-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(61, 82, 69, 0.9);
  color: #FAF8F5;
  font-family: var(--mc-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.06em;
}

.mc-scene-body {
  padding: 15px 16px 16px;
}

.mc-scene-kicker {
  font-family: var(--mc-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mc-gold);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mc-scene-title {
  font-family: var(--mc-serif-kr);
  font-size: 15px;
  font-weight: 700;
  color: var(--mc-obsidian);
  margin-bottom: 5px;
}

.mc-scene-desc {
  font-size: 12px;
  color: var(--mc-taupe);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mc-scene-footer {
  padding-top: 10px;
  border-top: 1px solid var(--mc-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mc-obsidian);
}

.mc-upload-mini-btn {
  font-family: var(--mc-mono);
  font-size: 10px;
  padding: 4px 8px;
  background: #FFFFFF;
  border: 1px solid var(--mc-hairline);
  color: var(--mc-charcoal);
  cursor: pointer;
}

.mc-upload-mini-btn:hover {
  border-color: var(--mc-obsidian);
  background: var(--mc-gold-light);
}

/* ━━ 5대 인터랙티브 라이브 시네마 모달 팝업 (#continuum-cinema-modal) ━━ */
#continuum-cinema-modal.hidden {
  display: none !important;
}

#continuum-cinema-modal:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.mc-modal-dialog {
  width: min(1220px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  background: #0B0F19;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72);
}

.mc-modal-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FAF8F5;
}

.mc-modal-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.mc-modal-scene-num {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #F7CFA0;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 3px 9px;
  border-radius: 999px;
}

.mc-modal-scene-title {
  font-family: var(--mc-serif-kr);
  font-size: 15px;
  font-weight: 700;
  color: #FAF8F5;
}

.mc-modal-close-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.45);
  color: #FECACA;
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-modal-close-btn:hover {
  background: rgba(220, 38, 38, 0.85);
  color: #FFFFFF;
}

.mc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 13, 15, 0.84);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mc-modal-backdrop.hidden {
  display: none;
}

.mc-modal-window {
  width: 100%;
  max-width: 1280px;
  max-height: 92vh;
  background: var(--mc-paper-bg);
  border: 1px solid var(--mc-hairline);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mc-modal-header {
  background: var(--mc-obsidian);
  color: #FAF8F5;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--mc-hairline-dark);
}

.mc-modal-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow-y: auto;
  min-height: 540px;
}

@media (max-width: 980px) {
  .mc-modal-body { grid-template-columns: 1fr; }
}

.mc-modal-stage {
  background: #0B0D10;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  overflow: hidden;
}

.mc-modal-panel {
  padding: 28px 30px;
  background: var(--mc-paper-bg);
  color: var(--mc-obsidian);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--mc-hairline);
}

/* AR 비전 스캐너 박스 (팝업 3: 다자간 가족 대화용) */
.mc-ar-tag {
  position: absolute;
  padding: 6px 10px;
  background: rgba(15, 18, 22, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid #E2C699;
  color: #FAF8F5;
  font-family: var(--mc-mono);
  font-size: 10.5px;
  pointer-events: none;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mc-ar-tag {
    white-space: normal;
    max-width: calc(100% - 24px);
    left: 12px !important;
    right: auto;
  }
}

/* 폴라로이드 3D 플립 카드 (팝업 2: 다각도 가족앨범용) */
.mc-polaroid-card {
  background: #FFFFFF;
  padding: 16px 16px 26px;
  border: 1px solid var(--mc-hairline);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  margin: 24px auto;
  color: var(--mc-obsidian);
  transition: transform 0.5s ease;
}

/* ============================================================================
 *  GLOBAL EDITORIAL UNIFICATION (첫 화면 MEMORY CONTINUUM 감성을 모든 탭·극장·데이터보드·X-Ray에 통일 적용)
 * ============================================================================ */
#user-mode {
  background-color: var(--mc-paper-bg) !important;
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.03) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  color: var(--mc-obsidian);
}

#user-header {
  background: rgba(20, 20, 19, 0.96) !important;
  border-bottom: 1px solid rgba(176, 132, 72, 0.45) !important;
  color: #FAF8F5 !important;
  backdrop-filter: blur(14px);
}

#user-header .font-serif,
#user-header h1,
#user-header span.text-warmDark {
  color: #FAF8F5 !important;
}

#user-header nav {
  background: rgba(244, 241, 234, 0.96) !important;
  border-top: 1px solid rgba(20, 20, 19, 0.12) !important;
}

.user-nav-tab {
  font-family: var(--mc-sans);
  letter-spacing: -0.01em;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.user-nav-tab.active,
.user-nav-tab[aria-selected="true"] {
  background: var(--mc-obsidian) !important;
  color: #E2C699 !important;
  border-color: var(--mc-gold) !important;
  box-shadow: 0 4px 12px rgba(20, 20, 19, 0.18) !important;
}

.um-card {
  background: #FAF8F5 !important;
  border: 1px solid rgba(20, 20, 19, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(20, 20, 19, 0.05) !important;
}

/* 비주얼 데이터 보드 & 입체극장 & 듀얼 X-Ray 에디토리얼 다크 오وب시디언 통일 */
#visual-analytics-dashboard.cyber-dashboard-wrap {
  background: linear-gradient(165deg, #141413 0%, #1B1A18 100%) !important;
  border: 1px solid rgba(176, 132, 72, 0.55) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35) !important;
}

#visual-analytics-dashboard .cyber-widget-card {
  background: rgba(28, 27, 25, 0.92) !important;
  border: 1px solid rgba(226, 198, 153, 0.22) !important;
  border-radius: 14px !important;
}

#human-legacy-theater-inner {
  background: #141413 !important;
  border: 1px solid rgba(226, 198, 153, 0.55) !important;
}

#live-xray-drawer {
  background: #141413 !important;
  border-left: 2px solid var(--mc-gold) !important;
  color: #FAF8F5 !important;
}

.floating-quick-dock .floating-dock-pill {
  background: #141413 !important;
  color: #E2C699 !important;
  border: 1px solid rgba(176, 132, 72, 0.65) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32) !important;
}

.floating-quick-dock .floating-dock-pill:hover {
  background: var(--mc-gold) !important;
  color: #141413 !important;
}

/* ============================================================================
 *  FLAGSHIP CORPORATE BRAND HERO & "WHY MEMORY-LINK" MANIFESTO SECTION
 *  (대기업 플래그십 메인 페이지 감성: 따뜻한 3대 가족 실사 + 마음을 울리는 브랜드 철학)
 * ============================================================================ */
.mc-top-bar {
  background: rgba(20, 20, 19, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(176, 132, 72, 0.35);
  color: #FAF8F5;
  position: sticky;
  top: 0;
  z-index: 50;
}

.mc-top-bar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mc-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.mc-brand-en {
  font-family: var(--mc-serif-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #F3D9B1;
}

.mc-brand-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.mc-brand-kr {
  font-family: var(--mc-sans);
  font-size: 13px;
  font-weight: 600;
  color: #FAF8F5;
  letter-spacing: -0.01em;
}

.mc-nav-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .mc-top-bar-inner {
    padding: 8px 14px;
    gap: 8px;
  }
  .mc-top-bar .mc-nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 4px;
  }
  .mc-top-bar .mc-nav-pills::-webkit-scrollbar {
    display: none;
  }
  .mc-top-bar .mc-nav-pills .mc-nav-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.mc-nav-btn.gold-accent {
  border: 1px solid rgba(176, 132, 72, 0.75);
  background: rgba(176, 132, 72, 0.18);
  color: #F3D9B1;
}

.mc-board-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 24px 72px;
}

/* ZONE 01: 대기업 플래그십 메인 표지 스테이지 */
.mc-hero-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(28, 22, 16, 0.16);
  border: 1px solid rgba(176, 132, 72, 0.35);
  margin-bottom: 24px;
  background: #231C15;
}

.mc-hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  min-height: 720px;
  height: auto;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #1E1712;
}

@media (max-width: 960px) {
  .mc-hero-visual-frame {
    aspect-ratio: auto;
    min-height: 600px;
  }
}

.mc-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 1;
  transform: none;
}

.mc-hero-section:hover .mc-hero-bg-img {
  transform: none;
}

.mc-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.mc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

/* 좌측 텍스트 가독성을 살리면서 우측 3대 가족의 따뜻한 미소를 선명하게 보여주는 시네마틱 스크림 */
.mc-hero-gradient-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(95deg,
      rgba(22, 17, 13, 0.88) 0%,
      rgba(28, 21, 16, 0.76) 38%,
      rgba(36, 27, 19, 0.32) 68%,
      rgba(36, 27, 19, 0.10) 100%),
    linear-gradient(180deg,
      rgba(20, 15, 11, 0.30) 0%,
      rgba(20, 15, 11, 0.0) 35%,
      rgba(20, 15, 11, 0.62) 100%);
  pointer-events: none;
}

.mc-hero-overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 36px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

@media (max-width: 768px) {
  .mc-hero-overlay {
    padding: 24px 22px 30px;
  }
}

.mc-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mc-hero-index-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 217, 177, 0.45);
  color: #FCE8C8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mc-hero-upload-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(20, 16, 12, 0.58);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #EAE3D5;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-hero-upload-pill:hover {
  background: rgba(176, 132, 72, 0.85);
  color: #141413;
  border-color: #F3D9B1;
}

.mc-hero-title-block {
  max-width: 760px;
  margin-top: auto;
}

.mc-hero-philosophy-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-left: 3px solid #E5B879;
  background: rgba(229, 184, 121, 0.14);
  color: #F8DFB8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mc-hero-display-kr {
  font-family: var(--mc-serif-kr);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: #FFFDF9;
  margin: 0 0 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  word-break: keep-all;
}

.mc-hero-display-kr .highlight-warm {
  color: #F7CFA0;
  border-bottom: 2px solid rgba(247, 207, 160, 0.45);
}

.mc-hero-subtitle-kr {
  font-family: var(--mc-sans);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: #F5E1C0;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.mc-hero-manifesto {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(252, 248, 242, 0.92);
  margin: 0 0 24px;
  word-break: keep-all;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.mc-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.mc-btn-warm-gold {
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D9A45B 0%, #B87D32 100%);
  color: #14120E;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: all 0.2s ease;
}

.mc-btn-warm-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #E8B872 0%, #C88B3E 100%);
}

.mc-btn-glass-light {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.14);
  backdrop-filter: blur(10px);
  color: #FFFDF9;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 245, 228, 0.38);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-btn-glass-light:hover {
  background: rgba(255, 252, 245, 0.26);
  border-color: #F7CFA0;
}

/* ZONE 01-B: 왜 일반 사진첩·생성형 AI가 아니라 ‘기억이음’이어야 하는가? (대기업 브랜드 스토리 섹션) */
.mc-why-section {
  background: linear-gradient(180deg, #FDFBF7 0%, #F6F1E7 100%);
  border: 1px solid #DED6C6;
  border-radius: 22px;
  padding: 36px 36px 38px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(28, 22, 16, 0.05);
}

.mc-why-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E4DDD0;
  margin-bottom: 26px;
}

.mc-why-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #9A6B2E;
  background: #F4E8D4;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.mc-why-title {
  font-family: var(--mc-serif-kr);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  color: #191714;
  margin: 0;
  line-height: 1.38;
  word-break: keep-all;
}

.mc-why-lead {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.68;
  color: #575148;
  margin: 0;
  word-break: keep-all;
}

.mc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .mc-why-grid {
    grid-template-columns: 1fr;
  }
}

.mc-why-card {
  background: #FFFFFF;
  border: 1px solid #E5DECFE6;
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(24, 20, 15, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.mc-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(24, 20, 15, 0.09);
  border-color: #C79A5B;
}

.mc-why-card-top {
  margin-bottom: 18px;
}

.mc-why-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mc-why-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #8C6026;
  background: #FAF2E4;
  border: 1px solid #EBD8B8;
  padding: 4px 10px;
  border-radius: 999px;
}

.mc-why-vs-tag {
  font-size: 11px;
  font-weight: 600;
  color: #8A8277;
}

.mc-why-card-quote {
  font-family: var(--mc-serif-kr);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.44;
  color: #181613;
  margin: 0 0 12px;
  word-break: keep-all;
}

.mc-why-card-desc {
  font-size: 13.8px;
  line-height: 1.72;
  color: #4A453E;
  margin: 0;
  word-break: keep-all;
}

.mc-why-compare-box {
  background: #F9F6F0;
  border: 1px solid #EAE3D5;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12.5px;
  line-height: 1.55;
}

.mc-why-compare-old {
  color: #877F74;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.mc-why-compare-new {
  color: #1F4E37;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* ============================================================================
 *  MULTI-LAYER OVERLAPPING HERO SLIDESHOW & FLOATING PHOTO COLLAGE
 * ============================================================================ */
.mc-hero-slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.mc-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 6s ease-out;
  transform: scale(1.0);
  pointer-events: none;
}

.mc-hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.mc-hero-slide.prev-overlap {
  opacity: 0.28;
  z-index: 1;
  mix-blend-mode: screen;
}

.mc-hero-slide img,
.mc-hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.mc-hero-content-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: end;
  margin-top: auto;
  width: 100%;
}

@media (max-width: 1100px) {
  .mc-hero-content-grid {
    grid-template-columns: 1fr;
  }
}

/* 우측 멀티 레이어 오버랩 포토·영상 콜라주 카드 스택 */
.mc-hero-collage-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.mc-hero-collage-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 310px;
}

@media (max-width: 1100px) {
  .mc-hero-collage-stack {
    display: none;
  }
}

.mc-collage-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 248, 235, 0.78);
  box-shadow: 0 18px 42px rgba(10, 8, 6, 0.52);
  background: #1B1612;
  cursor: pointer;
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-collage-card img,
.mc-collage-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.mc-collage-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 9, 0.9) 100%);
  color: #FFFDF9;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-collage-card.pos-0 {
  width: 290px;
  height: 175px;
  top: 8px;
  left: 0;
  transform: rotate(-3.5deg);
  z-index: 1;
  opacity: 0.88;
}

.mc-collage-card.pos-1 {
  width: 300px;
  height: 180px;
  top: 42px;
  right: 0;
  transform: rotate(3deg);
  z-index: 2;
  opacity: 0.94;
}

.mc-collage-card.pos-2 {
  width: 330px;
  height: 196px;
  bottom: 0;
  left: 48px;
  transform: rotate(-0.8deg);
  z-index: 3;
  border-color: #F7CFA0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.68);
}

.mc-collage-card:hover {
  transform: translateY(-6px) scale(1.03) rotate(0deg) !important;
  z-index: 10 !important;
  opacity: 1 !important;
  border-color: #F7CFA0;
}

.mc-hero-slide-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  background: rgba(20, 16, 12, 0.62);
  backdrop-filter: blur(10px);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 245, 228, 0.24);
}

.mc-slide-dot-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 250, 240, 0.78);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-slide-dot-btn.active {
  background: #E5B879;
  color: #14120E;
  font-weight: 800;
}

.mc-slide-dot-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* ============================================================================
 *  B2C (개인·가족) / B2B (기업·파트너) / B2G (정부·지자체) 3대 맞춤형 어필 섹션
 * ============================================================================ */
.mc-target-section {
  background: #FFFFFF;
  border: 1px solid #DED6C6;
  border-radius: 22px;
  padding: 34px 36px 38px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(28, 22, 16, 0.05);
}

.mc-target-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 26px;
}

@media (max-width: 900px) {
  .mc-target-tabs {
    grid-template-columns: 1fr;
  }
}

.mc-target-tab-btn {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1.5px solid #E4DDD0;
  background: #FAF7F2;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-target-tab-btn:hover {
  border-color: #C79A5B;
  background: #FDFBF7;
}

.mc-target-tab-btn.active {
  background: #1F1B17;
  border-color: #B08448;
  color: #FAF8F5;
  box-shadow: 0 12px 28px rgba(24, 20, 15, 0.16);
}

.mc-target-tab-kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: #9A6B2E;
}

.mc-target-tab-btn.active .mc-target-tab-kicker {
  color: #F7CFA0;
}

.mc-target-tab-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #191714;
}

.mc-target-tab-btn.active .mc-target-tab-title {
  color: #FFFFFF;
}

.mc-target-panel {
  background: linear-gradient(180deg, #FDFBF7 0%, #F7F2E8 100%);
  border: 1px solid #E5DECFE6;
  border-radius: 18px;
  padding: 28px 30px;
}

.mc-target-headline-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E5DDD0;
  margin-bottom: 22px;
}

.mc-target-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 960px) {
  .mc-target-pillars {
    grid-template-columns: 1fr;
  }
}

.mc-target-pillar-card {
  background: #FFFFFF;
  border: 1px solid #E6DFD1;
  border-radius: 14px;
  padding: 20px 20px;
  box-shadow: 0 6px 18px rgba(20, 16, 12, 0.04);
}

/* ============================================================================
 *  VISITOR SMART CURATION HUB BAR (#visitor-curation-hub / #target-curation-bar)
 *  공통 첫 화면 유지 + 5대 방문자 맞춤형 추천 코스 가이드 바
 * ============================================================================ */
#visitor-curation-hub {
  background: linear-gradient(165deg, #141413 0%, #1C1A17 100%);
  border: 1px solid rgba(217, 164, 91, 0.55);
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 18px 44px rgba(15, 14, 12, 0.16);
  color: #FAF8F5;
  transition: all 0.25s ease;
}

.vch-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vch-label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 164, 91, 0.18);
  border: 1px solid rgba(217, 164, 91, 0.55);
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  color: #F3D9B1;
}

.vch-title {
  font-family: var(--mc-sans);
  font-size: 14px;
  font-weight: 700;
  color: #FAF8F5;
}

.vch-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.vch-tab-btn {
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 198, 153, 0.24);
  color: #E5DEC9;
  font-family: var(--mc-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vch-tab-btn:hover {
  background: rgba(217, 164, 91, 0.16);
  border-color: rgba(217, 164, 91, 0.65);
  color: #FFFFFF;
}

.vch-tab-btn.active {
  background: linear-gradient(135deg, #D9A45B 0%, #B88238 100%);
  border-color: #F7CFA0;
  color: #141413;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(217, 164, 91, 0.32);
}

.vch-toggle-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 198, 153, 0.3);
  color: #F3D9B1;
  font-family: var(--mc-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vch-toggle-btn:hover {
  background: rgba(217, 164, 91, 0.22);
}

.vch-body-drawer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 198, 153, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vch-body-drawer.collapsed {
  display: none;
}

.vch-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid #D9A45B;
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
}

.vch-summary-text {
  font-family: var(--mc-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #FEF3C7;
  font-weight: 600;
}

.vch-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 960px) {
  .vch-steps-row {
    grid-template-columns: 1fr;
  }
}

.vch-step-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 164, 91, 0.35);
  color: #FAF8F5;
  font-family: var(--mc-sans);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vch-step-chip:hover {
  background: rgba(217, 164, 91, 0.2);
  border-color: #F7CFA0;
  transform: translateY(-1px);
}

.vch-step-chip .step-arrow {
  color: #F7CFA0;
  font-family: var(--mc-mono);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ============================================================================
   UI 충돌 방지: 전시관(#continuum-exhibition-board) 및 특허콘솔(#admin-mode)에서
   우하단 노란 플로팅 버튼(.floating-kakao-cta) 강제 숨김 (#user-mode 진입 시에만 표시)
   ============================================================================ */
body:has(#user-mode.hidden) .floating-kakao-cta,
body:has(#continuum-exhibition-board:not(.hidden)) .floating-kakao-cta,
body:has(#admin-mode:not(.hidden)) .floating-kakao-cta {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#gateway-screen.hidden {
  display: none !important;
}

/* 전시관 상단 GNB [🔬 심사·실증 콘솔] 직통 버튼 */
.mc-nav-btn.mc-nav-console-btn {
  background: linear-gradient(135deg, rgba(217, 164, 91, 0.22) 0%, rgba(180, 125, 52, 0.34) 100%);
  border: 1px solid rgba(247, 207, 160, 0.65);
  color: #FEF3C7;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow: 0 2px 10px rgba(217, 164, 91, 0.18);
}

.mc-nav-btn.mc-nav-console-btn:hover {
  background: linear-gradient(135deg, #D9A45B 0%, #B7792B 100%);
  color: #141413;
  border-color: #FEF3C7;
  transform: translateY(-1px);
}

/* ============================================================================
   ⚡ 30초 라이브 특허 실증 허브 (범용 빅테크 AI vs 기억이음 거버넌스 엔진 100·200·300)
   ============================================================================ */
.lpp-hub-section {
  max-width: 100%;
  margin: 0 0 24px;
  padding: 0;
}

.lpp-hub-shell {
  background: linear-gradient(165deg, #171513 0%, #211D18 55%, #161412 100%);
  border: 1px solid rgba(217, 164, 91, 0.48);
  border-radius: 22px;
  padding: 26px 28px 24px;
  color: #FAF8F5;
  box-shadow: 0 24px 56px rgba(17, 15, 12, 0.24), inset 0 1px 0 rgba(255, 248, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.lpp-hub-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9A6B2F 0%, #F7CFA0 50%, #10B981 100%);
}

.lpp-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.lpp-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 760px;
}

.lpp-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lpp-eyebrow-badge {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 164, 91, 0.2);
  border: 1px solid rgba(247, 207, 160, 0.45);
  color: #F7CFA0;
}

.lpp-api-pill {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #A7F3D0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lpp-api-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.lpp-main-title {
  font-family: var(--mc-serif-kr);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

.lpp-main-sub {
  font-family: var(--mc-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #D6D1C7;
  margin: 0;
}

/* 생애 연속체(Continuum) 모드 전환 토글 */
.lpp-continuum-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(226, 198, 153, 0.22);
  margin-bottom: 16px;
}

.lpp-subject-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mc-sans);
  font-size: 12.5px;
  color: #E7E2D8;
  font-weight: 600;
}

.lpp-subject-tag strong {
  color: #F7CFA0;
  font-weight: 800;
}

.lpp-mode-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lpp-mode-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #CFC9BE;
  font-family: var(--mc-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lpp-mode-btn:hover {
  border-color: rgba(247, 207, 160, 0.55);
  color: #FFFFFF;
}

.lpp-mode-btn.active-life {
  background: linear-gradient(135deg, #065F46 0%, #047857 100%);
  border-color: #6EE7B7;
  color: #ECFDF5;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.lpp-mode-btn.active-legacy {
  background: linear-gradient(135deg, #92400E 0%, #B45309 100%);
  border-color: #FCD34D;
  color: #FFFBEB;
  box-shadow: 0 4px 14px rgba(217, 164, 91, 0.28);
}

/* 시나리오 4종 원클릭 버튼 그리드 */
.lpp-scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 1080px) {
  .lpp-scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lpp-scenario-grid {
    grid-template-columns: 1fr;
  }
}

.lpp-scenario-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E7E2D8;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lpp-scenario-btn:hover {
  background: rgba(217, 164, 91, 0.12);
  border-color: rgba(247, 207, 160, 0.5);
  transform: translateY(-1px);
}

.lpp-scenario-btn.active {
  background: linear-gradient(145deg, rgba(217, 164, 91, 0.24) 0%, rgba(217, 164, 91, 0.1) 100%);
  border: 1.5px solid #F7CFA0;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.lpp-sc-tag {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 800;
  color: #F7CFA0;
}

.lpp-sc-label {
  font-family: var(--mc-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #FAF8F5;
}

/* 입력 프롬프트 / 상황 배너 */
.lpp-context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 15px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid #D9A45B;
  margin-bottom: 16px;
  font-size: 13px;
  color: #EDE8DF;
}

.lpp-context-strip code {
  font-family: var(--mc-mono);
  font-size: 11.5px;
  color: #FDE68A;
  background: rgba(217, 164, 91, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
}

/* 좌우 비교 스테이지 */
.lpp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .lpp-compare-grid {
    grid-template-columns: 1fr;
  }
}

.lpp-card-generic {
  background: linear-gradient(160deg, rgba(69, 18, 22, 0.38) 0%, rgba(28, 24, 23, 0.92) 100%);
  border: 1px solid rgba(248, 113, 113, 0.38);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.lpp-card-patented {
  background: linear-gradient(160deg, rgba(20, 46, 38, 0.42) 0%, rgba(27, 24, 20, 0.96) 55%, rgba(42, 32, 18, 0.55) 100%);
  border: 1.5px solid rgba(247, 207, 160, 0.62);
  border-radius: 16px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.lpp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.lpp-card-badge-bad {
  font-family: var(--mc-sans);
  font-size: 12px;
  font-weight: 800;
  color: #FCA5A5;
  background: rgba(127, 29, 29, 0.55);
  border: 1px solid rgba(248, 113, 113, 0.45);
  padding: 4px 10px;
  border-radius: 8px;
}

.lpp-card-badge-good {
  font-family: var(--mc-sans);
  font-size: 12px;
  font-weight: 800;
  color: #FEF3C7;
  background: rgba(180, 125, 52, 0.35);
  border: 1px solid rgba(247, 207, 160, 0.55);
  padding: 4px 10px;
  border-radius: 8px;
}

.lpp-latency-pill {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(6, 78, 59, 0.55);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 3px 9px;
  border-radius: 999px;
}

.lpp-quote-bad {
  background: rgba(0, 0, 0, 0.36);
  border-left: 3px solid #EF4444;
  border-radius: 0 10px 10px 0;
  padding: 13px 14px;
  font-family: var(--mc-sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: #F5E6E6;
}

.lpp-flaw-box {
  background: rgba(127, 29, 29, 0.28);
  border: 1px dashed rgba(248, 113, 113, 0.42);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #FECACA;
  font-weight: 600;
}

.lpp-quote-good {
  background: rgba(250, 248, 245, 0.07);
  border-left: 3px solid #F7CFA0;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  font-family: var(--mc-serif-kr);
  font-size: 15px;
  line-height: 1.68;
  color: #FFFDF9;
}

.lpp-dual-utterance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 720px) {
  .lpp-dual-utterance-grid {
    grid-template-columns: 1fr;
  }
}

.lpp-dual-subcard {
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(247, 207, 160, 0.32);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lpp-dual-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #F7CFA0;
}

.lpp-dual-subtext {
  font-family: var(--mc-serif-kr);
  font-size: 13.5px;
  line-height: 1.58;
  color: #FAF8F5;
}

.lpp-mini-tts-btn {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(247, 207, 160, 0.45);
  background: rgba(217, 164, 91, 0.16);
  color: #FEF3C7;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.lpp-mini-tts-btn:hover {
  background: #D9A45B;
  color: #141413;
}

.lpp-metrics-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.lpp-metric-chip {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(226, 198, 153, 0.3);
  color: #E7E2D8;
}

.lpp-metric-chip strong {
  color: #FCD34D;
}

.lpp-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lpp-tts-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #D9A45B 0%, #B87D32 100%);
  border: 1px solid #FDE68A;
  color: #141413;
  font-family: var(--mc-sans);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lpp-tts-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.lpp-els-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: #0F172A;
  border: 1px solid #38BDF8;
  color: #F8FAFC;
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.lpp-els-tag {
  background: #0284C7;
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
}

.lpp-footer-cta-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 198, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lpp-footer-note {
  font-size: 12.5px;
  color: #C7C1B6;
}

.lpp-console-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(250, 248, 245, 0.96);
  color: #141413;
  border: 1px solid #F7CFA0;
  font-family: var(--mc-sans);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lpp-console-jump-btn:hover {
  background: #F7CFA0;
  color: #141413;
  transform: translateY(-1px);
}

/* ============================================================================
   🧭 통합 도슨트 관람 순서 로드맵 (#visitor-curation-hub 확장) &
      전 화면 상주 하단 순서 가이드 바 (#ml-global-docent-bar)
   ============================================================================ */
body.ml-docent-open {
  padding-bottom: 108px !important;
}

.vch-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vch-start-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D9A45B 0%, #B87E31 100%);
  border: 1px solid #FDE68A;
  color: #141413;
  font-family: var(--mc-sans);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(217, 164, 91, 0.32);
  transition: all 0.2s ease;
}

.vch-start-tour-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.vch-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .vch-steps-row {
    grid-template-columns: 1fr;
  }
}

.vch-step-chip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(217, 164, 91, 0.32);
  color: #FAF8F5;
  font-family: var(--mc-sans);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.vch-step-chip:hover {
  background: rgba(217, 164, 91, 0.16);
  border-color: #F7CFA0;
  transform: translateY(-2px);
}

.vch-step-chip.active-step {
  background: linear-gradient(145deg, rgba(217, 164, 91, 0.26) 0%, rgba(180, 125, 52, 0.12) 100%);
  border: 1.5px solid #FCD34D;
  box-shadow: 0 8px 22px rgba(217, 164, 91, 0.24);
}

.vch-step-chip.visited-step:not(.active-step) {
  border-color: rgba(52, 211, 153, 0.45);
}

.vch-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.vch-part-pill {
  font-family: var(--mc-sans);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.vch-part-pill.part-exhibition {
  background: rgba(217, 164, 91, 0.22);
  color: #FDE68A;
  border: 1px solid rgba(247, 207, 160, 0.4);
}

.vch-part-pill.part-service {
  background: rgba(16, 185, 129, 0.2);
  color: #A7F3D0;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.vch-part-pill.part-admin {
  background: rgba(56, 189, 248, 0.2);
  color: #BAE6FD;
  border: 1px solid rgba(125, 211, 252, 0.42);
}

.vch-step-state {
  font-family: var(--mc-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #F7CFA0;
}

.vch-step-state.done {
  color: #6EE7B7;
}

.vch-step-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
  color: #FFFDF9;
}

.vch-step-subtip {
  font-size: 11.5px;
  line-height: 1.45;
  color: #CEC7BA;
  font-weight: 500;
}

/* 전 화면 상주 하단 도슨트 네비게이션 바 */
#ml-global-docent-bar {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1320px;
  z-index: 9500;
  background: linear-gradient(165deg, rgba(22, 19, 16, 0.97) 0%, rgba(31, 26, 21, 0.97) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(217, 164, 91, 0.65);
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 250, 240, 0.1);
  color: #FAF8F5;
  font-family: var(--mc-sans);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#ml-global-docent-bar.hidden {
  display: none !important;
}

.mldb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mldb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mldb-course-select {
  background: rgba(255, 255, 255, 0.08);
  color: #FEF3C7;
  border: 1px solid rgba(247, 207, 160, 0.48);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  outline: none;
}

.mldb-course-select option {
  background: #1C1917;
  color: #FAF8F5;
}

.mldb-toc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 10px;
  background: rgba(217, 164, 91, 0.16);
  border: 1px solid rgba(247, 207, 160, 0.42);
  color: #FDE68A;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mldb-toc-btn:hover {
  background: rgba(217, 164, 91, 0.3);
  color: #FFFFFF;
}

.mldb-center {
  flex: 1 1 360px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 6px;
}

.mldb-step-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mldb-step-counter {
  font-family: var(--mc-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #D9A45B;
  color: #141413;
}

.mldb-step-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFDF9;
}

.mldb-step-tip {
  font-size: 11.8px;
  color: #E2DACB;
  line-height: 1.4;
}

.mldb-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mldb-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 198, 153, 0.3);
  color: #FAF8F5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.mldb-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  border-color: #F7CFA0;
}

.mldb-nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.mldb-nav-btn.primary-next {
  background: linear-gradient(135deg, #D9A45B 0%, #B87D32 100%);
  border: 1px solid #FDE68A;
  color: #141413;
  font-weight: 800;
  padding: 7px 14px;
  box-shadow: 0 4px 14px rgba(217, 164, 91, 0.32);
}

.mldb-nav-btn.primary-next:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.mldb-min-btn {
  padding: 7px 9px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #C7C1B6;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.mldb-min-btn:hover {
  color: #FFFFFF;
  border-color: rgba(247, 207, 160, 0.5);
}

/* 위로 열리는 전체 순서 목차(TOC) 팝오버 */
#ml-docent-toc-popover,
.mldb-toc-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  right: 0;
  background: linear-gradient(170deg, rgba(20, 18, 15, 0.98) 0%, rgba(29, 25, 20, 0.98) 100%);
  border: 1.5px solid rgba(217, 164, 91, 0.65);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.55);
  max-height: min(62dvh, calc(100dvh - 185px));
  overflow-y: auto;
}

.mldb-toc-popover.hidden {
  display: none !important;
}

.mldb-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(226, 198, 153, 0.22);
}

.mldb-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 8px;
}

/* 접었을 때 좌하단 컴팩트 플로팅 알약 버튼 (우하단 카카오/기타 버튼과 겹침 0%) */
#ml-docent-minimized-pill {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 14px;
  z-index: 9500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1B1713 0%, #2B231A 100%);
  border: 1.5px solid #D9A45B;
  color: #FEF3C7;
  font-family: var(--mc-sans);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  transition: all 0.2s ease;
}

#ml-docent-minimized-pill:hover {
  background: linear-gradient(135deg, #D9A45B 0%, #B87E31 100%);
  color: #141413;
  transform: translateY(-2px);
}

#ml-docent-minimized-pill.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  #ml-global-docent-bar {
    padding: 10px 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 16px);
  }
  .mldb-center {
    order: -1;
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* 모바일(<=640px) 비주얼 비율 보존, 중첩 패딩 다이어트 & 도슨트 바 2단 컴팩트화 */
@media (max-width: 640px) {
  body.ml-docent-open {
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mc-scene-thumb {
    min-height: 190px;
  }

  .mc-hero-visual-frame {
    min-height: 460px;
  }

  .mc-board-container {
    padding: 12px 12px 110px;
  }

  .mc-target-section,
  .mc-target-panel,
  .mc-why-section,
  .lpp-hub-shell,
  .mc-metric-cell,
  .mc-iso-section,
  .mc-grid-header,
  .mc-grid-section > :not(.mc-grid-header),
  #visitor-curation-hub {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mc-target-section,
  .mc-why-section,
  .lpp-hub-shell,
  .mc-iso-section {
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .mc-target-panel,
  .mc-metric-cell {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  #ml-global-docent-bar {
    padding: 8px 10px;
    border-radius: 15px;
    width: calc(100% - 12px);
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .mldb-inner {
    gap: 6px;
  }

  .mldb-center {
    padding: 0 2px;
    gap: 2px;
  }

  .mldb-step-headline {
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .mldb-step-counter {
    font-size: 10px;
    padding: 2px 7px;
    flex-shrink: 0;
  }

  .mldb-step-title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .mldb-tip-line,
  .mldb-step-tip {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .mldb-left,
  .mldb-right {
    gap: 5px;
  }

  .mldb-course-select {
    font-size: 11px !important;
    padding: 6px 7px;
    max-width: 148px;
  }

  .mldb-toc-btn,
  .mldb-nav-btn,
  .mldb-min-btn {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .mldb-nav-btn.primary-next {
    padding: 6px 10px;
  }

  #ml-docent-toc-popover,
  .mldb-toc-popover {
    padding: 12px 14px;
    max-height: min(62dvh, calc(100dvh - 185px));
  }
}







