@charset "utf-8";
/* =========================================================
 * custom theme - 상단 네비게이션 (GNB / LNB / 좌측 전체메뉴 / 우측 내 정보 패널)
 * header_popup.css 다음에 로드. 변수(--gh-*)는 header_popup.css :root 에 정의.
 * ========================================================= */

/* ---------- header : 기본(1920 기준) ---------- */
#hd.gh {
    position: absolute; top: 0; left: 0; right: 0; z-index: 100;
    height: calc(var(--gh-top-h) + var(--gh-bar-h));
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 0; color: var(--c-text-strong);
    font-family: var(--gh-font);
}
.gh a, .gh-panel a, .gh-rpanel a { color: inherit; text-decoration: none; }
:where(.gh, .gh-panel, .gh-rpanel) button { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }

/* 1단 */
.gh-top { position: relative; display: flex; align-items: flex-start; height: var(--gh-top-h); padding: 0 0 0 16px; }

/* 햄버거 : PC hover 시 좌측 화살표 모양으로 변형 */
.gh-burger { position: relative; display: inline-block; vertical-align: top; width: 32px; height: 50px; transition: opacity .4s ease; }
.gh-burger > span { position: absolute; top: 21px; left: 0; width: 20px; height: 20px; }
.gh-burger i { position: absolute; left: 0; display: block; width: 20px; height: 0; border-top: 2px solid var(--c-text-strong); transform: perspective(1px) translateZ(0); transition: transform .3s ease; }
.gh-burger i:nth-child(1) { top: 0; }
.gh-burger i:nth-child(2) { top: 6px; }
.gh-burger i:nth-child(3) { top: 12px; }
.gh-burger:hover { opacity: .7; }
@media (hover: hover) and (min-width: 1024px) {
    .gh-burger:hover i:nth-child(1) { transform: translate3d(4px, 1px, 0) rotate(45deg) scaleX(.7); }
    .gh-burger:hover i:nth-child(2) { transform: rotate(180deg); }
    .gh-burger:hover i:nth-child(3) { transform: translate3d(4px, -1px, 0) rotate(-45deg) scaleX(.7); }
}
.gh-burger:active i:nth-child(1) { transform: translate3d(5px, 1px, 0) rotate(45deg) scaleX(.7); }
.gh-burger:active i:nth-child(2) { transform: rotate(180deg); }
.gh-burger:active i:nth-child(3) { transform: translate3d(5px, -1px, 0) rotate(-45deg) scaleX(.7); }

.gh-logo { display: inline-block; vertical-align: top; margin: 8px 0 0 4px; }
.gh-logo a { display: block; }
.gh-logo-slot { width: 89px; height: 40px; }
.gh-logo-slot.is-empty::after { font-size: 8px; }

/* 우측 : 로그인 | 회원가입 | 고객센터  /  로그인 후 : 아바타 닉네임 Lv | 쪽지 N | 관리자 | 고객센터 */
.gh-util { position: absolute; top: 0; right: 0; display: flex; align-items: center; height: var(--gh-top-h); padding: 0 16px 0 0; }
.gh-login, .gh-cs { display: flex; align-items: center; }
.gh-util-link { display: flex; align-items: center; font-size: 14px; line-height: 16px; color: rgba(255, 255, 255, .7) !important; transition: color .3s ease; }
.gh-util-link:hover { color: var(--c-text-strong) !important; }
.gh-login .gh-util-link + .gh-util-link::before,
.gh-cs::before,
.gh-noti::before { content: ""; display: block; width: 1px; height: 11px; margin: 0 10px; background: rgba(255, 255, 255, .22); }
.gh-cs::before { margin: 0 12px 0 10px; }

