/* 아이템매니아 동일 디자인 - 변수 및 공통 */
:root {
  --color-base: #159EFD;
  --color-border: #EBEBEB;
  --color-body: #FFF;
  --color-font: #2E2E2E;
  --color-font-gray: #767676;
  --border-radius: 10px;
  --color-gray1: #FBFBFB;
  --color-gray2: #F0F0F0;
  --color-gray3: #DDD;
  --color-gray4: #C6C6C6;
  --color-gray5: #B7B7B7;
  --color-gray6: #9F9F9F;
  --color-gray7: #868686;
  --color-gray8: #636363;
  --color-gray9: #4F4F4F;
  --color-gray10: #444;
  --color-gray11: #2E2E2E;
  --color-blue1: #F2FAFF;
  --color-blue6: #159EFD;
  --color-blue7: #2280FF;
  --color-blue8: #216ED7;
  --color-bluegray2: #DAE0ED;
  --color-green5: #00B45F;
  --color-green7: #0EA24F;
  --color-red7: #F00;
  --color-black: #000;
  --color-white: #FFF;
  --color-list-bg: #FFF;
  --color-badge-bg: #FFF;
  --color-badge-bd: #D4E7FC;
  --color-badge-font: #216ED7;
  --color-base-font: #2280FF;
  --header-bg: #F5F6F8;
  --content-bg: #FFFFFF;
  --accent-blue: #2280FF;
  --header-shadow: #eaeff4;
  --color-bg-subtle: #E8ECF4;
  --color-button-blue: #2282ffe4;
  --color-button-blue-hover: #006dfc;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  min-width: 1080px;
}

body {
  min-width: 1080px;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: var(--color-font);
  background: var(--color-body);
  line-height: 1.2;
}

/* #g_BODY: 이미지와 동일한 시각 효과 (전체 페이지) */
#g_BODY {
  background: var(--content-bg);
  color: var(--color-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* PC 본문 최소 1080px — hidden 시 좁은 창에서 잘림·정렬 틀어짐 */
  overflow-x: visible;
}

/* #g_BODY 헤더: 이미지와 동일 (상단 진한 바 + 흰 배경 + 파란 검색/로그인) */
#g_BODY .g_header {
  background: var(--color-white) !important;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 3px 10px var(--header-shadow);
  min-height: 185px
}

/* #g_BODY .g_header::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--color-gray11);
  width: 100%;
} */

#g_BODY .g_header .header-nav a {
  color: var(--color-font);
}

/* 헤더 액션: 텍스트 링크 + 구분선 (비로그인 로그인/회원가입) */
#g_BODY .g_header .header-actions .header-login,
#g_BODY .g_header .header-actions .header-signup {
  background: transparent !important;
  color: var(--color-font, #2e2e2e) !important;
  box-shadow: none;
  border: 0 !important;
}

#g_BODY .g_header .header-actions .header-login:hover,
#g_BODY .g_header .header-actions .header-signup:hover {
  background: transparent !important;
  color: var(--color-gray11, #2e2e2e) !important;
  text-decoration: underline;
}

#g_BODY .g_search_wrapper .search_area {
  border-color: var(--theme-button, #2280ff);
  border-radius: 14px;
}

#g_BODY .g_search_wrapper .search_area.focus_on {
  border-radius: 10px 10px 0 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

#g_BODY .g_search_wrapper .search_area .g_search_list,
#g_BODY .g_search_wrapper .search_area button[type="submit"].g_search_list {
  background: var(--theme-button, #2280ff);
  border: none;
  padding: 0 22px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  min-height: 51px;
  min-width: 160px;
  box-sizing: border-box;
}

#g_BODY .g_search_wrapper .search_area .g_search_list:hover {
  filter: brightness(0.95);
}

/* 상품등록: 연한 배경 + 파란 테두리 + 원형 + / 흰색 (참고 UI) */
#g_BODY .trade-btn-blue {
  background: #c9defb !important;
  border: 2px solid #79a9ef !important;
  color: #1f79e8 !important;
}

#g_BODY .trade-btn-blue:hover {
  background: #bed7fb !important;
  border-color: #5f98ea !important;
  color: #166fe0 !important;
}

#g_BODY .g_container {
  background: var(--content-bg);
  padding-bottom: 17px;
  min-height: calc(100vh - 185px - 240px);
}

/* 목록 상단(게임·필터) 영역: g_container(1080px) 밖으로 배경이 좌우 끝까지 이어지도록.
   height 고정 시 서버 태그·필터 펼침 내용이 영역 밖으로 나와 아래 목록과 겹침 → 높이는 콘텐츠에 맞춤 */
#g_BODY .list_top_wrap {
  width: max(100vw, 1080px);
  max-width: none;
  min-width: 1080px;
  margin-left: calc(50% - max(50vw, 540px));
  margin-right: calc(50% - max(50vw, 540px));
  box-sizing: border-box;
  background: #f1f3ff;
  padding: 0 0 16px;
  margin-bottom: 0;
}

#g_BODY .list_top_wrap > .content_center {
  padding: 0 0 12px;
  overflow: visible;
}

#g_BODY .list_top_ticker_bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
  box-sizing: border-box;
  background: linear-gradient(90deg, var(--color-blue6) 0%, #66ccff 50%, #ccaaff 100%);
  box-shadow: 0 2px 10px rgba(34, 153, 255, 0.2);
}

#g_BODY .list_top_ticker_bleed > .content_center {
  padding: 0 20px;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
}

#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) {
  background: linear-gradient(90deg, var(--color-blue6) 0%, #66CCFF 50%, #CCAAFF 100%);
  border-radius: var(--border-radius);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(34, 153, 255, 0.2);
}

#g_BODY .list_top_ticker_bleed .premium_ticker_wrap:not(.premium_ticker_global) {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .ticker_label,
#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .slide_item,
#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .ticker_price,
#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .ticker_slide_item {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .ticker_content .ticker_slide_item {
  justify-content: flex-end;
}

#g_BODY .premium_ticker_wrap:not(.premium_ticker_global) .ticker_price {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 24px 0 20px;
  font-size: 16px;
  flex-shrink: 0;
}

#g_BODY .premium_filter_box {
  background: var(--color-white);
  border: 1px solid var(--color-gray3);
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 12px;
  padding: 22px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

#g_BODY .category_tabs a {
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#g_BODY .category_tabs a.active {
  background: var(--theme-primary, rgba(22, 158, 253, 1));
  border-color: var(--theme-primary, rgba(22, 158, 253, 1));
  color: var(--color-white);
}

#g_BODY .trade_type_toggle a.trade_type_sell.active {
  background: var(--theme-sell, rgba(22, 158, 253, 1));
  color: var(--color-white);
}

#g_BODY .trade_type_toggle a.trade_type_buy.active {
  background: var(--theme-buy, rgba(34, 159, 30, 1));
  color: var(--color-white);
}

#g_BODY .header-actions .header-login,
#g_BODY .header-actions .header-signup {
  border-radius: 0;
  font-weight: 600;
}

#g_BODY .premium_item_list {
  background: var(--color-white);
  border: 1px solid var(--color-bg-subtle);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#g_BODY .premium_item_row:hover {
  background: var(--color-blue1);
}

#g_BODY .item_price {
  color: var(--color-font);
}

#g_BODY .server_tags a.active {
  border-color: var(--theme-primary, rgba(22, 158, 253, 1));
  color: var(--theme-primary, rgba(22, 158, 253, 1));
  font-weight: 600;
}

#g_BODY .g_header .header-nav a {
  color: var(--color-font);
}

#g_BODY .game_name {
  color: var(--color-font);
  font-weight: 800;
}

#g_BODY .list_summary_count .count {
  color: rgba(214, 33, 34, 1);
}

#g_BODY .premium_ticker_wrap.premium_ticker_global {
  background: var(--color-bg-subtle);
}

#g_BODY main.g_container {
  padding-left: 0;
  padding-right: 0;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.g_hidden {
  display: none !important;
}

.g_finish {
  font-size: 1px;
  line-height: 0;
  clear: both;
  height: 0;
  margin-top: -1px;
}

.content_center {
  position: relative;
  width: 100%;
  min-width: 1080px;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
}

