/* ========================================================
   타잔서버 (TARZAN CLASSIC) - 자연 & 정글 테마 스타일시트
   정통 리니지 2.0 클래식 프리서버 메인 디자인
   1280px 너비 기준 화면 가득 채움 뷰포트 레이아웃
   ======================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* 기본 리셋 및 전역 변수 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-emerald-deep: #03100a;
  --color-emerald-dark: #071a11;
  --color-emerald-surface: #0c261a;
  --color-emerald-bright: #10b981;
  --color-emerald-glow: rgba(16, 185, 129, 0.35);
  --color-emerald-light: #6ee7b7;

  --color-gold-deep: #78521a;
  --color-gold-main: #d5b16a;
  --color-gold-bright: #ffd96d;
  --color-gold-glow: rgba(213, 177, 106, 0.3);

  --color-text-main: #f0fdf4;
  --color-text-sub: #c9dec9;
  --color-text-muted: #86a38f;

  --width-container: 1280px;
}

html {
  scroll-behavior: auto;
  scrollbar-gutter: auto;
  color-scheme: dark;
}

@media (min-width: 1181px) and (min-height: 821px) {
  html {
    scrollbar-gutter: stable;
  }
}

body, html {
  overflow-x: hidden;
  height: auto;
  min-height: 100%;
}

/* 타잔 정글 자연 테마 배경 */
body.tarzan-theme {
  min-width: 320px;
  height: auto;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 50% -10%, rgba(16, 185, 129, .15), transparent 36rem),
              radial-gradient(circle at 15% 45%, rgba(5, 150, 105, .09), transparent 30rem),
              radial-gradient(circle at 85% 65%, rgba(213, 177, 106, .08), transparent 28rem),
              linear-gradient(180deg, #04100a, #020805);
  color: var(--color-text-main);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

/* 미세 텍스처 오버레이 */
body.tarzan-theme::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(52, 211, 153, .02) 1px, transparent 0),
                    linear-gradient(90deg, rgba(52, 211, 153, .015) 1px, transparent 0);
  background-size: 38px 38px, 38px 38px;
  opacity: .35;
}

body.tarzan-theme::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(2, 8, 5, .45), transparent 18%, transparent 82%, rgba(2, 8, 5, .45)),
              linear-gradient(180deg, rgba(2, 8, 5, .2), transparent 15%, transparent 85%, rgba(2, 8, 5, .6));
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a:focus, button:focus {
  outline: none;
}

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--color-gold-bright);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .5);
}

svg {
  display: block;
}

/* 사이트 셸 레이아웃 - 화면 크기가 충분할 때는 원페이지, 부족할 때는 자연스럽게 세로 스크롤 생성 */
.site-shell {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(52, 211, 153, .12);
  overflow-x: clip;
  overflow-y: visible;
}

/* ========================================================
   1. 상단 헤더 탑바 (Header_topbar__TA7Hh)
   ======================================================== */
.Header_topbar__TA7Hh {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 0 clamp(18px, 3.5vw, 48px);
  background: linear-gradient(180deg, rgba(8, 26, 17, .96), rgba(4, 15, 10, .96)), #030c07;
  border-bottom: 1px solid rgba(52, 211, 153, .18);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.Header_brand__DfQMe {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 14px 6px 0;
  text-decoration: none;
}



.Header_brandLogo__img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .75));
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), filter .25s ease;
}

.Header_brand__DfQMe:hover .Header_brandLogo__img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, .55)) drop-shadow(0 2px 8px rgba(0, 0, 0, .75));
}

.Header_navLinks__zL99V {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  height: 64px;
}

/* 상위 4대 네비게이션 아이템 */
.tarzan-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.tarzan-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 104px;
  padding: 0 16px;
  color: #d1ead8;
  font-weight: 700;
  font-size: 14.5px;
  border: 0;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
  white-space: nowrap;
}

.nav-caret {
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: .75;
  fill: #34d399;
}

.tarzan-nav-item:hover .nav-caret,
.tarzan-nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
  fill: var(--color-gold-bright);
}

.tarzan-nav-link:focus-visible,
.tarzan-nav-link:hover,
.tarzan-nav-link.Header_navActive,
.tarzan-nav-item:hover .tarzan-nav-link {
  color: var(--color-gold-bright);
  background: linear-gradient(180deg, rgba(16, 185, 129, .2), rgba(5, 150, 105, .1));
  box-shadow: inset 0 -2px 0 var(--color-gold-main);
  outline: none;
}

/* 계층형 드롭다운 메뉴 패널 (호버 브릿지 포함) */
.tarzan-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s cubic-bezier(0.16, 1, 0.3, 1), 
              transform .22s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility .22s ease;
  min-width: 290px;
  padding-top: 6px; /* 커서 이동 안전 영역 */
}

/* 마우스 호버 시 또는 키보드 접근 시 펼쳐짐 */
.tarzan-nav-item:hover .tarzan-nav-dropdown,
.tarzan-nav-item:focus-within .tarzan-nav-dropdown {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 드롭다운 카드 본체 (정글 글래스모피즘 & 에메랄드 골드 보더) */
.tarzan-dropdown-card {
  background: radial-gradient(circle at 50% 0, rgba(16, 185, 129, .18), transparent 70%), 
              rgba(4, 16, 10, .98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(52, 211, 153, .45);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .88), 
              0 0 26px rgba(16, 185, 129, .25), 
              inset 0 1px 0 rgba(255, 226, 158, .2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 드롭다운 내부 링크 아이템 */
.dropdown-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 10px 14px !important;
  border-radius: 6px;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: all .16s ease !important;
  text-align: left;
}

.dropdown-link:hover {
  background: linear-gradient(90deg, rgba(16, 185, 129, .2), rgba(6, 40, 24, .45)) !important;
  border-color: rgba(52, 211, 153, .4) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 226, 158, .18) !important;
  transform: translateX(4px);
}

/* 네비 대메뉴 선도 아이콘 */
.nav-lead-icon {
  margin-right: 2px;
  stroke: #34d399;
  flex-shrink: 0;
  transition: stroke .18s ease, transform .18s ease;
}

.tarzan-nav-item:hover .nav-lead-icon,
.tarzan-nav-item:focus-within .nav-lead-icon {
  stroke: #ffd96d;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, .5));
}

/* 드롭다운 서브메뉴 판타지 룬스톤 아이콘 박스 */
.dropdown-icon-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 7px;
  background: radial-gradient(circle at 35% 35%, rgba(16, 185, 129, .22), rgba(3, 14, 8, .92));
  border: 1px solid rgba(52, 211, 153, .42);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 226, 158, .2);
  color: #ffd96d;
  flex-shrink: 0;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-icon-box svg {
  stroke: #ffd96d;
  transition: stroke .18s ease, transform .18s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
}

.dropdown-link:hover .dropdown-icon-box {
  background: radial-gradient(circle at 35% 35%, rgba(16, 185, 129, .42), rgba(6, 30, 18, .96));
  border-color: #ffd96d;
  box-shadow: 0 0 16px rgba(251, 191, 36, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: scale(1.08);
}

.dropdown-link:hover .dropdown-icon-box svg {
  stroke: #fffbe6;
  transform: scale(1.05);
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-text strong {
  color: #f7fff7;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color .16s ease;
}

.dropdown-link:hover .dropdown-text strong {
  color: #ffd96d;
}

.dropdown-text small {
  color: #a7d0b7;
  font-size: 11px;
  line-height: 1.35;
}

.Header_actions__Med_a {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

/* 인트로 바로보기 헤더 버튼 */
.Header_introBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 15px;
  color: #ffd96d;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(20, 48, 32, .9), rgba(10, 28, 18, .95));
  border: 1px solid rgba(213, 177, 106, .4);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 226, 158, .12);
  transition: all .18s ease;
}

.Header_introBtn:hover {
  color: #fff2c5;
  border-color: rgba(213, 177, 106, .75);
  background: linear-gradient(180deg, rgba(32, 74, 50, .9), rgba(14, 40, 26, .95));
  box-shadow: 0 0 14px rgba(213, 177, 106, .2);
  transform: translateY(-1px);
}

/* 버튼 공통 컴포넌트 */
.Button_button__wf7LH {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  overflow: hidden;
  color: #eadbb8;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  background: linear-gradient(180deg, #163625, #081a11);
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 226, 158, .08);
  transition: all .18s ease;
}

.Button_button__wf7LH::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(110deg, transparent 0 24%, rgba(255, 235, 172, .18) 42%, transparent 62%),
              radial-gradient(circle at 50% 0, rgba(52, 211, 153, .2), transparent 60%);
  transition: opacity .18s ease;
}

.Button_button__wf7LH:focus-visible,
.Button_button__wf7LH:hover {
  color: #fff2c5;
  border-color: var(--color-gold-bright);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5), 0 0 18px rgba(16, 185, 129, .25), inset 0 1px 0 rgba(255, 229, 162, .18);
  outline: none;
  transform: translateY(-1px);
}

.Button_button__wf7LH:focus-visible::after,
.Button_button__wf7LH:hover::after {
  opacity: 1;
}

.Button_button__wf7LH:active {
  transform: translateY(1px);
}

/* 타잔 프리서버 메인 다운로드 버튼 (에메랄드 & 골드 빛) */
.Button_primary__KcBxk.tarzan-btn-primary {
  background: radial-gradient(circle at 50% 0, rgba(52, 211, 153, .35), transparent 72%),
              linear-gradient(180deg, #059669, #064e3b);
  border-color: rgba(213, 177, 106, .65);
  color: #fff9e6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4), 0 0 22px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 242, 197, .2);
}

.Button_primary__KcBxk.tarzan-btn-primary:hover {
  background: radial-gradient(circle at 50% 0, rgba(52, 211, 153, .5), transparent 72%),
              linear-gradient(180deg, #10b981, #047857);
  border-color: #ffd96d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55), 0 0 28px rgba(16, 185, 129, .45), inset 0 1px 0 rgba(255, 242, 197, .3);
}

.Button_secondary__uUg9S.tarzan-btn-secondary {
  background: linear-gradient(180deg, #173324, #0b1f15);
  border-color: rgba(52, 211, 153, .35);
  color: #e2f5ea;
}

.Button_secondary__uUg9S.tarzan-btn-secondary:hover {
  background: linear-gradient(180deg, #234b35, #112d20);
  border-color: rgba(213, 177, 106, .6);
  color: #fff;
}

.Button_small__WQ5yI {
  min-height: 36px;
  padding: 0 18px;
  font-size: 13.5px;
}

/* 모바일 햄버거 메뉴 */
.Header_mobileNav__B_PQS {
  display: none;
}

.Header_hamburger__RlNZq {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(20, 48, 32, .88), rgba(8, 24, 16, .92));
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 4px;
}

.Header_hamburger__RlNZq span {
  display: block;
  width: 20px;
  height: 2px;
  background: #d8ceb6;
  transition: transform .18s ease, opacity .16s ease;
}

.Header_hamburgerOpen__dI3RW span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.Header_hamburgerOpen__dI3RW span:nth-child(2) {
  opacity: 0;
}
.Header_hamburgerOpen__dI3RW span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.Header_mobileBackdrop__kAh7K {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, .55);
}

.Header_mobileMenu__imFpy {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 46;
  padding: 12px 16px 18px;
  background: linear-gradient(180deg, rgba(8, 26, 17, .98), rgba(4, 15, 10, .98)), #030c07;
  border-bottom: 1px solid rgba(52, 211, 153, .3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .8);
  max-height: calc(100dvh - 65px);
  overflow-y: auto;
}

/* 모바일 아코디언 그룹 */
.mobile-accordion-group {
  border-bottom: 1px solid rgba(52, 211, 153, .16);
  margin-bottom: 4px;
}

.mobile-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  background: transparent;
  border: 0;
  color: #fff2c5;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: color .16s ease;
}

.mobile-accordion-header:hover {
  color: #ffd96d;
}

.mobile-caret {
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1);
  fill: #34d399;
}

.mobile-accordion-group.is-open .mobile-caret {
  transform: rotate(180deg);
  fill: #ffd96d;
}

.mobile-accordion-body {
  display: none;
  padding: 2px 0 10px 14px;
  flex-direction: column;
  gap: 2px;
}

.mobile-accordion-group.is-open .mobile-accordion-body {
  display: flex;
}

.mobile-accordion-body a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 12px !important;
  color: #c9dec9 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-bottom: 0 !important;
  border-radius: 4px;
  transition: all .16s ease;
}

.mobile-accordion-body a:hover,
.mobile-accordion-body a:active {
  color: #fff !important;
  background: rgba(16, 185, 129, .18);
}

.accordion-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mobile-group-icon {
  stroke: #34d399;
  flex-shrink: 0;
  transition: stroke .18s ease;
}

.mobile-accordion-group.is-open .mobile-group-icon {
  stroke: #ffd96d;
}

.mobile-accordion-body .sub-ico-svg {
  stroke: #ffd96d;
  flex-shrink: 0;
  transition: transform .16s ease, stroke .16s ease;
}

.mobile-accordion-body a:hover .sub-ico-svg {
  stroke: #fffbe6;
  transform: scale(1.15);
}

/* 모바일 퀵 액션 링크 */
.mobile-quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(213, 177, 106, .25);
}

.mobile-quick-btn {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 8px !important;
  border-radius: 5px;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-align: center;
  border-bottom: 0 !important;
  text-decoration: none;
}