.gh-user { display: flex; align-items: center; height: 36px; font-size: 14px; line-height: 16px; }
/* 2026-11-07: 레벨 아이콘+닉네임 오버 시 흐려지던 것(opacity .7) → 닉네임만 금색으로 */
.gh-user .gh-user-nick { transition: color .25s ease; }
.gh-user:hover .gh-user-nick { color: var(--c-gold-text); }
.gh-user-nick { max-width: 140px; padding-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-text-strong); }
.gh-user-lv { padding-left: 8px; font-size: 13px; color: var(--c-text-ref-sub); }
.gh-noti { display: flex; align-items: center; padding-left: 2px; font-size: 14px; line-height: 16px; color: rgba(255, 255, 255, .7) !important; transition: color .3s ease; }
.gh-noti:hover { color: var(--c-text-strong) !important; }
.gh-noti::before { margin: 0 12px 0 10px; }
.gh-badge { display: inline-block; min-width: 15px; height: 15px; margin-left: 4px; padding: 0 5px; border-radius: 7.5px; background: rgba(255, 255, 255, .16); font-size: 10px; line-height: 15px; letter-spacing: 0; text-align: center; color: rgba(255, 255, 255, .8); box-sizing: border-box; }
.gh-badge.is-on { background: var(--c-gold); color: var(--c-on-gold); } /* 2026-11-08 붉은 강조 → 금색 (항목 3·6) */
.gh-login.is-after .gh-admin::before { content: ""; display: block; width: 1px; height: 11px; margin: 0 10px; background: rgba(255, 255, 255, .22); }
.gh-admin { color: var(--c-admin) !important; }

/* 아바타 (회원 이미지 없으면 기본 실루엣) */
.gh-avatar { position: relative; display: inline-block; flex: none; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; overflow: hidden; background: #3a2a24; box-sizing: border-box; vertical-align: top; }
.gh-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gh-avatar.is-default::before { content: ""; position: absolute; top: 22%; left: 50%; width: 34%; height: 34%; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: translateX(-50%); }
.gh-avatar.is-default::after { content: ""; position: absolute; bottom: -16%; left: 50%; width: 66%; height: 44%; border-radius: 50% 50% 0 0; background: rgba(255, 255, 255, .55); transform: translateX(-50%); }

.gh-icon { display: none; }

/* 2단 */
.gh-bar { position: relative; height: var(--gh-bar-h); border-top: 1px solid rgba(255, 255, 255, .1); box-sizing: border-box; }
.gh-nav { padding: 0 210px 0 32px; }
.gh-list { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.gh-item { position: relative; }
.gh-item > a { position: relative; display: flex; align-items: center; height: var(--gh-bar-h); padding: 0 16px; font-size: 15px; line-height: 56px; color: var(--c-text-strong) !important; transition: color .4s; }
/* hover : 올라간 항목만 흰색, 나머지는 흐리게 */
/* 2026-11-07: 빈 공간이 아니라 메뉴 글자(링크)에 올렸을 때만 나머지를 흐리게 (이전: .gh-list:hover, 백업 /root/bak_nav_dim_*) */
.gh-list:has(> .gh-item > a:hover) > .gh-item > a { color: var(--c-text-ref-faint) !important; }
.gh-list:has(> .gh-item > a:hover) > .gh-item > a:hover,
.gh-list > .gh-item > a:hover,
.gh-list > .gh-item > a:focus-visible { color: var(--c-text-strong) !important; }
.gh-ext { display: inline-block; width: 8px; height: 8px; margin: -6px 0 0 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; position: relative; opacity: .8; }
.gh-ext::after { content: ""; position: absolute; top: 3px; right: -1px; width: 11px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }

/* 하위메뉴는 헤더에 출력하지 않음 (각 섹션 페이지 안 탭메뉴로 이동) */
/* 2026-11-06 사용자 요청: 상단 메뉴 밑줄 제거 (원래 줄 주석 처리, 백업 /root/bak_nav_underline/) */
/* .gh-item.is-active > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--c-text-strong); } */

.gh-down { position: absolute; top: -1px; right: 0; width: 232px; height: var(--gh-bar-h); }
.gh-down a { display: block; }
.gh-down-slot { width: 232px; height: 58px; }
.gh-down-slot.is-empty::after { font-size: 10px; }
/* [dlbtn 2026-11-24] 다운로드 버튼 : 이미지를 버튼 자리(232x58) 오른쪽 끝에 붙임 (높이 58 · 원래 비율 그대로, 링크 영역 232x58 은 그대로)
   + 빛 띠가 왼쪽→오른쪽으로 지나감 (메인 제목 빛 효과와 같은 띠·105도·6s 주기 중 2.4s 이동·1.6s 뒤 시작). 백업 /root/bak_dlbtn_20261124 */
.gh-down-slot:not(.is-empty):not(.is-void) { width: fit-content; max-width: 100%; margin-left: auto; }
.gh-down-slot:not(.is-empty):not(.is-void) img { width: auto; max-width: 100%; height: 58px; }
/* [dlbtn 2026-11-24 step3] 빛 = 버튼 이미지 전체(이미지 칸 190x58 안)를 띠가 지나감 (step2 글자 마스크 삭제).
   띠·105도·색·screen = visual_btn.css .vt-shine 과 같음, 폭(--bw)·이동·속도(관리자 제목 빛 설정) = head.php 의 <style id="gh-down-sh-kf"> (inc/down_shine.php) */
.gh-down-fx { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.gh-down-fx::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-101%); will-change: transform;
    background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 30%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.05) 70%, rgba(255,255,255,0) 100%) 0 0 / var(--bw, 50%) 100% no-repeat; } /* [dlbtn step4] 부드러운 흐린 흰 빛 (제목처럼 진한 흰 줄 X) · step5 더 연하게 (.35→.22, .08→.05) */
