/* =========================================================
   DOROLAND — FIGMA EXACT PC LAYOUT
   기준 프레임: 1440px PC
   목표: 첨부 PC.png처럼 "중앙 고정 컬럼 + 첫 통합 패널 + 넓은 구성품 그리드"
   ========================================================= */

:root {
  --fg-page-bg: #040814;
  --fg-topbar-bg: #070a16;
  --fg-panel: #2a2d38;
  --fg-panel-dark: #111827;
  --fg-panel-deep: #0c1321;
  --fg-card: #073f44;
  --fg-card-2: #0b5054;
  --fg-line: rgba(255, 255, 255, 0.08);
  --fg-line-strong: rgba(255, 255, 255, 0.16);
  --fg-text: #f5f7fb;
  --fg-soft: #b9c3d5;
  --fg-muted: #7f8a9e;
  --fg-mint: #14B8A6;
  --fg-purple: #8f61ff;
  --fg-pink: #ff4f86;
  --fg-yellow: #ffb340;

  /* PC.png를 1440 프레임으로 환산한 핵심 값 */
  --fg-topbar-w: 1080px;
  --fg-narrow-w: 736px;
  --fg-inner-w: 624px;
  --fg-wide-w: 976px;

  --fg-radius-panel: 6px;
  --fg-radius-card: 8px;
  --fg-radius-row: 4px;

  --fg-font-ko: "Noto Sans KR", "Hahmlet", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fg-font-display: "Hahmlet", "Noto Sans KR", serif;
  --fg-font-pixel: "Press Start 2P", "JetBrains Mono", monospace;
}

html {
  background: var(--fg-page-bg);
  scroll-behavior: smooth;
}

body.fg-page {
  margin: 0;
  min-width: 1080px;
  min-height: 100vh;
  background: transparent;
  color: var(--fg-text);
  font-family: var(--fg-font-ko);
  font-size: 14px;
  line-height: 1.45;
  overflow-x: hidden;
}

body.fg-page,
body.fg-page * {
  box-sizing: border-box;
}

body.fg-page img {
  display: block;
  max-width: 100%;
}

body.fg-page a {
  color: inherit;
  text-decoration: none;
}

/* 기존 V7 TOC는 Figma 캡처에 안 보이므로 레이아웃에서 제거 */
body.fg-page .toc-sidebar {
  display: none !important;
}

/* 메인 외 페이지에서 퀘스트/스토리 칩 숨김 */
body.fg-page .nav-links {
  display: none !important;
}

body.fg-page .progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--purple), var(--coral));
}

/* =========================================================
   1. 상단 바 — PC.png 상단 검은 바
   ========================================================= */

.fg-topbar {
  width: var(--fg-topbar-w);
  height: 44px;
  margin: 42px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fg-topbar-bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.fg-topbar-left,
.fg-topbar-right,
.fg-brand,
.fg-back {
  display: flex;
  align-items: center;
}

.fg-topbar-left {
  gap: 10px;
}

.fg-topbar-right {
  gap: 12px;
}

.fg-back {
  gap: 8px;
  color: var(--fg-text);
  font-size: 12px;
  font-weight: 800;
}

.fg-back-icon {
  color: var(--fg-mint);
  font-size: 10px;
}

.fg-brand {
  gap: 6px;
  font-family: var(--fg-font-pixel);
  font-size: 9px;
  letter-spacing: -0.03em;
}

.fg-brand span {
  color: var(--fg-mint);
}

.fg-version {
  height: 18px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(22, 244, 208, 0.14);
  color: var(--fg-mint);
  font-family: var(--fg-font-pixel);
  font-size: 8px;
}

.fg-lang {
  height: 24px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--fg-soft);
  font-family: var(--fg-font-pixel);
  font-size: 8px;
  cursor: pointer;
}

/* =========================================================
   2. 전체 메인 컬럼
   ========================================================= */

.fg-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================================
   3. Hero — 캡처처럼 중앙 타이틀만 따로
   ========================================================= */

.fg-back-link {
  position: absolute;
  bottom: -40px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fg-back-link svg { flex-shrink: 0; display: block; }
.fg-back-link span {
  color: #717376;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
}
.fg-back-link:hover { opacity: 0.7; }

.fg-hero {
  width: var(--fg-narrow-w);
  margin: 240px auto 72px;
  text-align: center;
}

.fg-hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 32px;
  padding: 0 18px;
  margin: 0 auto 24px;
  border-radius: 30px;
  background: #14B8A6;
  border: none;
  color: #FFFFFF;
  font-family: 'Inter', var(--fg-font-ko);
  font-size: 15px;
  font-weight: 800;
  line-height: 22.6px;
}

.fg-hero-title {
  display: inline-block;
  margin: 24px 0 0;
  font-family: 'Hahmlet', var(--fg-font-display);
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #67E8F9, #8B5CF6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.fg-hero-subtitle {
  margin: 10px 0 0;
  color: #f2f5fb;
  font-family: var(--fg-font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.fg-hero-desc {
  margin: 18px auto 0;
  color: var(--fg-soft);
  font-size: 14px;
  font-weight: 700;
}

.fg-concept-row {
  margin: 34px auto 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fg-concept-row span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-soft);
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   4. 공통 섹션 규칙
   ========================================================= */

.fg-section {
  width: 976px;
  max-width: 100%;
  margin: 0 auto 82px;
}

#kit-view {
  width: 976px;
  max-width: 100%;
  padding: 12px 16px;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 15px;
}

.fg-section.is-wide {
  width: var(--fg-wide-w);
  max-width: 100%;
}

.fg-section-head {
  width: 976px;
  max-width: 100%;
  margin: 0 auto 14px;
}

.fg-section-title {
  margin: 0;
  color: #F1F5F9;
  font-family: var(--fg-font-display);
  font-size: 36px;
  line-height: 42.5px;
  font-weight: 500;
  letter-spacing: -2px;
}

.fg-section-desc {
  margin: 8px 0 0;
  color: #B8C1DA;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.2px;
}

.fg-panel {
  width: 976px;
  max-width: 100%;
  background: #2A2D38;
  border: 1px solid #3F424C;
  border-radius: 15px;
  margin: 0 auto;
}

.fg-panel-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12.8px;
}