.mobile-quick-btn.intro {
  background: linear-gradient(180deg, #1b4730, #0c2719);
  color: #ffd96d !important;
  border: 1px solid rgba(213, 177, 106, .45);
}

.mobile-quick-btn.telegram {
  background: linear-gradient(180deg, #0d3822, #04140b);
  color: #a7f3d0 !important;
  border: 1px solid rgba(52, 211, 153, .4);
}

/* ========================================================
   2. 메인 컨테이너 & 히어로 섹션
   - 1280px 너비 기준 + 화면 높이에 꽉 차는 풀스크린 핏
   ======================================================== */
.tarzan-main-container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  position: relative;
  z-index: 1;
}

.HeroSection_heroSection__bFwrx {
  position: relative;
  isolation: isolate;
  width: min(var(--width-container), 100% - 32px);
  margin: 0 auto;
  padding: clamp(18px, 2.2vh, 28px) 0 clamp(24px, 3vh, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: clamp(18px, 2.2vh, 28px);
  flex: 1 0 auto;
}

/* 자연/타잔 테마 생성 이미지 배경 (tarzan_hero_bg.jpg) */
.HeroSection_heroSection__bFwrx::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  content: "";
  background-image: linear-gradient(90deg, rgba(3, 14, 9, .88), rgba(3, 14, 9, .42) 42%, rgba(3, 14, 9, .72)),
                    linear-gradient(180deg, rgba(3, 14, 9, .2), rgba(3, 14, 9, .75)),
                    url("/images/tarzan_hero_bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 32%;
  background-size: cover;
}

.HeroSection_heroSection__bFwrx::after {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 62% 38%, transparent 0 24%, rgba(2, 9, 6, .45) 76%),
              linear-gradient(180deg, #030d07, rgba(3, 13, 7, .84) 14px, transparent 90px),
              linear-gradient(180deg, transparent 0 74%, #030d07 100%);
}

.HeroSection_heroGrid__zGj6_,
.HeroSection_mediaPreviewArea__z958T {
  position: relative;
  z-index: 1;
}

/* 히어로 2열 그리드: 좌측 카피 & 우측 런처 */
.HeroSection_heroGrid__zGj6_ {
  display: grid;
  grid-template-columns: minmax(380px, 590px) minmax(420px, 550px);
  grid-gap: clamp(20px, 2.5vw, 40px);
  gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  min-height: 420px;
}

.HeroSection_heroCopy__RBWU4 {
  max-width: 590px;
  text-align: center;
}

.HeroSection_eyebrow__polYL {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 10px;
  padding: 6px 18px;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff6d6;
  background: linear-gradient(90deg, rgba(4, 22, 13, 0.88), rgba(14, 48, 30, 0.94) 50%, rgba(4, 22, 13, 0.88));
  border: 1px solid rgba(213, 177, 106, 0.52);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6),
              0 0 20px rgba(16, 185, 129, 0.22),
              inset 0 1px 0 rgba(255, 242, 197, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.HeroSection_eyebrow__polYL .eyebrow-ornament {
  width: 6px;
  height: 6px;
  background: #ffd96d;
  border: 1px solid #fff8db;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.85);
  flex-shrink: 0;
}

.HeroSection_eyebrow__polYL .eyebrow-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #04150c;
  background: linear-gradient(180deg, #fff9db 0%, #ffd96d 55%, #c59134 100%);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.HeroSection_eyebrow__polYL .eyebrow-main-text {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffe699 52%, #d5a648 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.03em;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
}

.HeroSection_brandTitle__dYvz7 {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 !important;
  line-height: 1 !important;
}

/* 생성된 타잔서버 3D 워드마크 이미지 */
.tarzan-brand-wordmark-img {
  display: block;
  width: min(490px, 100%);
  margin: 0 auto;
  height: auto;
  transform-origin: 50% 58%;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .8)) drop-shadow(0 0 22px rgba(16, 185, 129, .2));
}

.HeroSection_heroLede__0JG1L {
  max-width: 540px;
  margin: 8px auto 0;
  color: #d1ead8;
  font-size: 16px;
  line-height: 1.7;
}

.HeroSection_ledeLine__jfpvL {
  display: block;
}

.HeroSection_heroLede__0JG1L strong {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(180deg, #fff8d5, #f2cc6b 42%, #8f5722);
  background-clip: text;
  font-weight: 800;
  filter: drop-shadow(0 0 7px rgba(213, 177, 106, .2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .2px rgba(45, 26, 9, .5);
}

.HeroSection_heroLede__0JG1L .HeroSection_ledeGold__Tox8n {
  background-image: linear-gradient(180deg, #fffbe6, #ffd96d 36%, #b27524 76%, #6e3d17);
  font-size: 17px;
  letter-spacing: .02em;
}

.HeroSection_heroLede__0JG1L .HeroSection_ledeEmerald__Tarzan {
  background-image: linear-gradient(180deg, #e6fffa, #34d399 45%, #065f46);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, .35));
}

.HeroSection_heroActions__CYhqr {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

/* ========================================================
   3. 우측 시네마틱 영상 플레이어 쇼케이스 (풀숲 & 정글 테두리 테마)
   ======================================================== */
.HeroSection_launcherShowcase__ZGIet {
  display: flex;
  justify-content: flex-start;
  padding: 14px 0;
  perspective: 1200px;
}

.HeroSection_launcherShowcase__ZGIet > * {
  width: min(100%, 540px);
}

/* 플레이어 외곽 프레임 박스 */
.tarzan-player-frame {
  position: relative;
  width: min(100%, 540px);
  background: radial-gradient(circle at 50% 0, rgba(16, 185, 129, .14), transparent 45%), #04120a;
  border: 1px solid rgba(52, 211, 153, .45);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .85), 
              0 0 28px rgba(16, 185, 129, .2), 
              inset 0 1px 0 rgba(255, 226, 158, .15);
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease;
}

/* ==========================================
   풀숲 정글 덩굴 & 에메랄드 룬 프레임 장식 레이어 (원래의 화려한 대형 테두리 복원)
   ========================================== */
.tarzan-jungle-border {
  position: absolute;
  inset: -14px;
  pointer-events: none;
  z-index: 15;
}

/* 4개 코너 장식 (에메랄드 룬 & 앤틱 골드 담쟁이 덩굴 대형 복원) */
.jungle-corner {
  position: absolute;
  width: 70px;
  height: 70px;
  background-image: url('/images/frame_jungle_border.png');
  background-size: 280px 280px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .9)) drop-shadow(0 0 12px rgba(16, 185, 129, .65));
  transition: transform 0.3s ease, filter 0.3s ease;
  pointer-events: none;
}

.jungle-corner.top-left {
  top: 0;
  left: 0;
  background-position: top left;
}

.jungle-corner.top-right {
  top: 0;
  right: 0;
  background-position: top right;
}

.jungle-corner.bottom-left {
  bottom: 0;
  left: 0;
  background-position: bottom left;
}

.jungle-corner.bottom-right {
  bottom: 0;
  right: 0;
  background-position: bottom right;
}

.tarzan-player-frame:hover .jungle-corner {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .98)) 
          drop-shadow(0 0 18px rgba(16, 185, 129, .9)) 
          drop-shadow(0 0 10px rgba(251, 191, 36, .7));
}

/* 상하단 풀숲 덩굴 줄기 장식 */
.jungle-vine {
  position: absolute;
  left: 54px;
  right: 54px;
  height: 12px;
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, .45), transparent 70%),
              repeating-linear-gradient(90deg, rgba(52, 211, 153, .16) 0 8px, transparent 8px 24px);
  opacity: .85;
  pointer-events: none;
}

.jungle-vine.top-vine {
  top: 8px;
  border-top: 1px dashed rgba(213, 177, 106, .55);
}

.jungle-vine.bottom-vine {
  bottom: 8px;
  border-bottom: 1px dashed rgba(213, 177, 106, .55);
}

/* ==========================================
   플레이어 상단 타이틀바 (버튼 위치 안쪽 안전 영역으로 정밀 조정)
   ========================================== */
.tarzan-player-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 58px 0 46px; /* 우측 크게보기 버튼을 더 안쪽으로 여유있게 배치! */
  background: linear-gradient(180deg, rgba(14, 40, 26, .98), rgba(6, 20, 13, .98));
  border-bottom: 1px solid rgba(52, 211, 153, .28);
  border-radius: 7px 7px 0 0;
  position: relative;
  z-index: 10;
}

.tarzan-player-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tarzan-player-brand strong {
  display: block;
  color: transparent;
  background-image: linear-gradient(180deg, #fff7cf, #ffd96d 42%, #b5832f);
  background-clip: text;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16.5px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .04em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tarzan-player-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 12;
}

.tarzan-hd-badge {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #ffd96d;
  background: rgba(8, 30, 18, .9);
  border: 1px solid rgba(213, 177, 106, .5);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

.tarzan-player-expand-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  color: #ffd96d;
  background: linear-gradient(180deg, #1b4730, #0c2719);
  border: 1px solid rgba(213, 177, 106, .55);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  z-index: 12;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  transition: all .18s ease;
}

.tarzan-player-expand-btn:hover {
  color: #fff8db;
  border-color: #ffe082;
  background: linear-gradient(180deg, #276645, #123824);
  box-shadow: 0 0 12px rgba(251, 191, 36, .5);
  transform: scale(1.05);
}

/* ==========================================
   영상 플레이어 스크린 영역 (배경 아트 100% 개방 & 시인성 극대화)
   ========================================== */
.tarzan-player-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  overflow: hidden;
  background: #020805;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 생성된 웅장한 정글 배경 아트 - 시원하고 선명하게 */
.tarzan-player-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), filter .4s ease;
  z-index: 1;
  filter: brightness(0.98) contrast(1.04);
}

.tarzan-player-frame:hover .tarzan-player-poster-img {
  transform: scale(1.03);
}

/* 인라인 비디오 iframe 레이어 */
.tarzan-player-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
  display: none;
}

.tarzan-player-iframe.is-active {
  display: block;
}

/* 스크린 앰비언트 오버레이 - 중앙 아트를 가리지 않는 클린 비네팅 */
.tarzan-player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px 46px 10px; /* 좌우 여백을 테두리 안쪽으로 쏙 정렬! */
  background: linear-gradient(180deg, rgba(3, 12, 7, .32) 0%, transparent 28%, transparent 68%, rgba(2, 9, 5, .65) 100%);
  transition: opacity .35s ease, visibility .35s ease;
  pointer-events: auto;
}

.tarzan-player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tarzan-screen-top-meta {
  align-self: flex-start;
  z-index: 4;
}

.tarzan-trailer-tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff9db;
  background: rgba(7, 30, 18, .85);
  border: 1px solid rgba(213, 177, 106, .55);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
}

/* 중앙 크리스탈 에메랄드 재생 버튼 (아트를 가리지 않으면서 선명한 대비감) */
.tarzan-center-play {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, .78) 0%, rgba(5, 55, 35, .88) 75%, rgba(2, 28, 17, .95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid #ffd96d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .75), 
              0 0 20px rgba(16, 185, 129, .55), 
              inset 0 1px 0 rgba(255, 255, 255, .4);
  cursor: pointer;
  z-index: 4;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.tarzan-center-play:hover {
  transform: scale(1.12);
  border-color: #fff8db;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .85), 
              0 0 30px rgba(52, 211, 153, .8), 
              0 0 14px rgba(251, 191, 36, .6), 
              inset 0 1px 0 rgba(255, 255, 255, .6);
}

.tarzan-center-play .play-triangle {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff4d0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
  transition: transform .2s ease;
}

.tarzan-center-play:hover .play-triangle {
  transform: scale(1.06);
  border-left-color: #ffffff;
}

/* 재생 버튼 펄스 링 - 슬림하고 은은하게 */
.play-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 211, 153, .55);
  animation: tarzanPlayRingPulse 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes tarzanPlayRingPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* 하단 컴팩트 글래스 캡션 - 배경 인물들을 전혀 가리지 않는 플로팅 뱃지 */
