@charset "utf-8";
@import url('//fonts.googleapis.com/css?family=Roboto:400,700');
@import url('../../../nariya/css/g5.css');


/* ════════════════════════════════════════════════════
   ■ CSS 변수 (Design Tokens)
════════════════════════════════════════════════════ */
:root {
  /* 브랜드 퍼플 */
  --v1: #483FD0;
  --v2: #524DDC;
  --v3: #5C5CE8;
  --v4: #6163EE;
  --v-glow: rgba(92,92,232,0.4);

  /* 메뉴 텍스트 */
  --text-on:  #ffffff;
  --text-hi:  rgba(230,228,255,0.96);
  --text-mid: rgba(205,202,255,0.80);
  --text-dim: rgba(165,162,240,0.55);

  /* 메뉴 보더 */
  --blo:  rgba(161,158,255,0.15);
  --bmid: rgba(161,158,255,0.28);
  --bhi:  rgba(161,158,255,0.45);

  /* 드롭다운 */
  --drop-bg:  rgba(26,22,95,0.98);
  --drop-hov: rgba(92,92,232,0.18);
  --drop-act: rgba(92,92,232,0.28);

  /* 아웃로그인 */
  --p1: #4f46e5;
  --p2: #6366f1;
  --p3: #4338ca;
  --p4: #7c3aed;
  --p5: #a78bfa;
  --pl: #eef2ff;
  --pm: #e0e7ff;
  --pr: rgba(79,70,229,0.22);
  --border: #e8e8f2;

  /* 위젯 공통 */
  --p:    #5b57f0;
  --p2w:  #8b88ff;
  --p3w:  #3d3ac4;
  --p-bg: #f0f0fd;
  --p-bd: #d8d7fc;
  --bg:   #e8eaf4;
  --sur:  #ffffff;
  --bd:   #e4e4f0;
  --bd2:  #f3f3fa;
  --t1:   #13132a;
  --t2:   #3a3a58;
  --t3:   #7a7a9e;
  --t4:   #b8b8d0;
  --red:  #e63946;
  --gold: #f59e0b;
  --grn:  #22c55e;

  /* 이징 */
  --ez:  cubic-bezier(0.22, 1, 0.36, 1);
  --ez2: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ════════════════════════════════════════════════════
   ■ Theme Common
════════════════════════════════════════════════════ */
body {
  margin: 0;
  padding: 0;
  background: #f6f8fe;
  color: #3e3f5e;
}

h1, h2, h3, h4, h5, h6, .en {
  font-family: "Roboto", sans-serif;
}

#fsetup {
  padding: 15px;
  border-radius: 10px;
  background: #fff;
}

.rank-icon { border-radius: 4px; }
.nx-mb     { margin-bottom: 25px; }

@media (max-width: 576px) {
  .nx-mb { margin-bottom: 15px !important; }
  .nx-m  { margin: 15px 15px 0 15px; }
  .nx-mt { margin-bottom: 15px !important; }
}


/* ════════════════════════════════════════════════════
   ■ Theme Layout : 테마 레이아웃
════════════════════════════════════════════════════ */
.wrapper          { background: #f6f8fe; }
.nt-container,
.nt-container-wide { margin: 0 auto; }

/* 반응형 */
@media all and (max-width: 991px) {
  .responsive .wrapper { overflow-x: hidden; }
}
@media all and (min-width: 992px) {
  .responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .responsive .boxed-b.wrapper { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
  .responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* 비반응형 */
.no-responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.no-responsive .boxed-b.wrapper { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.no-responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
.no-responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

@media all and (max-width: 1200px) {
  .no-responsive .wrapper.wided .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .no-responsive .wrapper.wided #nt_title .nt-container.px-xl-0,
  .no-responsive .wrapper.wided #nt_wing .nt-container.px-xl-0 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}


/* ════════════════════════════════════════════════════
   ■ Loader : 페이지 로딩바
════════════════════════════════════════════════════ */
#nt_loader {
  background: #fff;
  left: 0; top: 0;
  width: 100%; height: 100%;
  display: block;
  position: fixed;
  z-index: 100000;
}
#nt_loader .loader {
  margin: -25px 0 0 -25px;
  left: 50%; top: 50%;
  width: 50px; height: 50px;
  line-height: 50px;
  font-size: 45px;
  position: absolute;
  z-index: 10001;
}


/* ════════════════════════════════════════════════════
   ■ LNB (하단 서브 네비게이션)
════════════════════════════════════════════════════ */
#nt_lnb {
  padding: 4px 0;
  border-bottom: 1px solid rgba(83,78,220,0.10);
  background: #fff;
  position: relative;
}

/* 하단 퍼플 그라디언트 강조선 */
#nt_lnb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(83,78,220,0.18) 20%,
    rgba(83,78,220,0.30) 50%,
    rgba(83,78,220,0.18) 80%,
    transparent 100%
  );
}

#nt_lnb ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  height: 38px;
}

#nt_lnb .lnb-left  { gap: 2px; }
#nt_lnb .lnb-right { gap: 4px; }

/* li 리셋 */
#nt_lnb ul > li {
  float: none;
  padding: 0;
  height: auto;
  line-height: normal;
  position: relative;
}
#nt_lnb ul > li:first-child { padding-left: 0; }
#nt_lnb ul > li:last-child  { padding-right: 0; }

/* b_dot 세로선 구분자 */
#nt_lnb ul > li.b_dot::after {
  content: '';
  display: block;
  position: absolute;
  right: -2px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 12px;
  background: rgba(83,78,220,0.15);
}
#nt_lnb ul > li:last-child::after { display: none; }

