/* assets/css/style.css - 오아부지 AI 아카데미 안티슬롭 모던 디자인 시스템 */

:root {
  /* Surface & Canvas */
  --canvas-bg: #F8FAFC;
  --surface-card: #FFFFFF;
  --surface-subtle: #F1F5F9;
  --surface-inset: #F8FAFC;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-focus: #0F172A;
  
  /* Typography Tokens */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  /* Brand & Accents */
  --brand-primary: #0F172A;
  --brand-primary-hover: #1E293B;
  --brand-accent: #2563EB;
  --brand-accent-subtle: #EFF6FF;
  --brand-accent-border: #BFDBFE;
  
  --state-success: #059669;
  --state-success-bg: #ECFDF5;
  --state-success-border: #A7F3D0;
  
  --kakao-yellow: #FEE500;
  --kakao-black: #191919;
  
  /* Elevation & Metrics */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-micro: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 24px -6px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 20px 30px -10px rgba(15, 23, 42, 0.08);

  /* Single Unified Font Family */
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--canvas-bg);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 15px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .step-title, .brand-title {
  text-wrap: balance;
  word-break: keep-all;
  letter-spacing: -0.02em;
}

p, .step-tagline, .callout-body, .mission-headline, .observation-body, .station-desc {
  text-wrap: pretty;
  word-break: keep-all;
}

/* 한국어 호흡 라인 및 의미 덩어리 묶음 (Semantic Chunks) */
.chunk {
  display: inline-block;
  white-space: normal;
}

.m-break {
  display: none;
}

@media (max-width: 768px) {
  .m-break {
    display: inline;
  }
}

/* 1. 상단 글로벌 헤더 */
.global-header {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-micro);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-meta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.session-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}

.live-indicator-dot {
  width: 7px;
  height: 7px;
  background: var(--state-success);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* 2. 진행 단계 내비게이션 바 (Segmented Stepper) */
.stepper-nav-wrap {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
  overflow-x: auto;
}

.stepper-list {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
  min-width: max-content;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  border: 1px solid transparent;
}

.stepper-item:hover {
  background: var(--surface-subtle);
  color: var(--text-heading);
}

.stepper-item.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.stepper-item.completed {
  color: var(--state-success);
}

.stepper-item.completed .step-index-mono {
  background: var(--state-success-bg);
  color: var(--state-success);
  border-color: var(--state-success-border);
}

.step-index-mono {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--surface-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.stepper-item.active .step-index-mono {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* 3. 메인 콘텐츠 컨테이너 (2열 Split View) */
.main-wrapper {
  max-width: 1360px;
  margin: 24px auto;
  padding: 0 24px;
  width: 100%;
  flex: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

/* 좌측 패널 (핸드북 / 가이드) */
.guide-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.phase-tag {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  background: var(--brand-accent-subtle);
  border: 1px solid var(--brand-accent-border);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 12px;
}

.step-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-tagline {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 직관적 원리 (핵심 멘탈 모델 카드) */
.analogy-callout {
  background: var(--surface-subtle);
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.callout-header svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-accent);
}

.callout-body {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* 미션 섹션 라벨 */
.section-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-meta-bar svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
}

.mission-headline {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.6;
}

/* 프롬프트 조립 랩 (워크벤치) */
.prompt-workbench {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prompt-card {
  background: var(--surface-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.prompt-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-micro);
}

.prompt-card-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prompt-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-tag {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--surface-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.prompt-label-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.btn-action-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.btn-action-copy svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  transition: stroke 0.15s ease;
}

.btn-action-copy:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-heading);
}

.btn-action-copy:hover svg {
  stroke: var(--text-heading);
}

.btn-action-copy.copied {
  background: var(--state-success);
  border-color: var(--state-success);
  color: #FFFFFF;
}

.btn-action-copy.copied svg {
  stroke: #FFFFFF;
}

.prompt-content-box {
  padding: 14px 18px;
  font-size: 13.5px;
  font-family: var(--font-family);
  color: var(--text-heading);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 관찰 포인트 카드 */
.observation-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.observation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.observation-header svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
}

.observation-body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 우측 패널 (실전 작업 & 뷰어) */
.workspace-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 86px;
}

/* 실전 AI 페어링 가이드 카드 */
.partner-station-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.station-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.station-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.partner-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.partner-hub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-micro);
}