.fg-chip-title {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}

.fg-chip-title span {
  height: 21px;
  min-width: 167px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14B8A6;
  color: #fff;
  border-radius: 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
  letter-spacing: 0;
}

/* =========================================================
   5. 첫 통합 패널 — 스토리 + 사진 + 정보바를 한 카드 안에 둠
   PC.png에서 제일 중요한 차이
   ========================================================= */

.fg-intro-module {
  width: var(--fg-narrow-w);
  margin: 0 auto 96px;
  padding: 18px 0 26px;
  background: var(--fg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--fg-radius-panel);
}

.fg-story-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 10px;
  color: var(--fg-mint);
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.fg-dot-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--fg-mint);
  border-radius: 1px;
  flex-shrink: 0;
}

.fg-story-wrap {
  display: flex;
  flex-direction: column;
  gap: 5.6px;
}

.fg-story-box {
  padding: 13.6px 15.2px;
  background: rgba(7, 14, 28, 0.58);
  border-radius: 14.4px;
}

.fg-story-label {
  display: inline-flex;
  align-items: center;
  padding: 6.47px 11.52px 7.92px 11.52px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #14B8A6;
  font-size: 11px;
  font-weight: 900;
}

.fg-story-copy {
  margin: 0;
  color: var(--fg-text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  word-break: keep-all;
}

.fg-kit-photo-grid {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fg-photo-main,
.fg-photo-stack > div {
  overflow: hidden;
  background: #101827;
  border-radius: 4px;
}

.fg-photo-main {
  height: 528px;
}

.fg-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.fg-photo-stack > div {
  height: 250px;
}

.fg-photo-main img,
.fg-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-stat-bar {
  width: 100%;
  margin: 20px auto 0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(10, 18, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.fg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  height: 85.87px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.fg-stat:last-child {
  border-right: 0;
}

.fg-stat-label {
  color: var(--fg-mint);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.fg-stat-value {
  color: var(--fg-text);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
}

/* =========================================================
   6. 교육자료
   ========================================================= */

.fg-resource-panel {
  padding: 28px 24px 30px;
  box-sizing: border-box;
}

.fg-resource-header {
  text-align: center;
  margin-bottom: 20px;
}

.fg-resource-badge {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 22.6px;
  color: #14B8A6;
}

.fg-resource-subtitle {
  font-family: 'Hahmlet', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  color: #F1F5F9;
  margin: 6px 0 10px;
}

.fg-resource-copy {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #D7D7D7;
  margin: 0;
}

.fg-resource-video {
  display: block;
  width: 540.69px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 18px auto 40px;
  background: #000;
  border-radius: 15.2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fg-resource-meta {
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 40px;
  text-align: center;
}

.fg-resource-divider {
  width: 1px;
  height: 159.5px;
  background: #3F424C;
  align-self: center;
}

.fg-resource-meta strong {
  display: block;
  color: #D7D7D7;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  margin-bottom: 10px;
}

.fg-resource-meta span {
  display: block;
  margin-top: 4px;
  color: #D7D7D7;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.fg-resource-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 89px;
  height: 39px;
  margin-top: 12px;
  background: #2A2D38;
  border: 1px solid #3F424C;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   7. 퀴즈 / 안전 체크
   ========================================================= */

.fg-quiz-panel {
  padding: 90px 18px 24px;
  min-height: 417px;
  box-sizing: border-box;
  position: relative;
}

.fg-quiz-score {
  position: absolute;
  top: 30px;
  right: 22px;
  width: 105px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #B8C7DA;
  font-family: 'Inter', sans-serif;
  font-size: 13.1px;
  font-weight: 800;
  line-height: 15.7px;
}

.fg-quiz-card {
  padding: 14.4px 12.88px 14.4px 14.71px;
  background: rgba(6, 21, 40, 0.76);
  border: 1px solid rgba(20, 184, 166, 0.10);
  border-radius: 13.8px;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  min-height: 242.8px;
}

.fg-quiz-badge {
  width: 60px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #B8C7DA;
  font-size: 12px;
  font-weight: 800;
}

.fg-quiz-question {
  margin: 0;
  color: #F1F5F9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.fg-quiz-btn-o {
  width: 100%;
  padding: 12px;
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 13.8px;
  color: #D8FFF8;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.fg-quiz-btn-x {
  width: 100%;
  padding: 12px;
  background: rgba(248, 113, 133, 0.10);
  border: 1px solid rgba(248, 113, 133, 0.28);
  border-radius: 13.8px;
  color: #FFD8E3;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.fg-quiz-hint {
  margin: 18px 0 0;
  text-align: center;
  color: #B8C1DA;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s;
}

.fg-quiz-hint.is-complete {
  color: #14B8A6;
  font-weight: 700;
}

/* 안전 약속 해금 버튼 */
#starter-quiz .fg-quiz-unlock {
  display: none !important;
  margin-top: 18px;
}

#starter-quiz .fg-quiz-unlock.is-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.4s ease;
}

/* 잠금 상태 */
.fg-locked {
  display: none !important;
}

.fg-locked-content {
  display: none !important;
}

/* 안전약속 완료 버튼 */
.fg-stage-done {
  display: none !important;
}

.fg-stage-done.is-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fg-stage-done.is-animate {
  animation: stageAppear 0.4s ease;
}

.fg-stage-done:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.fg-stage-done.is-active {
  opacity: 1;
}

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

/* 퀴즈 인터랙션 */
.fg-quiz-card.is-answered .fg-quiz-btn-o,
.fg-quiz-card.is-answered .fg-quiz-btn-x {
  opacity: 0.7;
}

.fg-quiz-card.is-answered .fg-quiz-btn-o.is-selected {
  opacity: 1;
  border-color: rgba(20, 184, 166, 0.7);
  background: rgba(20, 184, 166, 0.18);
}

.fg-quiz-card.is-answered .fg-quiz-btn-x.is-selected {
  opacity: 1;
  border-color: rgba(248, 113, 133, 0.7);
  background: rgba(248, 113, 133, 0.18);
}

.fg-quiz-feedback {
  display: none;
  padding: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.fg-quiz-feedback.is-correct,
.fg-quiz-feedback.is-wrong {
  display: block;
}

.fg-quiz-feedback.is-correct {
  color: #D8FFF8;
}

.fg-quiz-feedback.is-correct strong {
  color: #14B8A6;
}

.fg-quiz-feedback.is-wrong {
  color: #FFD8E3;
}

.fg-quiz-feedback.is-wrong strong {
  color: #F87185;
}

.fg-quiz-card.is-answered {
  min-height: auto;
}

.fg-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 287.59px);
  gap: 12px 19px;
  justify-content: center;
}

.fg-mini-card {
  min-height: 128px;
  padding: 16px 14px;
  background: #2A2D38;
  border: 1px solid #3F424C;
  border-radius: 15px;
  position: relative;
}

.fg-mini-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, #14B8A6, #14B8A6);
}

.fg-mini-card h3 {
  margin: 0 0 8px;
  color: #F1F5F9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.fg-mini-card p {
  margin: 0;
  color: #D7D7D7;
  font-size: 14px;
  line-height: 1.45;
}

/* 구성품 안내 배너 */
.fg-comp-guide {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14.4px;
}

.fg-comp-guide-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #14B8A6;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.fg-comp-guide-text {
  margin: 0;
  color: #B8C1DA;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* 구성품 세로 레이아웃 */
.fg-comp-vertical {
  display: flex;
  flex-direction: column;
  width: 976px;
  max-width: 100%;
  height: 613px;
  padding: 0;
  overflow: hidden;
}

.fg-comp-vertical .fg-comp-left {
  padding: 24px 28px;
}

.fg-comp-vertical .fg-comp-right {
  flex: 1;
  overflow: hidden;
}

.fg-comp-vertical .fg-comp-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-row-panel {
  padding: 18px 18px 22px;
}

.fg-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fg-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.fg-row-inner {
  flex: 1;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14.4px;
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 700;
}

.fg-row-num {
  width: 42px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  color: #14B8A6;
  font-size: 13px;
  font-weight: 800;
}

.fg-row-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 도전 미션 카테고리 배지 */
.fg-mission-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.fg-mission-badge--required {
  background: rgba(20, 184, 166, 0.18);
  color: #14B8A6;
}

.fg-mission-badge--inquiry {
  background: rgba(251, 146, 60, 0.18);
  color: #FB923C;
}

.fg-mission-badge--creative {
  background: rgba(168, 85, 247, 0.18);
  color: #C084FC;
}

.fg-row-check-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fg-row-check-box::before {
  content: '';
  width: 25px;
  height: 25px;
  background: #D9D9D9;
  display: block;
}

.fg-row-check-icon {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  border: 1.07px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.10);
  padding: 8px;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.fg-check-row.is-checked .fg-row-check-box::before {
  display: none;
}

.fg-check-row.is-checked .fg-row-check-icon {
  opacity: 1;
}

.fg-check-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* 프로그레스 바 */
.fg-safety-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.fg-safety-progress-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #14B8A6;
  font-size: 13px;
  font-weight: 700;
}

.fg-safety-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #14B8A6;
  flex-shrink: 0;
}

.fg-safety-progress-count {
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 800;
}

.fg-safety-bar {
  width: 100%;
  height: 4px;
  background: #3F424C;
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}

.fg-safety-bar-fill {
  width: 0;
  height: 100%;
  background: #14B8A6;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* 하단 안내 */
.fg-safety-notice {
  margin: 16px 0 0;
  text-align: center;
  color: #B8C1DA;
  font-size: 14px;
  font-weight: 400;
}

.fg-primary-button {
  height: 36px;
  min-width: 150px;
  padding: 0 24px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 15px;
  background: rgba(20, 184, 166, 0.12);
  color: #14B8A6;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   8. 구성품 확인 — 위는 좁은 패널, 아래 카드는 884px
   ========================================================= */

.fg-component-hero {
  width: var(--fg-narrow-w);
  margin: 0 auto 28px;
  padding: 18px 0 24px;
}

.fg-component-hero.fg-comp-vertical {
  width: 976px;
  max-width: 100%;
  height: 613px;
  padding: 0;
}

.fg-component-hero-img {
  width: var(--fg-inner-w);
  height: 360px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 4px solid #0c1321;
  border-radius: 3px;
  background: #fff;
}

.fg-component-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-wide-divider {
  width: var(--fg-wide-w);
  height: 8px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #d8d9dd;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.fg-parts-grid {
  width: var(--fg-wide-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fg-part-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12) 0%, rgba(8, 16, 31, 0.88) 100%);
  border: 0.84px solid rgba(20, 184, 166, 0.36);
  border-radius: 12px;
  overflow: hidden;
}

.fg-part-img {
  width: 216.78px;
  height: 162.16px;
  margin: 10px auto 0;
  background: #0b1424;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.fg-part-img > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-part-body {
  padding: 12px 14px 0;
}

.fg-part-body h3 {
  margin: 0 0 6px;
  color: #F1F5F9;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 12px;
}

.fg-part-role {
  margin: 0;
  color: #B8C7DA;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.fg-part-hint {
  padding: 0 14px;
  margin-top: auto;
  padding-bottom: 8px;
}

.fg-part-hint-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 10px;
  letter-spacing: 0.12px;
  color: #8FA2BA;
  text-decoration: underline;
  margin-bottom: 4px;
}

.fg-part-hint p {
  margin: 0;
  color: #B8C7DA;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}

.fg-part-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 12px;
}

.fg-part-actions button {
  height: 31px;
  border: 0.84px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.043);
  font-family: 'Inter', sans-serif;
  font-size: 12.69px;
  font-weight: 800;
  color: #F1F5F9;
  cursor: pointer;
}