.tarzan-player-caption {
  align-self: flex-start;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(3, 14, 8, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
}

.tarzan-player-caption .caption-badge {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #ffd96d;
  background: rgba(213, 177, 106, .2);
  border: 1px solid rgba(213, 177, 106, .4);
  padding: 1px 6px;
  border-radius: 10px;
}

.tarzan-player-caption b {
  display: inline-block;
  color: #e2f5ea;
  font-size: 12.5px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* ==========================================
   하단 비디오 플레이어 컨트롤 바 (버튼 위치 안쪽 안전 영역으로 정밀 조정 & 1줄 단일 행)
   ========================================== */
.tarzan-player-controls {
  background: linear-gradient(180deg, rgba(8, 26, 17, .96), rgba(3, 12, 7, .98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(52, 211, 153, .25);
  border-radius: 0 0 7px 7px;
  padding: 8px 58px 12px 46px; /* 우측 모달크게보기 버튼을 더 안쪽으로 여유있게 배치! */
  position: relative;
  z-index: 10;
}

/* 프로그레스 타임라인 바 */
.tarzan-timeline-track {
  position: relative;
  height: 5px;
  background: rgba(16, 50, 32, .85);
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 8px;
  overflow: visible;
  transition: height .15s ease;
}

.tarzan-timeline-track:hover {
  height: 7px;
}

.tarzan-timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #ffd96d);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(16, 185, 129, .8);
  transition: width .1s linear;
}

.tarzan-timeline-head {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ffd96d;
  box-shadow: 0 0 6px rgba(0, 0, 0, .8);
}

/* 컨트롤 버튼 및 텍스트 패널 (절대 두 줄로 꺾이지 않는 1줄 단일 행 레이아웃) */
.tarzan-controls-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.tarzan-ctrl-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.tarzan-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #e2f5ea;
  background: radial-gradient(circle at 50% 0, rgba(52, 211, 153, .18), transparent 70%),
              linear-gradient(180deg, #153a27, #091f14);
  border: 1px solid rgba(52, 211, 153, .36);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  transition: all .18s ease;
}

.tarzan-ctrl-btn svg {
  fill: #ffd96d;
}

.tarzan-ctrl-btn:hover {
  color: #fff;
  border-color: rgba(251, 191, 36, .8);
  background: linear-gradient(180deg, #1f5539, #0e2e1d);
  box-shadow: 0 0 12px rgba(16, 185, 129, .35);
  transform: translateY(-1px);
}

.tarzan-ctrl-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #ffd96d;
  border-color: rgba(213, 177, 106, .65);
  white-space: nowrap;
  flex-shrink: 0;
}

.tarzan-ctrl-expand svg {
  stroke: #ffd96d;
}

.expand-text-short {
  display: none;
}

.tarzan-playback-timer {
  color: #a7d8b8;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: flex;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tarzan-playback-timer .divider {
  color: rgba(52, 211, 153, .5);
}


/* ========================================================
   4. 하단 미디어 프리뷰 영역
   - 1280px 가로 스트립 & 박스 테두리 이미지 적용
   ======================================================== */
.tarzan-media-preview-area {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 22px;
  gap: 22px;
  align-items: center;
  margin-top: clamp(8px, 1.2vh, 16px);
  padding-top: clamp(12px, 1.4vh, 16px);
  border-top: 1px solid rgba(52, 211, 153, .16);
  flex-shrink: 0;
}

.tarzan-media-heading .tarzan-sub-badge {
  display: inline-block;
  color: var(--color-gold-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.tarzan-media-heading h2 {
  margin: 0 0 4px;
  color: #fff0c7;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tarzan-media-heading p {
  margin: 0;
  color: #8fb99e;
  font-size: 13px;
  line-height: 1.5;
}

.tarzan-media-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

/* 비디오 카드 - 정글 앤틱 프레임 & 텍스처 */
.tarzan-video-card {
  position: relative;
  display: grid;
  min-height: 112px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  background: linear-gradient(180deg, rgba(20, 50, 34, .4), rgba(7, 22, 14, .85)),
              linear-gradient(180deg, #0a1f14, #040f09);
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 4px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 226, 158, .06);
  transition: all .18s ease;
}

/* 카드 테두리 코너 장식 이미지 / 오버레이 효과 */
.tarzan-video-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  border-radius: 4px;
  pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(213, 177, 106, .2), transparent 25%),
              radial-gradient(circle at 100% 100%, rgba(16, 185, 129, .2), transparent 25%);
  opacity: 0;
  transition: opacity .2s ease;
}

.tarzan-video-card:hover::before {
  opacity: 1;
}

.tarzan-video-card:hover {
  border-color: rgba(213, 177, 106, .65);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .55), 0 0 18px rgba(16, 185, 129, .2), inset 0 1px 0 rgba(255, 226, 158, .15);
  transform: translateY(-2px);
}

.HeroSection_thumbnailMock__yIYdk {
  position: relative;
  display: grid;
  height: 62px;
  overflow: hidden;
  background: #020805;
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 3px;
}

.HeroSection_thumbnailImage__cead_ {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.HeroSection_playIcon__uusTp {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 226, 158, .5);
  border-radius: 50%;
  background: rgba(3, 15, 9, .68);
  transform: translateX(-50%);
  transition: all .18s ease;
}

.HeroSection_playIcon__uusTp::before {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 0;
  height: 0;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #ffd96d;
}

.tarzan-video-card strong {
  margin-top: 7px;
  padding-right: 26px;
  color: #e2f5ea;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s ease;
}

.tarzan-card-desc {
  display: block;
  margin-top: 2px;
  padding-right: 24px;
  color: #8fb99e;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tarzan-video-card small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(213, 177, 106, .7);
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 11.5px;
  font-weight: 700;
}

.tarzan-video-card:hover .HeroSection_thumbnailImage__cead_ {
  transform: scale(1.06);
}

.tarzan-video-card:hover .HeroSection_playIcon__uusTp {
  border-color: #ffd96d;
  background: rgba(4, 20, 12, .8);
  box-shadow: 0 0 14px rgba(213, 177, 106, .4);
  transform: translateX(-50%) scale(1.08);
}

.tarzan-video-card:hover strong {
  color: #fff2c5;
  text-shadow: 0 0 8px rgba(213, 177, 106, .25);
}

/* 뱃지 */
.tarzan-badge {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  color: #fff;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 3px;
  background: linear-gradient(180deg, #e85d42, #b22416);
  border: 1px solid rgba(255, 220, 190, .4);
  box-shadow: 0 2px 8px rgba(140, 20, 12, .4);
  pointer-events: none;
}

/* ========================================================
   5. 반응형 미디어 쿼리 & 모바일 최적화
   ======================================================== */
@media (max-width: 1180px) {
  .HeroSection_heroGrid__zGj6_ {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 28px;
  }
  .HeroSection_heroCopy__RBWU4,
  .HeroSection_launcherShowcase__ZGIet {
    min-width: 0;
    width: 100%;
    max-width: 680px;
    justify-self: center;
  }
  .HeroSection_launcherShowcase__ZGIet {
    justify-content: center;
  }
  .tarzan-media-preview-area {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tarzan-media-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  .Header_topbar__TA7Hh {
    grid-template-columns: 1fr auto;
  }
  .Header_navLinks__zL99V {
    display: none;
  }
  .Header_mobileNav__B_PQS {
    display: block;
  }
}

@media (max-width: 680px) {
  /* 상단 헤더 모바일 최적화 */
  .Header_topbar__TA7Hh {
    min-height: 54px;
    padding: 0 12px;
  }
  .Header_brandLogo__img {
    height: 36px;
    max-width: 105px;
  }
  .Header_introBtn {
    padding: 0 9px;
    font-size: 11px;
    height: 32px;
  }
  .Button_small__WQ5yI {
    padding: 0 11px;
    font-size: 11px;
    height: 32px;
  }
  .Header_actions__Med_a {
    gap: 8px;
  }

  /* 히어로 섹션 모바일 최적화 (가로 스크롤 원천 차단) */
  .HeroSection_heroSection__bFwrx {
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 0 20px;
    overflow-x: clip;
  }
  .HeroSection_heroSection__bFwrx::before,
  .HeroSection_heroSection__bFwrx::after {
    inset: 0 -12px;
  }

  /* 카피 영역 폰트 & 로고 최적화 */
  .HeroSection_eyebrow__polYL {
    font-size: 13px;
    padding: 5px 12px;
    gap: 6px;
    margin-bottom: 6px;
  }
  .HeroSection_eyebrow__polYL .eyebrow-badge-num {
    font-size: 11px;
    padding: 1px 6px;
  }
  .tarzan-brand-wordmark-img {
    max-width: 320px;
    width: 88%;
  }
  .HeroSection_heroLede__0JG1L {
    font-size: 14px;
    line-height: 1.62;
    word-break: keep-all;
    padding: 0 6px;
    margin-top: 6px;
  }
  .HeroSection_heroLede__0JG1L .HeroSection_ledeGold__Tox8n {
    font-size: 15.5px;
  }

  /* CTA 버튼 모바일 풀 너비 & 터치 최적화 */
  .HeroSection_heroActions__CYhqr {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-top: 14px;
  }
  .HeroSection_heroActions__CYhqr .Button_button__wf7LH {
    width: 100%;
    min-height: 48px;
    font-size: 14.5px;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 18px;
  }

  /* 시네마틱 영상 플레이어 모바일 최적화 (모퉁이 룬스톤 및 버튼 위치 정밀 정렬) */
  .HeroSection_launcherShowcase__ZGIet {
    width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
    perspective: none;
  }
  .tarzan-player-frame {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    overflow: visible;
  }
  .tarzan-jungle-border {
    inset: -6px;
  }
  .jungle-corner {
    width: 44px;
    height: 44px;
    background-size: 176px 176px;
  }
  .jungle-vine {
    left: 38px;
    right: 38px;
    height: 8px;
  }

  /* 상단 타이틀바 (좌우 44px 코너 룬스톤 침범 방지 안전 패딩) */
  .tarzan-player-titlebar {
    height: 40px;
    padding: 0 46px 0 42px;
  }
  .tarzan-player-brand {
    gap: 6px;
  }
  .tarzan-player-brand strong {
    font-size: 14.5px;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tarzan-player-badges {
    gap: 6px;
  }
  .tarzan-hd-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  .tarzan-player-expand-btn {
    width: 28px;
    height: 26px;
  }

  /* 스크린 및 오버레이 */
  .tarzan-player-screen {
    min-height: 200px;
  }
  .tarzan-player-overlay {
    padding: 8px 42px 8px;
  }
  .tarzan-trailer-tag {
    font-size: 9.5px;
    padding: 2px 7px;
  }
  .tarzan-center-play {
    width: 48px;
    height: 48px;
  }
  .tarzan-center-play .play-triangle {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
    margin-left: 3px;
  }
  .tarzan-player-caption {
    padding: 3px 10px;
  }
  .tarzan-player-caption b {
    font-size: 11.5px;
  }

  /* 하단 컨트롤 바 (모퉁이 44px 룬스톤 안전 영역으로 패딩 확보하여 버튼 가림 완벽 해결) */
  .tarzan-player-controls {
    padding: 6px 48px 10px 42px;
  }
  .tarzan-timeline-track {
    margin-bottom: 6px;
    height: 4px;
  }
  .tarzan-controls-panel {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .tarzan-ctrl-group.left {
    gap: 8px;
  }
  .tarzan-ctrl-btn {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }
  .tarzan-playback-timer {
    font-size: 11px;
    gap: 3px;
  }
  .tarzan-ctrl-expand {
    padding: 0 10px;
    min-height: 28px;
    font-size: 11.5px;
    gap: 4px;
  }

  /* 하단 미디어 스트립 2열 모바일 최적화 */
  .tarzan-media-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tarzan-video-card {
    padding: 6px;
    min-height: 84px;
  }
  .HeroSection_thumbnailMock__yIYdk {
    height: 48px;
  }
  .tarzan-video-card strong {
    font-size: 12px;
    margin-top: 5px;
    padding-right: 22px;
  }
  .tarzan-video-card small {
    right: 6px;
    bottom: 6px;
    font-size: 10.5px;
  }
}

/* 초소형 스마트폰 및 일반 스마트폰 전용 세부 미디어 쿼리 */
@media (max-width: 480px) {
  .tarzan-player-frame {
    border-radius: 6px;
  }
  .jungle-corner {
    width: 40px;
    height: 40px;
    background-size: 160px 160px;
  }
  .jungle-vine {
    left: 32px;
    right: 32px;
  }
  .tarzan-player-titlebar {
    height: 36px;
    padding: 0 42px 0 38px;
  }
  .tarzan-player-brand {
    gap: 4px;
  }
  .tarzan-player-brand strong {
    font-size: 13px;
    max-width: 140px;
  }
  .tarzan-hd-badge {
    display: none; /* 협소한 가로폭에서 타이틀 영역 확보를 위해 숨김 */
  }
  .tarzan-player-expand-btn {
    width: 26px;
    height: 24px;
  }
  .tarzan-player-controls {
    padding: 5px 44px 8px 38px;
  }
  .expand-text-full {
    display: none;
  }
  .expand-text-short {
    display: inline;
  }
  .tarzan-ctrl-expand {
    padding: 0 7px;
    font-size: 10.5px;
    min-height: 26px;
  }
  .tarzan-ctrl-btn {
    min-height: 26px;
    padding: 0 8px;
  }
  .tarzan-playback-timer {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .jungle-corner {
    width: 34px;
    height: 34px;
    background-size: 136px 136px;
  }
  .jungle-vine {
    left: 28px;
    right: 28px;
  }
  .tarzan-player-titlebar {
    padding: 0 36px 0 32px;
  }
  .tarzan-player-brand strong {
    font-size: 12px;
    max-width: 120px;
  }
  .tarzan-player-controls {
    padding: 5px 36px 8px 32px;
  }
  .tarzan-player-overlay {
    padding: 6px 32px 6px;
  }
  .tarzan-ctrl-btn {
    padding: 0 6px;
    min-height: 24px;
  }
  .tarzan-ctrl-expand {
    padding: 0 6px;
    font-size: 10px;
    min-height: 24px;
  }
}

/* 토스트 알림 */
.intro-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(8, 26, 17, .96);
  color: #fff2c5;
  padding: 11px 22px;
  border: 1px solid rgba(213, 177, 106, .5);
  border-radius: 5px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .6), 0 0 16px rgba(16, 185, 129, .25);
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transition: all .25s cubic-bezier(.2, .8, .2, 1);
  z-index: 1000;
}

.intro-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================
   6. 서브페이지 공통 레이아웃 호환
   ======================================================== */
.section-container {
  width: min(var(--width-container), 100% - 32px);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  color: var(--color-gold-bright);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  color: #f3ddb0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: #a7d8b8;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(20, 50, 34, .4), rgba(7, 22, 14, .85)), #081a11;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s ease;
}

.feature-card:hover {
  border-color: rgba(213, 177, 106, .65);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .55);
}

.feature-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020805;
}

.feature-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.feature-card:hover .feature-thumb-img {
  transform: scale(1.05);
}

.feature-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 15, 9, .7);
  border: 1px solid rgba(255, 226, 158, .5);
  display: grid;
  place-items: center;
}

.feature-play-badge svg {
  width: 16px;
  height: 16px;
  fill: #ffd96d;
  margin-left: 2px;
}

.feature-tag-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  background: linear-gradient(180deg, #e85d42, #b22416);
}

.feature-card-body {
  padding: 18px 20px 22px;
}

.feature-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.feature-card-title {
  color: #e2f5ea;
  font-size: 18px;
  font-weight: 700;
}

.feature-card-num {
  color: rgba(213, 177, 106, .7);
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 14px;
}

.feature-card-desc {
  color: #92b89f;
  font-size: 13.5px;
  line-height: 1.6;
}

.catalog-stage {
  background: linear-gradient(180deg, rgba(20, 50, 34, .5), rgba(7, 22, 14, .9)), #06180f;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 8px;
  padding: 28px 32px;
}

.stage-title {
  color: var(--color-gold-bright);
  font-size: 22px;
  margin-bottom: 12px;
}

.stage-desc {
  color: #d1ead8;
  font-size: 15px;
  line-height: 1.8;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.security-card {
  padding: 24px;
  background: rgba(8, 26, 17, .85);
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 6px;
}

.security-icon-box {
  color: var(--color-gold-bright);
  margin-bottom: 14px;
}

.security-card-title {
  color: #e2f5ea;
  font-size: 18px;
  margin-bottom: 10px;
}

.security-card-desc {
  color: #8fb99e;
  font-size: 14px;
  line-height: 1.65;
}

/* ========================================================
   5. 메인페이지(TARZAN HOME) 각종 오브젝트 애니메이션 시스템
   - 페이지 로드 시 유려한 순차 등장 (Entrance Stagger)
   - 살아 숨쉬는 앰비언트 (Ambient & Glow) 모션
   - 마우스 호버 및 반응형 인터랙션
   ======================================================== */

/* --- 5.1 애니메이션 키프레임 정의 --- */

/* 헤더 탑바 슬라이드 다운 */
@keyframes tarzanHeaderSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 텍스트/요소 슬라이드 다운 페이드 */
@keyframes tarzanFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 텍스트/요소 슬라이드 업 페이드 */
@keyframes tarzanFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 단순 페이드 인 */
@keyframes tarzanFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 좌측에서 슬라이드 인 */
@keyframes tarzanFadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-16px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 3D 워드마크 로고 등장 연출 */
@keyframes tarzanWordmarkEntrance {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.84);
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  65% {
    opacity: 1;
    transform: translateY(-6px) scale(1.03);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .85)) 
            drop-shadow(0 0 35px rgba(251, 191, 36, .55))
            drop-shadow(0 0 45px rgba(16, 185, 129, .35));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .8)) 
            drop-shadow(0 0 22px rgba(16, 185, 129, .2));
  }
}

