/* ============================================================
   BBB (Beauty.Bside.Best) v5.0 — Naver / Spate / Hankyung UX
   Zero Nested Boxes · 1280px Strict Grid · Line & Typography Hierarchy
   ============================================================ */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hover: #f1f5f9;
  --text-primary: #0f172a;
  --text-body: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --line-strong: #0f172a;
  --line-default: #e2e8f0;
  --line-light: #f1f5f9;
  --brand-primary: #0284c7;
  --brand-dark: #0369a1;
  --color-up: #dc2626;       /* 한국 증권/포털 표준: 상승·강조 레드 */
  --color-green: #059669;    /* 성장·검증 그린 */
  --color-down: #2563eb;     /* 하락 블루 */
  --color-warn: #d97706;
  --max-width: 1280px;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, select, input {
  font-family: inherit;
}

/* ============================================================
   1. 정량 1280px 컨테이너
   ============================================================ */
.bbb-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   2. 상단 헤더 (GNB 5개 탭 + 통합 검색 + 1줄 마이크로 티커)
   ============================================================ */
.bbb-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid var(--line-default);
}

.bbb-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bbb-brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bbb-logo-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bbb-logo-mark {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.bbb-logo-domain {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
}

.bbb-brand-divider {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
}

.bbb-service-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 5개 메인 GNB 메뉴 */
.bbb-gnb {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.bbb-nav-btn {
  position: relative;
  height: 100%;
  padding: 0 16px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.bbb-nav-btn:hover {
  color: var(--text-primary);
}

.bbb-nav-btn.active {
  color: #0f172a;
  font-weight: 800;
}

.bbb-nav-btn.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: #0f172a;
}

.bbb-nav-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  background: #f0f9ff;
  padding: 1px 6px;
  border-radius: 999px;
}

/* 우측 통합 검색창 */
.bbb-search-area {
  flex-shrink: 0;
}

.bbb-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bbb-search-input-wrap svg,
.bbb-search-input-wrap i {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

#global-keyword-input {
  width: 260px;
  height: 36px;
  padding: 0 30px 0 34px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-subtle);
  transition: all 0.15s ease;
}

#global-keyword-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0f172a;
  width: 290px;
}

.bbb-search-clear {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
}

/* 1줄 서브바 (클릭형 핵심 지표 티커 + 해시태그 칩) */
.bbb-subbar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line-light);
}

.bbb-subbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bbb-ticker-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bbb-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
}

.bbb-ticker-item:hover .bbb-ticker-lbl {
  text-decoration: underline;
  color: var(--brand-primary);
}

.bbb-ticker-lbl {
  font-weight: 600;
  color: var(--text-secondary);
}

.bbb-ticker-val {
  font-weight: 800;
  color: var(--text-primary);
}

.bbb-ticker-delta {
  font-size: 12px;
  font-weight: 700;
}

.bbb-ticker-delta.up {
  color: var(--color-green);
}

.bbb-ticker-delta.alert {
  color: var(--color-up);
}

.bbb-ticker-divider {
  color: #cbd5e1;
  font-size: 11px;
}

.bbb-hashtag-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bbb-hashtag-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 2px;
}

.bbb-hashtag-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 10px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.bbb-hashtag-chip:hover,
.bbb-hashtag-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ============================================================
   3. 통합 키워드 검색 결과 패널
   ============================================================ */
.bbb-search-drawer-inline {
  background: #f8fafc;
  border-bottom: 2px solid #0f172a;
  padding: 20px 0;
}

.bbb-search-panel-box {
  background: #ffffff;
  border: 1px solid var(--line-default);
  padding: 18px 20px;
}

.bbb-search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-default);
}

.bbb-search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ============================================================
   4. 탭 전환 및 헤드라인 스트립
   ============================================================ */
.tab-section {
  display: none;
  padding-top: 20px;
  padding-bottom: 48px;
}

.tab-section.active {
  display: block;
}

.bbb-headline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 16px 0;
  border-bottom: 2px solid var(--line-strong);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.bbb-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bbb-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.bbb-date-select {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
}