/* 카드 오버레이 공통 */
.fg-part-img {
  position: relative;
}

.fg-part-overlay {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 0;
}

.fg-part-overlay > img {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
}

/* 있어요 상태 */
.fg-part-card.is-found .fg-part-overlay--found {
  display: flex;
  background: rgba(20, 184, 166, 0.70);
}

.fg-part-card.is-found .fg-part-btn-yes {
  background: rgba(20, 184, 166, 0.10);
  border: 2px solid #14B8A6;
  color: #14B8A6;
}

/* 없어요 상태 */
.fg-part-card.is-missing .fg-part-overlay--missing {
  display: flex;
  background: rgba(230, 0, 33, 0.60);
}

.fg-part-overlay-text {
  margin: 4px 0 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 12px;
  color: #F1F5F9;
}

.fg-part-overlay-btns {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.fg-part-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.fg-part-contact-item > span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 7px;
  font-weight: 400;
  line-height: 12px;
  color: #F1F5F9;
}

.fg-part-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 22px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  text-decoration: none;
}

.fg-part-contact-btn img {
  width: auto;
  height: auto;
  max-width: 28px;
  max-height: 14px;
}

.fg-part-card.is-missing .fg-part-btn-no {
  background: rgba(251, 113, 133, 0.10);
  border: 2px solid #FB7185;
  color: #FB7185;
}