.g_container {
  position: relative;
  width: 100%;
  min-width: 1080px;
  max-width: 1080px;
  min-height: calc(100vh - 185px - 240px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 헤더 (아이템매니아 동일, 테마 설정에서 헤더 배경 변경 가능) */
.g_header {
  background: var(--theme-header-bg, var(--color-white));
  box-shadow: 0 3px 10px #eaeff4;
  overflow: visible;
}

.g_header.sticky {
  position: sticky;
  z-index: 97;
  top: 0;
}

.g_header.header-main {
  box-shadow: none;
}

.g_header.header-main .header-inner {
  height: 80px;
}

.g_header .header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 0;
}

.g_header .header-logo {
  display: flex;
  align-items: center;
  flex: 0 0 255px;
  width: 255px;
  height: 50px;
}

.g_header .header-logo a {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  text-decoration: none;
}

.g_header .header-logo img {
  display: block;
  flex: 0 0 auto;
  width: 126px;
  height: 50px;
  object-fit: contain;
}

.g_header .header-logo span {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #2e2e2e;
}

.g_header .header-nav-wrapper {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.g_header .header-nav {
  font-size: 16px;
  font-weight: 700;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif !important;
  color: var(--color-font);
  display: flex;
  align-items: center;
  /* color: #2e2e2e; */
  gap: 40px;
  margin-left: 40px;
}

.g_header .header-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 16px;
}

.g_header .header-actions .header-username {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0;
  color: var(--color-font, #2e2e2e);
  text-decoration: none;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

.g_header .header-actions .header-username:hover {
  color: var(--color-gray11, #2e2e2e);
  text-decoration: underline;
}

.g_header .header-actions .header-actions-divider {
  flex-shrink: 0;
  width: 2px;
  height: 14px;
  background: var(--color-gray7, #868686);
  align-self: center;
}

.g_header .header-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  position: relative;
}

.g_header .header-chat img {
  display: block;
  width: 25px;
  height: 20px;
  object-fit: contain;
}

.g_header .header-chat .header-new {
  position: absolute;
  top: -6px;
  right: -10px;
  z-index: 3;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff5a5a;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.g_header .header-actions .header-login,
.g_header .header-actions .header-signup {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 0;
  width: auto;
  height: auto;
  padding: 0;
  text-align: center;
  color: var(--color-font, #2e2e2e);
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

.g_header .header-actions .header-login:hover,
.g_header .header-actions .header-signup:hover {
  color: var(--color-gray11, #2e2e2e);
  text-decoration: underline;
}

.g_header .header-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 18px;
  height: 16px;
  min-width: 18px;
  min-height: 16px;
  padding: 0;
  border: 0;
  background: 0;
  cursor: pointer;
  box-sizing: border-box;
  overflow: visible;
  font-size: 0;
  line-height: 0;
}

.g_header .header-menu span {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 3px;
  background: #2e2e2e;
}

/* 헤더 패널: 오른쪽 정렬·뷰포트 전체 (common.css 400px·슬라이드 무시) */
.header-panel {
  position: fixed;
  z-index: 400;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: calc(100vh - 80px);
  display: none;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: none;
}

.header-panel.is-open {
  display: block;
  pointer-events: auto;
}

/* 백드롭: 전체 뷰포트, 원본과 동일 (top=0 left=0 전체 덮음) */
.header-panel .header-panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: 0 0;
  cursor: pointer;
  z-index: 1;
}

/* inner: 헤더 1080px 본문 폭과 맞춰 오른쪽에 배치, 카드 오른쪽 정렬 */
.header-panel .header-panel-inner,
.header-panel .header-panel-inner.content_center {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1080px) / 2));
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: 500px;
  max-width: calc(100vw - 40px);
  padding: 0 20px;
  box-sizing: border-box;
}

/* 카드: 584px, 오른쪽 끝에 고정 */
.header-panel .header-panel-card {
  width: 584px;
  min-width: 584px;
  flex-shrink: 0;
  padding: 18px 20px 24px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.header-panel .header-panel-title {
  font-weight: 600;
  padding: 4px 5px 14px;
  color: #000;
}

.header-panel .header-panel-title h2 {
  font-size: 18px;
  margin: 0;
}

.header-panel .header-panel-divider {
  height: 1px;
  margin: 0 5px 20px;
  background: #d9d9d9;
}

.header-panel .header-service-grid {
  display: grid;
  margin: 0;
  padding: 0 14px 35px;
  list-style: none;
  grid-template-columns: repeat(5, 83px);
  gap: 25px 25px;
}

.header-panel .header-service-item {
  text-align: center;
}

.header-panel .header-service-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 120px;
  text-decoration: none;
  color: #2e2e2e;
  box-sizing: border-box;
}

.header-panel .header-service-item a:hover {
  color: var(--theme-primary, #159efd);
}

.header-panel .header-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  margin: 0 auto;
  border-radius: 20px;
  background: #e8f2ff;
}

.header-panel .header-service-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header-panel .header-service-label {
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-top: 8px;
  text-align: center;
  line-height: 1.35;
  min-height: 2.7em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 마이룸 / 게임정보 (원본 head_comm과 동일 색상) */
.header-panel .header-box {
  overflow: hidden;
  margin: 0 20px 20px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.header-panel .header-box-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  margin: 0;
  color: #2e2e2e;
  background: #e8f2ff;
}

.header-panel .header-box-grid {
  font-size: 16px;
  font-weight: 500;
  display: grid;
  margin: 0;
  padding: 20px 25px 24px;
  list-style: none;
  color: #2e2e2e;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 5px;
}

.header-panel .header-box-grid li:last-child {
  width: 100px;
}

.header-panel .header-box-grid a {
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 4px 0;
  color: #444;
  text-decoration: none;
}

.header-panel .header-box-grid a:hover {
  color: var(--theme-primary, #159efd);
  text-decoration: underline;
}

.g_header .header-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 19px;
  height: 65px;
  padding-top: 23px;
  padding-bottom: 9px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.g_header .header-search:not(:has(*)) {
  display: none;
}

/* 푸터 (아이템매니아 동일) */
.g_footer_area {
  clear: both;
  margin-top: 10px;
  background: var(--color-white);
}

.g_footer_area .footer-top {
  /* border-top: 1px solid #d9d9d9; */
  padding: 0 20px;
}

.g_footer_area .footer-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1080px;
  margin: 0 auto;
  padding: 25px 0;
}

.g_footer_area .footer-links {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  color: #4f4f4f;
  gap: clamp(15px, 1vw, 35px);
  white-space: nowrap;
}

.g_footer_area .footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g_footer_area .footer-badges img {
  display: block;
}

.g_footer_area .footer-cert {
  display: flex;
  justify-content: flex-end;
  /* align-items: center; */
  gap: 12px;
  margin-top: 12px;
  /* padding-right: 20px; */
}

.g_footer_area .footer-cert img {
  display: block;
}

.g_footer_area .footer-links a {
  color: inherit;
}

.g_footer_area .footer-links .is-strong {
  font-weight: 600;
  color: #1360c8;
}

.g_footer_area .footer-divider {
  width: 1080px;
  height: 1px;
  margin: 0 auto;
  background: #d9d9d9;
}

.g_footer_area .footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 1080px;
  margin: 0 auto;
  padding: 40px 0 30px;
}

.g_footer_area .footer-company {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0;
}

.g_footer_area .footer-company-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #2e2e2e;
}

.g_footer_area .footer-company-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.g_footer_area .footer-company-line {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #767676;
}

.g_footer_area .footer-copy {
  font-size: 15px;
  font-weight: 700;
  margin: 14px 0 0;
  padding-top: 0;
  color: #1360c8;
}

.g_footer_area .footer-call {
  text-align: right;
}

.g_footer_area .footer-call-number {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.g_footer_area .footer-call-number a {
  color: #2e2e2e;
}

.g_footer_area .footer-call-desc {
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  margin: 0;
  /* padding-left: 20px; */
  color: #767676;
}

.g_footer_area .footer-note {
  display: flex;
  flex-direction: column;
  width: 1080px;
  margin: 0 auto;
  padding: 20px 0 30px;
  gap: 20px;
}

.g_footer_area .footer-note-line {
  width: 100%;
  height: 1px;
  background: #d9d9d9;
}

.g_footer_area .footer-note p {
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  margin: 0;
  color: #767676;
}

/* 메인 (index) - itemmania.com 동일 */
/* z-index: 메인 배너(.main-banner 12)보다 위 — 검색 드롭다운(#g_search_frame)이 배너에 가리지 않도록 */
.hero {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 0 0 32px;
  gap: 9px;
  box-sizing: border-box;
  overflow: visible;
}

.hero-title {
  margin-bottom: 0;
}

.hero-eyebrow {
  font-size: 20px !important;
  font-weight: 600;
  text-align: left;
  line-height: 2.4;
  margin-left: 20px;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.hero-brand {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  padding-left: 65px;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-blue7);
}

/* 홈(index)에서만 헤더 검색 영역 숨김 → 히어로 아래로 이동 */
body.index-page .header-search {
  display: none;
}

/* 히어로 아래 검색 영역 (홈 전용) */
.hero .hero-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 16px 0 8px;
  gap: 10px;
  box-sizing: border-box;
}

/* 홈 히어로: 검색창·드롭다운 동일 너비 (래퍼 max-width로 통일) */
body.index-page .hero .g_search_wrapper {
  max-width: 900px;
}

/* 검색 영역: 샘플(index260211)과 동일 - 검색창 + 상품등록 한 줄 */
.header-search {
  display: flex;
  align-items: center;
  height: 65px;
  padding: 23px 0 9px;
  gap: 19px;
  margin: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.g_search_top {
  flex: 1;
  min-width: 0;
  text-align: left;

}

.g_search_wrapper {
  position: relative;
  width: 100%;
  max-width: 910px;
  box-sizing: border-box;
}

.g_search_wrapper form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* #g_searchbar_form > .search_area: 알약형 검색창 (파란 테두리 + 내부 검색 버튼) */
.g_search_wrapper .search_area {
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 75px;
  height: auto;
  padding: 6px 8px 6px 18px;
  transition: border-color 0.15s ease-out, border-radius 0.1s ease-out;
  border: 4px solid var(--theme-button, #2280ff);
  border-radius: 28px;
  background: #fff;
  overflow: visible;
  flex-shrink: 0;
}

.g_search_wrapper .search_area:has(.g_trade_type) {
  padding-left: 8px;
}

.search_area.focus_on,
.g_search_wrapper .search_area.focus_on {
  border-bottom-color: transparent;
  border-radius: 28px 28px 0 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.search_area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 850px;
  min-height: 54px;
  height: auto;
  padding: 6px 8px 6px 18px;
  border: 4px solid var(--theme-button, #2280ff);
  border-radius: 28px;
  background: #fff;
  overflow: visible;
}

/* 검색창 내 세로 구분선 제거 (팝니다/삽니다 버튼과 입력란 사이) - 필요 시 주석 해제
.search_area::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 150px;
  width: 1px;
  height: 24px;
  margin-top: -12px;
  background-color: #e5e5e5;
}
*/

.g_search_wrapper .g_trade_type {
  line-height: normal;
  position: relative;
  flex: 0 0 120px;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 42px;
  width: 120px;
  max-width: 120px;
  color: #2e2e2e;
}

.g_search_wrapper .g_trade_type button {
  width: 100%;
  height: 100%;
  padding-left: 25px;
  background: url(https://img2.itemmania.com/new_images/icon/ico_bar_down.png) no-repeat calc(100% - 20px) 50%;
  border: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: #2e2e2e;
}

.g_search_wrapper .trade_type_list {
  position: absolute;
  z-index: 101;
  top: -3px;
  left: -3px;
  visibility: visible;
  overflow: hidden;
  width: 126px;
  height: auto;
  transition: opacity .1s ease-out;
  opacity: 1;
  border: 3px solid var(--color-blue7);
  border-radius: 14px;
  background-color: var(--color-body);
  margin: 0;
  padding: 0;
  list-style: none;
}

.g_search_wrapper .trade_type_list.hide {
  display: none;
  visibility: hidden;
  height: 0;
  opacity: 0;
}

.g_search_wrapper .trade_type_list li {
  padding: 19px 20px 18px 36px;
  cursor: pointer;
  border-top: 1px solid #f5f5f5;
  font-size: 17px;
  font-weight: 700;
  color: #2e2e2e;
}

.g_search_wrapper .trade_type_list li:first-child {
  border-top: 0;
  background: url(https://img2.itemmania.com/new_images/icon/ico_bar_up.png) no-repeat calc(100% - 16px) 50%;
}

.search_area .g_text {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 42px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  outline: 0;
  font-size: 17px;
  line-height: 1.35;
  background: transparent;
  box-sizing: border-box;
  color: var(--color-font);
}

#searchGameServer {
  position: relative;
  left: auto;
  width: auto;
}

.search_area .g_text::placeholder {
  color: var(--color-gray6, #9f9f9f);
}

/* 삭제 버튼: 템플릿 아이콘 PNG (원형 연회색 + X) */
.search_area .delete_btn {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0;
  line-height: 0;
  box-sizing: border-box;
}

.search_area .delete_btn .delete_btn_icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  pointer-events: none;
}

.search_area .delete_btn:hover .delete_btn_icon {
  opacity: 0.82;
}

.search_area .delete_btn:active .delete_btn_icon {
  opacity: 0.7;
}

.search_gs_name::-ms-clear,
.search_gs_name::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.search_gs_name::-webkit-search-decoration,
.search_gs_name::-webkit-search-cancel-button {
  display: none;
}

.search_area .g_search_list {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 72px;
  min-height: 42px;
  height: 42px;
  margin: 0;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: var(--theme-button, #2280ff);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
}

.search_area .g_search_list:hover {
  filter: brightness(0.95);
}

.search_area .g_search_list .g_search_list_label {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-weight: 700;
}

/* 구버전 아이콘-only 버튼 호환 */
.search_area .g_search_list .icon_search_new {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.search-select {
  margin-top: 12px;
}

/* 검색 드롭다운 프레임 — 너비는 .g_search_wrapper(검색창과 동일)에 맞춤 */
.g_search_frame {
  z-index: 1100;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: -4px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 200px;
  max-height: 460px;
  padding: 0 10px 10px;
  border: 4px solid var(--theme-button, #2280ff);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background-color: #fff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.g_search_frame::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.g_search_frame.g_hidden {
  display: none;
}

.g_search_frame .g_search_frame_wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 15px;
  padding: 15px 15px 10px;
  border-top: 1px solid #f5f5f5;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.g_search_frame .g_search_frame_wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.g_search_frame .search-select {
  padding: 5px 0 7px;
}

.g_search_frame .initial_screen {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 180px;
  padding-right: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.g_search_frame .initial_screen::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.g_search_frame .tab_content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 17px 30px 12px;
  gap: 40px;
}

.g_search_frame .tab_content .tab_child {
  display: none;
  flex: 1;
  overflow-y: auto;
  max-width: 50%;
  max-height: 280px;
  font-size: 15px;
  color: #666;
  text-align: left;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.g_search_frame .tab_content .tab_child::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.g_search_frame .tab_content .tab_child::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.g_search_frame .tab_content .tab_child::-webkit-scrollbar-track {
  background-color: transparent;
}

.g_search_frame .tab_content .tab_child.show {
  display: block;
}

.g_search_frame .tab_content .tab_child h6 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #2e2e2e;

  padding-bottom: 8px;
}

.g_search_frame .tab_content .tab_child ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 27px;
}

.g_search_frame .tab_content .tab_child ul li {
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g_search_frame .tab_content .tab_child ul li.empty {
  padding-top: 20px;
  text-align: center;
  color: #999;
}

.g_search_frame .tab_content .tab_child ul li.last_search_item,
.g_search_frame .tab_content .tab_child ul li.my_game_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
}
.g_search_frame .tab_content .tab_child ul li.last_search_item:hover,
.g_search_frame .tab_content .tab_child ul li.my_game_item:hover {
  color: var(--color-blue7, #2280FF);
}
.g_search_frame .tab_content .tab_child ul li .gs_name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g_search_frame .tab_content .tab_child ul li .search_add_my_btn,
.g_search_frame .tab_content .tab_child ul li .search_remove_my_btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #999;
  border-radius: 4px;
}
.g_search_frame .tab_content .tab_child ul li .search_add_my_btn:hover,
.g_search_frame .tab_content .tab_child ul li .search_remove_my_btn:hover {
  color: var(--color-blue7, #2280FF);
  background: rgba(34, 128, 255, 0.08);
}
.g_search_frame .tab_content .tab_child ul li .search_remove_my_btn {
  font-size: 18px;
  line-height: 20px;
}

.g_search_frame .gs_list ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
}
.g_search_frame .gs_list ul li:hover {
  color: var(--color-blue7, #2280FF);
}
.g_search_frame .gs_list ul li .search_add_my_btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #999;
  border-radius: 4px;
}
.g_search_frame .gs_list ul li .search_add_my_btn:hover {
  color: var(--color-blue7, #2280FF);
  background: rgba(34, 128, 255, 0.08);
}

.g_search_frame .tab_content .tab_child ul li.loading {
  color: #999;
}

.g_search_frame .gs_list {
  display: block;
  clear: both;
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: 8px 30px 14px;
  overflow-y: auto;
  color: #2e2e2e;
  font-size: 13px;
  line-height: 1.2;
}

.g_search_frame .gs_list.g_hidden {
  display: none;
}

.g_search_frame .gs_list > div,
.g_search_frame .gs_list .game {
  display: block;
}

.g_search_frame .gs_list .game ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.g_search_frame .gs_list .search_ing {
  padding: 20px;
  text-align: center;
  color: #999;
}

.g_search_frame .gs_list ul li,
.g_search_frame .gs_list .game ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g_search_frame .gs_list ul li.empty {
  justify-content: center;
  padding-top: 20px;
  color: #999;
}

.g_search_frame .gs_list ul li .gs_name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: #2e2e2e;
}

.g_search_frame .gs_list ul li .gs_name .gs_match {
  color: var(--color-blue7, #2280FF);
  font-weight: 700;
}

.g_search_frame .gs_list ul li.sel_on,
.g_search_frame .gs_list ul li:hover .gs_name {
  color: var(--color-blue7, #2280FF);
}

.g_search_frame .search-select-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.g_search_frame .search-select-list li {
  flex: 1;
}

.g_search_frame .search-select-item label {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 12px 20px;
  cursor: pointer;
  color: #2e2e2e;
  border: 1px solid #d2d2d2;
  border-radius: 23px;
  background: #fff;
  gap: 8px;
}

.g_search_frame .search-select-item label:has(:checked) {
  border-color: var(--color-blue7);
  box-shadow: 0 0 0 1px var(--color-blue7) inset;
  color: var(--color-blue7);
}

.g_search_frame .search-select-item input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
}

.g_search_frame .search-select-item img {
  display: block;
  width: 22px;
  height: 22px;
}

.trade-btn {
  flex-shrink: 0;
}

.trade-btn .trade-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  font-size: 17px;
  font-weight: 700;
  padding: 0 24px;
  height: 51px;
  min-width: 150px;
  border: 2px solid #79a9ef;
  border-radius: 14px;
  background: #c9defb;
  color: #1f79e8;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.trade-btn .trade-btn-blue:hover {
  background: #bed7fb;
  border-color: #5f98ea;
  color: #166fe0;
  opacity: 1;
}

/* + : 상품등록 CTA 원형 아이콘 */
.trade-btn .trade-btn-blue .hero-cta-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-white);
  border-radius: 50%;
  background: #2f81ed;
  vertical-align: middle;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  overflow: hidden;
  transform: none;
}

.trade-btn .trade-btn-blue:hover .hero-cta-plus {
  background: #226fe2;
}

.trade-btn .trade-btn-blue .hero-cta-text {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  transform: translateY(1.5px);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin: 0;
  padding-top: 32px;
  gap: 12px;
  list-style: none;
  width: 100%;
  min-width: 0;
}

.hero-card {
  position: relative;
  width: 100%;
  height: 90px;
  padding: 15px 15px 15px 20px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 0 7px #D2D2D2;
  list-style: none;
  min-width: 0;
  overflow: hidden;
}

.hero-card-icon {
  position: absolute;
  margin-top: 30px;
  top: 15px;
  right: 15px;
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  margin: 10px 0 4px;
  color: var(--color-gray11);
}

.hero-card-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: #878D9A;
}

.main-banner {
  position: relative;
  z-index: 12;
  padding: 10px 0;
  background: #FCFCFC;
  /* g_container(1080px) 밖으로 배경만 화면 전체 너비 */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.main-banner-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  gap: 10px;
}

.main-banner-inner .swiper {
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.main-banner-notice {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 25px;
  border-radius: 10px;
  background: #F6F8FD;
  gap: 20px;
}

.main-banner-notice-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.main-banner-notice-icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.main-banner-notice-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.main-banner-notice-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray11);
}

.main-banner-notice-desc {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.main-banner-notice-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 12px;
  color: #666;
  border: 1px solid var(--color-gray3);
  border-radius: 12px;
  background: var(--color-white);
  gap: 5px;
  text-decoration: none;
}

.main-banner-notice-link:hover {
  color: #333;
}

.main-banner-notice-link img {
  display: block;
  width: 6px;
  height: 10px;
  object-fit: contain;
}

.info-bar {
  background: #E8F2FF;
  border-radius: 10px;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  height: 50px;
  margin: 0 auto;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-bar-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-green7);
}

.info-bar-text {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--color-gray11);
}

.info-bar-accent {
  font-weight: 600;
  color: var(--color-blue7);
}

.info-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-bar-label {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  color: var(--color-gray11);
  gap: 10px;
  white-space: nowrap;
}

.info-bar-label-icon {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.user-count {
  font-size: 14px;
  font-weight: 500;
  color: #767676;
  margin: 0 0 20px;
  text-align: center;
}

.trade-top10 {
  margin-bottom: 43px;
  padding: 40px 0 30px;
  background: #ffffff !important;
}

.trade-top10-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.trade-top10-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 15px;
}

.trade-top10-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--color-gray11);
}