@media (prefers-reduced-motion: reduce) { .gh-down-fx { display: none; } }

/* 스크롤 : 1단은 위로 숨고 2단 메뉴바만 고정 */
#hd.gh.is-sticky { position: fixed; top: calc(var(--gh-top-h) * -1); background: transparent; }
#hd.gh.is-sticky .gh-bar { background: color-mix(in srgb, var(--c-bg-panel) 90%, transparent); border-bottom: 1px solid rgba(255, 255, 255, .12); }

/* 서브페이지 상단 여백 (헤더 높이만큼) */
#sub_wrap { padding-top: calc(var(--gh-top-h) + var(--gh-bar-h) + 40px); }

/* ---------- 좌·우 슬라이드 패널 공통 ---------- */
.gh-panel, .gh-rpanel {
    position: fixed; top: 0; bottom: 0; z-index: 1100;
    width: 80%; min-width: 320px; max-width: 100%;
    background: var(--c-bg-panel); color: var(--c-text-strong); font-family: var(--gh-font);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .gh-panel, .gh-rpanel { width: 375px; }
}
.gh-panel { left: 0; transform: translateX(-100%); }
.gh-rpanel { right: 0; transform: translateX(100%); }
html.gh-panel-open .gh-panel,
html.gh-rpanel-open .gh-rpanel { transform: translateX(0); visibility: visible; }

.gh-dim { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1090; background: #000; opacity: 0; visibility: hidden; transition: opacity .4s linear, visibility .4s linear; }
html.gh-panel-open .gh-dim, html.gh-rpanel-open .gh-dim { opacity: .6; visibility: visible; }
html.gh-panel-open, html.gh-panel-open body,
html.gh-rpanel-open, html.gh-rpanel-open body { overflow: hidden; }

/* 닫기(X) 공통 */
.gh-panel-close, .gh-rp-close { position: absolute; top: 0; width: 48px; height: 50px; z-index: 2; }
.gh-panel-close { left: 0; }
.gh-rp-close { right: 0; height: 46px; }
.gh-panel-close::before, .gh-panel-close::after,
.gh-rp-close::before, .gh-rp-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: var(--c-text-strong); transform: rotate(-45deg); transition: transform .2s ease; }
.gh-panel-close::after, .gh-rp-close::after { transform: rotate(45deg); }
.gh-panel-close:hover::before, .gh-rp-close:hover::before { transform: rotate(-135deg); }
.gh-panel-close:hover::after, .gh-rp-close:hover::after { transform: rotate(-45deg); }

/* ---------- 좌측 전체메뉴 ---------- */
.gh-panel-head { position: absolute; top: 0; left: 0; right: 0; height: 50px; background: var(--c-gold-dark); text-align: center; } /* 2026-11-08 적갈색 → 진한 금 (항목 1) */
.gh-panel-logo { display: inline-block; margin-top: 8px; vertical-align: top; }
.gh-panel-body { position: absolute; top: 50px; bottom: 0; left: 0; right: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 60px; box-sizing: border-box; }
.gh-plist, .gh-psec-list { margin: 0; padding: 0; list-style: none; }
.gh-pitem { position: relative; border-bottom: 1px solid transparent; }
.gh-pitem::before { content: ""; position: absolute; top: 50px; left: 15px; right: 15px; height: 1px; background: var(--c-line-ref); pointer-events: none; }
.gh-pitem > a > span { position: relative; }
.gh-pitem > a > span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--c-text-ref-sub); opacity: 0; transform: scaleX(0); transition: .4s; }
.gh-pitem > a:hover > span::after { opacity: 1; transform: scaleX(1); }
.gh-pitem > a { position: relative; display: flex; align-items: center; padding: 15px 18px 16px 24px; font-size: 14px; line-height: 20px; color: var(--c-text-ref-sub); transition: color .2s; }
.gh-pitem > a:hover, .gh-pitem.is-active > a { color: var(--c-text-strong); }