/* 빌드 캐러셀 */
.fg-build-carousel {
  padding: 24px 18px;
}

/* 프로그레스 바 */
.fg-build-progress-row {
  position: relative;
  padding-top: 42px;
  padding-bottom: 0;
}

.fg-build-progress {
  width: 100%;
  height: 10px;
  border-radius: 30px;
  background: #D9D9D9;
  overflow: hidden;
}

.fg-build-progress-fill {
  width: 8.33%;
  height: 100%;
  border-radius: 30px;
  background: #14B8A6;
  transition: width 0.3s ease;
}

.fg-build-progress-label {
  position: absolute;
  top: 0;
  right: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #14B8A6;
  white-space: nowrap;
}

.fg-build-slides {
  position: relative;
  margin-top: 28px;
}

.fg-build-slide {
  display: none;
}

.fg-build-slide.is-active {
  display: block;
}

.fg-build-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fg-build-step-header h3 {
  margin: 0;
  padding-left: 12px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F1F5F9;
}

.fg-build-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  margin-right: 40px;
  margin-top: -6px;
}

.fg-build-help span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
  color: #14B8A6;
  margin-top: -2px;
}

.fg-build-step-img {
  width: 856px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 856 / 455;
  margin: 0 auto 20px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
}

.fg-build-step-img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* 미션 / 체크 / 주의 박스 */
.fg-build-box {
  display: flex;
  flex-direction: column;
  gap: 5.6px;
  width: 856px;
  max-width: 100%;
  padding: 13.6px 15.2px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14.4px;
  margin-bottom: 16px;
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* 주의 박스만 가로 배치 */
.fg-build-box--warning {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  border-color: rgba(245, 158, 11, 0.3);
}

.fg-build-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  height: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13.4px;
  font-weight: 800;
  line-height: 13.4px;
}

.fg-build-badge--mission,
.fg-build-badge--check {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
  color: #14B8A6;
}

.fg-build-badge--warning {
  background: rgba(255, 217, 0, 0.14);
  border: 1px solid rgba(255, 234, 219, 0.22);
  color: #FFA63A;
}

.fg-build-box--warning span:not(.fg-build-badge) {
  color: #FFF0B9;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16.3px;
  font-weight: 400;
  line-height: 26.4px;
}

/* 네비게이션 — 화살표 원형 버튼 2개 */
.fg-build-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.fg-build-nav-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.fg-build-nav-btn:not(:disabled) {
  color: #14B8A6;
}

.fg-build-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.fg-build-dots {
  display: none;
}

.fg-build-dot {
  display: none;
}

.fg-build-counter {
  display: none;
}

.fg-step-row,
.fg-form-row {
  min-height: 42px;
  padding: 12px 14px;
  background: #2A2D38;
  border: 1px solid #3F424C;
  border-radius: 15px;
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 700;
}

.fg-step-row + .fg-step-row,
.fg-form-row + .fg-form-row {
  margin-top: 8px;
}

/* 트러블슈팅 아코디언 */
.fg-trouble-item {
  margin-bottom: 8px;
}

.fg-trouble-btn {
  width: 100%;
  padding: 13.6px 15.2px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14.4px;
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.fg-trouble-btn:hover {
  border-color: #14B8A6;
}

.fg-trouble-item.is-open .fg-trouble-btn {
  border-color: #14B8A6;
  background: rgba(7, 14, 28, 0.58);
}

.fg-trouble-body {
  display: none;
  margin-top: 8px;
  padding: 20px 24px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid #14B8A6;
  border-radius: 14.4px;
}

.fg-trouble-item.is-open .fg-trouble-body {
  display: block;
}

.fg-trouble-body-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #14B8A6;
}

.fg-trouble-steps {
  margin: 0;
  padding-left: 20px;
  color: #F1F5F9;
  font-size: 14px;
  line-height: 2;
}

/* 문의 섹션 */
.fg-trouble-contact {
  text-align: center;
  margin-top: 32px;
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 700;
}

.fg-trouble-contact-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.fg-trouble-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #F1F5F9;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10.09px;
  font-weight: 400;
  line-height: 17.3px;
}

.fg-trouble-contact-btn img {
  width: 21.62px;
  height: 20.18px;
  object-fit: contain;
}

.fg-trouble-contact-btn .fg-contact-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56.21px;
  height: 31.71px;
  border: 1.44px solid #FFFFFF;
  border-radius: 5.76px;
  background: transparent;
}

