/* Premium Trade List Styles to match the provided image */

:root {
    --premium-blue: #159EFD;
    --premium-bg: #F0F4FF;
    --premium-border: #E3E3E3;
    --premium-text: #2E2E2E;
    --premium-gray: #767676;
    --premium-red: #D62222;
    --premium-purple: #B0A1F7;
}

#g_BODY .list_top_wrap,
.list_top_wrap {
    width: max(100vw, 1280px);
    max-width: none;
    min-width: 0;
    margin-left: calc(50% - max(50vw, 640px));
    margin-right: calc(50% - max(50vw, 640px));
    box-sizing: border-box;
    background-color: var(--premium-bg);
    padding: 0;
    margin-bottom: 20px;
}

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

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

.list_top_ticker_bleed .premium_ticker_wrap {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.premium_ticker_wrap {
    display: flex;
    align-items: center;
    height: 54px;
    background: linear-gradient(90deg, #2299FF 0%, #66CCFF 50%, #CCAAFF 100%);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    color: #fff;
}

.ticker_label {
    padding: 0 30px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker_content {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    height: 100%;
}

.ticker_content .swiper {
    height: 100%;
    width: 100%;
    min-width: 0;
}

.ticker_content .swiper-slide {
    width: 100%;
    box-sizing: border-box;
}

.ticker_content .slide_item,
.ticker_content .ticker_slide_item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 54px;
    gap: 12px;
    font-size: 15px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 4px 0 0;
}

.ticker_content .ticker_slide_item .ticker_part {
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker_content .ticker_slide_item .ticker_game {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
    min-width: 0;
}

.ticker_content .ticker_slide_item .ticker_part:not(:last-child)::after {
    content: '|';
    margin-left: 16px;
    opacity: 0.8;
}

.ticker_content .ticker_amount {
    font-weight: 700;
}

.ticker_content .subject {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker_content .price {
    font-weight: 700;
}

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

.ticker_price {
    background: transparent;
    border: none;
    box-shadow: none;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px 0 20px;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Game Info Section */
.premium_game_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 25px;
}

.game_title_box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-back-btn {
    display: none !important;
}

.game_icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--c-surface-2, #F2F2F3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game_icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game_name {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #2e2e2e;
}

.game_name .server_name {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-left: 10px;
}

/* ── 팝니다/삽니다 토글 (모바일 기본값 — pill 스타일) ── */
.trade_type_toggle {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 44px;
    padding: 4px;
    background: #F2F4F8;
    border-radius: 999px;
    border: 1px solid #E7EAF0;
    box-sizing: border-box;
    gap: 2px;
}
.trade_type_toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 100%;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #8A8F9A;
    letter-spacing: -0.2px;
    text-decoration: none;
    transition: color .15s, background .15s, box-shadow .2s;
}
.trade_type_toggle a:hover { color: #333; }
#g_BODY .trade_type_toggle a.trade_type_sell.active,
.trade_type_toggle a.trade_type_sell.active {
    background: #fff; color: #24B54A;
    box-shadow: 0 2px 6px rgba(36,181,74,.18), 0 1px 2px rgba(0,0,0,.04);
}
#g_BODY .trade_type_toggle a.trade_type_buy.active,
.trade_type_toggle a.trade_type_buy.active {
    background: #fff; color: #46AFD2;
    box-shadow: 0 2px 6px rgba(70,175,210,.20), 0 1px 2px rgba(0,0,0,.04);
}

/* ── 필터 카드 (바로템 스타일) ── */
.premium_filter_box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
}

/* 팝니다/삽니다 — 카드 상단 전체 너비 탭 */
.premium_filter_box .trade_type_toggle {
    display: flex;
    width: 100%;
    height: 50px;
    background: #f8f9fb;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    gap: 0;
}
.premium_filter_box .trade_type_toggle a {
    flex: 1;
    min-width: 0;
    height: 100%;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    color: #999;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s, background .15s;
}
.premium_filter_box .trade_type_toggle a:hover { color: #444; background: #f0f2f5; }
#g_BODY .premium_filter_box .trade_type_toggle a.trade_type_sell.active,
.premium_filter_box .trade_type_toggle a.trade_type_sell.active {
    background: #fff; color: #24B54A; border-bottom-color: #24B54A; box-shadow: none;
}
#g_BODY .premium_filter_box .trade_type_toggle a.trade_type_buy.active,
.premium_filter_box .trade_type_toggle a.trade_type_buy.active {
    background: #fff; color: #46AFD2; border-bottom-color: #46AFD2; box-shadow: none;
}

/* ── 필터 행 공통 (라벨 + 칩) ── */
.filter-row-wrap {
    display: flex;
    align-items: flex-start;
    padding: 13px 20px;
    border-bottom: 1px solid #f0f2f5;
    gap: 0;
}
.filter-row-label {
    display: none;
}

/* 물품 행 카테고리 탭 */
.filter-row-goods .category_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 0;
}
.filter-row-goods .category_tabs a {
    flex: none;
    height: auto;
    padding: 5px 14px;
    border: 1px solid #dde2ec;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    background: #fff;
}
.filter-row-goods .category_tabs a.active {
    background: var(--premium-blue);
    border-color: var(--premium-blue);
    color: #fff;
    font-weight: 600;
}
/* ── PC 필터 토글 버튼 ── */
.filter-row-goods .category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0;
    padding: 5px 13px;
    border: 1px solid #dde2ec;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.filter-row-goods .category-filter-btn:hover {
    border-color: var(--premium-blue);
    color: var(--premium-blue);
    background: #f5fbff;
}
.filter-row-goods .category-filter-btn.on {
    background: #eaf5ff;
    border-color: var(--premium-blue);
    color: var(--premium-blue);
    font-weight: 600;
}
.filter-icon-mobile  { display: none; }          /* PC: 아이콘 숨김 */
.filter-btn-text     { display: inline; }         /* PC: 텍스트 표시 */
.filter-btn-chevron  {
    display: inline-block;
    transition: transform .2s;
    flex-shrink: 0;
}
.category-filter-btn.on .filter-btn-chevron { transform: rotate(180deg); }

/* filter_footer — 펼친 상태에서만 표시 */
.filter_footer { display: none; }
.premium_filter_box.filter-expanded .filter_footer { display: flex; }

/* ── 필터 확장 영역 — 기본 접힘, .show 시 펼침 ── */
.filter_expand_body {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
}
.filter_expand_body.show {
    display: flex;
}
.filter_row {
    display: flex;
    align-items: flex-start;
    padding: 11px 20px;
    border-bottom: 1px solid #f0f2f5;
    gap: 0;
}
.filter_row .filter-row-label {
    font-size: 13px;
    font-weight: 600;
    color: #5a6070;
    min-width: 68px;
    flex-shrink: 0;
    padding-top: 5px;
}
.filter-row-choices-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.filter_row .row_label_btn {
    padding: 5px 14px;
    border: 1px solid #dde2ec;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    background: #fff;
    min-width: 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}
.filter_row .row_choices {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.filter_row .row_choices button,
.filter_row .row_choices a {
    padding: 5px 14px;
    border: 1px solid #dde2ec;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    background: #fff;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}
.filter_row .row_label_btn.active,
.filter_row .row_choices a.active,
.filter_row .row_choices button.active {
    background: var(--premium-blue);
    border-color: var(--premium-blue);
    color: #fff;
    font-weight: 600;
}

/* 필터 카드 하단 (초기화) — display 는 상단 규칙이 제어 */
.filter_footer {
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    min-height: 0;
}
.reset_filter--desktop {
    position: static;
    right: auto;
}

.expand_filter {
    display: none;
}

.category_tabs {
    display: flex;
    gap: 7px;
}

/* 서버 선택: 헤더 + 접기/펼치기 */
.server_tags_section {
    margin-top: 4px;
}

.server_tags_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.server_tags_title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--premium-text);
}

.server_tags_title_dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff8c42;
    flex-shrink: 0;
}