/* 회원 영역 (레퍼런스의 계정/서비스 박스 자리) */
.gh-pm { margin: 27px 15px 0; }
.gh-pm-login, .gh-pm-user { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 9px; border: 1px solid var(--c-line-ref); background: rgba(255, 255, 255, .04); font-size: 14px; line-height: 20px; color: var(--c-text-ref-sub); box-sizing: border-box; transition: color .2s, background-color .2s; }
.gh-pm-login { justify-content: center; }
.gh-pm-login:hover, .gh-pm-user:hover { color: var(--c-text-strong); background: rgba(255, 255, 255, .07); }
.gh-pm-user { text-align: left; }
.gh-pm-user .gh-avatar { width: 28px; height: 28px; }
.gh-pm-nick { flex: 0 1 auto; min-width: 0; padding-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-text-strong); }
.gh-pm-lv { flex: none; padding-left: 8px; font-size: 12px; color: rgba(255, 255, 255, .5); }
/* [navnick] 2026-11-21 관리자 = 관리자 아이콘만 (닉네임 없음 — inc/header_nav.php cs_nav_nick, head.php .is-adm)
 * 상단 : 아이콘 뒤 여백(가로로 긴 관리자 아이콘의 margin-right 4px, plugin/site_level/site_level.css) 없앰
 * 전체메뉴 회원 상자 : 아이콘을 원본 크기 그대로 상자 가운데 (일반 회원 상자와 같은 높이 28px 줄) */
.gh-user.is-adm .gh-avatar.is-slv:has(> img.slv-wide) { margin-right: 0; }
.gh-pm-user.is-adm { justify-content: center; }
.gh-pm-user.is-adm .gh-avatar.is-slv:has(> img.slv-wide) { width: auto; height: auto; min-height: 28px; margin-right: 0; }
.gh-pm-links { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px; line-height: 20px; }
.gh-pm-links a { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .45); transition: color .2s; }
.gh-pm-links a + a::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(255, 255, 255, .2); }
.gh-pm-links a:hover { color: var(--c-text-strong); }
.gh-pm-links b { margin-left: 4px; font-weight: 400; color: var(--c-gold-text); } /* 2026-11-08 붉은 숫자 → 밝은 금 (항목 2) */