.bbb-headline-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

/* ============================================================
   5. 네이버식 8:4 비대칭 2단 레이아웃 & 6:6 분할
   ============================================================ */
.bbb-split-8-4 {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(340px, 1fr);
  gap: 32px;
  align-items: start;
}

.bbb-split-6-6 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.bbb-col-main {
  min-width: 0;
}

.bbb-col-side {
  min-width: 0;
  position: sticky;
  top: 112px;
}

/* ============================================================
   6. 섹션 블록 (박스 테두리 없이 상단 굵은 선 + 하단 1px 구분선)
   ============================================================ */
.bbb-section-block {
  margin-bottom: 36px;
}

.bbb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line-strong);
}

.bbb-section-title-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.bbb-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.bbb-section-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
}

.bbb-section-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 5대 주제별 필터 탭 */
.bbb-topic-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.bbb-topic-tab {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.bbb-topic-tab:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.bbb-topic-tab.active {
  color: #ffffff;
  background: #0f172a;
  border-color: #0f172a;
}

.bbb-mini-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bbb-mini-tab {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #f1f5f9;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
}

.bbb-mini-tab.active {
  background: var(--brand-primary);
  color: #ffffff;
}

/* ============================================================
   7. 뉴스 브리핑 리스트 (선과 타이포그래피 위계, 시사점 14.5px 통합)
   ============================================================ */
.bbb-news-list {
  display: flex;
  flex-direction: column;
}

.bbb-news-item {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-default);
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.bbb-news-item:hover {
  background-color: #fafbfc;
}

.bbb-news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.bbb-news-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bbb-cat-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-primary);
}

.bbb-cat-tag.kotra {
  color: #059669;
}

.bbb-cat-tag.risk {
  color: #dc2626;
}

.bbb-source-text {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.bbb-orig-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 2px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  white-space: nowrap;
}

.bbb-orig-link:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.bbb-news-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.42;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.bbb-news-item:hover .bbb-news-title {
  color: var(--brand-primary);
}

/* 시사점과 본문 요약을 통합하여 14.5px 큼직한 가독성 확보 */
.bbb-news-summary {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.62;
  margin-bottom: 6px;
}

.bbb-news-action {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.55;
  padding-left: 10px;
  border-left: 3px solid var(--brand-primary);
  margin-top: 6px;
}

.bbb-list-more-wrap {
  padding-top: 14px;
  text-align: center;
}

.bbb-list-more-btn {
  width: 100%;
  padding: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--line-default);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.bbb-list-more-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ============================================================
   8. 우측 고정 사이드 레일 (통관·회수 경보 / 안지영 이슈 점검 / 급상승 SKU)
   ============================================================ */
.bbb-side-block {
  margin-bottom: 28px;
  border-top: 2px solid var(--line-strong);
}

.bbb-side-block.bbb-side-alert {
  border-top-color: #dc2626;
}

.bbb-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0 10px 0;
  border-bottom: 1px solid var(--line-default);
}

.bbb-side-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bbb-side-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.bbb-alert-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: #dc2626;
  padding: 2px 6px;
  border-radius: 3px;
}

.bbb-tg-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: #0284c7;
  padding: 2px 7px;
  border-radius: 3px;
}

.bbb-side-link-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.bbb-side-link-btn:hover {
  text-decoration: underline;
}

.bbb-side-list {
  display: flex;
  flex-direction: column;
}

.bbb-side-item {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.bbb-side-item:hover {
  background-color: var(--bg-subtle);
}

.bbb-side-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
}

.bbb-side-tag {
  font-weight: 800;
  font-size: 11.5px;
}

.bbb-side-tag.danger {
  color: #dc2626;
}

.bbb-side-tag.warn {
  color: #d97706;
}

.bbb-side-tag.info {
  color: #0284c7;
}

.bbb-side-tag.up {
  color: #059669;
}

.bbb-side-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 3px;
}

.bbb-side-item:hover .bbb-side-item-title {
  color: var(--brand-primary);
}