.server_tags_toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    flex-shrink: 0;
}

.server_tags_toggle:hover {
    color: var(--premium-blue);
}

.server_tags_chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.server_tags_section.is-expanded .server_tags_chevron {
    transform: rotate(180deg);
}

.server_tags_scroll {
    overflow: hidden;
    /* max-height는 JS가 실제 scrollHeight(px)로 맞춰 애니메이션 (고정 3000→44 전환 시 끊김 방지) */
    transition: max-height 0.45s cubic-bezier(0.33, 1, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
    .server_tags_scroll {
        transition-duration: 0.01ms;
    }
}

/* 접힘: 태그 1줄만 (두 번째 줄·아래 여백 숨김) */
.server_tags_section:not(.is-expanded) .server_tags_scroll {
    max-height: 44px;
}

/* 펼침: max-height 미지정 → 콘텐츠 전체. 애니메이션은 JS가 px로 제어 */

.server_tags_section:not(.is-expanded) .server_tags {
    padding-bottom: 0;
}

.server_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
    padding: 0 0 20px;
}

.server_tags a {
    padding: 8px 14px;
    border: 1px solid var(--premium-border);
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    background: #fff;
    min-width: 60px;
    text-align: center;
}

.server_tags a.active {
    border-color: var(--premium-blue);
    color: var(--premium-blue);
    font-weight: 600;
}