/* 고객센터 섹션 */
.gh-psec { margin-top: 27px; }
.gh-psec-title { height: 38px; padding: 0 10px 0 24px; background: rgba(255, 255, 255, .04); font-size: 14px; line-height: 38px; color: var(--c-text-ref); }
.gh-psec-list { padding: 8px 16px 0; }
.gh-psec-list li + li { margin-top: 8px; }
.gh-psec-list a { position: relative; display: flex; align-items: center; height: 48px; padding: 0 40px 0 16px; border: 1px solid var(--c-line-ref); font-size: 14px; color: var(--c-text-ref-sub); box-sizing: border-box; transition: color .2s, border-color .2s; }
.gh-psec-list a::after { content: ""; position: absolute; top: 50%; right: 18px; width: 7px; height: 7px; margin-top: -4px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.gh-psec-list a:hover { color: var(--c-text-strong); border-color: rgba(255, 255, 255, .2); }

/* ---------- 우측 내 정보 패널 (로그인 후) ---------- */
.gh-rp-links { position: absolute; top: 15px; left: 18px; z-index: 2; display: flex; align-items: center; }
.gh-rp-links a { display: inline-flex; align-items: center; font-size: 12px; font-weight: 300; line-height: 16px; color: rgba(255, 255, 255, .7); transition: color .2s; }
.gh-rp-links a:hover { color: var(--c-text-strong); }
.gh-rp-links a + a::before { content: ""; display: inline-block; width: 1px; height: 9px; margin: 0 8px; background: rgba(255, 255, 255, .2); }
.gh-rp-body { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 40px; box-sizing: border-box; }
.gh-rp-profile { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 230px; padding-top: 25px; background: linear-gradient(180deg, color-mix(in srgb, var(--c-gold-dark) 55%, transparent) 0%, color-mix(in srgb, var(--c-gold-dark) 12%, transparent) 70%, color-mix(in srgb, var(--c-bg-panel) 0%, transparent) 100%); box-sizing: border-box; }
.gh-avatar-lg { width: 90px; height: 90px; margin-bottom: 15px; border-color: rgba(255, 255, 255, .2); }
.gh-rp-nick { max-width: 90%; margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 400; line-height: 1.2; color: var(--c-text-strong); }
.gh-rp-sub { display: flex; align-items: center; font-size: 12px; font-weight: 300; line-height: 1; color: rgba(255, 255, 255, .7); }
.gh-rp-sub span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(255, 255, 255, .3); vertical-align: -1px; }
.gh-rp-menu { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line-ref); }
.gh-rp-menu li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.gh-rp-menu a { display: flex; align-items: center; padding: 15px 24px 16px; font-size: 14px; line-height: 20px; color: var(--c-text-ref-sub); transition: color .2s, background-color .2s; }
.gh-rp-menu a:hover { color: var(--c-text-strong); background: rgba(255, 255, 255, .03); }
.gh-rp-menu a em, .gh-rp-menu a .gh-badge { margin-left: auto; }
.gh-rp-menu a em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .4); }
.gh-rp-menu a.is-admin { color: var(--c-admin); }
.gh-rp-logout { display: block; margin: 24px 16px 0; height: 40px; border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 38px; text-align: center; color: var(--c-text-ref-sub); box-sizing: border-box; transition: color .2s, border-color .2s; }
.gh-rp-logout:hover { color: var(--c-text-strong); border-color: rgba(255, 255, 255, .3); }

/* ---------- 1024 미만 : 모바일 헤더 ---------- */
@media (max-width: 1023px) {
    #hd.gh { height: var(--gh-mo-h); }
    .gh-top { height: var(--gh-mo-h); padding: 0 0 0 52px; }
    .gh-burger { position: absolute; top: 0; left: 0; width: 50px; height: 50px; }
    .gh-burger > span { top: 18px; left: 16px; height: 20px; }
    .gh-logo { margin: 8px 0 0; }
    .gh-util { height: var(--gh-mo-h); padding-right: 10px; }
    .gh-login, .gh-cs { display: none; }
    .gh-icon { position: relative; display: block; flex: none; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(0, 0, 0, .25); box-sizing: border-box; }
    .gh-icon + .gh-icon { margin-left: 8px; }
    /* 사람 아이콘 */
    .gh-icon-user::before { content: ""; position: absolute; top: 6px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border: 1px solid var(--c-text-strong); border-radius: 50%; } /* [btncenter 2026-11-23] top 7px → 6px · margin-left -5px → -4px */
    .gh-icon-user::after { content: ""; position: absolute; top: 17px; left: 50%; width: 14px; height: 7px; margin-left: -7px; border: 1px solid var(--c-text-strong); border-bottom: 0; border-radius: 8px 8px 0 0; } /* [btncenter 2026-11-23] top 18px → 17px · margin-left -8px → -7px : 30px 원 안 사람 아이콘이 왼쪽 1px · 아래 1px 이던 것 가운데로 */
    .gh-icon-user.is-on { border-color: rgba(255, 255, 255, .7); background: color-mix(in srgb, var(--c-gold) 60%, transparent); } /* 2026-11-08 항목 9 */
    .gh-dot { position: absolute; top: 1px; right: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-danger-hot); }
    /* 물음표 아이콘 */
    .gh-icon-help::before { content: "?"; position: absolute; top: 0; left: 0; width: 100%; text-align: center; font: 600 16px/30px var(--gh-font); color: var(--c-text-strong); }
    .gh-bar { display: none; }
    #hd.gh.is-fixed { position: fixed; top: 0; }
    #hd.gh.is-sticky { top: 0; background: var(--c-gold-dark); } /* 2026-11-08 적갈색 → 진한 금 (항목 5) */
    #sub_wrap { padding-top: calc(var(--gh-mo-h) + 30px); }
    .is-pc-only { display: none !important; }
}

