@charset "utf-8";

/* ============================================
   서브 페이지 공통 CSS (sub-common.css)
   - 모든 서브 페이지에서 공유하는 스타일
   - 페이지별 테마는 각 HTML의 :root에서 오버라이드
   ============================================ */

/* --- 공통 CSS 변수 (기본값) --- */
:root {
  --font-main: 'Pretendard Variable', 'Pretendard', sans-serif;
  --max-width: 1000px;

  /* 헤더 (글로벌) */
  --color-header-bg: rgba(255, 255, 255, 0.85);
  --color-header-border: rgba(0, 0, 0, 0.06);
  --color-primary: #7c3aed;

  /* 테마 색상 (기본값 - 각 페이지에서 오버라이드) */
  --color-theme-dark: #0f172a;
  --color-theme-main: #2563eb;
  --color-theme-light: #eff6ff;

  /* 그라디언트 (각 페이지에서 오버라이드) */
  --color-gradient-1: rgba(37, 99, 235, 0.4);
  --color-gradient-2: rgba(96, 165, 250, 0.2);

  --color-text-body: #334155;
}

/* === 섹션별 테마 컬러 ===
   메인 페이지 .tag/.chip/.text-X 팔레트와 매핑 일치
   issue=Purple / game=Amber / news=Deep Green
   market=Blue / calendar=Navy / supplement=Green
*/
[data-nav=issue] {            /* 이슈 포커스 — Deep Purple #3E3293 */
	--color-theme-dark:#2a1f6b;
	--color-theme-main:#3E3293;
	--color-theme-light:#ebe8f7;
	--color-gradient-1:rgba(62,50,147,0.5);
	--color-gradient-2:rgba(142,128,226,0.22);
}
[data-nav=game] {             /* 게임산업 이슈 — Amber(softer) #E0AC53 */
	--color-theme-dark:#8a5a1d;
	--color-theme-main:#E0AC53;
	--color-theme-light:#fef7e7;
	--color-gradient-1:rgba(224,172,83,0.45);
	--color-gradient-2:rgba(247,219,168,0.22);
}
[data-nav=news] {             /* 게임산업 동향 — 짙은 초록 */
	--color-theme-dark:#064e3b;
	--color-theme-main:#047857;
	--color-theme-light:#ecfdf5;
	--color-gradient-1:rgba(4,120,87,0.4);
	--color-gradient-2:rgba(52,211,153,0.2);
}
[data-nav=market] {           /* 이머징 마켓 — 파랑 */
	--color-theme-dark:#1e40af;
	--color-theme-main:#2563eb;
	--color-theme-light:#eff6ff;
	--color-gradient-1:rgba(37,99,235,0.4);
	--color-gradient-2:rgba(96,165,250,0.2);
}
[data-nav=calendar] {         /* 게임 캘린더 — Deep Navy #203864 */
	--color-theme-dark:#14224a;
	--color-theme-main:#203864;
	--color-theme-light:#e6ecf6;
	--color-gradient-1:rgba(32,56,100,0.5);
	--color-gradient-2:rgba(99,118,170,0.22);
}
[data-nav=supplement] {       /* 부록 — 초록 */
	--color-theme-dark:#14532d;
	--color-theme-main:#16a34a;
	--color-theme-light:#f0fdf4;
	--color-gradient-1:rgba(22,163,74,0.4);
	--color-gradient-2:rgba(74,222,128,0.2);
}


