/* ============================================================
   FM Ground — 메인 스타일시트
   ============================================================
   목차:
     1. 디자인 토큰 (색상·폰트·간격)
     2. 리셋 & 기본
     3. 네비게이션
     4. 페이지 공통 (page, container)
     5. 홈페이지
     6. 내부 페이지 (About / Network / Platform / Jeju / Contact)
     7. 폼 (Contact)
     8. 푸터
     9. 모바일 (반응형)
    10. 팝업 모달

   ※ 색깔/폰트만 바꾸려면 → 아래 1. 디자인 토큰 부분만 수정
   ============================================================ */


/* ============================================================
   1. 디자인 토큰 — 모든 색깔과 폰트는 여기서만 정의
   여기 값을 바꾸면 사이트 전체에 자동 적용됩니다.
   ============================================================ */
:root {
  /* 색상: 딥 네이비 계열 (브랜드 메인) */
  --navy-900: #0a1628;
  --navy-800: #0f2240;
  --navy-700: #1a3358;

  /* 색상: 테크 틸·그린 계열 (강조·CTA) */
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --teal-500: #14b8a6;
  --green-400: #4ade80;

  /* 색상: 그레이 (배경·텍스트) */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;

  /* 폰트: 디스플레이(제목)·바디(본문)·모노(코드/태그) */
  --font-display: 'Manrope', 'Pretendard Variable', sans-serif;
  --font-body:    'Pretendard Variable', 'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* 레이아웃 */
  --max-width: 1280px;
  --nav-height: 72px;
}


/* ============================================================
   1-b. 다크 모드 — 본문 영역 배경만 어둡게. 글씨 색은 아래 별도 선택자에서 조정.
   ※ --navy-900 / --white 등은 네비·Hero·Footer 배경/글씨에도 쓰이므로 절대 재정의 금지.
   ============================================================ */
[data-theme="dark"] {
  /* 배경 토큰만 재정의 — 본문 영역 배경만 어두운 톤으로 */
  --gray-50:  #1e293b;   /* 페이지 배경 (본문 영역) */
  --gray-100: #192330;   /* 코드·태그 배경 */

  /* 보더 톤도 다크 배경에 맞게 살짝 조정 */
  --gray-200: #334155;   /* 카드 보더·구분선 */
}

/* 카드·폼 배경 — --white 재정의 대신 직접 지정
   (--white를 재정의하면 네비 로고·토글 버튼 글씨도 어두워짐) */
[data-theme="dark"] .feature-item,
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea { background: #263141; }

/* 다크모드에서 본문 영역의 글씨만 밝게 — 변수 재정의 대신 직접 덮어쓰기 */
[data-theme="dark"] .inner-body .block-title,
[data-theme="dark"] .inner-body .feature-item-title {
  color: #f1f5f9;   /* 다크 배경 위 메인 텍스트 */
}

[data-theme="dark"] .inner-body .block-text,
[data-theme="dark"] .inner-body .feature-item-text {
  color: #cbd5e1;   /* 다크 배경 위 본문 텍스트 */
}

[data-theme="dark"] .form-label {
  color: #cbd5e1;   /* 폼 라벨 */
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  color: #f1f5f9;   /* 폼 입력 글씨 */
}


/* ============================================================
   2. 리셋 & 기본
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}


/* ============================================================
   3. 네비게이션 (상단 고정 메뉴)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.15);
  z-index: 1000;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고: 좌측 점 + 텍스트 */
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--teal-400);
  border-radius: 2px;
  box-shadow: 0 0 16px var(--teal-400);
}
.nav-logo span { color: var(--teal-400); }

/* 메뉴 링크 */
.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--gray-200);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}
.nav-menu a:hover {
  color: var(--teal-300);
  background: rgba(45, 212, 191, 0.08);
}
.nav-menu a.active {
  color: var(--teal-400);
  background: rgba(45, 212, 191, 0.12);
}

/* 우측 CTA 버튼 */
.nav-cta {
  padding: 10px 20px;
  background: var(--teal-400);
  color: var(--navy-900);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--teal-300);
  transform: translateY(-1px);
}

/* 다크/라이트 모드 토글 버튼 */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--teal-400);
  color: var(--teal-300);
}
/* 라이트 모드: 달 표시 / 다크 모드: 해 표시 */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* 모바일 햄버거 버튼 (기본 숨김, 모바일에서만 표시) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}


/* ============================================================
   4. 페이지 공통
   ============================================================ */
.page {
  display: none;          /* 기본은 숨김 */
  min-height: 100vh;
  padding-top: var(--nav-height);
}
.page.active { display: block; }   /* 활성화된 페이지만 표시 */


/* ============================================================
   5. 홈페이지
   ============================================================ */
#page-home {
  background:
    radial-gradient(ellipse at top right,    rgba(45, 212, 191, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom left,  rgba(74, 222, 128, 0.08), transparent 50%),
    var(--navy-900);
  color: var(--white);
}

/* 히어로 영역 */
.hero { padding: 100px 0 120px; position: relative; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-300);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero h1 .accent {
  color: var(--teal-400);
  font-style: italic;
  font-weight: 700;
}
.hero p {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* 버튼 (Primary / Secondary 두 종류) */
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--teal-400);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--teal-400);
}