.bbb-side-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ============================================================
   9. 표준 데이터 테이블 (한경 컨센서스 & Spate 리더보드 스타일)
   ============================================================ */
.bbb-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.bbb-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.bbb-table th {
  text-align: left;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line-default);
}

.bbb-table td {
  padding: 14px 12px;
  font-size: 13.5px;
  color: var(--text-body);
  border-bottom: 1px solid var(--line-default);
  vertical-align: middle;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.bbb-table tbody tr {
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.bbb-table tbody tr:hover {
  background-color: #f8fafc;
}

.bbb-row-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.4;
}

.bbb-table tbody tr:hover .bbb-row-title {
  color: var(--brand-primary);
}

.bbb-row-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 스파크라인 & 단계 배지 */
.bbb-stage-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.bbb-stage-badge.rising {
  background: #ecfdf5;
  color: #047857;
}

.bbb-stage-badge.accelerating {
  background: #fef2f2;
  color: #dc2626;
}

.bbb-stage-badge.sustained {
  background: #eff6ff;
  color: #1d4ed8;
}

.bbb-spark-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sparkline-svg {
  width: 68px;
  height: 24px;
  flex-shrink: 0;
  overflow: visible;
}

/* 버튼 스타일 */
.bbb-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.bbb-pdf-btn:hover {
  background: var(--brand-primary);
}

.bbb-ext-btn,
.bbb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.bbb-ext-btn:hover,
.bbb-btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.bbb-inline-input {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12.5px;
  width: 200px;
}

/* ============================================================
   10. 수출 차트 전용 스테이지 (박스 깨짐 원천 방지) & 3열 요약
   ============================================================ */
.bbb-chart-stage {
  position: relative;
  width: 100%;
  height: 360px;
  padding: 20px 8px 10px 8px;
  background: #ffffff;
}

.bbb-3col-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-default);
  border-bottom: 1px solid var(--line-default);
  background: var(--bg-subtle);
  margin-top: 12px;
}

.bbb-3col-item {
  padding: 14px 18px;
  border-right: 1px solid var(--line-default);
}

.bbb-3col-item:last-child {
  border-right: none;
}

.bbb-3col-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bbb-3col-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 히트맵 테이블 */
.heatmap-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.heatmap-table th,
.heatmap-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line-default);
  font-size: 13px;
}

.heatmap-table th:first-child,
.heatmap-table td:first-child {
  text-align: left;
  font-weight: 700;
}

.hm-cell {
  display: inline-block;
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12.5px;
}

.hm-strong-pos { background: #dcfce7; color: #166534; }
.hm-pos { background: #ecfdf5; color: #047857; }
.hm-neutral { background: #f1f5f9; color: #475569; }
.hm-neg { background: #fef2f2; color: #b91c1c; }

/* ============================================================
   11. 우측 슬라이드 프리뷰 패널 (Split-View Drawer)
   ============================================================ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 540px;
  max-width: 92vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.16);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-backdrop.open .drawer-container {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 2px solid var(--line-strong);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-title-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.drawer-close-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  border-color: #0f172a;
  color: #0f172a;
}

.drawer-content {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-sec {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-default);
}

.drawer-sec:last-child {
  border-bottom: none;
}

.drawer-sec-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 6px;
  display: block;
}

.drawer-sec-body {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================
   12. 푸터 & 반응형 대응
   ============================================================ */
.bbb-footer {
  margin-top: 24px;
  padding: 20px 24px 36px 24px;
  border-top: 1px solid var(--line-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1080px) {
  .bbb-split-8-4,
  .bbb-split-6-6,
  .bbb-search-results-grid,
  .bbb-3col-summary {
    grid-template-columns: 1fr;
  }
  .bbb-col-side {
    position: static;
  }
  .bbb-header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .bbb-gnb {
    order: 3;
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid var(--line-light);
    padding-top: 6px;
  }
  .bbb-nav-btn {
    padding: 8px 12px;
    white-space: nowrap;
  }
}