.reset_filter {
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

/* List Header Info */
.premium_list_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 20px;
}

.list_summary_count {
    font-size: 17px;
    font-weight: 500;
}

.list_summary_count .count {
    color: var(--premium-red);
    font-weight: 700;
}

.list_search_bar {
    display: flex;
    align-items: center;
    background: #F0F0F0;
    border-radius: 20px;
    padding: 4px 15px;
    width: 320px;
}

.list_search_bar input {
    background: none;
    border: none;
    padding: 8px;
    flex: 1;
    outline: none;
    font-size: 14px;
}

.list_search_bar .search_icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

/* Item List Section */
.premium_section_title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.premium_section + .premium_section {
    margin-top: 34px;
}

.premium_item_list {
    background: #fff;
    border: 1px solid #C6D9FF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.premium_item_row {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #f2f5ff;
    gap: 24px;
    transition: background 0.2s;
}

.premium_item_row:hover {
    background: #f8fbff;
}

.premium_item_row:last-child {
    border-bottom: none;
}

/* 거래종료/취소 내역: 흑백 특수 효과 */
.premium_item_row.is_closed {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: 0.6;
    background: #fafafa;
}

.premium_item_row.is_closed:hover {
    filter: grayscale(85%);
    -webkit-filter: grayscale(85%);
    opacity: 0.75;
    background: #f3f3f3;
}

.premium_item_row.is_closed .item_title,
.premium_item_row.is_closed .item_price,
.premium_item_row.is_closed .item_price_main {
    color: #888 !important;
    text-decoration: line-through;
    text-decoration-color: #b0b0b0;
}

.premium_item_row.is_closed .item_server,
.premium_item_row.is_closed .item_quantity,
.premium_item_row.is_closed .item_price_sub,
.premium_item_row.is_closed .item_time {
    color: #a0a0a0 !important;
}

.item_icon {
    width: 40px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item_icon .credit_mark_new {
    width: 40px;
    height: 42px;
}

.item_icon .game_logo_img {
    width: 40px;
    height: 42px;
    object-fit: contain;
}

.item_main_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item_server {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.item_title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    width: 60%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
}

.item_title em {
    color: var(--premium-blue);
    font-style: normal;
}

/* 제목 열과 금액 열 사이: 수량 가로·세로 중앙 */
.item_quantity_col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 120px;
    max-width: 200px;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
}

.item_price_col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 140px;
}

.item_quantity {
    font-size: 14px;
    color: #777;
    white-space: nowrap;
}

.item_price {
    font-size: 20px;
    font-weight: 800;
    color: var(--premium-blue);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 140px;
}

.item_price_main {
    font-size: 20px;
    font-weight: 800;
    color: var(--premium-blue);
    line-height: 1.1;
}

.premium_section--regular .item_price,
.premium_section--regular .item_price_main {
    color: #333;
}

.item_price_sub {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    line-height: 1.2;
}

.item_meta_line {
    display: inline-block;
    line-height: 1.2;
}

.item_price small {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-right: 4px;
}

.item_time {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #999;
}