.fg-trouble-contact-btn:hover .fg-contact-icon-box {
  border-color: #14B8A6;
}

.fg-step-row strong {
  color: var(--fg-mint);
  margin-right: 8px;
}

/* =========================================================
   과학 실험 — 새 디자인
   ========================================================= */

/* Science unlock — 항상 표시 */
#science-lab .fg-sci-unlock {
  margin-top: 18px;
}

/* Review unlock — 올클 시에만 표시 */
#review-quiz .fg-review-unlock {
  display: none !important;
  margin-top: 18px;
}

#review-quiz .fg-review-unlock.is-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.4s ease;
}

.fg-sci-panel {
  width: 976px;
  max-width: 100%;
  padding: 28px 24px 32px;
  box-sizing: border-box;
}

.fg-sci-question-header {
  margin-bottom: 16px;
}

.fg-sci-question-title {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #14B8A6;
}

.fg-sci-question-sub {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #B8C1DA;
}

/* Container label */
.fg-sci-video-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.fg-sci-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.10);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #14B8A6;
}

.fg-sci-video-note {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #8FA2BA;
}

/* Video cards grid */
.fg-sci-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

.fg-sci-videos--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14.4px;
  background: rgba(7, 14, 28, 0.3);
}

.fg-sci-video-placeholder {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #5A6A80;
}

.fg-sci-video-card--empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 14, 28, 0.3);
}

.fg-sci-video-card--empty .fg-sci-thumb-wrap {
  background: rgba(255, 255, 255, 0.03);
}

.fg-sci-video-card {
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14.4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fg-sci-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.fg-sci-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-sci-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.fg-sci-video-tags {
  display: flex;
  gap: 6px;
  padding: 12px 16px 0;
  flex-wrap: wrap;
}

.fg-sci-tag-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #14B8A6;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
}

.fg-sci-tag-pill:first-child {
  background: rgba(20, 184, 166, 0.20);
}

.fg-sci-video-title {
  margin: 8px 16px 4px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.4;
}

.fg-sci-video-desc {
  margin: 0 16px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #B8C7DA;
  line-height: 1.5;
  flex: 1;
}

.fg-sci-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin: 12px 16px 16px;
  padding: 6px 18px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.10);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #14B8A6;
  text-decoration: none;
  transition: background 0.2s;
}

.fg-sci-video-btn:hover {
  background: rgba(20, 184, 166, 0.22);
}

/* Concept section */
.fg-sci-concept {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
  padding-top: 16px;
}

.fg-sci-concept-icon {
  margin-bottom: 14px;
}

.fg-sci-concept-text {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #D7D7D7;
  line-height: 1.8;
}

.fg-sci-concept-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.fg-sci-concept-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F1F5F9;
}

/* Action boxes — 완전 재작성 */
.fg-sci-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.6px;
  margin-bottom: 20px;
}

.fg-sci-action {
  border-radius: 14.4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 14, 28, 0.58);
  padding: 13.6px 15.2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fg-sci-action h4 {
  width: 386px;
  max-width: 100%;
  height: 30px;
  margin: 0 0 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #14B8A6;
  text-align: center;
  line-height: 30px;
  box-sizing: border-box;
}

.fg-sci-action p {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #B8C7DA;
  line-height: 18px;
  text-align: center;
}

.fg-sci-action--try h4 {
  color: #14B8A6;
}

.fg-sci-action--kit h4 {
  color: #14B8A6;
}

/* Warning strip */
.fg-sci-warning {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13.6px 15.2px;
  background: rgba(7, 14, 28, 0.58);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14.4px;
  margin-bottom: 20px;
}

.fg-sci-warning > span:not(.fg-build-badge) {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #B8C7DA;
  line-height: 1.6;
}

/* Unlock button — outside panel */
#science-lab .fg-sci-unlock {
  display: none !important;
  margin-top: 18px;
}

#science-lab .fg-sci-unlock.is-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.4s ease;
}

.fg-note-box {
  margin-top: 12px;
  padding: 14px;
  background: rgba(10, 18, 34, 0.82);
  border-left: 3px solid #14B8A6;
  border-radius: 10px;
  color: #D7D7D7;
  font-size: 14px;
}

.fg-empty-challenge {
  height: 520px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fg-soft);
}

.fg-empty-challenge strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-mint);
}

.fg-certificate {
  min-height: 280px;
  padding: 46px 38px 34px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 179, 64, 0.12), transparent 260px), #2A2D38;
  border: 1px solid #3F424C;
  border-radius: 15px;
  text-align: center;
}

.fg-certificate-kicker {
  color: var(--fg-yellow);
  font-family: var(--fg-font-pixel);
  font-size: 11px;
}

.fg-certificate h3 {
  margin: 16px 0 8px;
  color: var(--fg-text);
  font-size: 20px;
  font-weight: 900;
}

.fg-certificate p {
  color: var(--fg-soft);
  font-size: 13px;
  white-space: pre-line;
}