/* 공통 버튼 */
.lnb-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  float: none !important;
  height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #46436b;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.lnb-btn:hover {
  background: rgba(72,63,208,0.07);
  color: #483FD0;
  text-decoration: none;
}

/* SVG 아이콘 */
.lnb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.lnb-icon svg { width: 100%; height: 100%; }
.lnb-btn:hover .lnb-icon { opacity: 1; }

/* 날짜 */
.lnb-date {
  color: #8b88a8 !important;
  cursor: default;
  font-size: 11.5px;
  font-weight: 500;
}
.lnb-date:hover {
  background: transparent !important;
  color: #8b88a8 !important;
}

/* 알림 뱃지 */
.lnb-noti { position: relative; }
.lnb-noti-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ef4444;
  color: #fff !important;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
  letter-spacing: 0;
}

/* 로그아웃 */
.lnb-logout {
  color: #8b88a8;
  font-size: 11.5px;
}
.lnb-logout:hover {
  color: #ef4444 !important;
  background: rgba(239,68,68,0.06) !important;
}

/* 로그인/회원가입 버튼 래퍼 */
.lnb-auth-wrap {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

/* 로그인 버튼 */
.btn_nt_lnb_01 {
  border: 1px solid rgba(83,78,220,0.20) !important;
  color: #483FD0 !important;
  padding: 0 11px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  background: rgba(72,63,208,0.06) !important;
  border-radius: 6px !important;
  height: 28px !important;
  transition: all 0.15s !important;
}
.btn_nt_lnb_01:hover {
  background: #483FD0 !important;
  color: #fff !important;
  border-color: #483FD0 !important;
}

/* 회원가입 버튼 */
.btn_register {
  border: none !important;
  color: #fff !important;
  padding: 0 11px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  background: linear-gradient(135deg, #483FD0, #6163EE) !important;
  border-radius: 6px !important;
  height: 28px !important;
  margin-left: 0 !important;
  transition: all 0.15s !important;
}
.btn_register:hover {
  background: linear-gradient(135deg, #3730A3, #524DDC) !important;
  box-shadow: 0 4px 14px rgba(72,63,208,0.40) !important;
  text-decoration: none !important;
}
.btn_register .lnb-icon { opacity: 1; }

/* 검색 박스 */
#nt_lnb ul > li.header-search-wrap { padding: 0 4px; }

.lnb-search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 28px;
  background: #f7f6fe;
  border: 1px solid rgba(83,78,220,0.15);
  border-radius: 7px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.lnb-search-box:focus-within {
  background: #fff;
  border-color: #524DDC;
  box-shadow: 0 0 0 3px rgba(82,77,220,0.12);
}

.lnb-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 28px;
  flex-shrink: 0;
  color: #8b88a8;
  transition: color 0.15s;
}
.lnb-search-icon svg { width: 13px; height: 13px; }
.lnb-search-box:focus-within .lnb-search-icon { color: #483FD0; }

.lnb-search-box .form-control {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 28px !important;
  padding: 0 0 0 2px !important;
  font-size: 12px !important;
  color: #0d0c1e !important;
  letter-spacing: -0.01em;
  min-width: 160px;
  max-width: 200px;
}
.lnb-search-box .form-control::placeholder {
  color: #bbb9d2;
  font-size: 11.5px;
}
.lnb-search-box .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

.lnb-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 28px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #8b88a8;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  padding: 0;
  position: static !important;
  top: auto !important; right: auto !important; z-index: auto !important;
}
.lnb-search-btn svg { width: 13px; height: 13px; }
.lnb-search-btn:hover {
  color: #483FD0;
  background: rgba(72,63,208,0.07);
}

/* 기존 Bootstrap input-group 숨김 */
#nt_lnb .input-group         { display: contents; }
#nt_lnb .input-group-append  { display: none; }

/* dropdown-toggle 화살표 */
#nt_lnb .dropdown-toggle::after {
  color: rgba(83,78,220,0.30);
  vertical-align: middle;
  margin-left: 2px;
}


/* ════════════════════════════════════════════════════
   ■ PC 주메뉴
════════════════════════════════════════════════════ */

/* PC 헤더 검색 */
#header_pc .header-search { width: 100%; }
#header_pc .header-search form { padding: 0; border-width: 2px; border-style: solid; border-radius: 3px; overflow: hidden; }
#header_pc .header-search input { font-size: 16px !important; background: #fff; border: 0 !important; box-shadow: none !important; }
#header_pc .header-search .form-control:focus { box-shadow: none !important; }
#header_pc .header-search .btn { border: 0; background: #fff !important; outline: none; }

/* 모바일 헤더 */
#header_mo { background: #4e4ac8 !important; }
#header_mo a { color: #fff; }

/* 주메뉴 래퍼 */
#nt_menu {
  position: relative;
  height: 56px;
  background: #615dfa !important;
  box-shadow: 0 4px 8px rgba(26,22,95,0.20), inset 0 1px 0 rgba(255,255,255,0.09) !important;
  overflow: visible;
  z-index: 20;
}
#nt_menu .bg-primary { background: transparent !important; }
#nt_menu .nt-container,
#nt_menu .me-list .me-li,
#nt_menu .sub-1dul,
#nt_menu .sub-1dli { position: relative; }

#nt_menu .sub-slide  { display: none; visibility: visible; }
#nt_menu .sub-icon::after { font-family: "FontAwesome"; float: right; position: relative; content: "\f105"; }