.trade-top10-highlight {
  font-weight: 700;
  color: var(--color-blue7);
}

/* TOP10: 슬라이더 없이 5열 × 2행 그리드 */
.trade-top10-grid .trade-top10-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trade-top10-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 192px;
  gap: 12px;
  list-style: none;
  min-width: 192px;
  max-width: 192px;
}

.trade-top10-item a {
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
  width: 192px;
  height: 192px;
  border-radius: 20px;
}

.trade-top10-thumb-wrap {
  position: relative;
  display: block;
  width: 192px;
  height: 192px;
  border-radius: 20px;
  overflow: hidden;
}

.trade-top10-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trade-top10-item span.trade-top10-thumb {
  background: #f0f0f0;
  display: block;
  width: 100%;
  height: 100%;
}

.trade-top10-badge {
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 23px;
  padding: 0 8px;
  color: var(--color-white);
  border-radius: 5px;
  background: rgba(31, 31, 31, 0.7);
}

.trade-top10-thumb-wrap .trade-top10-name {
  font-size: 15px;
  font-weight: 700;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;
  padding-bottom: 10px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0));
  box-sizing: border-box;
}

.trade-top10-item>.trade-top10-name {
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  margin: 0;
  color: var(--color-gray11);
  text-align: center;
  position: static;
  background: none;
  display: block;
}