.partner-hub-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
}

.partner-hub-btn:hover {
  border-color: var(--border-focus);
  background: var(--surface-subtle);
  transform: translateY(-1px);
}

.snap-instruction {
  background: var(--surface-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.snap-instruction svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--text-muted);
}

.kbd-badge {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-heading);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

/* 5단계: 바이브 코딩 인라인 샌드박스 뷰어 */
.vibe-workbench-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vibe-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vibe-textarea {
  width: 100%;
  height: 110px;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: 12px;
  color: var(--text-heading);
  background: var(--surface-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  line-height: 1.5;
  resize: vertical;
}

.vibe-textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-render-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-xs);
  min-height: 44px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  align-self: flex-start;
}

.btn-render-trigger svg {
  width: 15px;
  height: 15px;
  stroke: #FFFFFF;
}

.btn-render-trigger:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* 브라우저 목업 창 */
.browser-mockup-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-micro);
}

.browser-header-bar {
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mac-window-dots {
  display: flex;
  gap: 6px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.mac-dot.close { background: #FF5F56; }
.mac-dot.min { background: #FFBD2E; }
.mac-dot.max { background: #27C93F; }

.browser-address-bar {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 3px 10px;
  font-family: var(--font-family);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.sandbox-viewport {
  width: 100%;
  height: 380px;
  background: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sandbox-empty-prompt {
  text-align: center;
  padding: 30px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

/* 6단계: 수료 인증 및 오아부지 디렉터 리포트 */
.graduation-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.grad-seal-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grad-seal-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand-accent);
}

.grad-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-align: center;
}

.grad-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  word-break: keep-all;
  text-wrap: pretty;
}

/* 수료증 입력 폼 */
.cert-field-group {
  margin-bottom: 14px;
  text-align: left;
}

.cert-input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.cert-label-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.cert-input {
  width: 100%;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  color: var(--text-heading);
  font-family: inherit;
  transition: all 0.15s ease;
}

.cert-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-heading);
  font-family: inherit;
  resize: vertical;
  min-height: 72px;
  transition: all 0.15s ease;
}

.cert-input:focus,
.cert-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-save-cert {
  width: 100%;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-xs);
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  margin-top: 6px;
  box-shadow: var(--shadow-micro);
}

.btn-save-cert:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* 공식 수료증 프레임 */
.cert-diploma-frame {
  background: #FFFFFF;
  border: 2px solid #D97706;
  outline: 4px solid #FEF3C7;
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.08);
}

.cert-seal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.cert-seal-badge svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
}

.cert-diploma-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #B45309;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-diploma-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cert-recipient-wrap {
  margin-bottom: 14px;
}

.cert-recipient-name {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  border-bottom: 2px solid #F59E0B;
  padding-bottom: 2px;
  display: inline-block;
}

.cert-citation {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-body);
  word-break: keep-all;
  text-wrap: pretty;
  margin-bottom: 16px;
  padding: 0 6px;
}

.cert-highlight-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 18px;
}

.cert-highlight-card {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  line-height: 1.55;
  word-break: keep-all;
  text-wrap: pretty;
}

.cert-highlight-card.resolution {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.cert-highlight-card.mentor {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.cert-highlight-card strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.cert-highlight-card.resolution strong {
  color: #047857;
}

.cert-highlight-card.mentor strong {
  color: #1D4ED8;
}

.cert-meta-footer {
  border-top: 1px dashed #E2E8F0;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.cert-storage-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #A7F3D0;
}

/* 수료증 액션 버튼 그룹 */
.btn-dispatch-email {
  width: 100%;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-xs);
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-micro);
  text-decoration: none;
}

.btn-dispatch-email:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

.btn-dispatch-email svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