/* Header modifications for overall look */
.header-main {
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-inner {
    height: 100px !important;
}

.header-nav {
    gap: 30px !important;
}

/* 로그인/회원가입: 헤더 액션은 텍스트 링크 (itemmania와 동일) */
.g_header .header-actions .header-login,
.g_header .header-actions .header-signup {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    color: var(--color-font, #333) !important;
}

/* Base Search Bar matching image */
.header-search {
    padding: 10px 0 30px !important;
}

/* 검색창 본문 스타일은 itemmania.css (알약형·플렉스)와 동기화 */
.g_search_wrapper .search_area {
    border: 4px solid var(--color-blue7);
    border-radius: 28px;
    min-height: 54px;
    height: auto;
    padding-left: 8px;
}

.g_search_wrapper .search_area.focus_on {
    border-bottom-color: transparent;
    border-radius: 28px 28px 0 0;
}

.g_search_wrapper .g_trade_type {
    width: 120px !important;
}

.g_search_wrapper .trade_type_btn {
    font-size: 16px !important;
}

/* 목록 페이지: 상품등록 CTA (연한 배경·파란 테두리·원형 +) */
.trade-btn .trade-btn-blue {
    min-height: 51px !important;
    height: 51px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    padding: 0 24px !important;
    border-radius: 14px !important;
    border: 2px solid #79a9ef !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    background: #c9defb !important;
    color: #1f79e8 !important;
}

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

.trade-btn .trade-btn-blue .hero-cta-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--color-white) !important;
    border-radius: 50% !important;
    background: #2f81ed !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
    overflow: hidden !important;
    transform: none !important;
}

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

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

/* Footer note */
.footer-note-line {
    background: #E3E3E3 !important;
}

/* Logo Styling */
.header-logo .logo-text {
    display: inline-flex !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    letter-spacing: -1px;
}

.header-logo .logo-text::first-letter {
    color: #00B45F;
    /* Green for '1' */
}

/* ============================================================
   RESPONSIVE — 판매/구매 목록 페이지 (PC → 모바일)
   ============================================================ */
@media (max-width: 1024px) {
  #g_BODY .list_top_wrap,
  .list_top_wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .list_top_ticker_bleed { margin-bottom: 20px; }
  .premium_filter_box {
    padding: 0;
    border-radius: 8px;
  }
}