/* TOP10 그리드 컨테이너 */
.trade-top10-grid {
  position: relative;
  width: 100%;
  overflow: visible;
}

.trade-top10-grid .trade-top10-card {
  box-sizing: border-box;
  max-width: none;
  min-width: 0;
  align-items: stretch;
  width: 100%;
  /* common.css .trade-top10-card 패딩·테두리 제거 → 썸네일이 그리드 칸을 꽉 채움 */
  padding: 0;
  border: none;
  background: transparent;
}

.trade-top10-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(100%, 192px);
  max-width: 192px;
  flex-shrink: 0;
  gap: 12px;
  list-style: none;
  margin: 0;
  box-sizing: border-box;
}

.trade-top10-card .trade-top10-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 192px;
  max-height: 192px;
  aspect-ratio: 1;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.trade-top10-card .trade-top10-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 192px;
  max-height: 192px;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}

.trade-top10-card .trade-top10-thumb .trade-top10-badge {
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  top: 12px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 23px;
  padding: 0 8px;
  color: var(--color-white);
  border-radius: 5px;
  background: rgba(31, 31, 31, 0.7);
}

.trade-top10-card .trade-top10-thumb .trade-top10-name {
  font-size: 15px;
  font-weight: 700;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 50%;
  padding-bottom: 10px;
  margin: 0;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0));
  box-sizing: border-box;
}

.trade-top10-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  gap: 15px;
}

.trade-top10-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #CFD3DA;
  border-radius: 10px;
  background: var(--color-white);
  cursor: pointer;
}

.trade-top10-nav img {
  display: block;
  width: 6px;
  height: 7px;
}

.trade-top10-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-top10-progress-track {
  position: relative;
  width: 165px;
  height: 2px;
  background: #D9D9D9;
}

.trade-top10-progress-bar {
  width: 40px;
  height: 2px;
  background: var(--color-blue7);
  transition: width 0.2s ease;
}

.trade-top10-progress-text {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: #444;
}

.trade-top10-progress-text span {
  color: #A4A4A4;
}

/* 인기 시세 트렌드 */
.price-trend {
  margin-bottom: 17px;
  padding-top: 10px;
  overflow: visible;
}

.price-trend-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1075px;
  margin: 0 auto;
  gap: 15px;
  overflow: visible;
}

.price-trend-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--color-gray11);
}

.price-trend-highlight {
  font-weight: 700;
  color: var(--color-blue7);
}

.price-trend-swiper-wrapper {
  position: relative;
  overflow: visible;
  /* 네비 원형 버튼 크기 — left/right 음수 오프셋은 이 값의 절반과 동일해야 함 */
  --price-trend-nav-btn-size: 37px;
}

/* 스와이퍼 높이에 맞춘 오버레이 안에서 상하 중앙 · 좌우 반쯤 걸침 */
.price-trend-swiper-wrapper .swiper-buttons {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.price-trend-swiper-wrapper .swiper-buttons .swiper-button-next,
.price-trend-swiper-wrapper .swiper-buttons .swiper-button-prev {
  pointer-events: auto;
}

.price-trend-swiper-wrapper .swiper-button-next,
.price-trend-swiper-wrapper .swiper-button-prev {
  position: absolute !important;
  width: var(--price-trend-nav-btn-size);
  height: var(--price-trend-nav-btn-size);
  margin-top: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px #CBCBCB;
  top: 50% !important;
}

/* 이전: 카드 폭 +10/-10 마진과 맞춤. 현재: 스와이퍼 100% 폭 + 좌우 패딩 12px 기준 */
.price-trend-swiper-wrapper .swiper-button-prev {
  left: calc(-0.5 * var(--price-trend-nav-btn-size) - 12px) !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.95) url("../images/from_template/icon/icon-prev.png") center/6px 7px no-repeat;
}

.price-trend-swiper-wrapper .swiper-button-prev::after {
  display: none;
}

.price-trend-swiper-wrapper .swiper-button-next {
  left: auto !important;
  right: calc(-0.5 * var(--price-trend-nav-btn-size) - 12px) !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.95) url("../images/from_template/icon/icon-next.png") center/6px 7px no-repeat;
}

.price-trend-swiper-wrapper .swiper-button-next::after {
  display: none;
}

.price-trend-swiper {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.price-trend-swiper.swiper-grid > .price-trend-list.swiper-wrapper {
  align-items: stretch;
}

.price-trend-list {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-trend-card {
  width: 312px;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0;
  height: auto;
}

.price-trend-swiper.swiper-grid .price-trend-card {
  width: auto;
}

.price-trend-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  padding: 16px 22px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 0 7px #D2D2D2;
}

.price-trend-info {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.price-trend-thumb {
  overflow: hidden;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 0 6px #D2D2D2;
  flex-shrink: 0;
}

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

.price-trend-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: #F0F2F5;
}

.price-trend-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 198px;
  gap: 5px;
  min-width: 0;
}

.price-trend-text p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
}

.price-trend-name {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  color: var(--color-gray11);
  gap: 6px;
}

.price-trend-badge {
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  color: #1773EE;
  border-radius: 3px;
  background: #F2F7FE;
  flex-shrink: 0;
}

.price-trend-sub {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  color: var(--color-gray11);
}

.price-trend-sub span {
  margin-left: 6px;
  color: var(--color-gray8);
}

.price-trend-price {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--color-blue7);
}

.price-trend-price em {
  font-size: 15px;
  font-weight: 500;
  margin-left: 3px;
  color: #565656;
}

.trade-top10-change {
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  color: var(--color-gray8);
  gap: 6px;
  margin: 0 5px;
}

.trade-top10-change span {
  overflow: hidden;
  max-width: 140px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.trade-top10-parentheses {
  margin: 0;
}

.trade-top10-change-won {
  font-weight: 500;
  color: var(--color-gray8);
}

.trade-top10-change-up {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding-left: 10px;
  color: var(--theme-sell, var(--color-red7));
  background: url("../images/from_template/icon/icon-up.png") no-repeat 0 50%/7px auto;
  gap: 4px;
}

.trade-top10-change-down {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding-left: 10px;
  color: var(--color-blue7);
  background: url("../images/from_template/icon/icon-down.png") no-repeat 0 50%/7px auto;
  gap: 4px;
}

.trade-top10-change-- {
  font-weight: 500;
  color: var(--color-gray8);
}

.price-trend-button {
  font-size: 15px;
  font-weight: 600;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  color: var(--color-white);
  border: 0;
  border-radius: 8px;
  background: var(--color-gray11);
  gap: 5px;
  text-decoration: none;
}

.price-trend-button:hover {
  color: var(--color-white);
}

.price-trend-button img {
  display: block;
  width: 6px;
  height: 8px;
  object-fit: contain;
}

/* 시세 트렌드 스파크라인: 샘플(index260211)과 동일 — 구름 PNG는 glass-overlay, 차트는 위에서 호버 가능 */
.price-trend-chart {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.price-trend-chart svg {
  display: block;
  overflow: visible;
}

.glass-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 80px;
  width: 92px;
  height: 180px;
  pointer-events: none;
  background: url("../images/from_template/main/img_cloud.png") no-repeat;
}

/* 인포바 실시간 인기검색 */
.info-bar-swiper {
  height: 50px;
  margin-right: 100px;
}

.info-bar-swiper .swiper-slide {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-bar-rank {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 50px;
  color: var(--color-gray11);
  gap: 6px;
  margin-right: 23px;
}

.info-bar-rank-number {
  min-width: 32px;
  text-align: right;
  /* margin-right: 15px; */
}

.info-bar-rank-name {
  /* padding-left: 10px; */
  color: #000000 !important;
}
.info-bar-rank-item {
  /* padding-left: 10px; */
  color: var(--color-blue7);
  text-align: left;
}

/* 메인 배너 스와이퍼 */
.main-banner-inner .swiper-slide {
  height: auto;
}

.main-banner-inner .banner_content {
  display: block;
}

.main-banner-inner .banner_content a {
  display: block;
  line-height: 0;
}

.main-banner-inner .banner_content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

.main-banner-inner .swiper-pagination,
.main-banner-inner .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute;
  z-index: 2;
  right: auto !important;
  bottom: 12px;
  left: 50% !important;
  width: fit-content !important;
  max-width: fit-content !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  color: #6B6B6B;
  background: transparent;
  transform: translateX(-50%) !important;
}

.main-banner-inner .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.main-banner-inner .swiper-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.05);
}