.btn-dispatch-share {
  width: 100%;
  background: #FEE500;
  color: #191919;
  border: none;
  border-radius: var(--radius-xs);
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-dispatch-share svg {
  width: 17px;
  height: 17px;
  stroke: #191919;
}

.btn-dispatch-share:hover {
  background: #FADA0A;
  transform: translateY(-1px);
}

.cert-btn-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.cert-email-direct-guide {
  margin-top: 12px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cert-email-direct-guide strong {
  color: var(--text-heading);
}

.cert-gmail-link {
  color: #EA4335;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.cert-gmail-link:hover {
  text-decoration: underline;
}

.btn-cert-sub {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-radius: var(--radius-xs);
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-cert-sub:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-heading);
}

/* 4. 하단 고정 내비게이션 바 */
.bottom-nav {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 28px;
  position: sticky;
  bottom: 0;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.03);
}

.bottom-nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.nav-direction-btn svg {
  width: 15px;
  height: 15px;
}

.nav-direction-btn.prev {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.nav-direction-btn.prev:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-heading);
}

.nav-direction-btn.next {
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  color: #FFFFFF;
}

.nav-direction-btn.next:hover:not(:disabled) {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-1px);
}

.nav-direction-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.nav-status-counter {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

/* 반응형 모바일 최적화 (1024px 미만) */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .workspace-panel {
    position: static;
  }
  
  .sandbox-viewport {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .global-header {
    padding: 12px 16px;
  }
  
  .main-wrapper {
    padding: 0 16px;
    margin: 16px auto;
  }
  
  .ui-card {
    padding: 20px 16px;
  }
  
  .step-title {
    font-size: 22px;
  }
  
  .partner-link-grid {
    grid-template-columns: 1fr;
  }
  
  .bottom-nav {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  
  .nav-direction-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   인포그래픽 다이어그램 전용 스타일시트 (korean-ui-basics & taste-skill 준수)
   ========================================================================== */

.infographic-container {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

/* 0단계: 대화 파이프라인 */
.info-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
}

.pipeline-step.highlight {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.pipeline-step .step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-accent);
  display: block;
  margin-bottom: 4px;
}

.pipeline-step strong {
  display: block;
  font-size: 14px;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.pipeline-step p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.pipeline-arrow svg {
  width: 20px;
  height: 20px;
}

.info-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.info-pill-tag {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}

/* 1단계: 검색 vs AI 2열 대조 카드 */
.info-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.comp-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-card.before {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.comp-card.after {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.comp-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  align-self: flex-start;
  background: #E2E8F0;
  color: var(--text-body);
}

.comp-badge.active {
  background: var(--brand-accent);
  color: #FFFFFF;
}

.comp-feature {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

.comp-action {
  margin-top: auto;
  font-size: 12.5px;
  padding: 8px 10px;
  background: #FFFFFF;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.comp-action.highlight {
  background: #FFFFFF;
  border-color: #93C5FD;
  color: var(--brand-accent);
  font-weight: 600;
}

/* 2단계: 3대 기둥 카드 */
.info-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.pillar-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-idx {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-accent);
}

.pillar-card strong {
  font-size: 13.5px;
  color: var(--text-heading);
}

.pillar-card p {
  font-size: 12.5px;
  color: var(--text-heading);
  background: #FFFFFF;
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  border: 1px solid var(--border-subtle);
  line-height: 1.4;
}

.pillar-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.info-metric-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
}

.metric-track {
  flex: 1;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #10B981 100%);
  border-radius: var(--radius-full);
}

.metric-value {
  color: #059669;
  font-weight: 700;
}

/* 3단계: 시간 단축 타임라인 */
.info-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-label {
  width: 90px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.timeline-label.active {
  color: var(--brand-accent);
}

.timeline-track {
  flex: 1;
  display: flex;
  height: 34px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  gap: 2px;
}

.timeline-seg {
  background: #E2E8F0;
  color: var(--text-body);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
}

.timeline-seg.active {
  background: #2563EB;
  color: #FFFFFF;
}

.timeline-total {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.timeline-total.active {
  color: #059669;
}

/* 4단계: 실전 환각 시뮬레이션 감지기 */
.info-detector-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.detector-stage-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.detector-stage-card.trap {
  border-left: 4px solid #64748B;
  background: #F8FAFC;
}

.detector-stage-card.lie {
  border-left: 4px solid #EF4444;
  background: #FEF2F2;
}

.detector-stage-card.solution {
  border-left: 4px solid #10B981;
  background: #F0FDF4;
}

.detector-ai-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.detector-label-tag {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detector-label-tag.trap {
  color: #475569;
}

.detector-label-tag.alert {
  color: #DC2626;
}

.detector-label-tag.success {
  color: #059669;
}

.fake-danger-pill {
  font-size: 11px;
  font-weight: 700;
  color: #DC2626;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: 2px 8px;
  border-radius: 9999px;
}

.detector-content-quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-heading);
  word-break: keep-all;
  text-wrap: pretty;
}

.detector-content-quote.fake {
  font-style: normal;
  color: #991B1B;
  background: rgba(254, 226, 226, 0.6);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px dashed #FCA5A5;
}

.detector-flow-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  padding: 2px 0;
}

.detector-flow-indicator svg {
  color: #94A3B8;
  flex-shrink: 0;
}

.solution-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.sol-item {
  font-size: 13px;
  line-height: 1.5;
  color: #065F46;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  word-break: keep-all;
  text-wrap: pretty;
}

.sol-item strong {
  color: #047857;
  font-weight: 700;
  margin-right: 4px;
}

/* 기존 필터 스타일 호환 유지 */
.info-funnel-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.funnel-stage {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.funnel-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: #E2E8F0;
  border-radius: var(--radius-xs);
  color: var(--text-body);
}

.funnel-text {
  font-size: 13.5px;
  color: var(--text-heading);
}

.funnel-divider {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.04em;
}

.funnel-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  flex: 1;
  min-width: 140px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1E40AF;
  text-align: center;
}

.funnel-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-card {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.result-card.false {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

.result-card.true {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
}

/* 5단계: 바이브 코딩 파이프라인 */
.info-vibe-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.vibe-step {
  flex: 1;
  min-width: 130px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.vibe-step.highlight {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.vibe-step.active {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.vibe-step-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
}

.vibe-step strong {
  display: block;
  font-size: 13px;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.vibe-step p {
  font-size: 11.5px;
  color: var(--text-muted);
}

.vibe-arrow {
  color: var(--text-dim);
  font-weight: 700;
  font-size: 14px;
}

.vibe-benefit-row {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-accent);
  flex-wrap: wrap;
}

/* 6단계: 성장 루프 */
.info-growth-loop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.growth-node {
  flex: 1;
  min-width: 110px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 10px;
  text-align: center;
}

.growth-node.active {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.growth-node span {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

.growth-node strong {
  display: block;
  font-size: 13px;
  color: var(--text-heading);
}

.growth-node small {
  font-size: 11px;
  color: var(--text-muted);
}

.loop-arrow {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 700;
}

@media (max-width: 768px) {
  .info-comparison-grid,
  .info-pillars-row,
  .funnel-result-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-arrow, .vibe-arrow, .loop-arrow {
    display: none;
  }
}

/* ==========================================================================
   에디토리얼 포토 비주얼 카드
   ========================================================================== */

.step-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0F172A;
  box-shadow: var(--shadow-card);
  margin-top: 18px;
}

.step-photo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.step-photo-card:hover .step-photo-img {
  transform: scale(1.02);
}

.step-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-photo-caption svg {
  width: 15px;
  height: 15px;
  stroke: #60A5FA;
  flex-shrink: 0;
}

/* 랜딩페이지 홈 복귀 링크 */
.nav-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.nav-intro-link:hover {
  color: var(--text-heading);
  background: var(--surface-subtle);
  border-color: var(--border-strong);
}

/* 5. 플로팅 커뮤니티 응원 위젯 (동문들의 한마디) */
.floating-cheer-widget {
  position: fixed;
  left: 24px;
  bottom: 84px;
  z-index: 95;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  animation: cheerSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cheerSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cheer-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cheer-widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cheer-sparkle-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: cheerPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes cheerPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.cheer-widget-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cheer-widget-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-cheer-nav {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
  padding: 0;
}

.btn-cheer-nav:hover {
  background: var(--surface-subtle);
  border-color: var(--border-subtle);
  color: var(--text-heading);
}

.btn-cheer-nav svg {
  width: 14px;
  height: 14px;
}

.cheer-counter-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-accent);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 2px 6px;
  border-radius: 9999px;
  line-height: 1;
}

.btn-cheer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  margin-left: 2px;
  padding: 0;
}

.btn-cheer-close:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.cheer-widget-body {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.cheer-bubble-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-heading);
  word-break: keep-all;
  text-wrap: pretty;
  font-weight: 500;
  margin: 0;
  transition: opacity 0.2s ease;
}

.cheer-author-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.cheer-widget-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.cheer-goto-cert-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.cheer-goto-cert-link:hover {
  text-decoration: underline;
  color: var(--brand-accent-hover);
}

/* 플로팅 축소 알약 버튼 */
.floating-cheer-minimized {
  position: fixed;
  left: 24px;
  bottom: 84px;
  z-index: 95;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  transition: all 0.15s ease;
}

.floating-cheer-minimized:hover {
  transform: translateY(-1px);
  border-color: var(--brand-accent);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.floating-cheer-minimized svg {
  color: var(--brand-accent);
}

.cheer-min-badge {
  background: #10B981;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 9999px;
}

/* 6. 오아부지 멘토 관리자 모드 (Admin Lounge) */
.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-admin-btn:hover {
  background: var(--surface-subtle);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.nav-admin-btn svg {
  stroke: var(--brand-accent);
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: adminFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.admin-modal-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 380px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  text-align: center;
  position: relative;
}

.admin-lock-icon {
  width: 48px;
  height: 48px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  margin-bottom: 12px;
}

.admin-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.admin-modal-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  word-break: keep-all;
  text-wrap: pretty;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.admin-input-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 5px;
}

.admin-text-input {
  width: 100%;
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  color: var(--text-heading);
  font-family: inherit;
  transition: all 0.15s ease;
}

.admin-text-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-login-error {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  text-align: center;
}

.admin-login-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.btn-admin-cancel {
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-radius: var(--radius-xs);
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-admin-cancel:hover {
  background: #E2E8F0;
}

.btn-admin-submit {
  background: var(--brand-primary);
  border: none;
  color: #FFFFFF;
  border-radius: var(--radius-xs);
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-admin-submit:hover {
  background: var(--brand-primary-hover);
}

/* 관리자 대시보드 모달 */
.admin-dashboard-container {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  animation: adminSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-dash-header {
  padding: 20px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.admin-badge-gold {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.admin-dash-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.admin-dash-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

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

.btn-admin-dash-action {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-admin-dash-action:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-heading);
}

.btn-admin-dash-action.logout {
  color: #DC2626;
  border-color: #FECACA;
  background: #FEF2F2;
}

.btn-admin-dash-action.logout:hover {
  background: #FEE2E2;
}

.btn-admin-dash-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 6px;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease;
}

.btn-admin-dash-close:hover {
  color: var(--text-heading);
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 24px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.admin-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  text-align: center;
}

.admin-stat-card.highlight {
  border-color: #BFDBFE;
  background: #EFF6FF;
}

.admin-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
}

.admin-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-feed-section {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.admin-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.admin-feed-heading {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-heading);
}

.admin-feed-tip {
  font-size: 11px;
  color: var(--text-muted);
}

.admin-feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-feed-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.admin-feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 10px;
}

.admin-feed-user-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-feed-user-name {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}

.admin-feed-time-badge {
  font-size: 11px;
  color: var(--text-muted);
  background: #F8FAFC;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
}

.btn-feed-delete {
  background: transparent;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-feed-delete:hover {
  background: #FEF2F2;
}

.admin-feed-note-box {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #1E40AF;
  word-break: keep-all;
  text-wrap: pretty;
}

.admin-feed-note-box strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #1D4ED8;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.admin-feed-resolution-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #166534;
  word-break: keep-all;
  text-wrap: pretty;
}

.admin-feed-resolution-box strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.admin-feed-cheer-tag {
  font-size: 11.5px;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  word-break: keep-all;
  text-wrap: pretty;
}

.admin-feed-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
  .admin-dash-header {
    flex-direction: column;
  }
  .admin-dash-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .floating-cheer-widget {
    left: 14px;
    right: 14px;
    bottom: 78px;
    width: auto;
    max-width: none;
  }
  .floating-cheer-minimized {
    left: 14px;
    bottom: 78px;
  }
}