/* 숫자 통계 (Stats) */
.stats {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 34, 64, 0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 사업 영역 카드 섹션 */
.business-section { padding: 100px 0; }

.section-header { margin-bottom: 60px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 700px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.business-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
/* 호버 시 상단에 그라데이션 라인이 펼쳐지는 효과 */
.business-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.business-card:hover {
  background: rgba(45, 212, 191, 0.05);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-4px);
}
.business-card:hover::before { transform: scaleX(1); }

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.card-desc {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.6;
}


/* ============================================================
   6. 내부 페이지 (About / Network / Platform / Jeju / Contact)
   ============================================================ */

/* 페이지 상단 영역 (어두운 배경) */
.inner-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(45, 212, 191, 0.15);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-400);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.inner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.inner-desc {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 720px;
  line-height: 1.7;
}

/* 페이지 본문 영역 (밝은 배경) */
.inner-body {
  padding: 80px 0;
  background: var(--gray-50);
  color: var(--gray-900);
}

/* 본문 블록 */
.content-block {
  margin-bottom: 60px;
  max-width: 880px;
}
.block-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.block-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.block-text {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.75;
}

/* 특징 그리드 (About·Network·Platform·Jeju 공통) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.feature-item:hover {
  border-color: var(--teal-400);
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.1);
}
.feature-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.feature-item-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 인라인 코드 (Platform 페이지의 URL 등) */
.inline-code {
  font-family: var(--font-mono);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
}


/* ============================================================
   7. 폼 (Contact 페이지)
   ============================================================ */
.contact-form {
  max-width: 560px;
  margin-top: 32px;
}
.form-row { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  transition: all 0.2s ease;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  padding: 14px 32px;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-submit:hover {
  background: var(--teal-500);
  transform: translateY(-2px);
}


/* ============================================================
   8. 푸터
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(45, 212, 191, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}


/* ============================================================
   10. 합병공고 페이지 (임시)
   ============================================================ */

.nav-menu a[data-page="notice"] {
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.notice-wrapper {
  max-width: 880px;
}

.notice-table-heading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 0.2em;
  margin: 24px 0 20px;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.notice-table th,
.notice-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
  line-height: 1.6;
}

.notice-table tr:last-child th,
.notice-table tr:last-child td {
  border-bottom: none;
}

.notice-table th {
  width: 220px;
  background: var(--gray-100);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

.notice-table td {
  color: var(--gray-700);
}

.notice-items {
  list-style: none;
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--gray-100);
  border-left: 3px solid var(--teal-400);
  border-radius: 4px;
}

.notice-items li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 10px;
}

.notice-items li:last-child { margin-bottom: 0; }

.notice-item-num {
  font-family: var(--font-mono);
  color: var(--teal-500);
  font-weight: 600;
  margin-right: 4px;
}

.notice-date {
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 48px 0 24px;
}

.notice-signatures {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.notice-signature {
  text-align: center;
}

.notice-signature-company {
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.notice-signature-person {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

.notice-footnote {
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-500);
  font-family: var(--font-mono);
  line-height: 1.6;
}

[data-theme="dark"] .notice-table { background: #263141; }
[data-theme="dark"] .notice-table th { background: #1e293b; color: #f1f5f9; }
[data-theme="dark"] .notice-table td { color: #cbd5e1; }
[data-theme="dark"] .notice-table th,
[data-theme="dark"] .notice-table td { border-bottom-color: #334155; }
[data-theme="dark"] .notice-items { background: #263141; }
[data-theme="dark"] .notice-items li { color: #cbd5e1; }
[data-theme="dark"] .notice-date,
[data-theme="dark"] .notice-signature-person { color: #f1f5f9; }
[data-theme="dark"] .notice-signature-company { color: #cbd5e1; }
[data-theme="dark"] .notice-footnote { background: #263141; color: #94a3b8; }

@media (max-width: 640px) {
  .notice-table th,
  .notice-table td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .notice-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}


/* ============================================================
   9. 모바일 반응형 (880px 이하)
   ============================================================ */
@media (max-width: 880px) {
  .nav-menu { display: none; }

  /* 햄버거 메뉴 클릭 시 .open 클래스가 추가됨 */
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-900);
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(45, 212, 191, 0.15);
  }

  .nav-toggle { display: block; }
  .nav-cta    { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   10. Popup bottom sheet notice
   ============================================================ */
.popup-bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  height: clamp(240px, 34vh, 320px);
  background: #1f252b;
  color: #e5edf4;
  border-top: 1px solid rgba(203, 213, 225, 0.28);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
  animation: popupBottomSheetSlideUp 0.4s ease-out;
}

.popup-bottom-sheet[hidden] {
  display: none;
}

@keyframes popupBottomSheetSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

body.popup-bottom-sheet-visible {
  padding-bottom: 320px;
}

.popup-bottom-sheet-header {
  min-height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.22);
  flex-shrink: 0;
}

.popup-bottom-sheet-title {
  margin: 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.popup-bottom-sheet-close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #a8b3bf;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.popup-bottom-sheet-close:hover {
  color: #f8fafc;
  background: rgba(148, 163, 184, 0.14);
}

.popup-bottom-sheet-body {
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
}

.popup-bottom-sheet-body::-webkit-scrollbar {
  width: 12px;
}

.popup-bottom-sheet-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
}

.popup-bottom-sheet-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.48);
  border-radius: 999px;
  border: 3px solid rgba(15, 23, 42, 0.35);
}

@media (max-width: 880px) {
  .popup-bottom-sheet {
    height: clamp(260px, 46vh, 420px);
  }

  body.popup-bottom-sheet-visible {
    padding-bottom: 46vh;
  }

  .popup-bottom-sheet-header {
    min-height: 58px;
    padding: 0 12px 0 14px;
  }

  .popup-bottom-sheet-title {
    font-size: 17px;
  }

  .popup-bottom-sheet-body {
    padding: 14px;
    font-size: 13px;
  }
}