.main-banner-inner .banner_content_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 24px;
  font-size: 15px;
  color: #878D9A;
  background: #F0F2F5;
  border-radius: 10px;
  text-align: center;
}

.notice-strip {
  margin-bottom: 17px;
  padding: 30px 0 0;
}

.notice-strip-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  height: 60px;
  margin: 0 auto;
  padding: 0 25px;
  border-radius: 10px;
  background: #363636;
  gap: 19px;
}

.notice-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
}

.notice-strip-icon img {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: contain;
}

.notice-strip dl {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.notice-strip dt {
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.notice-strip dd {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-strip dd a {
  color: var(--color-white);
}

.notice-strip dd a:hover {
  color: #b3d4ff;
}

/* 판매/구매 목록 페이지 (list) */
.list_top_wrap {
  margin-bottom: 24px;
}

.trade_game {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #2e2e2e;
}

.detail_search {
  padding: 20px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #fbfbfb;
  margin-bottom: 20px;
}

.detail_search .search_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 12px;
}

.detail_search .search_row:last-child {
  margin-bottom: 0;
}

.detail_search .search_tit {
  font-size: 14px;
  font-weight: 600;
  color: #2e2e2e;
  min-width: 80px;
}

.detail_search .goods_type {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail_search .goods_type label {
  font-size: 14px;
  font-weight: 500;
  color: #636363;
  cursor: pointer;
}

.detail_search .goods_type input {
  margin-right: 6px;
}

.detail_search .search_row input[type="text"] {
  flex: 1;
  max-width: 300px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}

.search_list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #2e2e2e;
}

.search_list>li {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #ebebeb;
  gap: 16px;
}

.search_list>li.list_item {
  cursor: pointer;
}

.search_list>li.list_item:hover {
  background: #fbfbfb;
}

.search_list .col {
  font-size: 14px;
  color: #2e2e2e;
}

.search_list .col.info {
  flex: 0 0 80px;
  text-align: center;
}

.search_list .col.subject_info {
  flex: 1;
  min-width: 0;
}

.search_list .col.subject_info .title {
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search_list .col.quantity {
  flex: 0 0 80px;
  text-align: center;
}

.search_list .col.price {
  flex: 0 0 120px;
  font-weight: 600;
  color: var(--theme-buy, #2280ff);
  text-align: right;
}

.search_list .col.reg_date {
  flex: 0 0 100px;
  font-size: 13px;
  color: #767676;
  text-align: center;
}

.search_list .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--color-badge-bg);
  border: 1px solid var(--color-badge-bd);
  color: var(--color-badge-font);
}

.search_list .trade_money {
  font-weight: 600;
  color: var(--theme-buy, #2280ff);
}

.list_header {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ebebeb;
  font-size: 13px;
  font-weight: 600;
  color: #767676;
  gap: 16px;
}

.list_header .col {
  font-size: 13px;
  font-weight: 600;
  color: #767676;
}

.list_header .col.info {
  flex: 0 0 80px;
  text-align: center;
}

.list_header .col.subject_info {
  flex: 1;
  min-width: 0;
}

.list_header .col.quantity {
  flex: 0 0 80px;
  text-align: center;
}

.list_header .col.price {
  flex: 0 0 120px;
  text-align: right;
}

.list_header .col.reg_date {
  flex: 0 0 100px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #2e2e2e;
  background: #fff;
}

.pagination a:hover {
  border-color: var(--theme-primary, #2280ff);
  color: var(--theme-primary, #2280ff);
  background: #f2faff;
}

.pagination .current {
  border-color: var(--theme-primary, #2280ff);
  background: var(--theme-primary, #2280ff);
  color: #fff;
}

.btn_register {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--theme-button, #2280ff);
  color: #fff;
  cursor: pointer;
}

.btn_register:hover {
  background: #1360c8;
}

.empty_message {
  padding: 60px 20px;
  text-align: center;
  font-size: 15px;
  color: #767676;
}

/* ▼▼▼ 세일/삽니다 리스트 페이지 (샘플 동일) ▼▼▼ */
.list_top_wrap {
  margin-bottom: 20px;
  padding: 22px 0;
  background-color: #f1f3ff;
}

.list_top_wrap > .content_center {
  overflow: hidden;
  padding: 0 0 23px;
  border: none;
  border-radius: 10px;
  background-color: transparent;
}

.trade_game {
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 0 0;
  letter-spacing: -1px;
}

.trade_game .game_wrapper {
  display: flex;
  align-items: center;
}

.trade_game .game_wrapper .game_img_wrapper {
  margin-right: 10px;
}

.trade_game .game_wrapper .game_img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.trade_game .game_wrapper .game_img img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.trade_game .game_wrapper .game_img span {
  font-size: 12px;
  color: #666;
}

.trade_game span.quotation {
  font-size: 16px;
  font-weight: 400;
  margin-left: 10px;
  color: #2f2f2f;
}

.right_menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.right_menu .snb_wrapper {
  padding: 3px;
  border-radius: 25px;
  background-color: #fff;
  border: 1px solid var(--color-border);
}

.right_menu .snb_menu {
  font-size: 0;
  display: flex;
  border-radius: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.right_menu .snb_menu button,
.right_menu .snb_menu a {
  font-size: 16px;
  font-weight: 700;
  padding: 6px 20px;
  color: var(--color-font);
  background: transparent;
  border: 0;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
}

.right_menu .snb_menu .selected button,
.right_menu .snb_menu .selected {
  color: #fff;
  background-color: var(--color-base);
}

.search_wrap {
  display: flex;
  padding: 20px 0;
  flex-wrap: wrap;
}

.search_wrap .search_area {
  flex: 1;
  min-width: 0;
}

.detail_search .search_row {
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 12px;
}

.detail_search .search_row ul.tab_new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail_search .search_row ul.tab_new li {
  margin: 0;
}

.detail_search .search_row .tab_bx {
  font-size: 15px;
  padding: 8px 16px;
  color: var(--color-gray11);
  border: 1px solid var(--color-gray3);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.detail_search .search_row .tab_bx.selected {
  font-weight: 700;
  color: var(--color-base);
  border-color: var(--color-base);
  background: #fff;
}

.list_top_content {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.list_top_content .premium_count {
  font-size: 17px;
  font-weight: 500;
  color: #1d1d1d;
}

.list_top_content .premium_count span {
  font-weight: 700;
  color: #d62222;
}

.list_top_content .search_word {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.list_top_content .search_word .g_text {
  font-size: 15px;
  width: 280px;

  height: 34px;
  padding: 0 40px 0 20px;
  border: 0;
  border-radius: 20px;
  background: #f3f2f7;
  outline: 0;
}

.list_top_content .search_word .btn_search {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--color-base);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.g_subtitle {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #2f2f2f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.g_subtitle h2 {
  font-size: 24px;
  margin: 0;
}

.g_subtitle .g_left {
  margin: 0;
}

.g_subtitle .g_right {
  margin: 0;
}

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

.opt_list button {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-font-gray);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 8px;
}

.opt_list button.active {
  font-weight: 700;
  color: var(--color-font);
}

/* 실시간 거래 종료 배너 */
.realtime_complete {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  max-width: 1080px;
  width: 100%;
  height: 54px;
  margin: 0 auto 20px;
  padding: 0 40px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(to right, var(--theme-primary, #159efd), #b197fc);
}

.realtime_complete p {
  font-size: 16px;
  margin: 0 50px 0 0;
  flex-shrink: 0;
}

.realtime_complete .swiper {
  flex: 1;
  height: 54px;
  overflow: hidden;
}

.realtime_complete .swiper-slide {
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.realtime_complete .slide_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.realtime_complete .slide_item .subject {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 10px;
}

.realtime_complete .slide_item .price {
  flex-shrink: 0;
  width: 150px;
  text-align: right;
}

/* 서버 필터 */
.search_server_row {
  padding-top: 16px;
  margin-top: 8px;
}

.search_server_row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search_server_row ul li {
  margin: 0;
}

.search_server_row .g_btn_white2_radio {
  display: inline-block;
  font-size: 15px;
  padding: 5px 16px;
  color: var(--color-gray11);
  border: 1px solid var(--color-gray3);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.search_server_row .g_btn_white2_radio:hover {
  color: var(--color-base);
  border-color: var(--color-base);
}

.search_server_row .g_btn_white2_radio.selected {
  font-weight: 700;
  color: var(--color-base);
  border-color: var(--color-base);
  background: #fff;
}

.search_server_row.expand {
  max-height: 500px;
}

.toggles_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.toggles_wrap .toggles {
  font-size: 14px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  color: #333;
}

.toggles_wrap .search_reset {
  font-size: 14px;
  color: var(--color-font-gray);
  text-decoration: none;
}

.toggles_wrap .search_reset:hover {
  color: var(--color-base);
}

/* 물품리스트 정렬 구분선 */
.opt_list .opt_divider {
  color: var(--color-font-gray);
  font-size: 12px;
  padding: 0 2px;
  pointer-events: none;
}

/* 등급 배지 (리스트 왼쪽) */
.credit_mark_new {
  font-size: 0;
  display: inline-block;
  width: 35px;
  height: 37px;
  vertical-align: middle;
  background: center / 100% no-repeat;
}

.credit_mark_new.basic { background-image: url('/static/images/grade/mark_basic_list.png'); }
.credit_mark_new.basic_p { background-image: url('/static/images/grade/mark_basic_usu.png'); }
.credit_mark_new.silver { background-image: url('/static/images/grade/mark_silver_list.png'); }
.credit_mark_new.silver_p { background-image: url('/static/images/grade/mark_silver_usu.png'); }
.credit_mark_new.gold { background-image: url('/static/images/grade/mark_gold_list.png'); }
.credit_mark_new.gold_p { background-image: url('/static/images/grade/mark_gold_usu.png'); }
.credit_mark_new.platinum { background-image: url('/static/images/grade/mark_platinum_list.png'); }
.credit_mark_new.platinum_p { background-image: url('/static/images/grade/mark_platinum_usu.png'); }
.credit_mark_new.vip { background-image: url('/static/images/grade/mark_vip_list.png'); }
.credit_mark_new.vip_p { background-image: url('/static/images/grade/mark_vip_usu.png'); }

/* 리스트 보상 배지 (200% 구매보상 등) */
.search_list .col .sub_info {
  margin-top: 3px;
}

.search_list .col .sub_info .badge {
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  padding: 2px 12px 1px;
  color: var(--color-badge-font, #216ED7);
  border: 1px solid var(--color-badge-bd, #D4E7FC);
  border-radius: 10px;
  background-color: var(--color-badge-bg, #fff);
}

.search_list .col.info .badge-goods {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* 최소 가격 강조 (파란색) */
.search_list .col.price .trade_money {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-base-font, #2280FF);
}

.search_list.search_list_normal>li.list_item {
  height: 90px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--color-list-bg);
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.search_list.search_list_normal>li.list_item:hover {
  box-shadow: inset 0 0 0 2px var(--color-base);
}

.search_list .col.info {
  width: 70px;
  flex: 0 0 70px;
  align-items: center;
}

.search_list .col.subject_info {
  flex: 1;
  padding-left: 10px;
  min-width: 0;
  text-align: left;
}

.search_list .col.subject_info .server {
  font-size: 14px;
  color: #5e5e5e;
  margin-bottom: 2px;
}

.search_list .col.subject_info .server a {
  color: inherit;
}

.search_list .col.quantity {
  width: 135px;
  flex: 0 0 135px;
  font-size: 15px;
  color: #949494;
  justify-content: center;
}

.search_list .col.price {
  width: 165px;
  flex: 0 0 165px;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  justify-content: center;
  color: var(--color-font-gray);
}

.search_list .col.reg_date {
  width: 90px;
  flex: 0 0 90px;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  color: var(--color-font-gray);
}

.search_list .col .subject {
  display: block;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search_list .col .kind_title {
  display: inline-block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.search_list>li.list_item.empty {
  height: auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_list>li.list_item.empty .empty_message {
  width: 100%;
}

.opt_list a {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-font-gray);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
}

.opt_list a:hover {
  color: var(--color-base);
}

.opt_list a.active {
  font-weight: 700;
  color: var(--color-base);
}

.dvPaging {
  margin: 30px 0 20px;
  text-align: center;
}

.g_paging {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.g_paging .page_nums {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.g_paging .page_nums a,
.g_paging .page_nums strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.g_paging .page_nums a {
  border: 1px solid var(--color-border);
  color: var(--color-font);
  background: #fff;
  text-decoration: none;
}

.g_paging .page_nums a:hover {
  border-color: var(--theme-primary, var(--color-base));
  color: var(--theme-primary, var(--color-base));
}

.g_paging .page_nums strong {
  border: 1px solid var(--theme-primary, var(--color-base));
  background: var(--theme-primary, var(--color-base));
  color: #fff;
}

.g_paging .cpnt a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-font);
  border: 1px solid var(--color-border);
  background: #fff;
  text-decoration: none;
}

.g_paging .cpnt a:hover {
  border-color: var(--theme-primary, var(--color-base));
  color: var(--theme-primary, var(--color-base));
}

.goTop {
  font-size: 14px;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(calc(540px + 50%));
  width: auto;
  padding: 10px 20px;
  border-radius: 25px;
  background: #2e2e2e;
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s;
  z-index: 90;
}

.goTop.visible {
  opacity: 1;
}

@media (max-width: 1100px) {
  .goTop {
    transform: translateX(-50%);
  }
}

.g_container {
  width: auto;
}

.hero {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 20px 0 32px;
  gap: 9px;
}

.hero-eyebrow {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.hero-brand {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-blue7);
}

.header-search {
  display: flex;
  align-items: flex-start;
  height: 65px;
  padding: 23px 0 9px;
  gap: 19px;
}

.hero-cta-text {
  font-size: 18px;
}

.g_search_wrapper .search_area {
  font-size: 17px;
}

.g_search_wrapper .search_area .g_text {
  font-size: 17px;
}

.hero-cards {
  display: flex;
  align-items: stretch;
  padding-top: 32px;
  gap: 12px;
  width: 100%;
}

.hero-card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 90px;
  padding: 15px 15px 15px 20px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 0 7px #D2D2D2;
}

.hero-card-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  margin: 10px 0 4px;
  color: var(--color-gray11);
}

.hero-card-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: #878D9A;
}

.main-banner {
  position: relative;
  z-index: 12;
  padding: 3px 0;
  background: #FCFCFC;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.main-banner-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  gap: 10px;
}

.main-banner-inner .swiper {
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.main-banner-inner .main-banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/*.main-banner-inner .swiper-pagination {width: auto;font-size:13px;position:absolute;z-index:2;right:24px;bottom:12px;display:inline-flex;align-items:center;padding:3px 8px;color:#6B6B6B;border-radius:11px;background:rgba(255, 255, 255, 0.5);}*/
.main-banner-inner .swiper-pagination {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 12px;
  left: auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #6B6B6B;
  background: transparent;
}

.main-banner-notice {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 25px;
  border-radius: 10px;
  background: #F6F8FD;
  gap: 20px;
}

.main-banner-notice-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.main-banner-notice-icon {
  display: block;
  width: 21px;
  height: 21px;
}

.main-banner-notice-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-banner-notice-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray11);
}

.main-banner-notice-desc {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.main-banner-notice-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 12px;
  color: #666;
  border: 1px solid var(--color-gray3);
  border-radius: 12px;
  background: var(--color-white);
  gap: 5px;
}

.main-banner-notice-link img {
  display: block;
  width: 6px;
  height: 10px;
}

.info-bar {
  background: rgba(231, 247, 246, 0.63);
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  height: 50px;
  margin: 0 auto;
  padding: 0 10px;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-bar-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-green7);
}

.info-bar-text {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--color-gray11);
}

.info-bar-accent {
  font-weight: 600;
  color: var(--color-blue7);
}

.info-bar-right {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 20px;
  flex: 1;
  max-width: 450px;
}

.info-bar-label {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  color: var(--color-gray11);
  gap: 20px;
}
.info-bar-swiper {
  max-width: calc(100% - 105px);
  height: 50px;
}
.info-bar-label-icon {
  display: block;
  width: 12px;
  height: 12px;
}

.info-bar-rank {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 50px;
  color: var(--color-gray11);
  gap: 6px;
}

.info-bar-rank-number {
  min-width: 32px;
  text-align: right;
}

.info-bar-rank-name {
  padding-left: 10px;
  color: var(--color-blue7);
}

.info-bar-rank-icon {
  display: block;
  width: 9px;
  height: 7px;
}

.info-bar-swiper {
  height: 50px;
}

.info-bar-swiper .swiper-slide {
  height: 50px;
  display: flex;
  align-items: center;
}

.recent-games {
  margin: 17px 0 57px;
  padding: 40px 0 0;
}

.recent-games-inner {
  margin: 0 auto;
}

.recent-games-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-gray11);
}

.recent-games-panel {
  padding: 33px 35px;
  border-radius: 10px;
  background: #F9FAFF;
  box-shadow: 0 0 7px #D2D2D2;
}

.recent-games-list {
  display: flex;
  align-items: center;
  gap: 29px;
}

.recent-games-card {
  display: flex;
  align-items: center;
  width: 297px;
  height: 113px;
  gap: 30px;
}

.recent-games-thumb {
  position: relative;
  overflow: hidden;
  width: 96px;
  height: 96px;
  border-radius: 15px;
}

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

.recent-games-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  /* width:124px; */
  max-width: 170px;
  gap: 4px;
}

.recent-games-name {
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-gray11);
}

.recent-games-rating {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  color: var(--color-gray11);
  gap: 6px;
}

.recent-games-rating img {
  width: 14px;
  height: 14px;
}

.recent-games-score {
  font-weight: 600;
}

.recent-games-count {
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-gray8);
}

.recent-games-button {
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 40px;
  margin-top: 10px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--color-white);
  border: 0;
  border-radius: 8px;
  background: var(--color-blue7);
  gap: 6px;
}

.recent-games-button img {
  display: block;
  width: 6px;
  height: 8px;
}

.recent-games-divider {
  flex: 0 0 2px;
  width: 2px;
  height: 90px;
  background: #E6E7EB;
}

.card-type-buy .recent-games-button {
  background-color: var(--color-green7);
}

.trade-top10 {
  margin-bottom: 43px;
  padding: 40px 0 30px;
  background: #F8F8F8;
}

.trade-top10-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 15px;
}

.trade-top10-title {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--color-gray11);
}

.trade-top10-highlight {
  font-weight: 900;
  color: var(--color-gray11);
}

.trade-top10-more {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-left: 14px;
  color: #666;
}

.trade-top10-plus {
  font-size: 15px;
  font-weight: 400;
  position: absolute;
  top: -1px;
  left: 0;
  color: #666;
}

.trade-top10-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(100%, 192px);
  max-width: 192px;
  gap: 12px;
  box-sizing: border-box;
}

.trade-top10-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 192px;
  max-height: 192px;
  aspect-ratio: 1;
  border-radius: 20px;
  box-sizing: border-box;
}

.trade-top10-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 192px;
  max-height: 192px;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}

.trade-top10-mask--glow {
  position: absolute;
  z-index: 1;
  bottom: 0;
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.trade-top10-badge {
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  top: 12px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 23px;
  padding: 0 8px 0 22px;
  color: var(--color-white);
  border-radius: 5px;
  background: rgba(31, 31, 31, 0.7) url("../../img3.itemmania.com/images2026/icon/icon-bars.png") no-repeat 5px 50%;
  gap: 5px;
}

.trade-top10-badge img {
  width: 10px;
  height: 7px;
}

.trade-top10-name {
  font-size: 15px;
  font-weight: 700;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 50%;
  padding-bottom: 10px;
  transform: translateX(-50%);
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0));
}

.trade-top10-parentheses {
  margin: 0 -5px;
}

.trade-top10-tag {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 10px;
  color: var(--color-white);
  border-radius: 4px;
  background: var(--color-gray11);
}

.trade-top10-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  gap: 15px;
}

.trade-top10-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #CFD3DA;
  border-radius: 10px;
  background: var(--color-white);
}