@media (max-width: 767px) {
  /* 실시간 종료 티커 */
  .premium_ticker_wrap { height: 44px; }
  .ticker_label { padding: 0 14px; font-size: 13px; }
  .ticker_content { padding: 0 10px; }
  .ticker_content .slide_item,
  .ticker_content .ticker_slide_item { height: 44px; font-size: 13px; gap: 8px; }
  .list_top_ticker_bleed { margin-bottom: 16px; }

  /* ── 게임 타이틀 영역 ── */
  .premium_game_info {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
  }
  .game_title_box {
    gap: 12px;
    align-items: center;
    background: transparent;
    margin: 0;
    padding: 14px 14px;
    flex: 1;
    border-bottom: none;
  }
  .game_icon { width: 44px; height: 44px; border-radius: 8px; }
  .game_icon img,
  .game_icon .game_logo_img { width: 44px; height: 44px; }
  .game_name {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
  }
  .game_name .server_name {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    background: #f4f5f8;
    border-radius: 99px;
    padding: 2px 9px;
    margin-left: 8px;
    line-height: 1.8;
    vertical-align: middle;
  }

  /* list_top_wrap — g_container 패딩(16px) 상쇄해서 화면 끝까지 확장 */
  #g_BODY .list_top_wrap,
  .list_top_wrap {
    background: transparent;
    padding-bottom: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
  }

  /* 게임 타이틀 헤더 배경 — content_center 패딩(16px) 상쇄해 화면 끝까지 확장 */
  .trade_game {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 60%, #c7d2fe 100%);
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    box-sizing: border-box;
  }

  /* 필터 박스 — 모바일: 카드 스타일 제거 */
  #g_BODY .premium_filter_box,
  .premium_filter_box {
    padding: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 0;
  }

  /* 팝니다/삽니다 — 전폭 탭 + 언더라인 */
  .premium_filter_box .trade_type_toggle {
    display: flex;
    width: 100%;
    height: 44px;
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e8eaed;
    padding: 0;
    gap: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .premium_filter_box .trade_type_toggle a {
    flex: 1;
    min-width: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: #aab0bd;
    transition: color .15s, border-color .15s;
  }
  #g_BODY .premium_filter_box .trade_type_toggle a.trade_type_sell.active,
  .premium_filter_box .trade_type_toggle a.trade_type_sell.active {
    background: transparent;
    color: #24B54A;
    border-bottom-color: #24B54A;
    box-shadow: none;
  }
  #g_BODY .premium_filter_box .trade_type_toggle a.trade_type_buy.active,
  .premium_filter_box .trade_type_toggle a.trade_type_buy.active {
    background: transparent;
    color: #46AFD2;
    border-bottom-color: #46AFD2;
    box-shadow: none;
  }

  /* filter-row-wrap: 물품 탭 행 */
  .filter-row-wrap { border: none; padding: 0 14px 10px; }
  .filter-row-label { display: none; }

  /* 카테고리 탭 — 가로 스크롤 chips */
  .category_tabs,
  .filter-row-goods .category_tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding: 10px 0 2px;
    background: transparent;
    border-radius: 0;
  }
  .category_tabs::-webkit-scrollbar { display: none; }
  .filter-row-goods .category_tabs a,
  .category_tabs a {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 16px;
    border: 1.5px solid #e0e4ec;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .filter-row-goods .category_tabs a.active,
  .category_tabs a.active {
    background: #24B54A;
    border-color: #24B54A;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(36,181,74,.22);
  }
  /* 모바일 필터 버튼 — 아이콘만 */
  .filter-row-goods .category-filter-btn {
    margin-left: 0;
    padding: 0;
    border: 1.5px solid #e0e4ec;
    border-radius: 50%;
    width: 32px; height: 32px;
    flex: 0 0 32px;
    background: #fff;
    display: flex;
  }
  .filter-icon-mobile  { display: block; }
  .filter-btn-text     { display: none; }
  .filter-btn-chevron  { display: none; }

  /* 서버 태그 */
  .server_tags_header { margin-bottom: 8px; }
  .server_tags_title { font-size: 14px; }
  .server_tags_toggle { font-size: 13px; }
  .server_tags { gap: 8px; padding-bottom: 14px; }
  .server_tags a { padding: 6px 10px; font-size: 13px; min-width: 0; }
  .server_tags_section:not(.is-expanded) .server_tags_scroll { max-height: 38px; }

  /* 필터 행 — 모바일: display:contents → 모달 내에서만 사용 */
  .filter_expand_body { display: none !important; }
  .filter_row { padding: 8px 0; border: none; }
  .filter_row .filter-row-label { display: block; font-size: 12px; color: #888; padding-top: 0; margin-bottom: 6px; min-width: 0; }
  .filter-row-choices-wrap { flex-direction: column; gap: 6px; }
  .filter_row .row_label_btn {
    border-radius: 6px;
    font-size: 13px;
    padding: 7px 12px;
    width: 100%;
    text-align: left;
  }
  .filter_row .row_choices { gap: 6px; }
  .filter_row .row_choices a,
  .filter_row .row_choices button {
    padding: 7px 12px;
    font-size: 13px;
    flex: 1 1 auto;
    text-align: center;
    border-radius: 6px;
  }
  .filter_footer { display: none; }
  .reset_filter { font-size: 13px; }

  /* 목록 헤더 — 좌우 패딩 통일 */
  .premium_list_header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-top: 12px;
    margin-bottom: 10px;
    padding: 0 14px;
  }
  .list_summary_count { font-size: 13px; color: #888; }
  .list_summary_count .count { color: var(--premium-red); font-weight: 700; }
  .list_search_bar { display: none; } /* 모달 검색으로 대체 */

  /* 전체 컨텐츠 영역 — 좌우 패딩 제거 (아이템 리스트는 전폭) */
  #g_CONTENT .content_center,
  .content_center {
    min-width: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* 섹션 타이틀 */
  .premium_section_title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
    padding: 14px 14px 10px;
    color: #333;
    letter-spacing: -0.2px;
  }
  .premium_section + .premium_section { margin-top: 16px; }
  .premium_list_header { padding: 0 14px; }

  /* 상품 목록 — 전폭, 구분선만 */
  .premium_item_list {
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
  }

  /* ── 매물 행 — 모바일 CSS Grid 레이아웃 ──
     col1(28px) | col2(1fr) | col3(auto)
     row1: 아이콘  | 제목·서버  | 가격
     row2:  —     | 수량       | 날짜
  */
  .premium_item_row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 4px;
    padding: 13px 14px;
    align-items: start;
    border-bottom: 1px solid #f4f5f8;
    /* flex 관련 속성 초기화 */
    flex-wrap: unset;
    gap: unset;
  }
  .premium_item_row:last-child { border-bottom: none; }

  /* 거래종료/취소 — 모바일 흑백 효과 (#g_BODY hover보다 우선) */
  #g_BODY .premium_item_row.is_closed,
  .premium_item_row.is_closed {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: 0.6;
    background: #fafafa !important;
  }
  #g_BODY .premium_item_row.is_closed:hover,
  #g_BODY .premium_item_row.is_closed:active,
  .premium_item_row.is_closed:hover,
  .premium_item_row.is_closed:active {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: 0.65;
    background: #f3f3f3 !important;
  }
  .premium_item_row.is_closed .item_title,
  .premium_item_row.is_closed .item_price,
  .premium_item_row.is_closed .item_price_main {
    color: #888 !important;
    text-decoration: line-through;
    text-decoration-color: #b0b0b0;
  }
  .premium_item_row.is_closed .item_server,
  .premium_item_row.is_closed .item_quantity,
  .premium_item_row.is_closed .item_price_sub,
  .premium_item_row.is_closed .item_time,
  .premium_item_row.is_closed .item_meta_line {
    color: #a0a0a0 !important;
  }

  .item_icon {
    grid-column: 1;
    grid-row: 1;
    width: 36px; height: 38px;
    /* flex order 초기화 */
    order: unset; flex: unset;
  }
  .item_icon .credit_mark_new,
  .item_icon .game_logo_img { width: 36px; height: 38px; }

  .item_main_info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    gap: 2px;
    order: unset; flex: unset;
  }
  .item_server {
    font-size: 11px;
    color: #bbb;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .item_title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    word-break: break-word;
  }

  .item_price_col {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2px;
    min-width: 0;
    order: unset; flex: unset;
  }
  .item_price,
  .item_price_main {
    font-size: 15px;
    font-weight: 800;
    min-width: 0;
    text-align: right;
    white-space: nowrap;
  }
  .item_price { gap: 2px; }
  .item_price_sub { font-size: 11px; color: #aaa; white-space: nowrap; }
  .item_price small { font-size: 12px; }

  .item_quantity_col {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    min-width: 0;
    max-width: none;
    padding: 0;
    align-self: center;
    order: unset; flex: unset;
  }
  .item_quantity { font-size: 12px; color: #bbb; white-space: nowrap; }

  .item_time {
    grid-column: 3;
    grid-row: 2;
    width: auto;
    font-size: 12px;
    color: #bbb;
    text-align: right;
    align-self: center;
    order: unset; flex: unset;
  }
}

@media (max-width: 479px) {
  .game_name { font-size: 16px; }
  .premium_filter_box .trade_type_toggle { height: 40px; }
  .filter-row-wrap { padding: 0 10px 8px; }
  .filter-row-goods .category_tabs a,
  .category_tabs a { height: 30px; padding: 0 11px; font-size: 12px; }
  .category_tabs .category-filter-btn,
  .filter-row-goods .category_tabs .category-filter-btn { width: 30px; height: 30px; flex: 0 0 30px; }
  .premium_item_row { padding: 11px 12px; gap: 5px 8px; }
  .item_title { font-size: 14px; }
  .item_price, .item_price_main { font-size: 15px; }
}

/* ── 필터 팝업 모달 (모바일/좁은 화면) ── */

/* 데스크탑: 모달 래퍼 투명 — 기존 인라인 동작 유지 */
.filter-modal-backdrop  { display: none; }
.filter-modal-hd        { display: none; }
.filter-modal-ft        { display: none; }
.filter-modal-body      { display: contents; }
.filter-modal-search    { display: none; }
.category-filter-btn    { display: none; }

@media (max-width: 767px) {
  /* 백드롭 */
  .filter-modal-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 290;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .filter-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* 바텀시트 패널 */
  .filter-modal {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    /* max-height만 지정 → 내용이 짧으면 모달이 줄어듦 */
    max-height: calc(90dvh - 60px - env(safe-area-inset-bottom, 0px));
    z-index: 295;
    background: #fff;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.32s;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.14);
  }
  .filter-modal.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
  }

  /* 모달 헤더 */
  .filter-modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: relative;
  }
  .filter-modal-handle {
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    border-radius: 2px;
    background: #ddd;
  }
  .filter-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 8px;
  }
  .filter-modal-close {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #555;
    cursor: pointer;
    margin-top: 8px;
  }

  /* 모달 스크롤 영역 */
  .filter-modal-body {
    display: block; /* desktop의 display:contents를 override */
    flex: 0 1 auto; /* 내용 크기로 시작, 넘치면 줄어듦 (grow 안 함 → 빈 공간 없음) */
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    gap: 0;
  }

  /* 모달 푸터 */
  .filter-modal-ft {
    flex-shrink: 0;
  }

  /* 필터 내용 — 모달 안에서 항상 표시 */
  .filter-modal .filter_expand_body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-top: 0;
    border-top: none;
  }
  /* 모달 내 filter_row — 라벨 위, 칩 아래 flex-wrap 행 */
  .filter-modal .filter_row {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    gap: 8px;
  }
  .filter-modal .filter_row:last-child { border-bottom: none; }
  .filter-modal .filter_row .filter-row-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #aab0bd;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0;
    min-width: 0;
  }
  /* 전체 + 선택지 모두 한 행에 flex-wrap */
  .filter-modal .filter-row-choices-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
  }
  /* "전체" 칩 — 다른 칩과 동일한 pill 스타일 */
  .filter-modal .filter_row .row_label_btn {
    border-radius: 20px;
    font-size: 13px;
    padding: 6px 14px;
    width: auto;
    min-width: 0;
    text-align: center;
    border: 1px solid #dde2ec;
    color: #555;
    background: #fff;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
  }
  .filter-modal .filter_row .row_label_btn.active {
    background: var(--premium-blue);
    border-color: var(--premium-blue);
    color: #fff;
    font-weight: 600;
  }
  .filter-modal .filter_row .row_choices {
    display: contents; /* choices 내부 a들이 바로 choices-wrap에 참여 */
  }
  .filter-modal .filter_row .row_choices a,
  .filter-modal .filter_row .row_choices button {
    text-align: center;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    border: 1px solid #dde2ec;
    color: #555;
    background: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    flex: none;
  }
  .filter-modal .filter_row .row_choices a.active,
  .filter-modal .filter_row .row_choices button.active {
    background: var(--premium-blue);
    border-color: var(--premium-blue);
    color: #fff;
    font-weight: 600;
  }
  .filter-modal .server_tags_section {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
  }

  /* 모달 푸터 — 초기화(좌) + 닫기(우) */
  .filter-modal-ft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    gap: 10px;
  }
  .filter-modal-ft .reset_filter {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    flex-shrink: 0;
  }
  .filter-modal-ft .reset_filter:hover { color: #555; }
  .filter-modal-close-btn {
    flex: 1;
    height: 44px;
    background: var(--premium-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .filter-modal-close-btn:active { opacity: 0.88; }

  /* 데스크탑 초기화 숨기기 */
  .reset_filter--desktop { display: none; }

  /* filter_footer 숨기기 */
  .filter_footer { display: none; }

  /* 필터 아이콘 버튼 */
  .category_tabs .category-filter-btn,
  .filter-row-goods .category_tabs .category-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1.5px solid #e0e4ec;
    border-radius: 50%;
    background: #fff;
    color: #666;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
  }
  .category_tabs .category-filter-btn::after { display: none; }

  /* 모달 내 검색폼 */
  .filter-modal-search {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border: 1px solid #e0e4ea;
    border-radius: 12px;
    padding: 0 14px;
    margin-bottom: 16px;
    gap: 8px;
  }
  .filter-modal-search input[type="text"] {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    height: 44px;
    font-size: 16px;
    color: #222;
  }
  .filter-modal-search button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.5;
  }

  /* filter_footer — 모바일에서 "필터 전체보기" 버튼만 */
  .filter_footer {
    justify-content: center;
    min-height: auto;
  }
  .expand_filter {
    width: 100%;
    height: 38px;
    background: #f5f7fa;
    border: 1px solid #e0e4ea;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    justify-content: center;
  }

  #ds_header {
    display: none !important;
  }

  .dvPaging {
    display: none !important;
  }

  .mobile-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: -8px;
  }

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