/* Pretendard는 Noto Sans보다 글자가 좁아 같은 15px에서 붙어 보임 -> 레퍼런스(Noto 15/14px)와 글자 폭이 같도록 한 단계 키움 (nav-size) */
.gh-nav a { font-size: 16px; }
.gh-util a, .gh-util .gh-user-nick { font-size: 15px; }

/* 2026-11-07 작업 완료 표시 (임시) : 상단 메뉴 '게임소개' 글자색 — 작업 끝난 메뉴 구분용, 오픈 전 지우기 */
/* [serverrule] 2026-11-08 맨 앞에 '서버규정'(m1) 추가 → 순번이 한 칸씩 밀려 번호 +1 (이전 m1·m2·m3·m4·m6·m7·m8). 서버규정(m1)은 표시 없음 (기본 모양) */
.gh-list > .gh-item.m2 > a, .gh-list > .gh-item.m3 > a, .gh-list > .gh-item.m4 > a, .gh-list > .gh-item.m5 > a, .gh-list > .gh-item.m7 > a, .gh-list > .gh-item.m8 > a, .gh-list > .gh-item.m9 > a { /* 2026-11-18 사용자 요청 : 녹색 작업완료 표시 해제 (원래 color: #7fd47f !important) */ } /* m2 = 게임소개 · m5 = 가이드 · m7 = 일정표 · m8 = 커뮤니티 · m9 = 고객센터 */
/* [menucolor] 2026-11-20 관리자 > 메뉴설정 '색상'(g5_menu.me_color) = 1단 메뉴 글자색. 색상을 넣은 메뉴만 has-color + --gh-mc (inc/header_nav.php cs_nav_color_attr)
 * 위 녹색 규칙과 같은 범위·우선순위 : PC 상단 메뉴바 글자만 (모바일 좌측 패널 영향 없음) · 마우스 올린 메뉴는 흰색 · 다른 메뉴에 올리면 흐리게 그대로. 백업 /root/bak_menucolor_20261120/ */
.gh-list > .gh-item.has-color > a { color: var(--gh-mc) !important; }

/* 2026-11-08 붉은 강조 → 시그니처 금색 (사용자 승인 항목 1·2·3·5·6·7·8·9·14·21) */
/* 모바일 고정 헤더(진한 금 바탕) 위 알림 숫자 : 금색 배지가 묻히지 않도록 어두운 배지 + 밝은 금 글자 */
@media (max-width: 1023px) {
    #hd.gh.is-sticky .gh-icon-badge, #hd.gh.is-sticky .gh-badge.is-on { background: var(--c-on-gold); color: var(--c-gold-text); box-shadow: 0 0 0 1px rgba(226, 196, 124, .6); }
}

/* [navgap] 2026-11-08 메뉴 10개(서버규정 추가) → 1024~1078px 에서 마지막 항목(다운로드)이 우측 PLAY 버튼(232px) 밑으로 들어감.
 * 이 구간에서만 항목 좌우 여백(기본 16px)을 화면 폭에 비례해 줄임 : 5vw - 39px (1024 → 12.2px, 1078 → 14.9px).
 * 버튼과의 간격이 폭과 상관없이 약 21.6px 로 일정 (스크롤바 15px 기준). 1079px 이상 / 1023px 이하 변화 없음. 백업 /root/bak_navgap_*
 * [navgap-pshop] 2026-11-09 마지막 항목 다운로드 → 포인트상점 (글자 폭 약 14px 넓음) : 여백 5vw - 39.7px (하한 11px), 구간 1024~1113px 로 넓힘
 *   (1024 → 11.5px, 1113 → 16px). 버튼과의 간격 약 21.7px 그대로. 1114px 이상 / 1023px 이하 변화 없음. 백업 /root/bak_menu_pshop_021155 */
@media (min-width: 1024px) and (max-width: 1113.98px) {
    .gh-list > .gh-item > a { padding: 0 clamp(11px, calc(5vw - 39.7px), 16px); }
    /* 활성 밑줄(93행, 현재 꺼짐)을 다시 켜도 글자 폭에 맞도록 같은 값 */
    .gh-item.is-active > a::after { left: clamp(11px, calc(5vw - 39.7px), 16px); right: clamp(11px, calc(5vw - 39.7px), 16px); }
}