/* 홈 아이콘 영역 */
#nt_menu .me-home { width: 100%; max-width: 270px; text-align: center; }
#nt_menu .me-home a { display: flex; align-items: center; height: 100%; justify-content: center; }
#nt_menu .me-home img { max-width: 155px; }
#logo_img_m { width: 180px; }

/* 메뉴 아이콘 */
#nt_menu .me-icon { text-align: center; display: inline-flex; }
#nt_menu .me-icon a { margin-top: -3px; margin-left: 3px; }
#nt_menu .pc-logo  { margin-top: 9px; }
#nt_menu .me-grid  { margin-top: 8px; }

/* 1단 링크 */
#nt_menu .me-a {
  display: block;
  position: relative;
  text-align: center;
  font-size: 14px !important;
  font-weight: 600;
  color: #fff;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
}

/* 활성/호버 */
#nt_menu .me-li.on .me-a,
#nt_menu .me-li:hover .me-a {
  color: var(--text-on);
  border-radius: 3px 3px 0 0;
}
#nt_menu .me-li.on .me-a-custom,
#nt_menu .me-li:hover .me-a-custom {
  color: #23d2e2;
  background: var(--drop-hov);
}

/* 2단계 드롭다운 */
.nt-menu .sub-1div {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 999;
  width: auto;
  text-align: left;
  background: #615dfa;
  border-radius: 0 0 10px 10px;
  min-width: 180px;
}
.nt-menu .sub-1div::before { left: 50%; margin-left: -8px; }

.nt-menu .sub-1da {
  display: block;
  font-size: 14px !important;
  color: #fff;
  transition: color 0.12s, background 0.12s;
}
.nt-menu .sub-1line {
  position: relative;
  display: block;
  color: var(--text-dim);
  font-weight: 500;
  background: rgba(26,22,95,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nt-menu .sub-1dli.on .sub-1da,
.nt-menu .sub-1dli:hover .sub-1da {
  color: #23d2e2;
  background: var(--drop-hov);
  border-color: var(--bmid);
  font-weight: 500;
}
.nt-menu .me-sh { padding: 0.59rem 1rem; }
.nt-menu .sub-1dli:first-child .me-sh { margin-top: 0; }
.me-list { margin-left: 70px; }

/* 3단계 드롭다운 */
#nt_menu .sub-2div {
  left: 100%; top: 0;
  position: absolute;
  z-index: 22;
  background: var(--drop-bg);
  border: 1px solid var(--blo);
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 8px 24px rgba(26,22,95,0.5);
  min-width: 160px;
}
#nt_menu .sub-2da {
  display: block;
  color: var(--text-mid);
  border-bottom: 1px solid var(--blo);
  padding: 0.55rem 1rem;
  transition: color 0.12s, background 0.12s;
}
#nt_menu .sub-2dli.on .sub-2da,
#nt_menu .sub-2dli:hover .sub-2da {
  color: var(--text-on);
  background: var(--drop-hov);
  border-color: var(--bmid);
  font-weight: 600;
}
#nt_menu .sub-2line {
  display: block;
  color: var(--text-dim);
  font-weight: 700;
  background: rgba(26,22,95,0.6);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 서브메뉴 라인 호버 */
.sub-1da-line:hover {
  color: var(--text-on) !important;
  background: var(--drop-hov) !important;
}

/* 우측 아이콘 버튼 */
.me-icon i {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(161,158,255,0.35);
  background: rgba(92,92,232,0.28);
  font-size: 12px;
  color: #8b88ff;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease, transform 0.18s ease;
}
.me-icon i:hover {
  color: #fff;
  background: rgba(139,136,255,0.50);
  border-color: rgba(161,158,255,0.65);
  box-shadow: 0 0 10px rgba(139,136,255,0.35);
  transform: translateY(-1px);
}

/* 상단 고정 (sticky) */
#nt_sticky_wrap.me-sticky {
  position: fixed;
  width: 100%;
  z-index: 999;
  left: 0; top: 0;
}
.me-sticky .me-home img { transform: scale(0.9); transition: 0.2s; }

@media all and (min-width: 992px) {
  .wrapper.m-lg-auto  #nt_sticky_wrap.me-sticky nav { margin: 0 auto !important; }
  .wrapper.ml-lg-auto #nt_sticky_wrap.me-sticky nav { margin: 0 0 0 auto !important; }
  .wrapper.mr-lg-auto #nt_sticky_wrap.me-sticky nav { margin: 0 auto 0 0 !important; }
}

/* 모바일 전용 */
.nt_mo_menu    { background: #000; }
.nt_mo_submenu { background: #111; }
.mebd-primary  { border-color: #000 !important; }


/* ════════════════════════════════════════════════════
   ■ 모바일 상단 주메뉴
════════════════════════════════════════════════════ */
#nt_menu_mobile .me-icon    { padding-right: 46px; }
#nt_menu_mobile .na-table   { background: #615dfa; }
#nt_menu_mobile .d-block.on { color: #fff; background: rgba(255,255,255,0.1); }

#nt_menu_mobile .gra {
  content: " ";
  position: absolute;
  z-index: 1; top: 0;
  width: 1.25rem; height: 100%;
}
#nt_menu_mobile .gra-left-primary  { left: 0; }
#nt_menu_mobile .gra-right-primary { right: 0; }

#mobile_sub { background: #4e4ac8; }
#nt_menu_mobile #mobile_sub ul li a {
  position: relative;
  color: #adafca !important;
  text-decoration: none;
}
#nt_menu_mobile #mobile_sub ul li a.custom-text-primary {
  color: #fff !important;
}
#nt_menu_mobile #mobile_sub ul li a.custom-text-primary::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: #41efff;
}