.trade-top10-nav img {
  display: block;
  width: 6px;
  height: 7px;
}

.trade-top10-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-top10-progress-track {
  position: relative;
  width: 165px;
  height: 2px;
  background: #D9D9D9;
}

.trade-top10-progress-bar {
  width: 40px;
  height: 2px;
  background: var(--color-blue7);
}

.trade-top10-progress-text {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: #444;
}

.trade-top10-progress-text span {
  color: #A4A4A4;
}

.swiper-button-prev {
  left: -15px;
  width: 37px;
  height: 37px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px #CBCBCB;
}

.swiper-button-prev:after {
  width: 9px;
  height: 15px;
  content: '';
  background: url("../../img3.itemmania.com/images2026/icon/icon_list_left.png");
}

.swiper-button-next {
  right: -15px;
  width: 37px;
  height: 37px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px #CBCBCB;
}

.swiper-button-next:after {
  width: 9px;
  height: 15px;
  content: '';
  background: url("../../img3.itemmania.com/images2026/icon/icon_list_right.png");
}

.price-trend {
  margin-bottom: 17px;
  padding-top: 10px;
  overflow: visible;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.price-trend-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  gap: 15px;
  overflow: visible;
}

.price-trend-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--color-gray11);
}

.price-trend-highlight {
  font-weight: 600;
  color: var(--color-gray11);
}