/* ====== 게임/서버 변경 UI ====== */

/* 게임 변경 트리거 */
.gc_game_trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 4px 6px 4px 0;
    border-radius: 8px;
    outline: none;
}
.gc_game_trigger:hover .game_name,
.gc_game_trigger:focus-visible .game_name { color: #159EFD; }
.gc_edit_icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.gc_game_trigger:hover .gc_edit_icon,
.gc_game_trigger:focus-visible .gc_edit_icon { opacity: 0.8; }

/* 서버 선택 */
.gc_server_wrap { position: relative; }

.server_selector_btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 3px 6px;
    cursor: pointer;
    border-radius: 6px;
}
.server_selector_btn .server_name {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-left: 0;
}
.server_selector_btn:hover { background: rgba(0,0,0,0.05); }
.gc_chevron { color: #999; transition: transform 0.2s; flex-shrink: 0; }
.server_selector_btn.is-open .gc_chevron { transform: rotate(180deg); }

/* 서버 드롭다운 */
.gc_server_dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 150px;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e0e6f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    z-index: 300;
}
.gc_server_dropdown.is-open { display: block; }
.gc_server_item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.1s;
}
.gc_server_item:hover { background: #f5f9ff; color: #159EFD; }
.gc_server_item.is-active { color: #159EFD; font-weight: 700; background: #eef6ff; }

/* 게임 선택 팝업 — 백드롭 */
.gc_picker_backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 500;
}
.gc_picker_backdrop.is-open { display: block; }

/* 게임 선택 팝업 — 패널 (모바일: 바텀시트 / PC: 센터 모달) */
.gc_picker_panel {
    display: none;
    position: fixed;
    z-index: 501;
    background: #fff;
    flex-direction: column;
    overflow: hidden;
    /* 모바일 기본: 바텀시트 */
    bottom: 0; left: 0; right: 0;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
}
.gc_picker_panel.is-open { display: flex; }

@media (min-width: 768px) {
    .gc_picker_panel {
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto; right: auto;
        width: 460px;
        max-height: 540px;
        border-radius: 16px;
    }
}

.gc_picker_hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.gc_picker_title { font-size: 16px; font-weight: 700; color: #111; }
.gc_picker_close {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: none; border: none; cursor: pointer;
    color: #666; border-radius: 8px;
}
.gc_picker_close:hover { background: #f5f5f5; }

.gc_picker_search_wrap {
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.gc_picker_search_icon {
    position: absolute;
    left: 28px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.gc_picker_input {
    width: 100%; height: 42px;
    padding: 0 16px 0 40px;
    font-size: 15px;
    border: 1.5px solid #e0e6f0;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    color: #333;
}
.gc_picker_input:focus { border-color: #159EFD; }

.gc_picker_list { flex: 1; overflow-y: auto; padding: 6px 0; }
.gc_picker_hint {
    padding: 28px 20px;
    font-size: 14px; color: #aaa;
    text-align: center; margin: 0;
}
.gc_picker_item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    background: none; border: none;
    width: 100%; text-align: left;
    font-size: 15px; font-weight: 500; color: #222;
    cursor: pointer; transition: background 0.1s;
}
.gc_picker_item:hover { background: #f5f9ff; color: #159EFD; }
.gc_picker_item_icon {
    width: 34px; height: 34px;
    border-radius: 8px; object-fit: cover;
    background: #f0f0f0; flex-shrink: 0;
}

/* 모바일에서 서버 드롭다운도 적당한 크기로 */
@media (max-width: 767px) {
    .server_selector_btn .server_name { font-size: 12px; }
    .gc_server_dropdown { min-width: 120px; }
    .gc_edit_icon { width: 11px; height: 11px; margin-left: 4px; }
}