/* ════════════════════════════════════════════════════
   ■ 아웃로그인 (outlogin)
════════════════════════════════════════════════════ */
.outlogin-box {
  padding: 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.olw {
  font-family: inherit;
  font-size: 0.875rem;
  color: #1e1e2e;
}

.olw-topbar { display: none; }

/* 프로필 */
.olw-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 0 11px;
}
.olw-profile__photo img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pm);
  display: block;
  flex-shrink: 0;
}
.olw-profile__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f0f23;
  margin-bottom: 3px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}
.olw-profile__sub {
  font-size: 0.74rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.olw-admin-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--p1);
  background: var(--pl);
  border: 1px solid var(--pm);
  border-radius: 4px;
  padding: 1px 6px;
  text-decoration: none;
}
.olw-admin-tag:hover { background: var(--pm); text-decoration: none; color: var(--p3); }

/* 버튼 행 */
.olw-btns {
  display: flex;
  gap: 6px;
  padding: 0 0 4px;
}
.olw-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f9f9fd;
  color: #4b5563;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
  white-space: nowrap;
}
.olw-btn:hover { background: var(--pl); color: var(--p1); border-color: var(--pm); text-decoration: none; }

.olw-btn--primary {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(79,70,229,0.32);
}
.olw-btn--primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 4px 16px rgba(79,70,229,0.42);
  border-color: transparent;
  color: #fff;
}

.olw-noti-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
}

/* 비로그인 */
.olw-guest { padding: 0; }
.olw-guest-msg {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #8f91ac;
  margin-bottom: 10px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.olw-guest-msg i { color: var(--p2); }

/* 로그인 버튼 (애니메이션) */
.olw-login-btn {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  position: relative;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  z-index: 1;
  background: #615dfa;
  background-size: 400%;
  animation: loginPulse 2s ease-in-out infinite, loginFlow 8s linear infinite;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.olw-login-btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 7px 26px rgba(72,63,208,0.40);
}
.olw-login-btn:active { transform: translateY(0) scale(0.99); }

@keyframes loginFlow {
  0%   { background-position: 0%; }
  100% { background-position: 300%; }
}
@keyframes loginPulse {
  0%   { box-shadow: 0 0 0 0 rgba(92,92,232,0.22), 0 4px 18px rgba(72,63,208,0.28); }
  100% { box-shadow: 0 0 0 14px rgba(92,92,232,0), 0 4px 18px rgba(72,63,208,0.28); }
}

/* 보조 링크 */
.olw-links {
  display: flex;
  align-items: center;
  border-top: 1px solid #f1f1f9;
  padding-top: 12px;
}
.olw-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.775rem;
  font-weight: 500;
  color: #adafca;
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.13s;
}
.olw-link:hover          { color: #615dfa; text-decoration: none; }
.olw-link--join          { font-weight: 500; color: var(--p1); }
.olw-link--join:hover    { color: #adafca; }
.olw-link-sep            { width: 1px; height: 12px; background: #e5e7eb; flex-shrink: 0; }

/* 모달 */
#outloginModal .modal-content {
  border-radius: 16px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(79,70,229,0.18), 0 4px 16px rgba(0,0,0,0.1);
}
#outloginModal .modal-header {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 60%, #7c3aed 100%);
  border-bottom: none;
  padding: 16px 20px;
}
#outloginModal .modal-title {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
#outloginModal .close {
  color: rgba(255,255,255,0.8);
  text-shadow: none;
  opacity: 1;
  font-size: 1.4rem;
  line-height: 1;
}
#outloginModal .close:hover { color: #fff; }
#outloginModal .modal-body { padding: 20px; }
#outloginModal .input-group-text {
  background: #f5f5fd;
  border-color: #e0e0f0;
  color: var(--p1, #4f46e5);
}
#outloginModal .form-control {
  border-color: #e0e0f0;
  font-size: 0.875rem;
  color: #1e1e2e;
}
#outloginModal .form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
  outline: none;
}
#outloginModal .modal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(79,70,229,0.32);
  transition: all 160ms ease;
  letter-spacing: 0.02em;
}
#outloginModal .modal-submit-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 5px 18px rgba(79,70,229,0.42);
  transform: translateY(-1px);
}
#outloginModal .modal-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
#outloginModal .modal-footer-row label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #6b7280;
  cursor: pointer;
  margin: 0;
}
#outloginModal .modal-footer-row a {
  font-size: 0.8rem;
  color: #6366f1;
  text-decoration: none;
}
#outloginModal .modal-footer-row a:hover { text-decoration: underline; }