.price-trend-swiper-wrapper {
  position: relative;
  overflow: visible;
  --price-trend-nav-btn-size: 37px;
}

.price-trend-swiper-wrapper .swiper-buttons {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.price-trend-swiper-wrapper .swiper-buttons .swiper-button-next,
.price-trend-swiper-wrapper .swiper-buttons .swiper-button-prev {
  pointer-events: auto;
}

.price-trend-swiper-wrapper .swiper-button-next,
.price-trend-swiper-wrapper .swiper-button-prev {
  position: absolute !important;
  margin-top: 0 !important;
  top: 50% !important;
}

.price-trend-swiper-wrapper .swiper-button-prev {
  left: calc(-0.5 * var(--price-trend-nav-btn-size) - 20px) !important;
  right: auto !important;
  transform: translateY(-50%) !important;
}

.price-trend-swiper-wrapper .swiper-button-next {
  left: auto !important;
  right: calc(-0.5 * var(--price-trend-nav-btn-size) - 20px) !important;
  transform: translateY(-50%) !important;
}

.price-trend-swiper {
  width: calc(100% + 20px);
  margin-left: -10px;
  padding: 10px;
  overflow: hidden;
}

.price-trend-swiper.swiper-grid > .price-trend-list.swiper-wrapper {
  align-items: stretch;
}

.price-trend-list {
  display: flex;
  align-items: stretch;
}

.price-trend-card {
  width: 312px;
  max-width: 100%;
  height: auto;
}

.price-trend-swiper.swiper-grid .price-trend-card {
  width: auto;
}

.price-trend-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  padding: 16px 22px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 0 7px #D2D2D2;
}

.price-trend-info {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.price-trend-thumb {
  overflow: hidden;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 0 6px #D2D2D2;
}

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

.price-trend-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 198px;
  gap: 5px;
}

.price-trend-text p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.price-trend-name {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--color-gray11);
  gap: 6px;
}

.price-trend-badge {
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  color: #1773EE;
  border-radius: 3px;
  background: #F2F7FE;
}

.price-trend-sub {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  color: var(--color-gray11);
}

.price-trend-sub span {
  margin-left: 6px;
  color: var(--color-gray8);
}

.price-trend-price {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--color-blue7);
}

.price-trend-price em {
  font-size: 15px;
  font-weight: 500;
  margin-left: 3px;
  color: #565656;
}

.trade-top10-change {
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  color: var(--color-gray8);
  gap: 6px;
  margin: 0 5px;
}

.trade-top10-change span {
  overflow: hidden;
  max-width: 140px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.trade-top10-change-won {
  font-weight: 500;
  color: var(--color-gray8);
}

.trade-top10-change-up {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding-left: 10px;
  color: var(--theme-sell, var(--color-red7));
  background: url("../../img2.itemmania.com/images2026/icon/icon-up.png") no-repeat 0 50%/7px auto;
  gap: 4px;
}

.trade-top10-change-down {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding-left: 10px;
  color: var(--color-blue7);
  background: url("../../img2.itemmania.com/images2026/icon/icon-down.png") no-repeat 0 50%/7px auto;
  gap: 4px;
}

.price-trend-button {
  font-size: 15px;
  font-weight: 600;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  color: var(--color-white);
  border: 0;
  border-radius: 8px;
  background: var(--color-gray11);
  gap: 5px;
}

.price-trend-button img {
  display: block;
  width: 6px;
  height: 6px;
}

.price-trend-chart {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* 유리(투명) 오버레이: 샘플과 동일 구름 이미지 (img_cloud.png) */
/*.glass-overlay {position:absolute;z-index:1;top:0;bottom:0;left:0;width:70%;pointer-events:none;border-radius:8px;background:linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 25%, rgba(255, 255, 255, 0.35) 55%, rgba(255, 255, 255, 0) 100%);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);mask-image:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.95) 70%, rgba(0, 0, 0, 0.25) 85%, rgba(0, 0, 0, 0) 100%);-webkit-mask-image:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.95) 70%, rgba(0, 0, 0, 0.25) 85%, rgba(0, 0, 0, 0) 100%);}*/
.glass-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 80px;
  width: 92px;
  height: 180px;
  pointer-events: none;
  background: url("../images/from_template/main/img_cloud.png") no-repeat;
}

.notice-strip {
  margin-bottom: 17px;
  padding: 30px 0 0;
}

.notice-strip-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  height: 60px;
  margin: 0 auto;
  padding: 0 25px;
  border-radius: 10px;
  background: #363636;
  gap: 19px;
}

.notice-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.notice-strip-icon img {
  display: block;
  width: 24px;
  height: 18px;
}

.notice-strip-inner dd {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  width: 450px;
  color: var(--color-white);
  gap: 6px;
}