.sub_contents.type_4 .table-wrapper { overflow-x: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.sub_contents.type_4 table { width: 100%; border-collapse: collapse; min-width: 800px; }
.sub_contents.type_4 th { background-color: var(--color-theme-dark); color: #fff; padding: 0.75rem 1rem; font-size: 0.9rem; font-weight: 600; text-align: center; white-space: nowrap; }
.sub_contents.type_4 td { padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; color: #334155; vertical-align: middle; }
.sub_contents.type_4 tr:hover td { background-color: #f8fafc; }
.sub_contents.type_4 .table-wrapper p {text-align:right;font-size:14px;padding:10px 10px 20px 0px;}
.sub_contents.type_4 h3 {padding-bottom:10px;}

.sub_contents.type_5.bg {
  background: var(--color-theme-light);
  padding: 2.5rem;
  border-radius: 16px;
}
.sub_contents.type_5 .sub_box {
  width: 100%;
}
.sub_contents.type_5 .sub_box .inner {
  max-width: 100%;
  padding: 0;
}
.sub_contents.type_5 .card {
  width: 100%;
}
.sub_contents.type_5 .card_li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sub_contents.type_5 .card_li > li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}
.sub_contents.type_5 .card_li > li > h3 {
  background: var(--color-theme-dark);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.sub_contents.type_5 .card_li > li > h3::before {
  display: none;
}
.sub_contents.type_5 .card_content {
  list-style: disc;
  padding: 1rem 1.25rem 1rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sub_contents.type_5 .card_content > li {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.6;
}
.sub_contents.type_5 .card_content > li > a {
  color: var(--color-theme-main);
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}
.sub_contents.type_5 .card_content > li > a:hover {
  text-decoration: underline;
}
.sub_contents.type_5 .card_li .date {
  font-size: 0.82rem;
  color: #94a3b8;
  display: block;
}
/*20260423-상종추가*/

    .issue_table {width:100%; min-width: 600px; /* 테이블이 너무 쪼그라들지 않게 최소 너비 고정 */border-collapse: collapse;  border-top: 2px solid #f2a93b; }
    .issue_table th { background-color: #f2a93b; color: #fff; padding: 12px 10px; font-size: 15px; border: 1px solid #ddd; }
    .issue_table td { padding: 15px 10px; border: 1px solid #ddd; text-align: center; vertical-align: middle; line-height: 1.4; }
    .issue_table .tit { display: block; font-weight: bold; color: #333; font-size: 15px; text-align: left; margin-bottom: 4px; }
    .issue_table .desc { display: block; font-size: 13px; color: #666; text-align: left; }
    .issue_table .week_cell { background-color: #f9f9f9; font-weight: bold; }

	.table_container {
        width: 100%;
        overflow-x: auto; /* 가로 스크롤 활성화 */
        -webkit-overflow-scrolling: touch; /* 모바일 부드러운 스크롤 */
    }


	.issue_content_wrap { color: #333; line-height: 1.7; margin-top: 40px; }
    
    /* 상단 타이틀 바 */
    .content_header { border-bottom: 2px solid #f2a93b; padding-bottom: 5px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; }
    .content_header h3 { font-size: 32px; color: #f2a93b; margin: 0; font-weight: bold; }
    .content_header span { font-size: 14px; color: #666; }

    /* 개별 이슈 섹션 */
    .issue_section { margin-bottom: 50px; }
    .issue_label { background-color: #666; color: #fff; padding: 5px 15px; border-radius: 5px; font-size: 16px; font-weight: bold; display: inline-block; margin-bottom: 15px; }
    .issue_subject { font-size: 20px; color: #f2a93b; font-weight: bold; margin-bottom: 20px; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
    
    /* 1단 본문 텍스트 (수정됨) */
    .text_full { text-align: justify; font-size: 14.5px; color: #444; margin-bottom: 25px; }
    .text_full p { margin-bottom: 15px; } /* 문단 간격 추가 */
    
    /* 전문가 코멘트 박스 */
    .expert_box { background-color: #fef4e2; border-radius: 5px; padding: 20px; position: relative; }
    .expert_box strong { display: block; font-size: 15px; color: #333; margin-bottom: 8px; }
    .expert_box p { margin: 0; font-size: 14px; font-style: italic; color: #555; }
    .expert_box p::before { content: '"'; }
    .expert_box p::after { content: '"'; }

@media (max-width: 700px) {
  .sub_contents.type_5  .card_li {
    grid-template-columns: 1fr;
  }
}


.sub_contents.type_6 .table-wrapper { overflow-x: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.sub_contents.type_6 table { width: 100%; border-collapse: collapse; min-width: 600px; }
.sub_contents.type_6 th { background-color: var(--color-theme-dark); color: #fff; padding: 1rem; font-size: 1rem; font-weight: 600; text-align: center; white-space: nowrap; }
.sub_contents.type_6 td { padding: 1rem; border-bottom: 1px solid #e2e8f0; font-size: 0.95rem; color: #334155; vertical-align: middle; }
.sub_contents.type_6 td:nth-child(1) { text-align: center; font-weight: 600; color: #94a3b8; width: 60px; }
.sub_contents.type_6 td:nth-child(2) { text-align: center; font-weight: 600; color: var(--color-theme-main); width: 80px; }
.sub_contents.type_6 td:nth-child(3) { font-weight: 500; }
.sub_contents.type_6 td:nth-child(4) { color: #64748b; width: 120px; }
.sub_contents.type_6 tr:hover td { background-color: #f8fafc; }

/* !이상종 */

/* --- 기본 설정 --- */
body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: var(--color-text-body);
  line-height: 1.8;
  font-size: 17px;
  margin: 0;
}

/* 한글 어절 단위 줄바꿈 */
h1, h2, h3, h4, h5, h6, p, span, li, dt, dd, div, a, strong, b {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

/* --- 헤더 --- */
header {
	--header-height: 70px;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--color-header-bg);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--color-header-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.60), 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  min-height: var(--header-height);
	padding-top: 15px;
	padding-bottom: 15px;
}

.logo {
	font-size: 1.8rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1;
	letter-spacing: -0.02em;
	cursor: pointer;
}

.logo a {
  text-decoration: none;
  white-space: nowrap;
}

/* --- PC 네비게이션 --- */
.gnb {
  display: flex;
  gap: 0.5rem;
}

.gnb_item {
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: 100px;
  color: #64748b;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
}

.gnb_item:hover,
.gnb_item.active {
  background: var(--color-theme-light);
  color: var(--color-theme-main);
}

/* --- 햄버거 메뉴 (PC 숨김) --- */
.hamburger {
  display: none;
}

.hamburger_lab {
  cursor: pointer;
  display: block;
  padding: 5px;
}

.hamburger_lab img {
  width: 28px;
  display: block;
}

.hamburger_gnb {
  display: none;
  position: absolute;
  top: var(--header-height);
  right: -20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-radius: 0 0 0 20px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.80);
  padding: 0;
  width: 220px;
  z-index: 10000;
  overflow: hidden;
}

.hamburger_gnb button {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hamburger_gnb button:last-child {
  border-bottom: none;
}

.hamburger_gnb button:hover {
  background: var(--color-theme-light);
  color: var(--color-theme-main);
}

/* --- 히어로 영역 (Page Title) --- */
.page_title_box {
  position: relative;
  padding: 6rem 1rem 4rem;
  background: var(--color-theme-dark);
  overflow: hidden;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.page_title_box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--color-gradient-1), var(--color-gradient-2), transparent 60%);
  filter: blur(80px) saturate(180%);
  animation: rotateBg 20s infinite linear;
  z-index: 0;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page_title {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page_title_kind {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.page_title_text {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  padding: 0 10px;
}

.writing {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 2rem;
}

/* --- 콘텐츠 컨테이너 --- */
.sub_contents {
  max-width: var(--max-width);
  margin: -3rem auto 5rem;
  padding: 4rem;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(24px) saturate(160%) brightness(1.02);
  -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(1.02);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.07),
    0 4px 16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.90);
  position: relative;
  z-index: 10;
}

/* --- Executive Summary 박스 --- */
.summary {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.04);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.07),
    0 2px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.80);
}

.summary h2 {
  font-size: 1.3rem;
  color: var(--color-theme-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-align:center;
}
.summary p {margin-bottom: 1.5rem;} 
h2.industry-trend-title {
font-size: 1.1rem;
  color: var(--color-theme-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.summary_item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-theme-dark);
  margin: 1.5rem 0 0.5rem;
}

.summary_item h3:first-of-type {
  margin-top: 0;
}

.summary_item p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  padding-left: 1rem;
  position: relative;
  color: #475569;
  text-align: left;
}

.summary_item p::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-theme-main);
  font-weight: bold;
}

/* --- 섹션 중제목 (sub_contents_title h2) --- */
.sub_contents_title {
  margin: 4rem 0 2rem;
}
.sub_contents_title:first-child {
  margin-top: 0;
}
.sub_contents_title h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-theme-dark);
  padding: 0.85rem 1.4rem;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-left: 5px solid var(--color-theme-main);
  border-radius: 0 10px 10px 0;
  letter-spacing: -0.01em;
  line-height: 1.5;
  box-shadow:
    0 2px 10px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.80);
}

/* ============================================
   본문 계위 (Typography Hierarchy)
   h3 → 대목차  h4 → 소제목  strong → 인라인 강조
   ============================================ */

/* ── 대목차 h3: 배경바 + 굵은 숫자 섹션 ── */
.sub_cont01 h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-theme-dark);
  margin: 4rem 0 1.4rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  /* 배경 + 왼쪽 강조선 (h2보다 작고 옅게) */
  background: var(--color-theme-light);
  border-left: 5px solid var(--color-theme-main);
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1.2rem;
}

.sub_cont01 h3::before { content: none; }

.sub_cont01 h3:first-child {
  margin-top: 0;
}

/* ── 소제목 h4: 왼쪽 점 + 작은 글씨 ── */
.sub_cont01 h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #334155;
  margin: 2rem 0 0.7rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  display: flex;
  align-items: anchor-center;
  gap: 0.5rem;
}

/* 작은 원형 dot */
.sub_cont01 h4::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-theme-main);
  opacity: 0.65;

}

.sub_cont01 h4:first-child {
  margin-top: 0;
}

/* ── 소제목 h5── */
.sub_cont01 h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-theme-main);
  margin: 2rem 0 0.7rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.sub_cont01 h5 em {font-style: normal;}


/* ── 인라인 강조 strong ── */
.sub_cont01 strong {
  font-weight: 700;
  color: var(--color-theme-dark);
  background: var(--color-theme-light);
  padding: 0.05em 0.3em;
  border-radius: 4px;
}

/* ── 본문 단락 ── */
.sub_cont01 p {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.95;
  text-align: left;
}

/* --- 이미지/표 박스 --- */
.coment_box {
  display: block;
  margin: 3rem 0;
  text-align: center;
}

.coment_box strong {
  display: block;
  font-size: 1rem;
  color: var(--color-theme-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  /* 본문 strong의 highlight 배경이 번지지 않도록 리셋 */
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.coment_box_container img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.coment_box_source {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-align: center;
}

/* ============================================
   전문가 인터뷰 레이아웃
   ============================================ */

/* 인터뷰이 프로필 카드 */
.interview-profile {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.70);
  border-top: 1px solid rgba(255,255,255,0.90);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  margin: 0 0 2.4rem;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.interview-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-theme-main), var(--color-theme-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.interview-profile-info {
  flex: 1;
}

.interview-profile-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-theme-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.interview-profile-title {
  font-size: 0.95rem;
  color: var(--color-theme-main);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.interview-profile-bio {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

sup.reference_num {
    vertical-align: baseline; /* 줄 간격 뒤틀림 방지 */
    position: relative;
    top: -0.5em;              /* 위치 조절 */
    font-size: 0.75em;        /* 본문보다 약간 작게 */
    line-height: 0;           /* 주변 텍스트에 영향 주지 않음 */
    color: #f2a93b;           /* 강조하고 싶다면 포인트 컬러(오렌지) 적용 */
    margin-left: 2px;         /* 본문과 너무 붙지 않게 */
    font-weight: bold;
}


/* 면책 고지 박스 */
.reference_box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #cbd5e1;
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.4rem;
  margin: 0 0 2.8rem;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.7;
}

.reference_box .coment.flex {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.reference_box .number {
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Q&A 묶음 */
.qa-block {
  margin-bottom: 2.8rem;
}

/* 질문 행 */
.question-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

/* Q 번호 뱃지 */
.question-label {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-theme-main);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 0.1rem;
}

/* 질문 텍스트 */
.question-content {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-theme-dark);
  line-height: 1.65;
  padding: 0.85rem 1.3rem;
  background: var(--color-theme-light);
  border-radius: 0 16px 16px 16px;
  border-left: 3px solid var(--color-theme-main);
}

/* 답변 */
.answer-wrap {
  padding-left: calc(42px + 1.2rem); /* question-label 너비만큼 들여쓰기 */
}

.answer-wrap p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.answer-wrap p:last-child {
  margin-bottom: 0;
}

/* 구분선 */
.qa-divider {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 2.2rem 0;
}

/* ============================================
   데이터 테이블 (.sub-table / .table-wrap)
   ============================================ */

/* 반응형 스크롤 래퍼 */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.table-wrap .sub-table {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 테이블 기본 스타일 */
.sub-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.6;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.sub-table thead tr,
.sub-table tr:first-child {
  background: var(--color-theme-light);
}

.sub-table th {
  background: var(--color-theme-light);
  color: var(--color-theme-dark);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.07);
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sub-table td {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
  color: #334155;
  text-align: left;
}

.sub-table tr:nth-child(even) td {
  background: #f8fafc;
}

.sub-table tr:hover td {
  background: var(--color-theme-light);
  transition: background 0.15s ease;
}

/* --- 참고문헌 --- */
.ref {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.ref h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #64748b;
  font-weight: 700;
}

.ref_item li {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  padding-left: 0.4rem;
  /*text-indent: -1rem;*/
  text-align: left;
  line-height: 1.5;
}

/* --- 플로팅 네비게이션 --- */
.btn_top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.btn-section a {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  color: #64748b;
  text-decoration: none;
}

.btn-section a:hover {
  background: var(--color-theme-light);
  color: var(--color-theme-main);
}

.btn-section a i {
  font-size: 16px;
  margin-bottom: 1px;
}

.btn-section a p {
  font-size: 9px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

/* ============================================
   이미지 라이트박스 (클릭 확대)
   ============================================ */

/* 본문 이미지에 클릭 커서 표시 */
.sub_contents img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sub_contents img:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

/* 오버레이 배경 */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 8, 30, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: none; /* 기본 숨김 — 없으면 투명한 채로 클릭 전체 차단! */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  /* 진입 애니메이션 */
  opacity: 0;
  transition: opacity 0.28s ease;
}
.lb-overlay.lb-active {
  opacity: 1;
}

/* 이미지 패널 (글래스 카드) */
.lb-panel {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.22);
  border-top: 1px solid rgba(255,255,255,0.38);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.45),
    0 8px 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.30);
  overflow: hidden;
  /* 진입 애니메이션 */
  transform: scale(0.88) translateY(16px);
  transition: transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lb-overlay.lb-active .lb-panel {
  transform: scale(1) translateY(0);
}

/* 확대 이미지 */
.lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 3.5rem);
  object-fit: contain;
  border-radius: 16px 16px 0 0;
}

/* 캡션 바 */
.lb-caption {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(0,0,0,0.15);
  text-align: center;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 닫기 버튼 */
.lb-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}
.lb-close:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.12) rotate(90deg);
}

/* --- 반응형 (모바일) --- */
@media (max-width: 768px) {
  header .inner { height: var(--header-height); }
  .inner { padding: 0 1.2rem; }
  .logo a { font-size: 1.3rem; }
  .gnb { display: none !important; }
  .hamburger { display: block !important; }
  .sub_contents {
    padding: 2rem 1.5rem;
    margin-top: -2rem;
    width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
  }
  .page_title_box {
    border-radius: 0 0 24px 24px;
  }
  .summary { padding: 1.5rem; }
}
/* ============================================
   서브 페이지 푸터 (Footer) 스타일 보정
   ============================================ */
footer {
    background: #1a1a1a !important; /* 배경색 강제 적용 */
    padding: 60px 0 40px !important;
    color: #aaa !important;
    font-size: 14px !important;
    border-top: 1px solid #333 !important;
    margin-top: 5rem;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: left; /* 서브페이지 기본 중앙 정렬 해제 */
}

/* 서브페이지용 푸터 내부 레이아웃 */
.footer_inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.foot_top {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.foot_logo {
    height: 30px !important;
    width: auto !important;
    filter: grayscale(1) brightness(2);
    opacity: 0.8;
}

.foot_li {
    list-style: none !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
    padding: 0 !important;
    margin: 0 !important;
}

.foot_li li {
    font-size: 13px !important;
    color: #999 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    background: none !important;
    margin-bottom: 0 !important;
}

.foot_li li span {
    color: #eee !important;
    font-weight: 600;
    margin-right: 15px;
}

.foot_notice {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #2d2d2d;
    border-bottom: 1px solid #2d2d2d;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.foot_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.foot_etc {
    display: flex;
    align-items: center;
    gap: 30px;
}

.foot_open {
    height: 40px !important;
    width: auto !important;
    opacity: 0.7;
}

.foot_down_box {
    display: flex;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.foot_down_btn {
    display: inline-block;
    padding: 8px 18px;
    background: #333;
    color: #eee !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 12px;
    transition: 0.3s;
}

.foot_down_btn:hover {
    background: #a855f7;
    color: #fff !important;
}

.copyright {
    font-size: 12px;
    color: #555 !important;
    margin: 0 !important;
}

/* 서브페이지 모바일 대응 */
@media (max-width: 768px) {
    .foot_top { flex-direction: column; gap: 20px; }
    .foot_li { grid-template-columns: 1fr; }
    .foot_bottom { flex-direction: column; align-items: flex-start; }
    .foot_etc { flex-direction: column; align-items: flex-start; gap: 20px; }
    .foot_down_box { flex-direction: column; width: 100%; }
    .foot_down_btn { width: 100%; text-align: center; }
}




/* ============================================
   부록 게임리뷰
   ============================================ */

/* 기본 스타일 */
.report-container {
  max-width: 900px;
  margin: 20px auto;
  border: 1px solid #ddd;
  padding: 30px;
  font-family: 'Pretendard', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* 헤더 영역 */
.header-section {
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin-bottom: 25px;
}
.top-row { display: flex; justify-content: space-between; align-items: center; }
.rank-info { color: #2e7d32; font-weight: bold; font-size: 1.2rem; }
.score-badge div.badge{ background: #e8f5e9; color: #2e7d32; padding: 5px 15px; border-radius: 4px; font-weight: 900; font-size: 1.5rem; }
.game-title { font-size: 2.5rem; margin: 10px 0; color: #1a237e; }
.sub-info { color: #666; margin-bottom: 15px; }
.stats-bar { display: flex; gap: 20px; font-size: 0.95rem; }
.stats-bar strong { color: #2e7d32; }

/* 본문 분석 영역 */
.analysis-body { display: flex; gap: 30px; margin-bottom: 30px; }
.body-left { flex: 1.5; }
.body-right { flex: 1; }

.section-title { color: #01579b; border-left: 4px solid #01579b; padding-left: 10px; margin-bottom: 20px; }
h4{ margin: 15px 0 5px 0; font-size: 1.1rem; }
.desc-text { font-size: 0.9rem; color: #444; text-align: justify; }
/* 보고서 내부 소제목 (h4) */
.report-container h4 {
    font-size: 1.25rem; /* 기존 1.2rem보다 약간 키워 강조 */
    font-weight: 800;
    color: #1e293b; /* 조금 더 깊은 네이비 톤으로 가독성 향상 */
    margin: 2.5rem 0 1rem; /* 상단 여백을 충분히 주어 섹션 구분 명확화 */
    line-height: 1.4;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center; /* anchor-center 대신 표준 center 사용 (호환성) */
    gap: 0.6rem;
    position: relative;
}

/* 중요: 기존 스타일을 덮어쓰기 위해 상세 경로 지정 */
.report-container h4 {
    all: unset; /* 기존 스타일 완전 초기화 */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2.5rem 0 1rem !important; /* !important로 기존 마진 강제 덮어쓰기 */
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.report-container h4::before {
    content: '';
    width: 5px;
    height: 1.3rem;
    background-color: #0284c7;
    border-radius: 2px;
}

.report-container h5 {
    all: unset;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #475569;
    margin: 1.5rem 0 0.6rem !important;
    line-height: 1.5;
}

.report-container h5::before {
    content: '•';
    color: #0284c7;
    font-size: 1.2rem;
}

/* 키워드 및 리뷰 박스 */
.keyword-box { padding: 15px; border-radius: 6px; margin-bottom: 10px; }
.positive { background-color: #e3f2fd; }
.negative { background-color: #f5f5f5; }
.kw-header { font-weight: bold; display: block; margin-bottom: 5px; font-size: 0.9rem; }
.kw-tags { font-size: 0.85rem; }

.review-quotes { background: #f9f9f9; padding: 15px; border-radius: 6px; }
.quote { font-size: 0.85rem; margin-top: 10px; padding-left: 10px; border-left: 2px solid #ccc; }
.quote strong { display: block; margin-bottom: 2px; }
.best { color: #1565c0; }
.worst { color: #c62828; }

/* 레딧 섹션 (오렌지 테마) */
.reddit-section { background-color: #fff5ee; padding: 20px; border-radius: 8px; border: 1px solid #ffccbc; }
.reddit-header { margin-bottom: 20px; border-bottom: 1px solid #ffccbc; padding-bottom: 10px; }
.reddit-title { color: #ff5722; font-weight: bold; font-size: 1.2rem; }
.reddit-sub { color: #666; font-size: 0.9rem; margin-left: 10px; }

.reddit-content { display: flex; gap: 20px; }
.reddit-stats { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { background: #ffe0b2; padding: 10px; border-radius: 4px; text-align: center; }
.stat-card span { font-size: 0.75rem; color: #e64a19; display: block; }
.stat-card strong { font-size: 1.2rem; color: #bf360c; }

.sentiment-container { grid-column: span 2; margin-top: 5px; }
.sentiment-bar { display: flex; height: 25px; border-radius: 4px; overflow: hidden; font-size: 0.8rem; font-weight: bold; text-align: center; line-height: 25px; color: white; }
.bar-pos { background: #ff8a65; }
.bar-neg { background: #90a4ae; }

.reddit-keywords { flex: 1; }
.kw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.kw-grid span { background: #fff; border: 1px solid #ffe0b2; padding: 5px; border-radius: 4px; font-size: 0.8rem; text-align: center; }
.pos { color: #e64a19; }
.neg { color: #546e7a; }
/* 상단 영역 (제목, 평점, 통계) */
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 40px;
        padding-bottom: 25px;
    }
	.header-rank-pad{margin-top:200px;}

    /* 왼쪽: 제목부 */
    .title-group .rank-text {
        color: #5d9b44;
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 0px;
    }
    .title-group .main-title {
        color: #5d9b44;
        font-size: 2.4rem;
        font-weight: 900;
        margin: 0;
        letter-spacing: -1px;
    }

    /* 오른쪽: 점수부 */
    .score-group {
        text-align: right;
    }
    .score-group .badge {
        background-color: #c5e6dc;
        color: #3b8a73;
        padding: 5px 15px;
        border-radius: 6px;
        font-weight: bold;
        font-size: 1.4rem;
        display: inline-block;
    }
    .score-group .score-num {
        font-size: 2.0rem;
        font-weight: 900;
        color: #4a7c6d;
        margin: 5px 0 0;
        line-height: 1;
    }
    .score-group .score-label {
       font-size: 1.1rem;
        color: #666;
        font-weight: bold;
    }

    /* 중간 정보: 출시일 및 매출 통계 */
    .info-summary-row {
        margin-top: 25px;
        padding-bottom: 20px;
       
    }
    .sub-info-text, .stats-row {
        font-size: 1.4rem;
        font-weight: bold;
        color: #444;
    }
    .stats-row {
        margin-top: 0px;
    }
    .stats-row span {
        color: #5d9b44;
        margin-right: 20px;
		}
/* 서브페이지 모바일 대응 */
@media (max-width: 768px) {
	.analysis-body, .reddit-content {display:block !important;}
	.title-group .rank-text { font-size: 1.1em;}
	.title-group .main-title{ font-size: 1.5em;line-height: 1.2em;}
	.score-group .badge{ font-size: 0.8em;padding: 3px 5px;}
	.score-group .score-num { font-size: 1.4em;}
	.score-group .score-label { font-size: 0.8em;}
	.sub-info-text, .stats-row { font-size: 1em; line-height: 1.4em;}
	.stats-row span {margin-right: 5px;}
	.stats-row {margin-top:5px;}
}