/* 버블 애니메이션 */
.bubbly-button::before {
  background-image:
    radial-gradient(circle, #6366f1 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #4f46e5 20%, transparent 30%),
    radial-gradient(circle, #7c3aed 20%, transparent 20%),
    radial-gradient(circle, #6366f1 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #4338ca 15%, transparent 20%),
    radial-gradient(circle, #6366f1 20%, transparent 20%),
    radial-gradient(circle, #a78bfa 20%, transparent 20%),
    radial-gradient(circle, #4f46e5 20%, transparent 20%),
    radial-gradient(circle, #6366f1 20%, transparent 20%) !important;
}
.bubbly-button::after {
  background-image:
    radial-gradient(circle, #6366f1 20%, transparent 20%),
    radial-gradient(circle, #a78bfa 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #4f46e5 15%, transparent 20%),
    radial-gradient(circle, #7c3aed 20%, transparent 20%),
    radial-gradient(circle, #6366f1 20%, transparent 20%),
    radial-gradient(circle, #4338ca 20%, transparent 20%),
    radial-gradient(circle, #6366f1 20%, transparent 20%) !important;
}


/* ════════════════════════════════════════════════════
   ■ 사이드탭 위젯 (nx-tabbox)
════════════════════════════════════════════════════ */
.nx-tabbox {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nx-tabbox-head {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.nx-tab {
  flex: 1;
  padding: 7px 0;
  border: 1px solid rgba(97,93,250,0.20);
  background: #f7f6fe;
  color: #8b88a8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 7px;
  transition: all 0.17s ease;
}
.nx-tab:hover  { background: #eeedf8; color: #524DDC; border-color: rgba(97,93,250,0.35); }
.nx-tab.active { background: #615dfa; color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(83,78,220,0.28); }

.nx-tabbox-body { background: #fff; }
.nx-tabpanel        { display: none; }
.nx-tabpanel.active { display: block; }

.nx-tab-more { margin-top: 14px; }
.nx-tab-more a {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: 1px solid rgba(97,93,250,0.18);
  border-radius: 8px;
  background: #f7f6fe;
  font-size: 12.5px;
  font-weight: 500;
  color: #3e3f5e;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 6px rgba(83,78,220,0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.nx-tab-more a:hover {
  background: #615dfa;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════════════════
   ■ 랭킹 탭 위젯 (rk-tabbox)
════════════════════════════════════════════════════ */
.rk-tabbox {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.rk-tabbox-head {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.rk-tab {
  flex: 1;
  padding: 7px 0;
  border: 1px solid rgba(97,93,250,0.20);
  background: #f7f6fe;
  color: #8b88a8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 7px;
  transition: all 0.17s ease;
}
.rk-tab:hover  { background: #eeedf8; color: #524DDC; border-color: rgba(97,93,250,0.35); }
.rk-tab.active {
  background: linear-gradient(135deg, #483FD0, #6163EE);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 40px 0 rgba(94,92,154,0.06);
}

.rk-tabpanel        { display: none; }
.rk-tabpanel.active { display: block; }


/* ════════════════════════════════════════════════════
   ■ 메인 인덱스 프로모 배너 (promo-banner)
════════════════════════════════════════════════════ */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.promo-title { flex: 1 1 auto; text-align: center; }
.promo-title * { max-width: 100%; }

/* 바로가기 버튼 */
.promo-acts {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 41px;
  border: 1px solid rgba(97,93,250,0.20);
  background: #f7f6fe;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: #1c1a36;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: all 0.17s cubic-bezier(0.22,1,0.36,1);
}
.pab .arr {
  width: 19px; height: 19px;
  border-radius: 5px;
  background: rgba(83,78,220,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #524DDC;
  flex-shrink: 0;
  transition: all 0.17s cubic-bezier(0.22,1,0.36,1);
}
.pab:hover {
  background: linear-gradient(135deg, #483FD0, #5C5CE8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 18px rgba(92,92,232,0.26);
  transform: translateY(-2px);
}
.pab:hover .arr { background: rgba(255,255,255,0.22); color: #fff; }

.promo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(97,93,250,0.18);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #524ddc;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(83,78,220,0.07);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.promo-btn:hover {
  background: #615dfa;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(83,78,220,0.30);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .promo-banner   { flex-direction: column; gap: 14px; padding: 16px; }
  .promo-title    { order: 1; width: 100%; }
  .promo-acts     { order: 2; width: 100%; flex-direction: row; gap: 8px; }
  .promo-btn      { flex: 1 1 0; justify-content: center; font-size: 12px; padding: 10px 8px; }
}
@media (max-width: 576px) {
  .promo-acts { flex: 0 0 40px !important; }
  .pab        { width: 100%; }
}


/* ════════════════════════════════════════════════════
   ■ 최신글 탭 (latest-tabs)
════════════════════════════════════════════════════ */
.latest-tabs {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

/* 헤더 */
.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(83,78,220,0.08);
  margin-bottom: 14px;
}
.latest-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #0d0c1e;
  margin: 0;
  letter-spacing: -0.025em;
}

/* dot 애니메이션 */
.tl-widget-dot {
  position: relative;
  width: 8px; height: 8px;
  flex-shrink: 0;
  display: inline-block;
}
.tl-widget-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #5C5CE8;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.tl-widget-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(92,92,232,0.25);
  animation: dotRing 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(0.72); opacity: 0.55; }
}
@keyframes dotRing {
  0%   { transform: scale(0.5);  opacity: 0.55; }
  65%  { transform: scale(2.0);  opacity: 0; }
  100% { transform: scale(0.5);  opacity: 0; }
}

/* 더보기 버튼 */
.latest-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #3e3f5e;
  text-decoration: none;
  padding: 5px 11px 3px;
  border-radius: 6px;
  border: 1px solid rgba(97,93,250,0.22);
  background: #fff;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.latest-more:hover {
  background: linear-gradient(135deg, #483FD0, #6163EE);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(83,78,220,0.30);
  transform: translateY(-1px);
}

/* 탭 레일 */
.latest-tabs-head {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x !important;
  overscroll-behavior-x: contain;
  margin-bottom: 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.latest-tabs-head::-webkit-scrollbar { display: none; }

/* 탭 버튼 */
.lt-tab {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  padding: 7px 14px 5px;
  border-radius: 6px;
  border: 1px solid rgba(97,93,250,0.18);
  background: #f7f6fe;
  font-size: 12px;
  font-weight: 500;
  color: #8b88a8;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.16s ease;
}
.lt-tab:hover    { background: #eeedf8; color: #524DDC; border-color: rgba(97,93,250,0.35); }
.lt-tab.is-active { background: linear-gradient(135deg, #483FD0, #6163EE); color: #fff; border-color: transparent; font-weight: 700; }

/* 패널 */
.lt-panel           { display: none; opacity: 0; }
.lt-panel.is-active { display: block; animation: panelFadeUp 0.18s ease both; }
@keyframes panelFadeUp {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════════
   ■ 세로 탭 위젯 (ta-widget / ta-nav)
════════════════════════════════════════════════════ */
.ta-widget-body {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.ta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid var(--bd);
  background: #fff;
}
.ta-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t1);
  letter-spacing: -0.03em;
}
.ta-body {
  display: flex;
  min-height: 0;
  align-items: flex-start;
}

/* 세로 탭 네비 */
.ta-nav {
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--bd);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  align-self: stretch;
}
.ta-indicator {
  position: absolute;
  left: 8px; right: 8px;
  border-radius: 9px;
  background: #615dfa;
  box-shadow: 0 3px 10px rgba(83,78,220,0.28);
  transition: top 0.28s var(--ez2), height 0.28s var(--ez2);
  z-index: 0;
  pointer-events: none;
}
.ta-tab {
  position: relative;
  z-index: 1;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--t3);
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 7px;
  transition: color 0.2s;
}
.ta-tab:hover:not(.is-active) { background: rgba(91,87,240,0.06); color: var(--t2); }
.ta-tab.is-active             { color: #fff; font-weight: 900; }

.ta-content-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ta-content      { flex: 1; min-height: 0; padding: 14px 18px; position: relative; }

/* 더보기 */
.ta-content-foot {
  flex-shrink: 0;
  border-top: 1px solid #dddde8;
  padding: 16px 18px 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ta-more-foot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 7px;
  border: 1px solid rgba(97,93,250,0.20);
  background: #f7f6fe;
  color: #8b88a8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: all 0.2s var(--ez);
}
.ta-more-foot:hover { background: #615dfa; color: #fff; border-color: rgba(97,93,250,0.35); }
.ta-more-foot i     { font-size: 10px; opacity: 0.9; }

/* 패널 공통 */
.ta-panel,
.lt-panel           { display: none; opacity: 0; }
.ta-panel.is-active,
.lt-panel.is-active { display: block; animation: panelIn 0.24s var(--ez) both; }

@keyframes panelIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* dot (공통 클래스) */
.dot          { position: relative; width: 8px; height: 8px; flex-shrink: 0; display: inline-block; }
.dot::before  { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--p); animation: dP 2.4s ease-in-out infinite; }
.dot::after   { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(91,87,240,0.25); animation: dR 2.4s ease-in-out infinite; }
@keyframes dP { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.72); opacity: 0.55; } }
@keyframes dR { 0% { transform: scale(0.5); opacity: 0.55; } 65% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(0.5); opacity: 0; } }

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s var(--ez);
}


/* ════════════════════════════════════════════════════
   ■ 위젯 카드 (tl-widget-card)
════════════════════════════════════════════════════ */
.tl-widget-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tl-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(83,78,220,0.08);
  margin-bottom: 12px;
}
.tl-widget-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #0d0c1e;
  margin: 0;
  letter-spacing: -0.025em;
}

.tl-widget-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #3e3f5e;
  text-decoration: none;
  padding: 5px 11px 3px;
  border-radius: 6px;
  border: 1px solid rgba(97,93,250,0.22);
  background: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.tl-widget-more:hover {
  background: linear-gradient(135deg, #483FD0, #6163EE);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(83,78,220,0.30);
  transform: translateY(-1px);
}

.img-wrap .img-item img { border-radius: 10px; }
.grid-title             { margin-bottom: 16px; }


/* ════════════════════════════════════════════════════
   ■ Side Menu : 사이드 메뉴
════════════════════════════════════════════════════ */
#nt_side_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #272c36;
}
#nt_side_menu ul.off    { display: none; }
#nt_side_menu li        { padding: 6px 0; margin: 0; position: relative; }
#nt_side_menu a         { display: block; margin-left: 2rem; overflow: hidden; font-size: 13px; color: #fff; }
#nt_side_menu .tree-toggle { position: absolute; z-index: 1; top: 0; right: 0; width: 2.5rem; padding: 0.6rem 0; margin-top: 0.15rem; text-align: center; cursor: pointer; color: #aaa; }
#nt_side_menu .me-ul    { display: flex; align-items: center; }
#nt_side_menu .me-ul1   { background: #fafafa; }

#nt_side_menu .me-li.active  .me-a,
#nt_side_menu .me-li1.active .me-a1,
#nt_side_menu .me-li2.active .me-a2 { color: #ffa83d; font-weight: bold; }

#nt_side_menu .me-line1 .me-a1 { background: #eee; font-weight: bold; }
#nt_side_menu .me-line2 .me-a2 { background: #eee; font-weight: bold; }

@media all and (max-width: 575px) {
  #nt_side_menu a { margin-left: 1.7rem !important; }
  .responsive #nt_side_menu .me-ul.border { border-left: 0 !important; border-right: 0 !important; }
}

/* 하위메뉴 ACTIVE 강제 스타일 */
#nt_side_menu ul.me-ul > li.me-li.on > a,
#nt_side_menu ul.me-ul > li.me-li.active > a { color: #e00032 !important; }

#nt_side_menu ul.tree > li.on > a,
#nt_side_menu ul.tree > li.active > a { color: #7a84ff !important; }

#nt_side_menu li.on > a i,
#nt_side_menu li.active > a i { color: inherit !important; }


/* ════════════════════════════════════════════════════
   ■ 페이지 타이틀
════════════════════════════════════════════════════ */
#nt_title {
  position: relative;
  overflow: hidden;
  color: #333;
  background: #fafafa;
  border-bottom: 1px solid #dee2e6;
}
#nt_title .nt-container { position: relative; z-index: 2; height: 70px; }
#nt_title .page-title   { font-size: 26px; letter-spacing: -1px; line-height: 1.4; }
#nt_title .breadcrumb a { color: #333; }
#nt_title .breadcrumb-item + .breadcrumb-item::before {
  font-family: dotum;
  font-weight: normal;
  color: #aaa;
  content: ">";
}

@media all and (max-width: 991px) { .responsive #nt_title .page-title { font-size: 24px; letter-spacing: 0; } }
@media all and (max-width: 767px) { .responsive #nt_title .page-title { font-size: 22px; } .responsive #nt_title .nt-container { height: 60px; } }
@media all and (max-width: 575px) { .responsive #nt_title .page-title { font-size: 20px; } .responsive #nt_title .nt-container { height: 50px; } }


/* ════════════════════════════════════════════════════
   ■ Wing
════════════════════════════════════════════════════ */
#nt_wing .nt-container { position: relative; overflow: visible !important; }
#nt_wing img           { max-width: 100%; }

#nt_wing .wing-left,
#nt_wing .wing-right   { position: absolute; width: 160px; }
#nt_wing .wing-left    { left: -180px; }
#nt_wing .wing-right   { right: -180px; }
.boxed-b #nt_wing .wing-left  { left: -200px; }
.boxed-b #nt_wing .wing-right { right: -200px; }


/* ════════════════════════════════════════════════════
   ■ Footer v3 — 프리미엄 화이트
════════════════════════════════════════════════════ */
#nt_footer { background: #fff !important; border-top: none !important; position: relative; }
#nt_footer::before,
#nt_footer::after { display: none; }

/* ① 액센트 스트라이프 */
.ft-accent-bar {
  background: linear-gradient(100deg, #3730A3 0%, #483FD0 40%, #524DDC 70%, #6163EE 100%);
}
.ft-accent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.ft-accent-items {
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
}
.ft-accent-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ft-accent-chip.verified { color: #fff; font-weight: 700; }
.ft-accent-chip svg      { width: 13px; height: 13px; flex-shrink: 0; }
.ft-accent-sep           { color: rgba(255,255,255,0.25); font-size: 12px; padding: 0 14px; flex-shrink: 0; }

@media (max-width: 700px) {
  .ft-accent-items { overflow-x: auto; }
  .ft-accent-chip:nth-child(n+4),
  .ft-accent-sep:nth-child(n+3) { display: none; }
}

/* ② 메인 푸터 */
.ft-main { border-bottom: 1px solid rgba(83,78,220,0.10); }
.ft-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 20px 48px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .ft-main-inner { grid-template-columns: 1fr; gap: 44px; padding: 40px 20px 36px; }
}

/* 브랜드 */
.ft-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #0d0c1e;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}
.ft-brand-icon { width: 28px; height: 32px; flex-shrink: 0; }

.ft-brand-desc {
  font-size: 13px;
  color: #46436b;
  line-height: 1.85;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(83,78,220,0.09);
}

/* KPI */
.ft-kpi-row  { display: flex; align-items: center; margin-bottom: 24px; }
.ft-kpi      { display: flex; flex-direction: column; gap: 2px; padding: 0 18px; }
.ft-kpi:first-child { padding-left: 0; }
.ft-kpi strong { font-size: 14px; font-weight: 900; color: #483FD0; letter-spacing: -0.03em; line-height: 1; }
.ft-kpi span   { font-size: 10.5px; color: #8b88a8; letter-spacing: 0.01em; font-weight: 500; }
.ft-kpi-line   { width: 1px; height: 30px; background: rgba(83,78,220,0.12); flex-shrink: 0; }

/* 법적 경고 (인라인) */
.ft-legal-warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid rgba(239,68,68,0.14);
}
.ft-legal-warn svg  { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.ft-legal-warn span { font-size: 11px; color: #8b88a8; line-height: 1.65; letter-spacing: -0.01em; }

/* 네비게이션 */
.ft-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}
@media (max-width: 600px) { .ft-nav { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

.ft-nav-col h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0d0c1e;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(83,78,220,0.13);
  position: relative;
}
.ft-nav-col h5::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 28px; height: 2px;
  background: #483FD0;
  border-radius: 2px;
}

.ft-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(72,63,208,0.10);
  color: #483FD0;
  flex-shrink: 0;
}
.ft-nav-icon svg { width: 14px; height: 14px; }

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

/* 링크 행 */
.ft-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 6px 6px;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: #46436b;
  text-decoration: none;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  transition: color 0.18s, background 0.18s, padding-left 0.18s;
}
.ft-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(72,63,208,0.07) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1);
  border-radius: 7px;
}
.ft-link:hover::before { transform: translateX(0); }
.ft-link:hover         { color: #483FD0; padding-left: 10px; text-decoration: none; }

.ft-link-text { flex: 1; }
.ft-arrow {
  font-size: 15px;
  font-weight: 700;
  color: #483FD0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
  line-height: 1;
}
.ft-link:hover .ft-arrow { opacity: 1; transform: translateX(0); }

/* 펄스 도트 */
.ft-pulse-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.ft-dot {
  position: relative; z-index: 1;
  width: 6px; height: 6px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.ft-dot.safe    { background: #22c55e; }
.ft-dot.danger  { background: #ef4444; }
.ft-dot.major   { background: #483FD0; }
.ft-dot.neutral { background: #8b88a8; }

.ft-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  animation: ft-pulse-anim 2.4s ease-out infinite;
}
.ft-pulse.safe    { background: rgba(34,197,94,0.45); }
.ft-pulse.danger  { background: rgba(239,68,68,0.45); }
.ft-pulse.major   { background: rgba(72,63,208,0.40); }
.ft-pulse.neutral { background: rgba(139,136,168,0.40); }

.ft-nav-col li:nth-child(1) .ft-pulse { animation-delay: 0s; }
.ft-nav-col li:nth-child(2) .ft-pulse { animation-delay: 0.4s; }
.ft-nav-col li:nth-child(3) .ft-pulse { animation-delay: 0.8s; }
.ft-nav-col li:nth-child(4) .ft-pulse { animation-delay: 1.2s; }
.ft-nav-col li:nth-child(5) .ft-pulse { animation-delay: 1.6s; }

@keyframes ft-pulse-anim {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ③ 풀 와이드 법적 경고 배너 */
.ft-legal-full {
  background: #fff9f9;
  border-top: 1px solid rgba(239,68,68,0.12);
  border-bottom: 1px solid rgba(239,68,68,0.12);
}
.ft-legal-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ft-legal-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(239,68,68,0.10);
  color: #ef4444;
  margin-top: 1px;
}
.ft-legal-icon svg { width: 16px; height: 16px; }
.ft-legal-body     { flex: 1; min-width: 0; }
.ft-legal-body strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.ft-legal-body p {
  font-size: 12px;
  color: #8b88a8;
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin: 0;
}
.ft-legal-body em { font-style: normal; font-weight: 700; color: #dc2626; }

@media (max-width: 600px) { .ft-legal-inner { padding: 14px 16px; gap: 10px; } }

/* ④ 서브 푸터 */
.ft-sub { background: #f7f6fe; }
.ft-sub-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) { .ft-sub-inner { flex-direction: column; align-items: flex-start; gap: 8px; } }

.ft-copy { font-size: 12px; font-weight: 600; color: #8b88a8; letter-spacing: -0.01em; }

.ft-policy { display: flex; align-items: center; gap: 10px; }
.ft-policy a {
  font-size: 12px;
  color: #8b88a8;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.13s;
}
.ft-policy a:hover { color: #483FD0; }
.ft-policy span    { color: rgba(83,78,220,0.22); font-size: 11px; }

/********************************************************
■ Widget Title 위젯 타이틀
********************************************************/
h3.h3 { padding:0; margin:0; font-weight:bold; }
hr.hr::before { width:100%; height:1px; content: ""; position:absolute; left:0; bottom:1px; line-height:1px; background-color:#ddd; }
hr.hr { display:block; position:relative; height:3px; border: none; line-height:1px; padding:0; margin:0; }
hr.hr::after { width:4.0rem; height:3px; content: ""; position:absolute; left:0; bottom:0; line-height:1px; }
@media all and (max-width:575px) {
  .responsive h3.h3 { padding-left:1.0rem; padding-right:1.0rem; }
  .responsive hr.hr::after { left:1.0rem; }
}

/********************************************************
■ Bootstrap 4 : 부트스트랩 기본 속성
********************************************************/
/* 툴팁 */
.tooltip .tooltip-inner { font-size:1.0rem !important; }

/* 체크박스, 라디오버튼 재지정 */
.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after,
.custom-radio .custom-control-label::before,
.custom-radio .custom-control-label::after { top:0.15rem !important; width:1.4rem !important; height:1.4rem !important; }

/* 체크박스, 라디오버튼과 글자간 간격 */
.custom-checkbox .custom-control-label span,
.custom-radio .custom-control-label span { cursor: pointer; padding-left:0.5rem !important; }

/* 스위치 버튼 재지정 */
.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after { margin-top:2px; }

/* Button */
.btn-lg { padding: 10px 16px; border-radius: 3px; line-height: 1.33; font-size: 18px; }
.btn-lg i { top: 3px; font-size: 24px; position: relative; }

/* Form */
.col-form-label { font-weight:bold; }

/* Pagenation */
.page-link,
.page-link:hover,
.page-link:focus { color: #333; }

/* 라운드 스타일 */
.na-round,
.view_image img,
.pretty-embed img { border-radius: 0.3rem !important; }

/* 사각 스타일 */
/*.is-square .na-round,
.is-square .view_image img,
.is-square .pretty-embed img,
.is-square .btn,
.is-square .alert,
.is-square .nav-link,
.is-square .form-control,
.is-square .input-group-prepend,
.is-square .input-group-append,
.is-square .input-group-text,
.is-square .custom-file-label,
.is-square .custom-file-label:after,
.is-square .custom-select,
.is-square .label,
.is-square .progress,
.is-square .pagination li a,
.is-square .list-group-item { border-radius:0 !important; }*/
.is-square .list-group-item { border-radius:0 !important; }