.fg-orange-button {
  height: 34px;
  min-width: 150px;
  margin: 20px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #ff9f1c;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

/* =========================================================
   기록 인증 폼
   ========================================================= */
.fg-record-form {
  padding: 21.6px 20px 32px;
  background: rgba(9, 17, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.fg-record-field {
  margin-bottom: 16px;
}

.fg-record-label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16.3px;
  font-weight: 700;
  line-height: 26.9px;
  color: #8FA2BA;
}

.fg-record-optional {
  font-weight: 400;
  font-size: 15px;
  color: #8FA2BA;
}

.fg-record-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #F1F5F9;
  outline: none;
  transition: border-color 0.2s;
}

.fg-record-input::placeholder {
  color: #5A6A80;
}

.fg-record-input:focus {
  border-color: rgba(20, 184, 166, 0.5);
}

/* 저장 버튼 */
.fg-record-save-btn {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: none;
  border-radius: 14.4px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: not-allowed;
  transition: background 0.3s, color 0.3s;
}

.fg-record-save-btn.is-ready {
  background: #14B8A6;
  color: #fff;
  cursor: pointer;
}

.fg-record-save-btn.is-ready:hover {
  opacity: 0.85;
}

/* 힌트 텍스트 */
.fg-record-hint {
  margin: 14px 0 0;
  text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #14B8A6;
}

/* 안내 박스 */
.fg-record-info {
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #B8C7DA;
}

/* ── 인증서 ── */
.fg-cert-wrap {
  margin-top: 32px;
}

.fg-cert-outer {
  padding: 28px 24px 32px;
  text-align: center;
  background: rgba(9, 17, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.fg-cert-title {
  margin: 0 0 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 23.7px;
  font-weight: 900;
  color: #F1F5F9;
}

.fg-cert-card {
  padding: 32px 24px;
  border: 5px solid #D97706;
  border-radius: 14.4px;
  background: linear-gradient(180deg, rgba(9, 17, 32, 0.95), rgba(15, 23, 42, 0.95));
}

.fg-cert-logo {
  font-family: 'Holtwood One SC', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 40.3px;
  color: #F59E0B;
  margin-bottom: 4px;
}

.fg-cert-sub {
  font-family: 'Hahmlet', serif;
  font-size: 16.3px;
  font-weight: 400;
  line-height: 27.4px;
  color: #8FA2BA;
  margin-bottom: 20px;
}

.fg-cert-maker {
  margin: 0 0 16px;
  font-family: 'Hahmlet', serif;
  font-size: 31.4px;
  font-weight: 800;
  line-height: 52.7px;
  color: #F1F5F9;
}

.fg-cert-text {
  margin: 0 0 16px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16.3px;
  font-weight: 300;
  color: #CBD5E1;
  line-height: 28px;
}

.fg-cert-kit {
  margin: 0 0 4px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 25.3px;
  color: #67E8F9;
}

.fg-cert-date {
  margin: 0 0 16px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #94A3B8;
}

.fg-cert-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin: 16px 40px;
}

.fg-cert-footer {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
}

/* 인증서 출력 버튼 — 골드 */
.fg-cert-print-btn {
  display: block;
  width: 320px;
  height: 45px;
  margin: 20px auto 9px;
  border: none;
  border-radius: 10px;
  background: #F59E0B;
  color: #111827;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fg-cert-print-btn:hover {
  opacity: 0.85;
}

/* 초기화 버튼 */
.fg-cert-reset-btn {
  display: block;
  width: 320px;
  height: 39px;
  margin: 0 auto 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #F1F5F9;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fg-cert-reset-btn:hover {
  opacity: 0.85;
}

/* 하단 안내 */
.fg-cert-note {
  text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64748B;
}

/* =========================================================
   다시보기 섹션
   ========================================================= */
.fg-replay-section {
  margin-top: 40px;
}

.fg-replay-title {
  text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 23.7px;
  font-weight: 900;
  color: #F1F5F9;
  margin: 0 0 24px;
}

.fg-replay-grid {
  display: flex;
  align-items: stretch;
  padding: 32px 0;
  background: rgba(9, 17, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.fg-replay-card {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
}

.fg-replay-card h4 {
  margin: 0 0 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #F1F5F9;
}

.fg-replay-card p {
  margin: 0 0 16px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #94A3B8;
}

.fg-replay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}

.fg-replay-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.fg-replay-divider {
  width: 1px;
  background: #3F424C;
  align-self: stretch;
}

/* =========================================================
   10. Footer
   ========================================================= */

.fg-footer {
  width: 976px;
  max-width: 100%;
  margin: 10px auto 150px;
  color: #B8C1DA;
  text-align: center;
  font-size: 14px;
}

/* PC 캡처를 우선으로 하고, 작은 화면에서는 같은 비율로만 축소 */
@media (max-width: 1080px) {
  body.fg-page {
    min-width: 0;
    overflow-x: auto;
  }

  .fg-topbar,
  .fg-main,
  .fg-footer {
    transform-origin: top center;
  }
}

/* =========================================================
   인증서 프린트
   ========================================================= */
@page {
  size: A4 portrait;
  margin: 12mm;
}

@media print {
  html,
  body,
  body.fg-page {
    background: #fff !important;
    color: #111827 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* 기존 Figma/V8 레이아웃 효과 제거 */
  body.print-certificate-mode * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
  }

  /* 전체를 visibility로 숨기고, 인증서만 다시 보이게 한다 */
  body.print-certificate-mode * {
    visibility: hidden !important;
  }

  body.print-certificate-mode #cert-area,
  body.print-certificate-mode #cert-area * {
    visibility: visible !important;
  }

  /* 구조 조상 복구 — #kit-view가 인증서의 조상일 수 있으므로 절대 숨기지 않는다 */
  body.print-certificate-mode .fg-main,
  body.print-certificate-mode #kit-view,
  body.print-certificate-mode #record-certificate,
  body.print-certificate-mode #cert-area,
  body.print-certificate-mode .fg-cert-outer,
  body.print-certificate-mode .fg-cert-card {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    overflow: visible !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    clip: auto !important;
    clip-path: none !important;
    contain: none !important;
    content-visibility: visible !important;
  }

  /* 인증서 영역을 인쇄 페이지 중앙에 배치 */
  body.print-certificate-mode #cert-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 6mm !important;
    background: #fff !important;
    z-index: 2147483647 !important;
  }

  /* 인증서 카드 외 전부 숨김 (cert-area 내부 포함) */
  body.print-certificate-mode .fg-cert-title,
  body.print-certificate-mode .fg-record-form,
  body.print-certificate-mode .fg-cert-print-btn,
  body.print-certificate-mode .fg-cert-reset-btn,
  body.print-certificate-mode .fg-cert-note,
  body.print-certificate-mode .fg-replay-section,
  body.print-certificate-mode .fg-resource-panel,
  body.print-certificate-mode .fg-section-head,
  body.print-certificate-mode #record-certificate > *:not(#cert-area) {
    display: none !important;
    visibility: hidden !important;
  }

  body.print-certificate-mode .fg-cert-outer {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  body.print-certificate-mode .fg-cert-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    border: 4px solid #D97706 !important;
    background: #fff !important;
    padding: 50px 44px !important;
    color: #111827 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.print-certificate-mode .fg-cert-logo { color: #D97706 !important; font-size: 28px !important; }
  body.print-certificate-mode .fg-cert-sub { color: #555 !important; font-size: 14px !important; margin-top: 8px !important; }
  body.print-certificate-mode .fg-cert-maker { color: #111827 !important; font-size: 32px !important; margin: 20px 0 !important; }
  body.print-certificate-mode .fg-cert-text { color: #333 !important; font-size: 15px !important; line-height: 1.7 !important; margin: 16px 0 !important; }
  body.print-certificate-mode .fg-cert-kit { color: #0891B2 !important; font-size: 15px !important; margin: 12px 0 !important; }
  body.print-certificate-mode .fg-cert-date { color: #555 !important; font-size: 14px !important; }
  body.print-certificate-mode .fg-cert-footer { color: #888 !important; font-size: 12px !important; margin-top: 20px !important; }
  body.print-certificate-mode .fg-cert-divider { border-top-color: #ddd !important; margin: 20px 0 !important; }
}

/* =================== Sticky Side Navigation =================== */
.fg-side-nav {
  position: fixed;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: rgba(7, 14, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-height: 80vh;
  overflow-y: auto;
}

.fg-side-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7.68px 8.8px;
  border-radius: 5px;
  background: rgba(11, 21, 40, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.fg-side-nav-item:hover {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.25);
}

.fg-side-nav-item.is-active {
  background: rgba(9, 27, 35, 0.92);
  border-color: rgba(20, 184, 166, 0.56);
}

.fg-side-nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(113, 115, 118, 0.5);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.fg-side-nav-item.is-active .fg-side-nav-dot {
  background: #14B8A6;
}

.fg-side-nav-label {
  font-size: 12px;
  font-weight: 500;
  color: #B8C7DA;
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}

/* 잠긴 섹션 */
.fg-side-nav-item.is-locked .fg-side-nav-label {
  color: rgba(113, 115, 118, 0.5);
}

.fg-side-nav-item.is-locked .fg-side-nav-dot {
  background: rgba(113, 115, 118, 0.3);
}

.fg-side-nav-item.is-locked {
  cursor: default;
  pointer-events: none;
}

.fg-side-nav-item.is-active .fg-side-nav-label {
  color: #14B8A6;
}

.fg-side-nav-item:hover .fg-side-nav-label {
  color: rgba(20, 184, 166, 0.7);
}

/* 모바일에서 숨김 */
@media (max-width: 1200px) {
  .fg-side-nav { display: none; }
}

/* 인쇄 시 숨김 */
@media print {
  .fg-side-nav { display: none !important; }
}
/* =========================================================
   MOBILE RESPONSIVE — Detail Pages (max 768px)
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --fg-topbar-w: 100%;
    --fg-narrow-w: 100%;
    --fg-inner-w: 100%;
    --fg-wide-w: 100%;
  }

  body.fg-page {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  /* Hide back link on mobile */
  .fg-back-link { display: none !important; }

  /* Main container — stretch children, add side padding */
  .fg-main {
    align-items: stretch !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Hero */
  .fg-hero {
    margin-top: 80px !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .fg-hero-badge { font-size: 12px !important; }
  .fg-hero-title { font-size: 26px !important; line-height: 34px !important; }
  .fg-hero-subtitle { font-size: 18px !important; line-height: 26px !important; }
  .fg-hero-desc { font-size: 14px !important; line-height: 22px !important; }
  .fg-hero-tags { gap: 6px !important; justify-content: center !important; }
  .fg-hero-tag { font-size: 11px !important; padding: 5px 10px !important; }

  /* Topbar */
  .fg-topbar { margin-top: 10px !important; padding: 0 12px !important; }

  /* Photo grid */
  .fg-kit-photo-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .fg-photo-main { height: 240px !important; }
  .fg-photo-stack { grid-template-rows: auto !important; }
  .fg-photo-stack > div { height: 160px !important; }

  /* Stat bar */
  .fg-stat-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 12px 0 !important;
  }
  .fg-stat { height: auto !important; padding: 10px 4px !important; }
  .fg-stat-label { font-size: 10px !important; }
  .fg-stat-value { font-size: 12px !important; }

  /* Section panels padding */
  .fg-section,
  .fg-resource-panel,
  .fg-quiz-panel,
  .fg-row-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Quiz cards */
  .fg-card-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Component check */
  .fg-component-hero,
  .fg-component-hero.fg-comp-vertical {
    height: auto !important;
  }

  /* Build guide */
  .fg-build-slide { padding: 16px !important; }

  /* Troubleshooting */
  .fg-trouble-grid {
    grid-template-columns: 1fr !important;
  }

  /* Challenge missions */
  .fg-mini-card { min-height: auto !important; }

  /* Resource */
  .fg-resource-meta {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .fg-resource-divider { display: none !important; }

  /* Section title chip */
  .fg-chip-title span { min-width: auto !important; font-size: 9px !important; }

  /* Intro module */
  .fg-intro-module { padding: 16px 0 !important; }

  /* Safety promise — ultra compact mobile */
  .fg-row-panel { padding: 6px 6px 8px !important; overflow: hidden !important; }
  .fg-row-list { gap: 2px !important; }
  .fg-check-row { gap: 3px !important; }
  .fg-row-inner {
    height: 30px !important;
    gap: 5px !important;
    padding: 0 7px !important;
    border-radius: 7px !important;
    font-size: 10px !important;
  }
  .fg-row-num {
    width: 24px !important;
    height: 18px !important;
    font-size: 8px !important;
    flex-shrink: 0 !important;
  }
  .fg-row-text { font-size: 10px !important; }
  .fg-row-panel .fg-row-text { white-space: nowrap !important; }
  #challenge-missions .fg-row-text { white-space: normal !important; word-break: keep-all !important; }
  #challenge-missions .fg-row-inner { height: auto !important; min-height: 30px !important; padding: 4px 7px !important; }
  .fg-row-check-box { width: 20px !important; height: 20px !important; flex-shrink: 0 !important; }
  .fg-row-check-box::before { width: 14px !important; height: 14px !important; }
  .fg-row-check-icon { width: 20px !important; height: 20px !important; padding: 3px !important; }

  /* Safety progress bar compact */
  .fg-safety-progress { margin-bottom: 4px !important; }
  .fg-safety-progress-label { font-size: 10px !important; gap: 4px !important; }
  .fg-safety-dot { width: 4px !important; height: 4px !important; }
  .fg-safety-progress-count { font-size: 11px !important; }
  .fg-safety-bar { height: 3px !important; margin-bottom: 6px !important; }
  .fg-safety-notice { font-size: 10px !important; margin-top: 8px !important; }
  .fg-safety-done { height: 30px !important; font-size: 12px !important; margin-top: 8px !important; min-width: 100px !important; padding: 0 16px !important; }

  /* Section titles compact */
  .fg-section-title { font-size: 22px !important; line-height: 30px !important; }
  .fg-section-desc { font-size: 13px !important; line-height: 20px !important; }

  /* All panels overflow */
  .fg-panel { overflow: hidden !important; }

  /* Hero concept tags — compact, one line */
  .fg-concept-row {
    margin: 16px auto 8px !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
  .fg-concept-row span {
    height: 26px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
  }

  /* Parts grid — single column on mobile */
  .fg-parts-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Build warning badge — prevent shrink to circle */
  .fg-build-badge {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .fg-build-box { width: 100% !important; box-sizing: border-box !important; }
  .fg-build-box--warning span:not(.fg-build-badge) {
    font-size: 13px !important;
    line-height: 20px !important;
  }
  .fg-build-box--warning {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Build step header — compact + HELP flush right */
  .fg-build-step-header { margin-bottom: 8px !important; }
  .fg-build-step-header h3 {
    font-size: 14px !important;
    padding-left: 4px !important;
    flex: 1 !important;
  }
  .fg-build-help {
    margin-right: 0 !important;
    margin-top: 0 !important;
  }

  /* Build progress compact */
  .fg-build-progress-count { font-size: 12px !important; }
  .fg-build-bar { height: 6px !important; margin-bottom: 8px !important; }

  /* Science lab — hide CTA/note, single column videos */
  .fg-sci-video-cta { display: none !important; }
  .fg-sci-video-note { display: none !important; }
  .fg-sci-videos {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Science concept — compact */
  .fg-sci-concept { padding: 12px !important; gap: 8px !important; }
  .fg-sci-concept-icon { width: 36px !important; height: 36px !important; }
  .fg-sci-concept-text { font-size: 13px !important; line-height: 20px !important; }
  .fg-sci-concept-tags { gap: 4px !important; flex-wrap: nowrap !important; }
  .fg-sci-concept-tag { font-size: 10px !important; padding: 3px 8px !important; white-space: nowrap !important; }
  .fg-sci-actions { grid-template-columns: 1fr !important; gap: 8px !important; }
  .fg-sci-action { padding: 12px !important; }
  .fg-sci-action h4 { font-size: 13px !important; width: 100% !important; }
  .fg-sci-action p { font-size: 12px !important; word-break: keep-all !important; }
  .fg-sci-warning { padding: 10px 12px !important; gap: 6px !important; flex-direction: column !important; align-items: flex-start !important; }
  .fg-sci-warning > span:not(.fg-build-badge) { font-size: 12px !important; line-height: 18px !important; }

  /* Safety promise — replace numbers with bullets */
  .fg-row-num {
    width: 5px !important;
    height: 5px !important;
    min-width: 5px !important;
    background: #14B8A6 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Mission badges — replace with colored solid bullets */
  .fg-mission-badge {
    min-width: 5px !important;
    width: 5px !important;
    height: 5px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    flex-shrink: 0 !important;
  }
  .fg-mission-badge::before { content: none !important; }
  .fg-mission-badge--required { background: #14B8A6 !important; }
  .fg-mission-badge--inquiry { background: #FB923C !important; }
  .fg-mission-badge--creative { background: #C084FC !important; }

  /* Certificate — hide print, fit width */
  .fg-cert-print-btn { display: none !important; }
  .fg-cert-reset-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    margin-top: 16px !important;
  }
  .fg-cert-card { padding: 16px !important; }

  /* Replay grid — single column */
  .fg-replay-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .fg-replay-divider { display: none !important; }
  .fg-replay-card { text-align: center !important; }

  /* Quiz — compact mobile */
  .fg-quiz-panel { padding: 50px 12px 16px !important; min-height: auto !important; }
  .fg-quiz-score { top: 14px !important; right: 12px !important; height: 26px !important; width: 80px !important; font-size: 11px !important; }
  .fg-quiz-card { padding: 10px !important; border-radius: 10px !important; min-height: auto !important; gap: 6px !important; }
  .fg-quiz-badge { width: 44px !important; height: 24px !important; font-size: 10px !important; }
  .fg-quiz-question { font-size: 13px !important; line-height: 1.35 !important; }
  .fg-quiz-btn-o,
  .fg-quiz-btn-x { padding: 8px !important; font-size: 12px !important; border-radius: 8px !important; }
  .fg-quiz-hint { margin-top: 10px !important; font-size: 12px !important; }
  .fg-quiz-feedback { font-size: 12px !important; padding: 8px !important; margin-top: 4px !important; }
}

/* =========================================================
   Toast — mailto 클립보드 복사 피드백
   ========================================================= */
.fg-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(20, 184, 166, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fg-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.fg-toast-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.fg-toast-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #E2E8F0;
}

.fg-toast-text br + * {
  color: #14B8A6;
}