/* 로고 타이틀 은은한 플로팅 부유 모션 */
@keyframes tarzanBrandFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-7px);
  }
}

/* 버튼 탄력 등장 */
@keyframes tarzanButtonPop {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.92);
  }
  75% {
    transform: translateY(-2px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 풀패치 다운로드 버튼 광택 스윕 효과 */
@keyframes tarzanShineSweep {
  0%, 15% {
    left: -130%;
  }
  50%, 100% {
    left: 140%;
  }
}

/* 런처 프레임 3D 원근 팝업 등장 */
@keyframes tarzanLauncherIn {
  0% {
    opacity: 0;
    transform: perspective(1000px) translateY(44px) rotateX(4.5deg) scale(0.94);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0deg) scale(1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65), 0 0 24px rgba(16, 185, 129, .15);
  }
}

/* 런처 프레임 앰비언트 오라 호흡 */
@keyframes tarzanLauncherAura {
  0% {
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65), 
                0 0 20px rgba(16, 185, 129, .14), 
                inset 0 1px 0 rgba(255, 226, 158, .08);
    border-color: rgba(52, 211, 153, .38);
  }
  50% {
    box-shadow: 0 28px 80px rgba(0, 0, 0, .75), 
                0 0 34px rgba(16, 185, 129, .28), 
                0 0 16px rgba(251, 191, 36, .18), 
                inset 0 1px 0 rgba(255, 226, 158, .2);
    border-color: rgba(251, 191, 36, .5);
  }
  100% {
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65), 
                0 0 20px rgba(16, 185, 129, .14), 
                inset 0 1px 0 rgba(255, 226, 158, .08);
    border-color: rgba(52, 211, 153, .38);
  }
}

/* 런처 비주얼 아트 줌인 안정화 */
@keyframes tarzanVisualZoom {
  0% {
    transform: scale(1.09);
    filter: brightness(0.7) contrast(1.1);
  }
  100% {
    transform: scale(1);
    filter: brightness(1) contrast(1);
  }
}

/* GAME START 버튼 강렬한 펄스 & 글로우 */
@keyframes tarzanStartBtnEntrance {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  60% {
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tarzanStartBtnPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 
                inset 0 1px 0 rgba(255, 242, 197, .2), 
                0 0 14px rgba(180, 40, 25, .3);
    border-color: rgba(255, 217, 109, .65);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .65), 
                inset 0 1px 0 rgba(255, 242, 197, .45), 
                0 0 26px rgba(239, 68, 68, .65), 
                0 0 16px rgba(251, 191, 36, .45);
    border-color: #ffd96d;
    filter: drop-shadow(0 0 8px rgba(255, 100, 70, .4));
  }
}

/* 6개 비디오 카드 순차 팝업 */
@keyframes tarzanCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.92);
  }
  70% {
    transform: translateY(-3px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 재생 아이콘 은은한 펄스 */
@keyframes tarzanPlayIconPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 8px rgba(255, 217, 109, 0.25);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 0 16px rgba(255, 217, 109, 0.55), 0 0 8px rgba(16, 185, 129, 0.35);
  }
}

/* 골드/에메랄드 텍스트 앰비언트 글로우 */
@keyframes tarzanGoldShimmer {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(213, 177, 106, .2));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 217, 109, .55));
  }
}

@keyframes tarzanEmeraldShimmer {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, .3));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, .65));
  }
}

/* 인트로 바로보기 버튼 앰비언트 글로우 */
@keyframes tarzanIntroBtnShimmer {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 226, 158, .12), 0 0 6px rgba(213, 177, 106, .15);
    border-color: rgba(213, 177, 106, .4);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 226, 158, .25), 0 0 14px rgba(251, 191, 36, .45);
    border-color: rgba(255, 217, 109, .75);
  }
}

/* 히어로 배경 미세 앰비언트 호흡 */
@keyframes tarzanHeroBgBreathe {
  0%, 100% {
    opacity: 0.92;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.018);
  }
}

/* --- 5.2 메인페이지(tarzan-home) 오브젝트별 애니메이션 적용 --- */

/* 0. 히어로 배경 앰비언스 */
.tarzan-home .HeroSection_heroSection__bFwrx::before {
  animation: tarzanHeroBgBreathe 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transform-origin: 50% 32%;
}

/* 1. 상단 네비게이션 헤더 */
.tarzan-home .Header_topbar__TA7Hh {
  animation: tarzanHeaderSlideDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.tarzan-home .Header_introBtn {
  animation: tarzanIntroBtnShimmer 3.6s ease-in-out 1.2s infinite;
}

/* 2. 좌측 카피 영역 요소들 */
.tarzan-home .HeroSection_eyebrow__polYL {
  animation: tarzanFadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  will-change: transform, opacity;
}

/* 3D 워드마크 타이틀 */
.tarzan-home .tarzan-brand-wordmark-img {
  animation: tarzanWordmarkEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  will-change: transform, opacity, filter;
}

/* 워드마크 래퍼 은은한 부유 모션 */
.tarzan-home .HeroSection_brandTitle__dYvz7 {
  animation: tarzanBrandFloat 4.2s ease-in-out 1.2s infinite alternate;
  will-change: transform;
}

/* 설명 문구 */
.tarzan-home .HeroSection_heroLede__0JG1L {
  animation: tarzanFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
  will-change: transform, opacity;
}

.tarzan-home .HeroSection_ledeGold__Tox8n {
  animation: tarzanGoldShimmer 3.2s ease-in-out 1.2s infinite alternate;
}

.tarzan-home .HeroSection_ledeEmerald__Tarzan {
  animation: tarzanEmeraldShimmer 3.2s ease-in-out 1.2s infinite alternate;
}

/* 메인 다운로드 풀패치 CTA 버튼 */
.tarzan-home .HeroSection_heroActions__CYhqr .tarzan-btn-primary {
  animation: tarzanButtonPop 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

/* 풀패치 다운로드 버튼 광택 스윕 가상 요소 */
.tarzan-home .HeroSection_heroActions__CYhqr .tarzan-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), rgba(255, 235, 172, 0.4), transparent);
  transform: skewX(-25deg);
  animation: tarzanShineSweep 4.2s infinite 1.8s ease-in-out;
  pointer-events: none;
}

/* 공식 커뮤니티 버튼 */
.tarzan-home .HeroSection_heroActions__CYhqr .tarzan-btn-secondary {
  animation: tarzanButtonPop 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
  will-change: transform, opacity;
}

/* 3. 우측 영상 플레이어 쇼케이스 프레임 */
.tarzan-home .HeroSection_launcherShowcase__ZGIet {
  perspective: 1200px;
}

.tarzan-home .tarzan-player-frame {
  animation: tarzanLauncherIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both,
             tarzanLauncherAura 5s ease-in-out 1.2s infinite alternate;
  will-change: transform, opacity, box-shadow;
  transform-style: preserve-3d;
}

/* 플레이어 포스터 전장 아트 */
.tarzan-home .tarzan-player-poster-img {
  animation: tarzanVisualZoom 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
  will-change: transform, filter;
}

/* 플레이어 상단 타이틀바 */
.tarzan-home .tarzan-player-titlebar {
  animation: tarzanFadeInDown 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  will-change: transform, opacity;
}

/* 중앙 재생 버튼 */
.tarzan-home .tarzan-center-play {
  animation: tarzanStartBtnEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
  will-change: transform, box-shadow;
}

/* 플레이어 캡션 문구 */
.tarzan-home .tarzan-player-caption {
  animation: tarzanFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  will-change: transform, opacity;
}

/* 하단 플레이어 컨트롤 바 */
.tarzan-home .tarzan-player-controls {
  animation: tarzanFadeInUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
  will-change: transform, opacity;
}

/* 4. 하단 미디어 프리뷰 영역 */
.tarzan-home .tarzan-media-heading {
  animation: tarzanFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
  will-change: transform, opacity;
}

/* 6개 비디오 카드 순차(Stagger) 캐스케이드 등장 */
.tarzan-home .tarzan-video-card {
  animation: tarzanCardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.55s + var(--card-i, 0) * 0.085s);
  will-change: transform, opacity, box-shadow;
}

/* 플레이 아이콘 미세 펄스 */
.tarzan-home .HeroSection_playIcon__uusTp {
  animation: tarzanPlayIconPulse 2.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* 비디오 카드 호버 시 인터랙션 강화 */
.tarzan-home .tarzan-video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, .75);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .65), 
              0 0 24px rgba(16, 185, 129, .3), 
              inset 0 1px 0 rgba(255, 226, 158, .2);
}

.tarzan-home .tarzan-video-card:hover .HeroSection_playIcon__uusTp {
  transform: translateX(-50%) scale(1.18);
  border-color: #ffd96d;
  background: rgba(16, 185, 129, 0.85);
  box-shadow: 0 0 18px rgba(255, 217, 109, 0.65), 0 0 28px rgba(16, 185, 129, 0.55);
}

.tarzan-home .tarzan-video-card:hover .HeroSection_thumbnailImage__cead_ {
  transform: scale(1.08);
}

/* --- 5.3 모션 감소 접근성 지원 --- */
@media (prefers-reduced-motion: reduce) {
  .tarzan-home * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ========================================================
   타잔 2.0 (TARZAN 2.0 CLASSIC) - 정통 커뮤니티 게시판 스타일
   에메랄드 룬스톤 & 앤틱 골드 다크 판타지 UI 테마
   ======================================================== */

.board-page-main {
  min-height: 100vh;
  padding-top: var(--header-height);
  padding-bottom: 90px;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(5, 150, 105, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #070e09 0%, #0a140d 50%, #050a06 100%);
}

/* 1. 서브페이지 헤더 배너 (전 페이지 고정 높이 & 상단 좌우 모퉁이 직각) */
.subpage-header-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  height: 188px;
  min-height: 188px;
  max-height: 188px;
  margin: 0 auto 35px;
  padding: 24px 30px;
  background: 
    linear-gradient(180deg, rgba(4, 15, 11, 0.72) 0%, rgba(5, 22, 15, 0.86) 65%, rgba(6, 16, 11, 0.95) 100%),
    url('/images/banners/bg_subpage_header.jpg') center center / cover no-repeat;
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-align: center;
}

.subpage-banner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.subpage-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.subpage-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.subpage-header-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.3);
}