/* 툴팁 */
.ts-tooltip {
  font-size: 11px;
  z-index: 2;
  padding: 4px 10px;
  white-space: nowrap;
  color: #2D5BE3;
  border: 1px solid var(--color-blue7);
  border-radius: 999px;
  background: #FFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

/* Responsive adjustments (미디어 구간은 추후 조정; 아래 and 조건은 기존과 동일) */
@media (max-width: 1040px) and (min-width: 1041px) {
  .hero-cards {
    flex-wrap: wrap;
  }

  .hero-card {
    width: calc(50% - 8px);
    height: auto;
  }

  .trade-top10-grid .trade-top10-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .trade-top10-grid .trade-top10-card {
    min-width: 0;
  }

  .price-trend-grid {
    flex-direction: column;
  }

  .price-trend-card.wide {
    width: 100%;
  }

  .info-bar-inner {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .notice-strip-inner {
    flex-direction: column;
    height: auto;
    padding: 15px 25px;
    gap: 10px;
  }

  .g_search_wrapper .search_area {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .g_search_wrapper .search_area .g_text {
    flex: 1 1 140px;
    min-width: 0;
    width: auto;
  }
}

/* 메인 배너 섹션만: 슬라이드+안내 바가 뷰포트 안에 맞도록 (다른 영역·전역 min-width 미변경) */
@media (max-width: 1080px) {
  section.main-banner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  section.main-banner .main-banner-inner.content_center {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  section.main-banner .main-banner-notice {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 60px;
    padding: 12px 16px;
    gap: 12px 16px;
    justify-content: space-between;
  }

  section.main-banner .main-banner-notice-left {
    flex: 1 1 200px;
    min-width: 0;
    align-items: flex-start;
  }

  section.main-banner .main-banner-notice-text {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
  }

  section.main-banner .main-banner-notice-title,
  section.main-banner .main-banner-notice-desc {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  section.main-banner .main-banner-notice-link {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  section.main-banner .main-banner-notice-link {
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .is-mobile .hero-card {
    width: 100%;
  }

  .is-mobile .header-nav {
    display: none;
  }

  /* On mobile, use side menu only */
  .is-mobile .header-actions {
    margin-left: auto;
  }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  body.is-mobile {
    padding: 0;
    min-width: 320px;
    overflow-x: hidden;
  }

  .is-mobile .content_center,
  .is-mobile .g_container {
    min-width: 0;
  }

  .is-mobile .header-inner {
    padding: 10px;
    width: 100%;
  }

  .is-mobile .hero {
    padding: 20px 10px;
  }

  .is-mobile .trade-top10 {
    padding: 20px 10px;
  }

  .is-mobile .trade-top10-grid .trade-top10-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .is-mobile .trade-top10-grid .trade-top10-card {
    min-width: 0;
  }

  .is-mobile .g_search_wrapper .search_area {
    width: 100%;
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 8px;
  }

  .is-mobile .g_search_wrapper .search_area .g_text {
    flex: 1 1 120px;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
  }

  .is-mobile .g_search_wrapper .search_area .g_search_list {
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .is-mobile .header-logo img {
    width: 150px;
    height: auto;
  }
}

/* 헤더 바로 아래 티커 배너 (이미지와 동일 시각효과) */
.premium_ticker_wrap.premium_ticker_global {
  width: 100%;
  min-height: 48px;
  background: #E8ECF4;
  display: flex;
  align-items: center;
  margin: 0;
  border-radius: 0;
  border: none;
}

.premium_ticker_global .premium_ticker_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 1080px;
  max-width: var(--content-max, 1280px);
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.premium_ticker_global .ticker_left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-font, #2E2E2E);
}

.premium_ticker_global .ticker_status_dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green5, #00B45F);
  flex-shrink: 0;
}

.premium_ticker_global .ticker_count {
  color: #2E2E2E;
  font-weight: 700;
}

.premium_ticker_global .ticker_right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-font-gray, #666);
}

.premium_ticker_global .ticker_icon_search {
  flex-shrink: 0;
  color: var(--color-gray8, #636363);
}

.premium_ticker_global .ticker_label_text {
  color: var(--color-font-gray, #666);
}

.premium_ticker_global .ticker_rank {
  color: var(--color-font-gray, #666);
}

.premium_ticker_global .ticker_keyword {
  color: #2E2E2E;
  font-weight: 700;
}

/* ========== #g_CONTENT 판매/구매 등록 페이지 (샘플 아이템매니아 구조 동일) ========== */
#g_CONTENT .g_content {
  padding: 0 1px 40px 1px;
  animation: registerContentFadeIn 0.4s ease-out;
}

/* transform 미사용: 조상에 transform이 있으면 position:fixed가 뷰포트가 아닌 박스에 묶임 */
@keyframes registerContentFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


#g_CONTENT .sub_title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-font, #2E2E2E);
  margin: 0 0 12px;
  display: block;
}

#g_CONTENT .sub_title.flex_box.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

#g_CONTENT .sub_title.flex_center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

#g_CONTENT .pb-50 { padding-bottom: 24px; }



#g_CONTENT .help_txt {
  font-size: 12px;
  color: var(--color-font-gray, #767676);
  margin: 6px 0 0;
}

#g_CONTENT .warning_txt {
  font-size: 12px;
  color: var(--theme-sell, var(--color-red7, #F00));
  margin: 6px 0 0;
}


/* 우측: 판매자 캐릭터명, 유료서비스, 결제 */
#g_CONTENT .sub_info_area.wrapper .warning_has {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

#g_CONTENT .sub_info_area .input_txt.border-normal {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--theme-input-border, var(--color-gray3, #DDD));
  border-radius: 8px;
  font-size: 14px;
}

#g_CONTENT .btn_blue {
  padding: 10px 16px;
  background: var(--color-blue7, #2280FF);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#g_CONTENT .btn_blue:hover {
  background: var(--color-blue8, #216ED7);
}

#g_CONTENT .btn_credit {
  font-size: 12px;
  color: var(--color-blue7, #2280FF);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#g_CONTENT .btn_credit:hover {
  text-decoration: underline;
}


#g_CONTENT .custom_check_box.blue {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-gray5, #B7B7B7);
  border-radius: 4px;
  background: var(--color-white);
  flex-shrink: 0;
}

/* 커스텀 체크: 네이티브 input은 숨기고 .custom_check_box만 표시 */
#g_CONTENT label.custom_check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}
#g_CONTENT label.custom_check input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
#g_CONTENT label.custom_check .custom_check_box.blue {
  position: relative;
}
#g_CONTENT label.custom_check input[type="checkbox"]:checked ~ .custom_check_box.blue {
  border-color: var(--color-blue7, #2280ff);
  background: var(--color-blue7, #2280ff);
}
#g_CONTENT label.custom_check input[type="checkbox"]:checked ~ .custom_check_box.blue::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}



/* 페이지별 배너 (관리자에서 등록, PC/모바일 이미지 분리) */
.page-banner-wrap {
  margin-bottom: 16px;
  width: 100%;
}
.page-banner-item {
  width: 100%;
}
.page-banner-item a {
  display: block;
  line-height: 0;
}
.page-banner-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.page-banner-pc {
  display: block;
}
.page-banner-mobile {
  display: none;
}
@media (max-width: 768px) {
  .page-banner-pc {
    display: none;
  }
  .page-banner-mobile {
    display: block;
  }
}

/* 시세 트렌드 네비(메인): Swiper 번들보다 앞서 로드되는 페이지용 보강 — index는 extra_css에서 한 번 더 덮음 */
main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-prev {
  left: calc(-0.5 * var(--price-trend-nav-btn-size) - 12px) !important;
  right: auto !important;
  transform: translateY(-50%) !important;
}
main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-next {
  right: calc(-0.5 * var(--price-trend-nav-btn-size) - 12px) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
}

/* 시세 트렌드(메인) 최종 오버라이드: 참조 이미지와 같은 3열 x 2행 카드 프레임 */
main#g_CONTENT section.price-trend .price-trend-swiper-wrapper {
  --price-trend-nav-btn-size: 38px;
  /* blur 14px 그대로보다 실제 보이는 음영은 더 좁아서 시각적으로 맞춘 값 */
  --price-trend-shadow-bleed: 10px;
  position: relative;
  width: 1092px;
  max-width: 1092px;
  margin: 0 auto;
  padding: 2px 0;
  overflow: visible;
  box-sizing: border-box;
}

main#g_CONTENT section.price-trend .price-trend-swiper {
  width: calc(100%);
  max-width: none;
  margin: 0 -10px;
  /* 좌우 -10px 확장 + 내부 10px 패딩으로, 카드 그림자가 프레임에 닿는 1072 콘텐츠 폭 */
  padding: 4px var(--price-trend-shadow-bleed) 6px;
  box-sizing: border-box;
  overflow: hidden;
}

main#g_CONTENT section.price-trend .price-trend-list.swiper-wrapper {
  align-items: stretch;
}

main#g_CONTENT section.price-trend .price-trend-card.swiper-slide {
  height: auto;
}

main#g_CONTENT section.price-trend .price-trend-card-body {
  height: 182px;
  padding: 20px 30px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(28, 39, 64, 0.08);
}

main#g_CONTENT section.price-trend .price-trend-info {
  gap: 15px;
}

main#g_CONTENT section.price-trend .price-trend-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(28, 39, 64, 0.12);
}

main#g_CONTENT section.price-trend .price-trend-text {
  max-width: 204px;
  gap: 4px;
}

main#g_CONTENT section.price-trend .price-trend-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  gap: 6px;
}

main#g_CONTENT section.price-trend .price-trend-badge {
  height: 17px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

main#g_CONTENT section.price-trend .price-trend-sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

main#g_CONTENT section.price-trend .price-trend-price {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

main#g_CONTENT section.price-trend .price-trend-price em {
  font-size: 17px;
}

main#g_CONTENT section.price-trend .trade-top10-change {
  gap: 4px;
  margin: 0 0 0 4px;
  font-size: 13px;
  font-weight: 500;
}

main#g_CONTENT section.price-trend .trade-top10-change span {
  max-width: none;
}

main#g_CONTENT section.price-trend .price-trend-button {
  width: 124px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

main#g_CONTENT section.price-trend .price-trend-button img {
  width: 6px;
  height: 8px;
}

main#g_CONTENT section.price-trend .price-trend-chart svg {
  width: 190px;
  height: 90px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

main#g_CONTENT section.price-trend .glass-overlay {
  left: 78px;
  width: 96px;
  height: 182px;
  background-size: 100% 100%;
}

main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-buttons {
  top: 0;
  right: auto;
  bottom: 0;
  left: 3px;
  width: 1076px;
}

main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-prev,
main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-next {
  width: var(--price-trend-nav-btn-size);
  height: var(--price-trend-nav-btn-size);
  border: 1px solid #edf1f6;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 3px 12px rgba(28, 39, 64, 0.12);
}

main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-prev {
  left: -20px !important;
  background-image: url("../images/from_template/icon/price-trend-prev.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
}

main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-next {
  right: -10px !important;
  background-image: url("../images/from_template/icon/price-trend-next.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
}

main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-prev.swiper-button-disabled,
main#g_CONTENT section.price-trend .price-trend-swiper-wrapper .swiper-button-next.swiper-button-disabled {
  opacity: 0.55;
}

/* Quill(상세설명) HTML 표시 */
.listing_description_richtext p,
.my_listing_description .listing_description_richtext p {
  margin: 0 0 0.65em;
}
.listing_description_richtext ul,
.listing_description_richtext ol,
.my_listing_description .listing_description_richtext ul,
.my_listing_description .listing_description_richtext ol {
  margin: 0.4em 0;
  padding-left: 1.35em;
}
.listing_description_richtext img,
.my_listing_description .listing_description_richtext img {
  max-width: 100%;
  height: auto;
}

/* 좌측 사이드 nav(상품권몰·고객센터 등): 메뉴 문구 줄바꿈 방지 */
#g_CONTENT > div > nav > div > div.nav {
  white-space: nowrap;
}