.subpage-header-desc {
  font-size: 14.5px;
  color: #a7f3d0;
  opacity: 0.9;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2. 게시판 컨테이너 */
.board-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. 게시판 상단 툴바 */
.board-top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.board-summary-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.board-current-title {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.3px;
}

.board-total-count {
  font-size: 13.5px;
  color: #94a3b8;
}

.board-total-count strong {
  color: #34d399;
  font-weight: 700;
}

.btn-open-write {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #064e3b;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-open-write:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #022c22;
}

/* 4. 카테고리 탭 네비게이션 */
.board-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(10, 22, 14, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.board-nav-tabs::-webkit-scrollbar {
  display: none;
}

.tab-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.tab-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.4) 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.tab-badge {
  display: inline-block;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}

.tab-link.active .tab-badge {
  color: #064e3b;
  background: #34d399;
}

/* 5. 게시판 테이블 */
.board-table-wrap {
  background: rgba(10, 20, 13, 0.97);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin-bottom: 25px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.board-table thead {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(10, 25, 16, 0.6) 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.board-table th {
  height: 48px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #a7f3d0;
  letter-spacing: 0.3px;
  text-align: center;
  vertical-align: middle;
}

.board-table th.col-title {
  text-align: left;
}

.board-table td {
  padding: 13px 16px;
  font-size: 14px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.board-table td.col-title {
  text-align: left;
}

/* 컬럼 너비 지정 */
.col-num { width: 85px; }
.col-cat { width: 105px; }
.col-title { width: auto; }
.col-author { width: 135px; }
.col-date { width: 110px; color: #94a3b8; font-size: 13px; }
.col-views { width: 75px; color: #94a3b8; font-size: 13px; }
.col-likes { width: 75px; color: #34d399; font-size: 13px; font-weight: 600; }

/* 행 인터랙션 */
.board-row {
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.board-row:hover {
  background: rgba(16, 185, 129, 0.07);
}

/* 필독 공지 행 */
.board-row.sticky-row {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, rgba(251, 191, 36, 0.06) 100%);
}

.board-row.sticky-row:hover {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.14) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.sticky-pin {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 4px;
}

.regular-num {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

/* 카테고리 칩 */
.category-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: -0.2px;
}

.category-chip.notice {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.category-chip.update {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.category-chip.event {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.category-chip.free {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.category-chip.tip {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.category-chip.qna {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

/* 제목 텍스트 & 댓글 수 */
.title-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-title-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
  transition: color 0.15s ease;
}

.board-row:hover .post-title-text {
  color: #34d399;
}

.post-title-text.sticky-gold {
  color: #fde047;
  font-weight: 700;
}

.comment-count-chip {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
}

/* 작성자 뱃지 */
.admin-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.user-author-name {
  font-size: 13.5px;
  color: #cbd5e1;
}

/* 6. 아코디언 본문 패널 */
.accordion-content-row td {
  padding: 0;
  text-align: left;
  border-bottom: 0;
}

.accordion-panel {
  overflow: hidden;
}

.accordion-card {
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(8, 16, 11, 0.95) 0%, rgba(5, 10, 7, 0.98) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 2px solid rgba(16, 185, 129, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .modal-dialog-box {
    animation: none !important;
  }
}

.accordion-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.accordion-title-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.accordion-submeta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #94a3b8;
}

.accordion-submeta strong {
  color: #cbd5e1;
}

.btn-permalink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-permalink:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* 본문 HTML 서식 */
.post-body-html {
  font-size: 15px;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 25px;
}

.post-body-html p {
  margin-bottom: 14px;
}

.post-lead-box {
  padding: 16px 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 8px;
  margin-bottom: 20px;
}

.post-alert-box {
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  margin: 18px 0;
  font-size: 14px;
}

.post-alert-box.warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.post-reply-box {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  margin: 16px 0;
  color: #fef08a;
  line-height: 1.7;
}

.post-subheading {
  font-size: 16px;
  font-weight: 700;
  color: #34d399;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-list {
  padding-left: 20px;
  margin-bottom: 18px;
}

.post-list li {
  margin-bottom: 7px;
  color: #cbd5e1;
}

.post-data-table {
  width: 100%;
  max-width: 650px;
  border-collapse: collapse;
  margin: 16px 0 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.post-data-table th,
.post-data-table td {
  padding: 10px 14px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.post-data-table th {
  width: 140px;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-weight: 600;
}

/* 추천 및 하단 액션 */
.accordion-bottom-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.accordion-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.btn-like-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-like-action:hover {
  background: rgba(16, 185, 129, 0.25);
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

/* 댓글 박스 */
.accordion-comments-wrap {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 18px 20px;
}

.comment-count-title {
  font-size: 14px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 14px;
}

.accordion-comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.accordion-comment-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px 14px;
}

.c-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 5px;
}

.c-meta strong {
  color: #34d399;
}

.c-meta span {
  color: #64748b;
}

.c-body {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.no-c-msg {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  padding: 10px 0;
}

/* 인라인 댓글 작성 폼 */
.accordion-comment-form {
  display: flex;
  gap: 8px;
}

.c-input-name {
  width: 110px;
  padding: 8px 12px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  color: #ffffff;
}

.c-input-body {
  flex: 1;
  padding: 8px 14px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  color: #ffffff;
}

.c-input-name:focus,
.c-input-body:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.c-btn-submit {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #064e3b;
  background: #34d399;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.c-btn-submit:hover {
  background: #6ee7b7;
}

/* 7. 단일 상세 뷰 카드 (single-post-card) */
.single-post-card {
  background: rgba(10, 22, 14, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 35px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 35px;
}

.single-post-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 22px;
  margin-bottom: 25px;
}

.single-post-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-notice-pin {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

.single-post-date {
  font-size: 13px;
  color: #94a3b8;
  margin-left: auto;
}

.single-post-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.single-post-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.admin-crown-badge {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
}

.admin-crown-badge.sm {
  font-size: 11px;
  padding: 1px 5px;
}

.user-shield-badge {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
}

.author-name {
  color: #f1f5f9;
}

.post-stats {
  display: flex;
  gap: 14px;
  color: #94a3b8;
  font-size: 13.5px;
}

.post-stats strong {
  color: #cbd5e1;
}

.single-post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-back-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back-list:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* 단일 상세 뷰 댓글 섹션 */
.comments-section {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 24px;
}

.comments-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.comment-count-badge {
  font-size: 12px;
  padding: 2px 8px;
  background: #10b981;
  color: #022c22;
  font-weight: 800;
  border-radius: 12px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 18px;
}

.comment-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author strong {
  font-size: 14px;
  color: #34d399;
}

.comment-date {
  font-size: 12.5px;
  color: #64748b;
}

.comment-content {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.6;
}

.no-comments-msg {
  text-align: center;
  padding: 25px 0;
  color: #64748b;
  font-size: 14px;
}

.comment-form-inputs {
  display: flex;
  gap: 10px;
}

.input-nickname {
  width: 140px;
  padding: 10px 14px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  color: #ffffff;
}

.input-comment-text {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  color: #ffffff;
}

.input-nickname:focus,
.input-comment-text:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.btn-submit-comment {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #064e3b;
  background: #34d399;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-submit-comment:hover {
  background: #6ee7b7;
}

/* 8. 게시판 하단 바 (검색 & 페이지네이션) */
.board-bottom-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.board-search-form {
  display: flex;
  align-items: center;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 2px 4px 2px 12px;
  transition: border-color 0.2s ease;
}

.search-input-group:focus-within {
  border-color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.search-icon {
  color: #64748b;
  margin-right: 8px;
}

.input-search {
  width: 200px;
  padding: 8px 6px;
  font-size: 13.5px;
  background: transparent;
  border: none;
  color: #ffffff;
}

.input-search:focus {
  outline: none;
}

.btn-clear-search {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  padding: 0 6px;
  transition: color 0.15s ease;
}

.btn-clear-search:hover {
  color: #ef4444;
}

.btn-search-submit {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-search-submit:hover {
  background: #10b981;
  color: #064e3b;
}

/* 페이지네이션 */
.board-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-num,
.page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-num:hover,
.page-arrow:hover {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.page-num.active {
  color: #064e3b;
  background: #34d399;
  border-color: #6ee7b7;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* 9. 빈 상태 */
.empty-board-cell {
  padding: 60px 20px !important;
  text-align: center !important;
}

.empty-state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-icon {
  font-size: 36px;
  opacity: 0.8;
}

.empty-title {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
}

.empty-desc {
  font-size: 14px;
  color: #64748b;
}

/* 10. 글쓰기 모달 팝업 */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog-box {
  width: 100%;
  max-width: 620px;
  background: linear-gradient(180deg, #0d1e13 0%, #07120a 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.2);
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(10, 25, 16, 0.4) 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-rune-icon {
  font-size: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.flex-1 {
  flex: 1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #a7f3d0;
}

.form-select,
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-cancel {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary-write {
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #064e3b;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border: 1px solid #6ee7b7;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-write:hover {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

/* Board composer: only the body scrolls, so registration stays reachable. */
#writeModal { height: 100dvh; }
#writeModal .modal-dialog-box { max-width: 780px; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; }
#writeModal .modal-header, #writeModal .modal-footer { flex-shrink: 0; }
#writePostForm { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
#writeModal .modal-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
#writeModal [hidden] { display: none !important; }
#writeModal .modal-footer { flex-wrap: wrap; align-items: center; }
#writeStatus { flex: 1 1 180px; font-size: 13px; color: #b9c8bf; margin: 0; overflow-wrap: anywhere; }
#writeStatus.is-error { color: #f1aaa3; }
.write-modes, .write-toolbar, .write-draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.write-modes button, .write-toolbar button, .write-draft-actions button { padding: 7px 10px; border: 1px solid #365344; border-radius: 4px; background: #12251a; color: #d3dfd7; font: inherit; font-size: 12px; cursor: pointer; }
.write-modes button[aria-pressed="true"] { border-color: #8ab39b; color: #fff; background: #284334; }
.write-counter { margin-left: auto; font-size: 12px; color: #a4b5aa; font-weight: normal; }
#writeModal label .write-counter { float: right; }
.write-help, .write-drafts { color: #a4b5aa; font-size: 12px; line-height: 1.7; }
.write-help summary { cursor: pointer; color: #cad9ce; }
.write-help p, .write-drafts p { margin: 8px 0 0; }
.write-drafts { border: 1px solid #2e4939; border-radius: 6px; padding: 12px; }
.write-draft-actions label { display: inline-flex; align-items: center; gap: 5px; }
.write-preview { min-height: 240px; padding: 16px; border: 1px solid #365344; border-radius: 6px; background: #07110b; }
#writeModal button:disabled { opacity: .5; cursor: not-allowed; }
#writeModal :focus-visible { outline: 2px solid #a7cbb5; outline-offset: 3px; }
.post-body-html { overflow-wrap: anywhere; }
.post-body-html pre { white-space: pre; overflow-x: auto; padding: 14px; border: 1px solid #365344; border-radius: 4px; background: #07110b; }
.post-body-html code { font-family: Consolas, monospace; background: rgba(255,255,255,.06); padding: 2px 4px; }
.post-body-html pre code { padding: 0; background: transparent; }
.post-body-html blockquote { margin: 16px 0; padding: 12px 16px; border: 1px solid #365344; color: #c1d2c7; background: rgba(255,255,255,.025); }
.post-body-html ul, .post-body-html ol { padding-left: 26px; margin: 12px 0; }
.post-body-html ul { list-style: disc; }
.post-body-html ol { list-style: decimal; }
.post-body-html h2, .post-body-html h3, .post-body-html h4 { margin: 18px 0 10px; }
.post-body-html a { color: #a7d8bd; text-decoration: underline; }
.post-body-html hr { border: 0; border-top: 1px solid #365344; margin: 20px 0; }
.board-table-scroll { overflow-x: auto; }
.board-table-scroll table { width: 100%; border-collapse: collapse; }
.board-table-scroll th, .board-table-scroll td { border: 1px solid #365344; padding: 8px 12px; text-align: left; }
@media (max-width: 600px) {
  #writeModal { padding: 8px; }
  #writeModal .modal-dialog-box { max-height: calc(100dvh - 16px); border-radius: 8px; }
  #writeModal .modal-header { padding: 12px; }
  #writeModal .modal-header h3 { font-size: 16px; }
  #writeModal .modal-body { padding: 14px; gap: 14px; }
  #writeModal .form-row { flex-direction: column; }
  #writeModal .modal-footer { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  #writeStatus { flex-basis: 100%; }
  #writeModal .form-input, #writeModal .form-select, #writeModal .form-textarea { font-size: 16px; }
}

/* 11. 반응형 모바일 최적화 */
@media (max-width: 768px) {
  .subpage-header-banner {
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    padding: 18px 16px;
    margin-bottom: 25px;
    border-radius: 0 0 12px 12px;
  }
  
  .subpage-header-title {
    font-size: 23px;
  }
  
  .board-container {
    padding: 0 12px;
  }

  .col-num,
  .col-views,
  .col-likes {
    display: none;
  }

  .col-cat {
    width: 80px;
  }

  .col-author {
    width: 100px;
  }

  .board-table th,
  .board-table td {
    padding: 10px 8px;
  }

  .post-title-text {
    font-size: 13.5px;
  }

  .accordion-card {
    padding: 18px 16px;
  }

  .accordion-title-box h3 {
    font-size: 17px;
  }

  .form-row {
    flex-direction: column;
  }

  .board-bottom-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-group {
    width: 100%;
  }

  .input-search {
    width: 100%;
  }

  .board-pagination {
    justify-content: center;
  }

  .single-post-card {
    padding: 22px 18px;
  }

  .single-post-title {
    font-size: 20px;
  }

  .comment-form-inputs {
    flex-direction: column;
  }

  .input-nickname {
    width: 100%;
  }
}


/* ==========================================================================
   12. 게임정보 종합 도감 / 서버 안내 / 고객지원 & 다운로드 통합 스타일
   ========================================================================== */

/* 12-1. 상단 메인 탭 네비게이션 (4열 / 3열) */
.gameinfo-primary-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
  padding: 10px;
  background: rgba(7, 16, 11, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}

.gameinfo-primary-tabs.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.gameinfo-primary-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  text-align: left;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.gameinfo-primary-tab:hover {
  color: #f1f5f9;
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-2px);
}

.gameinfo-primary-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(4, 120, 87, 0.45) 100%);
  border-color: #34d399;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gameinfo-tab-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 10px;
  color: #34d399;
  transition: all 0.22s ease;
}

.gameinfo-primary-tab.active .gameinfo-tab-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border-color: #fde68a;
  color: #042f2e;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.gameinfo-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gameinfo-tab-copy strong {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.gameinfo-tab-copy small {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gameinfo-primary-tab.active .gameinfo-tab-copy small {
  color: #a7f3d0;
}

/* 12-2. 섹션 헤더 & 실시간 검색창 */
.gameinfo-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 104px;
  margin-bottom: 22px;
  padding: 20px 26px;
  background: linear-gradient(135deg, rgba(10, 24, 16, 0.9) 0%, rgba(6, 14, 9, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0 0 14px 14px;
}

.gameinfo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fbbf24;
  margin-bottom: 5px;
}

.gameinfo-header-left h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.gameinfo-header-left p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}

.gameinfo-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 310px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 10px;
  color: #34d399;
}

.gameinfo-search-box:focus-within {
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
}

.gameinfo-search-box input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
}

.gameinfo-search-box input:focus {
  outline: none;
}

/* 12-3. 서브 탭 (무기 / 방어구 / 악세서리 / 마법인형 / 시스템) */
.gameinfo-sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.gameinfo-sub-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #cbd5e1;
  background: rgba(9, 20, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gameinfo-sub-tab:hover {
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.14);
}

.gameinfo-sub-tab.active {
  color: #042f2e;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #fde68a;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.subtab-count {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
}

/* 12-4. 아이템 도감 슬롯 & 배지 */
.item-icon-slot {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 0, 0, 0.85) 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  flex-shrink: 0;
}

.item-icon-slot.legend {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, rgba(0, 0, 0, 0.88) 100%);
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.22), inset 0 0 10px rgba(0, 0, 0, 0.85);
}

.item-icon-slot.hero {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.24) 0%, rgba(0, 0, 0, 0.88) 100%);
  border-color: rgba(192, 132, 252, 0.55);
}

.item-icon-slot.doll {
  width: 58px;
  height: 58px;
}

.item-icon-slot img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.item-icon-slot.doll img {
  max-width: 48px;
  max-height: 48px;
}

.item-name-gold {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
}

.item-sub-class {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
}

.stat-dmg-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fef08a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 6px;
}

.stat-ac-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 6px;
}

.material-text {
  font-size: 13px;
  color: #cbd5e1;
}

.type-badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.safe-enchant-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
}

.dmg-status-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
}

.dmg-status-chip.safe {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.dmg-status-chip.warn {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.4);
}

.item-options-text {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.55;
}

.item-options-text.highlight-cyan {
  color: #a7f3d0;
  font-weight: 600;
}

.doll-stage-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  color: #fef08a;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.doll-stage-chip.tier-5 {
  color: #fef08a;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.45) 0%, rgba(153, 27, 27, 0.65) 100%);
  border-color: #f87171;
}

.doll-stage-chip.tier-4 {
  color: #f3e8ff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(91, 33, 182, 0.65) 100%);
  border-color: #c084fc;
}

/* 12-5. 5대 사냥터 카드 (features.ejs) */
.hunt-cards-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hunt-info-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.hunt-info-card:hover {
  transform: translateY(-3px);
  border-color: #34d399;
}

.hunt-thumb-box {
  position: relative;
  min-height: 220px;
  background: #040906;
  overflow: hidden;
}

.hunt-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hunt-info-card:hover .hunt-thumb-box img {
  transform: scale(1.06);
}

.hunt-level-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.hunt-body-box {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hunt-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hunt-title-row h3 {
  font-size: 21px;
  font-weight: 800;
  color: #fbbf24;
  margin: 0;
}

.hunt-meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hunt-time-chip,
.hunt-diff-chip {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 6px;
}

.hunt-diff-chip {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
}

.hunt-desc-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 16px 0;
}

.hunt-drops-wrap {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drops-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 8px;
}

.drops-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.drop-item-tag {
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fef08a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 6px;
}

/* 12-6. 11대 보스 레이드 카드 (features.ejs) */
.boss-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.boss-info-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.boss-info-card:hover {
  transform: translateY(-3px);
  border-color: #fbbf24;
}

.boss-avatar-box {
  width: 118px;
  height: 128px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, rgba(0, 0, 0, 0.88) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 12px;
  overflow: hidden;
}

.boss-avatar-box img {
  max-width: 102px;
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
}

.boss-detail-box {
  flex: 1;
  min-width: 0;
}

.boss-header-row {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.boss-name-title {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
  margin: 0 0 8px 0;
}

.boss-spawn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.boss-loc-chip,
.boss-time-chip {
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}

.boss-loc-chip {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.boss-time-chip {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.rewards-label {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 6px;
}

.rewards-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reward-item-tag {
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
}

.system-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.system-catalog-card {
  padding: 26px;
  background: rgba(8, 18, 12, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
}

.system-catalog-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fbbf24;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.system-catalog-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-catalog-card li {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.system-catalog-card li strong {
  display: block;
  font-size: 14.5px;
  color: #34d399;
  margin-bottom: 4px;
}

.system-catalog-card li p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

/* ==========================================================================
   12-7. 서버 안내 (/info, /rules, /promotion) 고도화 디자인
   ========================================================================== */

/* 상단 4대 KPI 카드 그리드 */
.info-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.info-kpi-card {
  padding: 20px 22px;
  background: linear-gradient(160deg, rgba(12, 28, 19, 0.94) 0%, rgba(6, 14, 9, 0.96) 100%);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-kpi-card:hover {
  transform: translateY(-3px);
  border-color: #fbbf24;
}

.kpi-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.kpi-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.kpi-ico {
  font-size: 20px;
}

.kpi-main-val {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.kpi-main-val.gold { color: #fbbf24; }
.kpi-main-val.emerald { color: #34d399; }
.kpi-main-val.cyan { color: #38bdf8; }
.kpi-main-val.red { color: #f87171; }

.kpi-sub-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* 도감 바로가기 퀵 바 */
.info-quick-shortcuts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
  background: rgba(10, 24, 16, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
}

.shortcut-bar-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fef08a;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.shortcut-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-shortcut-chip {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.info-shortcut-chip:hover {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.22);
  border-color: #34d399;
  transform: translateY(-1px);
}

.info-shortcut-chip.gold {
  color: #042f2e;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #fde68a;
  font-weight: 800;
}

/* 2단 스펙 & 인챈트 레이아웃 */
.info-two-col-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.info-two-col-layout .info-card-block {
  margin-bottom: 0;
}

/* 공통 카드 블록 */
.info-card-block {
  padding: 28px 30px;
  margin-bottom: 24px;
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.52);
}

.info-block-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  margin-bottom: 8px;
}

.info-step-badge.gold {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.4);
}

.info-block-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.server-spec-table th {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-weight: 800;
  text-align: center;
}

.info-mini-notice {
  padding: 12px 16px;
  font-size: 13px;
  color: #fef08a;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  line-height: 1.55;
}

/* 목표 졸업 장비 비주얼 쇼케이스 6종 그리드 */
.info-gear-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-gear-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.info-gear-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.05);
  transform: translateY(-2px);
}

.info-gear-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gear-class-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
}

.gear-class-tag.gold {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.16);
}

.info-gear-meta strong {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
}

.info-gear-meta small {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

/* 4대 클래스 전투 밸런스 그리드 */
.info-class-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-class-card {
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}

.info-class-card:hover {
  border-color: #34d399;
}

.class-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.class-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.6px;
}

.class-badge.monarch { color: #fef08a; background: rgba(234, 179, 8, 0.22); border: 1px solid rgba(250, 204, 21, 0.45); }
.class-badge.knight { color: #fca5a5; background: rgba(239, 68, 68, 0.22); border: 1px solid rgba(248, 113, 113, 0.45); }
.class-badge.elf { color: #6ee7b7; background: rgba(16, 185, 129, 0.22); border: 1px solid rgba(52, 211, 153, 0.45); }
.class-badge.wizard { color: #d8b4fe; background: rgba(168, 85, 247, 0.22); border: 1px solid rgba(192, 132, 252, 0.45); }

.class-card-head h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.info-class-card p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 14px 0;
}

.class-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.class-skill-tags span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 6px;
}

/* 시스템 서브 패널 */
.info-sys-pane {
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 12px;
}

.info-sys-pane h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fbbf24;
  margin: 0 0 12px 0;
}

/* 12-8. 홍보 안내 & 원클릭 복사 (info.ejs) */
.promo-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.promo-guide-card {
  padding: 24px;
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.promo-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  color: #042f2e;
  background: #34d399;
  margin-bottom: 10px;
}

.promo-card-badge.gold {
  background: #fbbf24;
}

.promo-card-badge.warn {
  color: #ffffff;
  background: #ef4444;
}

.promo-guide-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.promo-guide-card p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
}

.promo-sites-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.promo-site-btn:hover {
  color: #042f2e;
  background: #34d399;
  border-color: #6ee7b7;
  transform: translateY(-2px);
}

.promo-copy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.promo-copy-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
  margin: 0;
}

.promo-copy-box {
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-size: 14.5px;
  color: #e2e8f0;
}

.promo-copy-box.title-box {
  color: #fef08a;
  font-weight: 800;
  font-size: 15.5px;
}

.promo-copy-box.body-box {
  white-space: pre-line;
  line-height: 1.8;
}

/* 12-9. 다운로드 & 고객지원 카드 (support.ejs) */
.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.download-action-card {
  padding: 30px;
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.52);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.download-action-card.primary {
  border-color: rgba(251, 191, 36, 0.45);
}

.download-action-card:hover {
  transform: translateY(-3px);
  border-color: #34d399;
}

.download-action-card.primary:hover {
  border-color: #fbbf24;
}

.dl-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 20px;
  margin-bottom: 12px;
}

.dl-badge.emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
}

.download-action-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.download-action-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.dl-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  margin-bottom: 22px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 13px;
  color: #94a3b8;
}

.btn-download-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-download-big.gold {
  color: #042f2e;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-download-big.gold:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  transform: translateY(-2px);
}

.btn-download-big.emerald {
  color: #042f2e;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-download-big.emerald:hover {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
  transform: translateY(-2px);
}

/* 12-10. 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
  .gameinfo-primary-tabs,
  .gameinfo-primary-tabs.three-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-two-col-layout,
  .info-gear-showcase-grid,
  .boss-cards-grid,
  .system-catalog-grid,
  .download-cards-grid {
    grid-template-columns: 1fr;
  }
  .hunt-info-card {
    grid-template-columns: 1fr;
  }
  .hunt-thumb-box {
    height: 210px;
  }
}

@media (max-width: 640px) {
  .gameinfo-primary-tabs,
  .gameinfo-primary-tabs.three-cols,
  .info-kpi-grid,
  .info-class-grid,
  .promo-guide-grid {
    grid-template-columns: 1fr;
  }
  .gameinfo-section-header {
    flex-direction: column;
    align-items: stretch;
  }
  .gameinfo-search-box {
    min-width: 100%;
  }
  .boss-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .boss-spawn-badges,
  .rewards-chip-list {
    justify-content: center;
  }
  .info-card-block {
    padding: 20px 16px;
  }
}

/* 12-11. SVG 아이콘 래퍼 및 정갈한 정렬 스타일 */
.kpi-svg-box {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #34d399;
}

.kpi-svg-box svg {
  width: 20px;
  height: 20px;
}

.info-kpi-card.gold .kpi-svg-box {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.info-kpi-card.cyan .kpi-svg-box {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(34, 211, 238, 0.35);
  color: #22d3ee;
}

.info-kpi-card.amber .kpi-svg-box {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(251, 146, 60, 0.35);
  color: #fb923c;
}

.heading-with-svg {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heading-with-svg svg {
  width: 20px;
  height: 20px;
  color: #34d399;
  flex-shrink: 0;
}

.info-shortcut-chip svg,
.info-inline-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.board-tab svg,
.item-subtab-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.promo-step-icon svg {
  width: 28px;
  height: 28px;
  color: #34d399;
}

.tarzan-leaf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
}

/* ========================================================
   13. 공식 게임 포털형 사이트 푸터 (Site Footer)
   ======================================================== */
.site-footer {
  position: relative;
  flex-shrink: 0;
  margin-top: 60px;
  background: linear-gradient(180deg, rgba(4, 15, 13, 0.96) 0%, #020908 100%);
  border-top: 1px solid rgba(52, 211, 153, 0.16);
  color: #94a3b8;
  font-size: 13.5px;
  z-index: 10;
}

.tarzan-home .site-footer {
  margin-top: 0;
}

.site-footer-top-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.45) 30%, rgba(245, 158, 11, 0.5) 50%, rgba(16, 185, 129, 0.45) 70%, transparent 100%);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 28px 34px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(0, 0, 0, 0.45);
  padding: 3px;
}

.site-footer-brand-text {
  display: flex;
  flex-direction: column;
}

.site-footer-brand-text strong {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-footer-brand-text span {
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer-slogan {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.68;
}

.site-footer-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.footer-spec-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-spec-chip.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-nav-col h4 {
  margin: 0 0 12px;
  color: #f1f5f9;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.footer-nav-col a:hover {
  color: #34d399;
  transform: translateX(2px);
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  flex-wrap: wrap;
}

.site-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer-legal .copyright-line {
  margin: 0;
  color: #cbd5e1;
  font-size: 12.5px;
}

.site-footer-legal .copyright-line strong {
  color: #fbbf24;
}

.site-footer-legal .disclaimer-line {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.site-footer-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-util-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-util-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.footer-util-btn.primary {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.footer-util-btn.primary:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: #34d399;
  color: #ffffff;
}

@media (max-width: 960px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .site-footer-inner {
    padding: 32px 18px 26px;
  }
  .site-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   14. 드롭다운 & 모바일 하위 메뉴 현재 접속 페이지(Active) 강조
   ======================================================== */
.dropdown-link.is-current {
  position: relative;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.24) 0%, rgba(245, 158, 11, 0.12) 100%) !important;
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.dropdown-link.is-current .dropdown-icon-box {
  background: radial-gradient(circle at 35% 35%, rgba(245, 158, 11, 0.35), rgba(6, 30, 18, 0.96));
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.dropdown-link.is-current .dropdown-icon-box svg {
  stroke: #fef08a;
}

.dropdown-link.is-current .dropdown-text strong {
  color: #fde68a;
}

.dropdown-link.is-current .dropdown-text small {
  color: #d1fae5;
}

.dropdown-active-pill {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-accordion-body a.is-current {
  color: #fde68a !important;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.22), rgba(245, 158, 11, 0.1)) !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  font-weight: 800 !important;
}

.mobile-accordion-body a.is-current .sub-ico-svg {
  stroke: #fbbf24;
}

/* ========================================================
   15. 4대 클래스 일러스트 카드 & 비주얼 쇼케이스 배너
   ======================================================== */
.info-class-card.has-portrait {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(4, 14, 10, 0.78);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.class-portrait-thumb {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #030b08;
  border-bottom: 1px solid rgba(52, 211, 153, 0.18);
}

.class-portrait-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.35s ease;
}

.info-class-card.has-portrait:hover .class-portrait-thumb img {
  transform: scale(1.05);
}

.class-portrait-thumb .class-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
}

.class-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.class-card-body .class-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.class-role-sub {
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
}

/* 홍보/보안 비주얼 쇼케이스 배너 */
.visual-feature-banner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(8, 24, 17, 0.92) 0%, rgba(4, 12, 9, 0.96) 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.visual-banner-thumb {
  width: 100%;
  height: 195px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: #020806;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.visual-banner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-banner-copy h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.visual-banner-copy p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
}

.visual-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-banner-tags span {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 700;
}

/* 다운로드 카드 상단 썸네일 */
.dl-card-visual {
  position: relative;
  width: 100%;
  height: 170px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #030b08;
}

.dl-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.download-action-card:hover .dl-card-visual img {
  transform: scale(1.04);
}

.dl-card-visual .dl-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  margin-bottom: 0;
  backdrop-filter: blur(8px);
  background: rgba(4, 15, 11, 0.82);
}

@media (max-width: 900px) {
  .visual-feature-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .visual-banner-thumb {
    height: 200px;
  }
}

/* ==========================================================================
   [Brand Identity Visuals] Telegram, AnyDesk, Google Drive 공식 로고/엠블럼
   ========================================================================== */

/* 상단 헤더 상담 문의 버튼 텔레그램 아이콘 정렬 */
.header-tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-tg-cta svg {
  flex-shrink: 0;
}

/* 드롭다운 메뉴 내 브랜드 미니 칩 */
.dropdown-title-with-chips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.nav-brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.nav-brand-chip.gdrive {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-brand-chip.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #ffffff;
  border-color: rgba(42, 171, 238, 0.55);
  box-shadow: 0 2px 6px rgba(42, 171, 238, 0.28);
}

.nav-brand-chip.anydesk {
  background: linear-gradient(135deg, #EF443B 0%, #D63027 100%);
  color: #ffffff;
  border-color: rgba(239, 68, 59, 0.55);
  box-shadow: 0 2px 6px rgba(239, 68, 59, 0.28);
}

/* 다운로드 썸네일 우측 상단 플로팅 브랜드 배지 */
.dl-floating-brand {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.dl-floating-brand.gdrive {
  background: rgba(10, 20, 16, 0.88);
  color: #f4fbf8;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.dl-floating-brand.launcher {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

/* 다운로드 페이지 하단 텔레그램 & AnyDesk 직통 연결 바 */
.support-quick-connect-bar {
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 26, 19, 0.92) 0%, rgba(4, 16, 12, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.quick-connect-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 5px;
}

.sqc-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-bright, #f3cc64);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

.quick-connect-info h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f3faf7;
}

.quick-connect-info p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary, #a8c5ba);
}

.quick-connect-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  flex: 0 0 500px;
}

.brand-connect-btn {
  display: inline-flex;
  min-width: 0;
  min-height: 76px;
  box-sizing: border-box;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-connect-btn:hover {
  transform: translateY(-2px);
}

.brand-connect-btn.telegram {
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.18) 0%, rgba(34, 158, 217, 0.08) 100%);
  border: 1px solid rgba(42, 171, 238, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.brand-connect-btn.telegram:hover {
  border-color: #2AABEE;
  box-shadow: 0 10px 26px rgba(42, 171, 238, 0.3);
}

.brand-connect-btn.anydesk {
  background: linear-gradient(135deg, rgba(239, 68, 59, 0.18) 0%, rgba(214, 48, 39, 0.08) 100%);
  border: 1px solid rgba(239, 68, 59, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.brand-connect-btn.anydesk:hover {
  border-color: #EF443B;
  box-shadow: 0 10px 26px rgba(239, 68, 59, 0.3);
}

.brand-circle-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-connect-btn.telegram .brand-circle-ico {
  background: linear-gradient(135deg, #2AABEE 0%, #1E88E5 100%);
  box-shadow: 0 4px 12px rgba(42, 171, 238, 0.4);
}

.brand-connect-btn.anydesk .brand-circle-ico {
  background: linear-gradient(135deg, #EF443B 0%, #C62828 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 59, 0.4);
}

.brand-btn-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.brand-btn-text small {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
}

.brand-btn-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

/* /support 페이지 텔레그램 & AnyDesk 브랜드 카드 엠블럼 헤더 */
.support-brand-card.telegram-theme {
  border-color: rgba(42, 171, 238, 0.34);
  background: radial-gradient(circle at top right, rgba(42, 171, 238, 0.12), transparent 55%),
              linear-gradient(180deg, rgba(6, 22, 20, 0.94) 0%, rgba(4, 14, 11, 0.98) 100%);
}

.support-brand-card.telegram-theme:hover {
  border-color: rgba(42, 171, 238, 0.65);
  box-shadow: 0 18px 40px rgba(42, 171, 238, 0.16);
}

.support-brand-card.anydesk-theme {
  border-color: rgba(239, 68, 59, 0.34);
  background: radial-gradient(circle at top right, rgba(239, 68, 59, 0.12), transparent 55%),
              linear-gradient(180deg, rgba(20, 10, 12, 0.92) 0%, rgba(4, 14, 11, 0.98) 100%);
}

.support-brand-card.anydesk-theme:hover {
  border-color: rgba(239, 68, 59, 0.65);
  box-shadow: 0 18px 40px rgba(239, 68, 59, 0.16);
}

.support-brand-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-brand-emblem {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
}

.support-brand-emblem.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #1A8CD8 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(42, 171, 238, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.support-brand-emblem.anydesk {
  background: linear-gradient(135deg, #EF443B 0%, #C92A22 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(239, 68, 59, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.support-brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.support-brand-meta .dl-badge {
  margin-bottom: 0;
}

.dl-badge.telegram-badge {
  background: rgba(42, 171, 238, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(42, 171, 238, 0.4);
}

.dl-badge.anydesk-badge {
  background: rgba(239, 68, 59, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 59, 0.4);
}

.support-brand-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a7f3d0;
}

.support-brand-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.support-brand-status.anydesk-status {
  color: #fecaca;
}

.support-brand-status .status-dot.anydesk {
  background: #EF443B;
  box-shadow: 0 0 8px #EF443B;
}

/* 텔레그램 & AnyDesk 전용 대형 액션 버튼 */
.btn-download-big.telegram-btn {
  background: linear-gradient(135deg, #2AABEE 0%, #1E88E5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(42, 171, 238, 0.32);
}

.btn-download-big.telegram-btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #2AABEE 100%);
  box-shadow: 0 14px 30px rgba(42, 171, 238, 0.46);
  transform: translateY(-2px);
}

.btn-download-big.anydesk-btn {
  background: linear-gradient(135deg, #EF443B 0%, #D32F2F 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(239, 68, 59, 0.32);
}

.btn-download-big.anydesk-btn:hover {
  background: linear-gradient(135deg, #f87171 0%, #EF443B 100%);
  box-shadow: 0 14px 30px rgba(239, 68, 59, 0.46);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .support-quick-connect-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .quick-connect-actions {
    width: 100%;
    flex: none;
  }
  .brand-connect-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .support-quick-connect-bar {
    padding: 20px;
  }

  .quick-connect-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   [회원 시스템 · 직위별 게시판 권한 · 1:1 익명 건의 · 어드민 센터 UI]
   ========================================================================== */

/* 상단 헤더 로그인 유저 상태바 */
.header-user-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6, 26, 19, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.user-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.user-role-pill.is-admin {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(180, 130, 25, 0.15) 100%);
  color: #f7d97e;
  border: 1px solid rgba(212, 175, 55, 0.55);
}

.user-role-pill.is-user {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.header-user-nick {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f2faf6;
}

.header-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #111827;
  background: linear-gradient(135deg, #f3cc64 0%, #d4af37 100%);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-admin-btn:hover,
.header-admin-btn.is-active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.header-logout-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #a8c5ba;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.header-logout-btn:hover {
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.16);
}

.header-register-btn {
  border-color: rgba(212, 175, 55, 0.4) !important;
  color: #f3cc64 !important;
}

/* 로그인 / 회원가입 모달 */
.auth-modal-box {
  max-width: 480px;
}

.auth-tab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 12, 9, 0.7);
}

.auth-tab-btn {
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #8eb3a5;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  color: #f3cc64;
  border-bottom-color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
}

.auth-role-notice {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #d5e6df;
}

/* 커뮤니티 권한 안내 바 */
.board-permission-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(6, 26, 19, 0.92) 0%, rgba(4, 17, 13, 0.92) 100%);
  border: 1px solid rgba(52, 211, 153, 0.24);
}

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

.perm-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.perm-info-left p {
  margin: 0;
  font-size: 0.84rem;
  color: #cfe4dc;
}

.txt-gold {
  color: #f3cc64;
  font-weight: 700;
}

.perm-user-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #d1fae5;
  white-space: nowrap;
}

.perm-user-chip.admin {
  border-color: rgba(212, 175, 55, 0.45);
  color: #f7d97e;
}

.perm-login-link {
  background: rgba(212, 175, 55, 0.14);
  color: #f3cc64;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.perm-login-link:hover {
  background: rgba(212, 175, 55, 0.24);
}

.board-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-open-write.is-sub {
  background: rgba(6, 28, 20, 0.9);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

/* 익명 작성자 배지 & QnA 상태 배지 */
.anon-author-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.qna-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.qna-status-chip.answered {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.qna-status-chip.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.38);
}

.is-readonly {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f3cc64 !important;
  font-weight: 700;
  cursor: default;
}

.anon-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  white-space: nowrap;
}

.write-guest-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.32);
  font-size: 0.8rem;
  color: #e6f4ef;
}

.btn-inline-login {
  padding: 6px 12px;
  border-radius: 6px;
  background: #d4af37;
  color: #091510;
  font-size: 0.76rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.write-option-banner {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.write-option-banner.admin-pin-banner {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.36);
}

.option-switch-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.option-switch-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #10b981;
}

.option-switch-label .switch-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-switch-label .switch-txt strong {
  font-size: 0.86rem;
  color: #f3faf7;
}

.option-switch-label .switch-txt small {
  font-size: 0.76rem;
  color: #9ec0b3;
}

/* ==========================================================================
   [어드민 운영 관리 센터 (/admin) 전용 스타일]
   ========================================================================== */
.admin-access-gate {
  max-width: 580px;
  margin: 40px auto;
  padding: 40px 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 24, 18, 0.95) 0%, rgba(3, 12, 9, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.admin-gate-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.14);
  color: #f3cc64;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.admin-access-gate h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #ffffff;
}

.admin-access-gate p {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b4cfc4;
}

.admin-gate-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  padding: 20px 22px;
  border-radius: 12px;
  background: rgba(5, 20, 15, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-kpi-card.gold {
  border-color: rgba(212, 175, 55, 0.38);
}

.admin-kpi-card.alert {
  border-color: rgba(245, 158, 11, 0.42);
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #98bdb0;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.kpi-value span {
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 4px;
  color: #a7f3d0;
}

.kpi-sub {
  font-size: 0.76rem;
  color: #7da597;
}

.admin-section-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(5, 20, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #b4cfc4;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(16, 185, 129, 0.14) 100%);
  border-color: rgba(212, 175, 55, 0.55);
  color: #f7d97e;
}

.admin-write-form {
  padding: 24px;
  border-radius: 12px;
  background: rgba(4, 16, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.admin-qna-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-qna-card {
  padding: 22px 24px;
  border-radius: 12px;
  background: rgba(4, 16, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-qna-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.qna-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.real-author-reveal {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  background: rgba(212, 175, 55, 0.15);
  color: #f3cc64;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.real-author-sub {
  display: block;
  font-size: 0.72rem;
  color: #f3cc64;
}

.admin-qna-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.admin-qna-title a {
  color: #ffffff;
  text-decoration: none;
}

.admin-qna-body {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-reply-form {
  display: flex;
  gap: 10px;
}

.admin-reply-form .form-input {
  flex: 1;
}

.admin-row-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-mini-btn {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: #d1e4dc;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.admin-mini-btn.is-pinned {
  background: rgba(212, 175, 55, 0.18);
  color: #f3cc64;
  border-color: rgba(212, 175, 55, 0.45);
}

.admin-mini-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

@media (max-width: 900px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .board-permission-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-reply-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   [페이지별 전용 연한 앰비언트 배경 일러스트 (Page-Specific Subtle Backdrop)]
   ========================================================================== */
body[class*="page-bg-"] .board-page-main {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* 각 페이지 테마별 풀스크린 고정 배경 + 다크 비네팅 오버레이로 은은하고 연하게 연출 */
body[class*="page-bg-"]::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  filter: saturate(0.9) contrast(1.02);
}

/* 1. 서버 안내 (/info, /rules, /promotion): 기란성 왕좌의 홀 & 정글 신전 */
body.page-bg-server::before {
  background-image:
    linear-gradient(180deg, rgba(3, 12, 8, 0.84) 0%, rgba(4, 16, 11, 0.78) 45%, rgba(2, 9, 6, 0.90) 100%),
    radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.10) 0%, rgba(3, 10, 7, 0.86) 75%),
    url('/images/page_bg/bg_page_server.jpg');
}

/* 2. 게임 정보 도감 (/iteminfo, /hunter, /boss, /features): 고대 무기고 & 마법 수정 전당 */
body.page-bg-gameinfo::before {
  background-image:
    linear-gradient(180deg, rgba(3, 12, 9, 0.83) 0%, rgba(4, 18, 13, 0.77) 45%, rgba(2, 8, 6, 0.90) 100%),
    radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.12) 0%, rgba(3, 10, 7, 0.85) 75%),
    url('/images/page_bg/bg_page_gameinfo.jpg');
}

/* 3. 커뮤니티 게시판 (/notice, /board, /update): 기란 마을 분수대 & 야경 광장 */
body.page-bg-community::before {
  background-image:
    linear-gradient(180deg, rgba(4, 12, 9, 0.84) 0%, rgba(5, 17, 12, 0.78) 45%, rgba(2, 8, 5, 0.91) 100%),
    radial-gradient(circle at 50% 25%, rgba(245, 158, 11, 0.09) 0%, rgba(3, 10, 7, 0.86) 75%),
    url('/images/page_bg/bg_page_community.jpg');
}

/* 4. 지원 & 다운로드 (/download, /support, /faq): 정글 고대 차원문 & 귀환 성소 */
body.page-bg-support::before {
  background-image:
    linear-gradient(180deg, rgba(3, 13, 10, 0.83) 0%, rgba(4, 18, 14, 0.77) 45%, rgba(2, 9, 6, 0.90) 100%),
    radial-gradient(circle at 50% 25%, rgba(56, 189, 248, 0.10) 0%, rgba(3, 10, 7, 0.85) 75%),
    url('/images/page_bg/bg_page_support.jpg');
}

/* 5. 자체 게임가드 보안 & 어드민 센터 (/security, /admin): 가디언 결계 코어 성채 */
body.page-bg-security::before {
  background-image:
    linear-gradient(180deg, rgba(3, 11, 8, 0.84) 0%, rgba(5, 17, 12, 0.78) 45%, rgba(2, 8, 5, 0.91) 100%),
    radial-gradient(circle at 50% 25%, rgba(52, 211, 153, 0.11) 0%, rgba(3, 10, 7, 0.86) 75%),
    url('/images/page_bg/bg_page_security.jpg');
}

/* 페이지별 상단 서브페이지 헤더 배너에도 해당 페이지 전용 배경이 은은하게 조화되도록 매칭 */
body.page-bg-server .subpage-header-banner {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 11, 0.68) 0%, rgba(5, 22, 15, 0.85) 65%, rgba(6, 16, 11, 0.94) 100%),
    url('/images/page_bg/bg_page_server.jpg');
}

body.page-bg-gameinfo .subpage-header-banner {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 11, 0.68) 0%, rgba(5, 22, 15, 0.85) 65%, rgba(6, 16, 11, 0.94) 100%),
    url('/images/page_bg/bg_page_gameinfo.jpg');
}

body.page-bg-community .subpage-header-banner {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 11, 0.68) 0%, rgba(5, 22, 15, 0.85) 65%, rgba(6, 16, 11, 0.94) 100%),
    url('/images/page_bg/bg_page_community.jpg');
}

body.page-bg-support .subpage-header-banner {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 11, 0.68) 0%, rgba(5, 22, 15, 0.85) 65%, rgba(6, 16, 11, 0.94) 100%),
    url('/images/page_bg/bg_page_support.jpg');
}

body.page-bg-security .subpage-header-banner {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 11, 0.68) 0%, rgba(5, 22, 15, 0.85) 65%, rgba(6, 16, 11, 0.94) 100%),
    url('/images/page_bg/bg_page_security.jpg');
}

/* =========================================================================
   [타잔 2.0 클래식] 회원 인증 · 내 정보 관리 · 어드민 통합 회원 콘솔 전용 스타일
   - 안티-AI MMORPG 룬스톤 & 에메랄드/골드 톤앤매너
   - 박스 한쪽 변 두꺼운 테두리(border-left) 절대 금지 (상하좌우 균일 1px solid)
   - 유니코드 이모지 배제 선형 SVG 벡터 아이콘 시스템
   ========================================================================= */

/* 1. 헤더 내 정보 관리 닉네임 버튼 */
.header-user-nick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
}

.header-user-nick-btn:hover {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399;
}

.header-user-nick-btn svg {
  color: #94a3b8;
  transition: color 0.18s ease;
}

.header-user-nick-btn:hover svg {
  color: #34d399;
}

/* 2. 모달 내부 인라인 알림 피드백 배너 (alert() 전면 대체) */
.auth-feedback-banner {
  margin: 12px 18px 0;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 8px;
  animation: bannerFadeIn 0.22s ease-out;
  word-break: break-word;
}

@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-feedback-banner.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.auth-feedback-banner.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.auth-feedback-banner.is-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

/* 3. 인풋 필드 아이콘 및 액션 버튼 조합 */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon .field-icon {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
}

.input-with-icon .form-input {
  padding-left: 36px !important;
  width: 100%;
}

.input-with-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.btn-toggle-pwd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.btn-toggle-pwd:hover,
.btn-toggle-pwd.is-visible {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.35);
  color: #34d399;
}

.btn-check-dup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 8px;
  color: #6ee7b7;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.btn-check-dup:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #ffffff;
}

/* 4. 인풋 하단 실시간 힌트 */
.input-hint-msg {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  line-height: 1.4;
}

.input-hint-msg.is-success {
  color: #34d399;
}

.input-hint-msg.is-error {
  color: #f87171;
}

/* 5. 로그인 유틸리티 옵션 (아이디 저장 / 로그인 유지) */
.auth-util-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 4px 2px;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #10b981;
  cursor: pointer;
}

/* 6. 내 정보 관리 (프로필) 전용 박스 */
.profile-account-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 18px;
}

.profile-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-summary-item .item-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.profile-summary-item .item-val {
  font-size: 14px;
  color: #f1f5f9;
}

.profile-section-box {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 16px;
}

.profile-sub-title {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px 0;
}

.profile-sub-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 12px 0;
  line-height: 1.45;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-secondary-action.danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.btn-secondary-action.danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
}

/* 7. 어드민 회원 관리 콘솔 전용 툴바 & 컴포넌트 */
.badge-super-admin {
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.status-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-chip.active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-chip.suspended {
  color: #f87171;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* 어드민 실시간 검색 & 분류 툴바 */
.admin-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 18px;
  background: rgba(8, 20, 14, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.filter-tab-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  color: #34d399;
}

.filter-btn.alert.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

.search-input-box {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 380px;
}

.search-input-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.search-input-box .search-input {
  padding-left: 36px !important;
  height: 36px;
  font-size: 12px;
}

/* 신규 부운영자 직접 등록 접이식 패널 */
.admin-subcard-box {
  margin-bottom: 22px;
  padding: 20px 24px;
  background: rgba(10, 24, 17, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  animation: bannerFadeIn 0.25s ease;
}

.subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subcard-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: #34d399;
  margin: 0;
}

.subcard-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.subcard-close-btn:hover {
  color: #ffffff;
}

/* 8. 회원 상세 관리 모달 전용 스타일 */
.admin-user-edit-box {
  max-width: 620px !important;
}

.admin-user-summary-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 16px;
}

.admin-user-summary-card .summary-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-user-summary-card .lbl {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
}

.admin-user-summary-card strong,
.admin-user-summary-card span {
  font-size: 12px;
  color: #f1f5f9;
}

.rank-preset-row {
  margin: -6px 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.preset-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-chip {
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399;
}

.preset-chip.admin {
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.preset-chip.admin:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: #f59e0b;
  color: #ffffff;
}

.status-radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.status-radio-label {
  display: block;
  cursor: pointer;
}

.status-radio-label input[type="radio"] {
  display: none;
}

.status-radio-label .radio-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  transition: all 0.18s ease;
}

.status-radio-label.active input[type="radio"]:checked + .radio-chip {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #34d399;
}

.status-radio-label.suspended input[type="radio"]:checked + .radio-chip {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #fca5a5;
}

.admin-pwd-reset-box {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: 14px;
}

.pwd-reset-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.pwd-reset-header strong {
  font-size: 13px;
  color: #f1f5f9;
}

.pwd-reset-header small {
  font-size: 11px;
  color: #94a3b8;
}

.btn-cancel.danger {
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.btn-cancel.danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.btn-cancel.danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.footer-right-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   [어드민] 메인 영상 및 사이트 핵심 링크 관리 콘솔 스타일
   ======================================================== */
.admin-section-notice {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.subcard-tag.gold {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
}

.admin-video-preview-wrap {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.preview-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-preview {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 4px;
  padding: 2px 8px;
}

.preview-url-txt {
  font-size: 12px;
  color: #94a3b8;
  font-family: monospace;
}

.admin-preview-iframe-box {
  position: relative;
  width: 100%;
  padding-bottom: 42%;
  background: #000;
}

.admin-preview-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 6대 핵심 컨텐츠 영상 카드 편집 그리드 */
.admin-cards-config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .admin-cards-config-grid {
    grid-template-columns: 1fr;
  }
}

.admin-feature-edit-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-feature-edit-card:hover {
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.edit-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-num-pill {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  padding: 3px 10px;
  letter-spacing: 0.5px;
}

.card-badge-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badge-input-wrap label {
  font-size: 12px;
  color: #94a3b8;
}

.mini-input {
  width: 90px !important;
  height: 30px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  text-align: center;
}

.edit-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edit-card-body .form-group {
  margin-bottom: 0;
}

.edit-card-body label {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 4px;
  display: block;
}

/* 하단 고정형 저장 액션 바 */
.admin-sticky-save-bar {
  position: sticky;
  bottom: 20px;
  margin-top: 30px;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 50;
}

.save-bar-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.save-bar-info strong {
  font-size: 14.5px;
  color: #f8fafc;
}

.save-bar-info span {
  font-size: 12px;
  color: #94a3b8;
}

.save-bar-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ========================================================
   [헤더 & 모바일] 로그인 정보 초간결 축약 및 프로필 카드 스타일
   ======================================================== */

/* 닉네임 버튼 좌측 접속 상태 닷(Dot) */
.user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.user-status-dot.is-admin {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.7);
}

.user-status-dot.is-user {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
}

.user-nick-text {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* 모바일 전용 프로필 카드 (햄버거 메뉴 최상단) */
.mobile-user-profile-card {
  background: radial-gradient(circle at 50% 0, rgba(16, 185, 129, 0.16), transparent 75%), rgba(5, 20, 13, 0.96);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.mobile-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-profile-avatar.is-admin {
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fbbf24;
}

.mobile-profile-avatar.is-user {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
}

.mobile-profile-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.mobile-profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-profile-nick {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
}

.mobile-profile-sub {
  font-size: 11.5px;
  color: #94a3b8;
}

.mobile-profile-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

.mobile-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mobile-profile-btn:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.45);
  color: #34d399;
}

.mobile-profile-btn.admin {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.mobile-profile-btn.admin:hover {
  background: rgba(251, 191, 36, 0.25);
  border-color: #fbbf24;
  color: #fffbeb;
}

.mobile-profile-btn.danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.mobile-profile-btn.danger:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #ffffff;
}

/* ----------------------------------------------------
   반응형 네비바 대폭 축약 브레이크포인트
   ---------------------------------------------------- */
@media (max-width: 900px) {
  /* 데스크톱 전용 텍스트/요소는 모바일에서 숨김 */
  .desktop-only {
    display: none !important;
  }

  .Header_actions__Med_a {
    gap: 6px;
  }

  /* 상단 바 내 유저 상태 칩: 컴팩트화 */
  .header-user-status {
    padding: 2px 4px;
    gap: 4px;
    background: transparent;
    border: none;
  }

  .header-user-nick-btn {
    padding: 4px 8px;
    height: 32px;
    max-width: 105px;
    font-size: 12px;
    border-radius: 6px;
  }

  .user-nick-text {
    max-width: 75px;
  }

  /* 어드민 버튼: 모바일에서 초소형 아이콘 버튼 */
  .header-admin-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    border-radius: 6px;
  }

  /* 상담문의 버튼 콤팩트화 */
  .header-tg-cta {
    min-height: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  /* 520px 이하 초소형 스마트폰 화면 최적화 */
  .Header_topbar__TA7Hh {
    padding: 0 10px;
  }

  .Header_brandLogo__img {
    height: 32px;
    max-width: 96px;
  }

  /* 모바일 상단 바 닉네임 버튼: 초간결 칩 */
  .header-user-nick-btn {
    max-width: 82px;
    padding: 3px 6px;
    font-size: 11.5px;
  }

  .user-nick-text {
    max-width: 58px;
  }

  /* 상단 바의 어드민 버튼 숨김 (햄버거 메뉴 내부 프로필 카드에서 원클릭 제공) */
  .header-admin-btn {
    display: none !important;
  }

  /* 상담 문의 버튼: 텍스트 숨기고 텔레그램 아이콘만 콤팩트하게 노출 */
  .header-tg-cta {
    width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    justify-content: center;
  }

  .header-tg-cta .cta-label {
    display: none !important;
  }

  .header-tg-cta svg {
    margin: 0 !important;
  }

  /* 비로그인 로그인 버튼도 콤팩트화 */
  .header-login-btn {
    height: 32px;
    padding: 0 9px;
    font-size: 11.5px;
  }
}

/* ========================================================
   [메인 포털 확장 섹션]
   1. 실시간 서버 가동 상태 & 핵심 지표 스트립
   2. 인게임 실전 공성전 & 보스 레이드 영상 아카이브 (영상 1~4)
   3. 공식 공지사항 · 패치노트 · 커뮤니티 실시간 허브
   4. 11대 보스 레이드 & 종결 장비·마법인형 도감 프리뷰
   5. 포털 다이렉트 퀵 서비스 허브
   ======================================================== */

.btn-lead-svg {
  margin-right: 8px;
  flex-shrink: 0;
}

.icon-hidden {
  display: none;
}

/* ========================================================
   [다운로드 페이지 & 어드민] 카드 내부 다중 버튼 스택 & 간결한 버튼 설정 UI
   ======================================================== */

.dl-card-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.dl-card-btn-stack .btn-download-big {
  margin-top: 0 !important;
}

.admin-dl-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-dl-group-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(11, 17, 29, 0.72);
  padding: 14px;
}

.admin-dl-group-card.is-full {
  border-color: rgba(251, 191, 36, 0.24);
}

.admin-dl-group-card.is-launcher {
  border-color: rgba(52, 211, 153, 0.24);
}

.admin-dl-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-dl-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dl-group-title h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.admin-dl-group-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.admin-dl-group-badge.gold {
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.admin-dl-group-badge.emerald {
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.admin-dl-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.admin-dl-add-btn:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(52, 211, 153, 0.7);
  color: #ecfdf5;
}

.admin-dl-add-btn.gold {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.admin-dl-add-btn.gold:hover {
  background: rgba(245, 158, 11, 0.26);
  border-color: rgba(251, 191, 36, 0.75);
  color: #fef3c7;
}

.admin-dl-summary-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
}

.admin-dl-summary-bar strong {
  color: #e2e8f0;
  font-weight: 700;
}

.admin-dl-btn-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-dl-btn-row {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  padding: 10px 12px;
  transition: border-color 0.16s ease;
}

.admin-dl-btn-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-dl-btn-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-dl-btn-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-dl-btn-row-inputs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-dl-btn-row-inputs .form-input {
  height: 36px;
  font-size: 12.5px;
}

.admin-dl-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 800;
}

.admin-dl-num-badge.emerald {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.admin-dl-primary-radio {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.admin-dl-primary-radio input[type="radio"] {
  accent-color: #10b981;
  margin: 0;
  cursor: pointer;
}

.admin-dl-mini-btn {
  height: 26px !important;
  padding: 0 9px !important;
  font-size: 11.5px !important;
}

.admin-dl-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 5px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-dl-remove-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fee2e2;
}

.admin-dl-inline-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(16, 185, 129, 0.07);
}

.admin-dl-quick-status {
  font-size: 12.5px;
  color: #cbd5e1;
}

.admin-dl-quick-status.is-saved {
  color: #6ee7b7;
  font-weight: 700;
}

.admin-dl-inline-save-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dl-save-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
}

/* 소통 채널 및 메인 커뮤니티 버튼 행 레이아웃 */
.admin-channel-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-channel-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 29, 0.65);
}

.admin-channel-row.is-cta-row {
  align-items: flex-start;
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.04);
}

.admin-channel-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-channel-label strong {
  display: block;
  color: #f1f5f9;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.admin-channel-label small {
  display: block;
  color: #64748b;
  font-size: 11.5px;
  margin-top: 2px;
}

.channel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.channel-dot.tg {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.channel-dot.kakao {
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.45);
}

.channel-dot.discord {
  background: #818cf8;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
}

.channel-dot.cta {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.admin-channel-control {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.admin-channel-control .form-input {
  flex: 1;
}

.admin-channel-control-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.admin-quick-chip-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-bar-label {
  font-size: 11.5px;
  color: #94a3b8;
  margin-right: 2px;
}

.admin-quick-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-quick-chip:hover {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
}

@media (max-width: 768px) {
  .admin-dl-two-col-grid {
    grid-template-columns: 1fr;
  }

  .admin-channel-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-channel-control {
    flex-direction: column;
    align-items: stretch;
  }
}


