@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");
/* GameHub skin — Aurora Glassmorphism (modern dark) */
/* 전역 리셋 */
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
[hidden] {
  display: none !important;
}
/* 스크롤바 — 다크 테마 */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--gh-accent-rgb), 0.32) rgba(var(--gh-fg-rgb), 0.04);
}
html::-webkit-scrollbar {
  width: 7px;
}
html::-webkit-scrollbar-track {
  background: rgba(var(--gh-fg-rgb), 0.04);
}
html::-webkit-scrollbar-thumb {
  background: rgba(var(--gh-accent-rgb), 0.32);
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--gh-accent-rgb), 0.6);
}
/* 테마 토큰: 중립색은 모두 CSS 변수(런타임 전환). 브랜드색($accent*)은 공통. */
/* 다크(기본) — html 스크롤바 등 .gh-app 밖에서도 쓰이므로 :root 에 기본값 */
:root {
  --gh-fg-rgb: 255, 255, 255;
  --gh-bg: #06070e;
  --gh-ink: #eef0fb;
  --gh-muted: #9197b8;
  --gh-glass: rgba(22, 25, 42, 0.55);
  --gh-glass2: rgba(30, 34, 56, 0.6);
  --gh-bar-bg: rgba(8, 9, 18, 0.72);
  /* 상단바 */
  --gh-pop-bg: rgba(16, 18, 32, 0.98);
  /* 드롭다운/드로어/모달 표면 */
  --gh-grad-hi: #fff;
  /* 그라데이션 텍스트 밝은 끝 */
  /* 포인트(accent) — 다크: 노랑 */
  --gh-accent: #ffb300;
  --gh-accent-rgb: 255, 179, 0;
  --gh-accent-grad: #ffd166;
  /* 그라데이션 밝은 끝 */
  --gh-accent-dark: #cc8f00;
  /* visited 등 어두운 변형 */
  --gh-card-shadow: 0 20px 50px -28px rgba(0, 0, 0, .8);
  /* 카드 그림자(다크: 강함) */
}
/* 라이트 — 중립색 반전(흰→짙은 잉크). html 에도 적용해 body로 portal 되는 드로어/오버레이까지 커버 */
.gh-app.gh-light, html.gh-light {
  --gh-fg-rgb: 32, 37, 54;
  --gh-bg: #eef1f7;
  --gh-ink: #1b1e2a;
  --gh-muted: #5d6478;
  --gh-glass: rgba(255, 255, 255, 0.74);
  --gh-glass2: rgba(255, 255, 255, 0.88);
  --gh-bar-bg: rgba(255, 255, 255, 0.82);
  --gh-pop-bg: rgba(255, 255, 255, 0.98);
  --gh-grad-hi: #1f2438;
  /* 라이트: 그라데이션 밝은 끝을 어둡게 */
  /* 포인트(accent) — 라이트: 빨강에 가까운 주황 */
  --gh-accent: #ef4d22;
  --gh-accent-rgb: 239, 77, 34;
  --gh-accent-grad: #ff7a45;
  /* 그라데이션 밝은 끝 */
  --gh-accent-dark: #c93a16;
  --gh-card-shadow: 0 6px 22px -14px rgba(40, 45, 70, .18);
  /* 카드 그림자(라이트: 은은하게) */
}
/* 라이트: 밝은 강조/등급 색은 흰 배경에 안 보이므로 어둡게 조정 */
.gh-app.gh-light {
  /* 길드원 활동중 배지 — 라이트에서 진한 초록 */
  /* 동영상 플레이어 오버레이는 항상 어두운 영상 위 → 하위 트리만 흰색으로 되돌림 */
}
.gh-app.gh-light .grade-레전드리 {
  color: #2c9a1c;
  text-shadow: none;
}
.gh-app.gh-light .grade-유니크 {
  color: #b07d06;
  text-shadow: none;
}
.gh-app.gh-light .grade-에픽 {
  color: #8731cf;
  text-shadow: none;
}
.gh-app.gh-light .grade-레어 {
  color: #2772cc;
}
.gh-app.gh-light .gh-tip__opt span:last-child {
  color: #1c9446;
}
.gh-app.gh-light .gh-gm__badge--on {
  background: rgba(34, 160, 90, 0.18);
  color: #1a8c4a;
}
.gh-app.gh-light .gh-vp {
  --gh-fg-rgb: 255, 255, 255;
  --gh-ink: #f4f6fc;
}
/* 라이트에서도 캔버스 배경 유지 (canvas-bg.js가 테마별로 색 분기) */
/* 테마 토글 버튼 (GNB) */
.gh-theme-toggle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-left: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.gh-theme-toggle:hover {
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-accent);
}
.gh-theme-toggle svg {
  width: 19px;
  height: 19px;
}
.gh-theme-toggle__moon {
  display: none;
}
.gh-app.gh-light .gh-theme-toggle__sun {
  display: none;
}
.gh-app.gh-light .gh-theme-toggle__moon {
  display: inline;
}
@keyframes gh-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gh-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gh-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gh-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.gh-app {
  position: relative;
  min-height: 100vh;
  padding-top: 52px;
  background: var(--gh-bg);
  color: var(--gh-ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.gh-app * {
  box-sizing: border-box;
}
.gh-app ::selection {
  background: rgba(var(--gh-accent-rgb), 0.3);
}
/* 배경 캔버스 */
.gh-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.gh-hero, .gh-banner, .gh-main, .gh-footer {
  position: relative;
  z-index: 1;
}
/* ===== 서비스 타이틀 바 + GNB ===== */
.gh-svcbar {
  position: fixed;
  top: 54px;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-svcbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gh-bar-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.gh-svcbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 22px;
  height: 52px;
}
/* 브랜드: [ZZAN로고] 게임 */
.gh-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gh-ink);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  height: 100%;
}
.gh-brand__img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.gh-brand__svc {
  background: linear-gradient(90deg, var(--gh-accent), #ff4d8d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
/* GNB 영역 */
.gh-gnb-area {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: visible;
}
/* 게임 선택기 */
.gh-gnb__sel {
  position: relative;
  flex-shrink: 0;
  padding: 0 12px;
  border-right: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 2px;
}
/* 게임명 버튼 (클릭 → 해당 게임 홈) */
.gh-gnb__game-btn {
  background: none;
  border: none;
  color: var(--gh-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.gh-gnb__game-btn:hover {
  color: var(--gh-accent);
  background: rgba(var(--gh-fg-rgb), 0.05);
}
/* 화살표 버튼 (클릭 → 게임 목록 드롭다운) */
.gh-gnb__arr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(145, 151, 184, 0.6);
  padding: 6px 4px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.gh-gnb__arr-btn:hover {
  color: var(--gh-ink);
  background: rgba(var(--gh-fg-rgb), 0.07);
}
.gh-gnb__drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.8);
  z-index: 100;
}
.gh-gnb__drop-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--gh-ink);
  cursor: pointer;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  transition: background 0.15s, color 0.15s;
}
.gh-gnb__drop-opt:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
  color: var(--gh-accent);
}
.gh-gnb__drop-opt--soon {
  color: var(--gh-muted);
  cursor: default;
  display: flex;
  justify-content: space-between;
}
.gh-gnb__drop-opt--soon em {
  font-size: 11px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-style: normal;
}
/* GNB 페이지 메뉴 */
.gh-gnb__menus {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  height: 52px;
  overflow: visible;
}
/* GNB 소식 탭 드롭다운 */
.gh-tab-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  /* 탭 바텀과 드롭다운 사이 틈을 투명 브릿지로 메움 — 마우스 이탈 방지 */
}
.gh-tab-wrap::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  bottom: -10px;
  height: 10px;
}
.gh-tab-wrap:hover .gh-tab__drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.gh-tab__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 148px;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 12px;
  padding: 6px;
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 80;
}
.gh-tab__drop-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-muted);
  text-align: left;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.gh-tab__drop-item:hover {
  background: rgba(var(--gh-fg-rgb), 0.07);
  color: var(--gh-accent);
}
.gh-tab__drop--wide {
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  max-width: 340px;
}
.gh-tab__drop--wide .gh-tab__drop-item {
  width: auto;
  min-width: 132px;
}
/* 탭 버튼 — 언더라인 스타일 */
.gh-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--gh-muted);
  padding: 6px 5px 8px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.gh-tab::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background: var(--gh-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.gh-tab:hover {
  color: var(--gh-accent);
  background: none;
}
.gh-tab:hover::after {
  transform: scaleX(1);
}
.gh-tab.is-active {
  color: var(--gh-accent);
  background: none;
  box-shadow: none;
}
.gh-tab.is-active::after {
  transform: scaleX(1);
}
.gh-tab--soon {
  cursor: default;
  color: rgba(145, 151, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gh-tab--soon em {
  font-style: normal;
  font-size: 10px;
  background: rgba(var(--gh-fg-rgb), 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}
.gh-tab--soon:hover {
  background: none;
  color: rgba(145, 151, 184, 0.4);
}
/* ===== 게임 선택 홈 ===== */
.gh-home {
  min-height: calc(100vh - 106px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 22px 80px;
  position: relative;
  z-index: 1;
  animation: gh-fade-up 0.5s ease both;
}
.gh-gamesel {
  width: 100%;
  max-width: 1100px;
}
.gh-gamesel__title {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0 0 40px;
  letter-spacing: -0.5px;
}
.gh-gamesel__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gh-accent), #ff4d8d);
  border-radius: 2px;
}
.gh-gamesel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gh-gamecard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px 22px;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 18px;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: inherit;
  animation: gh-pop 0.4s ease both;
}
.gh-gamecard:hover {
  border-color: rgba(var(--gh-accent-rgb), 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(var(--gh-accent-rgb), 0.25);
}
.gh-gamecard__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gh-ink);
  line-height: 1.35;
}
.gh-gamecard__badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gh-accent), #ff4d8d);
  color: #0c0e18;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.gh-gamecard--soon {
  cursor: default;
  opacity: 0.45;
}
.gh-gamecard--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(var(--gh-fg-rgb), 0.08);
}
.gh-gamecard__soon {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--gh-muted);
  background: rgba(var(--gh-fg-rgb), 0.06);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
/* ===== 히어로 ===== */
.gh-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 22px 30px;
  text-align: center;
  animation: gh-fade-up 0.6s ease both;
}
.gh-hero__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.1;
}
.gh-hero__title span {
  background: linear-gradient(100deg, var(--gh-accent) 0%, #ff4d8d 55%, #5b8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gh-hero__sub {
  margin: 14px 0 0;
  color: var(--gh-muted);
  font-size: clamp(14px, 2vw, 17px);
}
.gh-banner {
  max-width: 1140px;
  margin: 16px auto 0;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  animation: gh-pop 0.4s ease both;
}
.gh-banner--warn {
  background: rgba(90, 71, 16, 0.4);
  color: #ffd874;
}
.gh-banner--info {
  background: rgba(28, 44, 80, 0.4);
  color: #a9c6ff;
}
/* ===== 메인 ===== */
.gh-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 22px 80px;
}
.gh-view {
  display: none;
  animation: gh-fade-up 0.45s ease both;
}
.gh-view.is-active {
  display: block;
}
/* 뷰 히어로 타이틀 */
.gh-view-hero {
  text-align: center;
  padding: 10px 20px 36px;
}
.gh-view-hero__sub {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gh-muted);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.gh-view-hero__title {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
  background: linear-gradient(120deg, var(--gh-grad-hi) 0%, var(--gh-grad-hi) 40%, var(--gh-accent) 72%, #ff7a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ===== 검색 ===== */
.gh-search {
  display: flex;
  gap: 10px;
  margin: 0 auto 24px;
  max-width: 720px;
}
.gh-search--inline {
  flex-wrap: wrap;
  max-width: 920px;
}
.gh-search input, .gh-search select {
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15.5px;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.gh-search input::placeholder, .gh-search select::placeholder {
  color: rgba(145, 151, 184, 0.8);
}
.gh-search input:focus, .gh-search select:focus {
  border-color: #5b8cff;
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.18);
}
.gh-search__input {
  flex: 1;
}
.gh-search__btn {
  border: 0;
  cursor: pointer;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: #0c0e18;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  box-shadow: 0 10px 24px -10px rgba(var(--gh-accent-rgb), 0.7);
  transition: transform 0.15s, filter 0.15s;
}
.gh-search__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.gh-search__btn:active {
  transform: translateY(0);
}
.gh-subbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: -10px auto 20px;
  max-width: 720px;
  flex-wrap: wrap;
}
.gh-minibtn {
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 12px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.18s, transform 0.15s;
}
.gh-minibtn:hover {
  border-color: #5b8cff;
  transform: translateY(-1px);
}
.gh-hint {
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-account:not(:empty) {
  margin-bottom: 18px;
}
/* 최근 검색 */
.gh-recent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: 720px;
  margin: 0 auto 16px;
}
.gh-recent:empty {
  margin: 0;
}
.gh-recent__label {
  color: var(--gh-muted);
  font-size: 12px;
  margin-right: 2px;
}
.gh-recent__chip {
  background: rgba(var(--gh-fg-rgb), 0.05);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
}
.gh-recent__chip:hover {
  border-color: #5b8cff;
  background: rgba(91, 140, 255, 0.12);
  transform: translateY(-1px);
}
.gh-guild-recent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 10px 0 14px;
}
.gh-guild-recent:empty {
  margin: 0;
}
/* 길드 랭킹 Top3 (지하수로/주간명성/플래그레이스 + 누적방문) */
.gh-guild-ranks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.gh-grank-panel {
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 14px 14px 8px;
  min-width: 0;
}
.gh-grank-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.gh-grank-head h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0;
}
.gh-grank-emoji {
  font-size: 16px;
}
.gh-grank-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gh-grank-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--gh-ink);
  transition: background 0.15s;
}
.gh-grank-card:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-grank-rank {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-muted);
}
.gh-grank-rank--1 {
  background: linear-gradient(135deg, #ffcf3a, #ff9d00);
  color: #2a1c00;
}
.gh-grank-rank--2 {
  background: linear-gradient(135deg, #e3e8f2, #aab4c8);
  color: #20242e;
}
.gh-grank-rank--3 {
  background: linear-gradient(135deg, #f0a878, #cc7a45);
  color: #2a1500;
}
.gh-grank-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 2px;
}
.gh-grank-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-grank-meta {
  font-size: 12px;
  color: var(--gh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 860px) {
  .gh-guild-ranks {
    grid-template-columns: 1fr;
  }
}
/* 누적 방문 Top3 — 가로 검색결과 카드 형태 */
.gh-guild-visited {
  margin-top: 24px;
}
.gh-guild-cards--visited {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}
.gh-guild-card--rank {
  position: relative;
  text-decoration: none;
  color: var(--gh-ink);
}
.gh-guild-card--rank * {
  text-decoration: none;
}
.gh-guild-card__rankbadge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-muted);
}
.gh-guild-card__sub {
  font-size: 13px;
  color: var(--gh-accent);
  font-weight: 700;
}
@media (max-width: 860px) {
  .gh-guild-cards--visited {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gh-guild-cards--visited {
    grid-template-columns: 1fr;
  }
}
/* 프로필 모드 헤더 — 캐릭터 검색·클릭 시 검색홈 UI 숨기고 캐릭터만 표시 */
.gh-charnav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto 18px;
  max-width: 1140px;
}
.gh-view--character.is-charmode .gh-view-hero, .gh-view--character.is-charmode .gh-search, .gh-view--character.is-charmode .gh-recent, .gh-view--character.is-charmode .gh-livechars {
  display: none !important;
}
.gh-view--character.is-charmode .gh-charnav {
  display: flex;
}
.gh-charnav__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--gh-ink);
  padding: 8px 6px;
  border-radius: 10px;
  transition: color 0.15s;
}
.gh-charnav__home:hover {
  color: var(--gh-accent);
}
.gh-charnav__arrow {
  font-size: 18px;
  line-height: 1;
}
.gh-charnav__form {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gh-charnav__input {
  width: 190px;
  max-width: 44vw;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.gh-charnav__input::placeholder {
  color: rgba(145, 151, 184, 0.8);
}
.gh-charnav__input:focus {
  border-color: #5b8cff;
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.18);
}
.gh-charnav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  color: #11121d;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  transition: filter 0.15s, transform 0.15s;
}
.gh-charnav__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.gh-charnav__btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 520px) {
  .gh-charnav__home {
    font-size: 13.5px;
  }
  .gh-charnav__input {
    width: 130px;
    padding: 9px 12px;
  }
}
/* 캐릭터 상단 바 (출처 + 갱신) */
.gh-charbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(var(--gh-fg-rgb), 0.035);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  flex-wrap: wrap;
}
.gh-charbar__src {
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-charbar__note {
  color: #ffd874;
  font-size: 13px;
}
.gh-refresh {
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0c0e18;
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  color: var(--gh-ink);
  transition: filter 0.15s, transform 0.15s;
}
.gh-refresh:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
/* ===== 카드 (글래스) ===== */
.gh-card {
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 16px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--gh-card-shadow);
  animation: gh-fade-up 0.5s ease both;
}
.gh-card__title {
  margin: 2px 0 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gh-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gh-card__title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gh-accent), #ff4d8d);
}
/* 캐릭터 헤더 (큰 아바타) */
.gh-char__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
}
.gh-char__avatar {
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 확대된 이미지 크롭 */
  background: radial-gradient(circle at 50% 38%, rgba(91, 140, 255, 0.25), transparent 70%);
  border-radius: 22px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-char__avatar img {
  width: 150px;
  height: auto;
  transform: scale(2.2);
  transform-origin: center 47%;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}
.gh-char__meta {
  min-width: 0;
}
.gh-char__nameline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.gh-char__name {
  margin: 0;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.6px;
}
.gh-char__world {
  color: var(--gh-muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}
.gh-char__lvline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.gh-char__lv {
  font-weight: 800;
  font-size: 16px;
  color: var(--gh-ink);
}
.gh-char__cls {
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-char__expbar {
  position: relative;
  flex: 1 1 130px;
  max-width: 230px;
  height: 8px;
  border-radius: 6px;
  background: rgba(var(--gh-fg-rgb), 0.1);
  overflow: hidden;
}
.gh-char__expfill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #5b8cff, var(--gh-accent));
  border-radius: 6px;
}
.gh-char__exprate {
  color: #5b8cff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gh-char__guild {
  margin-top: 13px;
}
.gh-char__guild-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gh-ink);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.gh-char__guild-link b {
  font-weight: 700;
}
.gh-char__guild-link:hover {
  color: #5b8cff;
}
.gh-char__guild-link:hover .gh-char__guild-go {
  transform: translateX(2px);
}
.gh-char__guildsub {
  color: var(--gh-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.gh-char__guild-go {
  color: #5b8cff;
  font-weight: 700;
  transition: transform 0.15s;
}
.gh-char__pop {
  margin-top: 13px;
  color: var(--gh-accent);
  font-weight: 700;
}
.gh-char__pop b {
  font-size: 16px;
}
.gh-char__views {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.gh-char__view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  font-variant-numeric: tabular-nums;
}
.gh-char__view i {
  font-style: normal;
  color: var(--gh-muted);
  font-size: 12px;
  font-weight: 600;
}
.gh-char__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  flex: 0 0 auto;
}
.gh-char__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gh-char__time {
  color: var(--gh-muted);
  font-size: 12.5px;
}
.gh-char__since {
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-char__since b {
  color: var(--gh-accent);
  font-size: 15px;
  margin: 0 2px;
}
.gh-char__src {
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-char__src.is-note {
  color: #ffd874;
}
.gh-char__nexon {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(0, 179, 77, 0.16), rgba(91, 140, 255, 0.16));
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  transition: 0.15s;
}
.gh-char__nexon:hover {
  border-color: rgba(var(--gh-accent-rgb), 0.5);
  transform: translateY(-1px);
}
.gh-char__nexon .gh-char__nexon-ic {
  font-size: 13px;
}
/* 준비중(Coming Soon) 레이어 팝업 */
.gh-soon {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 16, 0);
  pointer-events: none;
  transition: background 0.3s;
}
.gh-soon.is-on {
  background: rgba(6, 8, 16, 0.6);
  pointer-events: auto;
}
.gh-soon__card {
  position: relative;
  width: 360px;
  max-width: 88vw;
  text-align: center;
  padding: 34px 30px 30px;
  border-radius: 22px;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transform: scale(0.82) translateY(12px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.18, 1.25, 0.4, 1), opacity 0.25s;
}
.gh-soon.is-on .gh-soon__card {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.gh-soon__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-soon__close:hover {
  color: var(--gh-ink);
}
.gh-soon__ic {
  font-size: 40px;
  margin-bottom: 8px;
}
.gh-soon__title {
  font-size: 22px;
  font-weight: 850;
  color: var(--gh-accent);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.gh-soon__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gh-ink);
}
.gh-soon__desc b {
  color: #5b8cff;
}
.gh-soon__sub {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--gh-muted);
}
.gh-world-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-right: 5px;
}
.gh-guild-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  flex: 0 0 auto;
}
/* 공유 버튼 */
.gh-share-btn {
  background: rgba(var(--gh-fg-rgb), 0.06);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.gh-share-btn:hover {
  border-color: #5b8cff;
  color: var(--gh-ink);
}
/* 공유 모달 */
.gh-smodal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.gh-smodal[hidden] {
  display: none;
}
.gh-smodal__box {
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 24px;
  padding: 36px 28px 28px;
  min-width: 300px;
  max-width: 380px;
  width: 90%;
  position: relative;
  text-align: center;
  animation: gh-pop 0.25s ease both;
}
.gh-smodal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--gh-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.gh-smodal__close:hover {
  color: var(--gh-ink);
}
.gh-smodal__img-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  background: radial-gradient(circle at 50% 40%, rgba(91, 140, 255, 0.18), transparent 72%);
  border-radius: 16px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gh-smodal__img {
  width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}
.gh-smodal__name {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--gh-ink);
}
.gh-smodal__url-wrap {
  display: flex;
  gap: 8px;
}
.gh-smodal__url {
  flex: 1;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--gh-muted);
  font-size: 12px;
  outline: none;
  min-width: 0;
}
.gh-smodal__copy {
  background: var(--gh-accent);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.gh-smodal__copy:hover {
  opacity: 0.85;
}
/* 상단 탭 (홈/능력치/장비/스킬/유니온/코디) */
/* 탭 바 — 다탭 대응(가로 스크롤 pill) */
.gh-ctabs {
  display: flex;
  gap: 6px;
  margin: 4px 0 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 9px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gh-ctabs::-webkit-scrollbar {
  display: none;
}
.gh-ctab {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  background: var(--gh-glass);
  color: var(--gh-muted);
  padding: 9px 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.gh-ctab:hover {
  color: var(--gh-ink);
  border-color: rgba(var(--gh-fg-rgb), 0.14);
}
.gh-ctab.is-active {
  color: #11121d;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  border-color: transparent;
  box-shadow: 0 6px 16px -8px rgba(var(--gh-accent-rgb), 0.55);
}
.gh-ctab--soon {
  opacity: 0.35;
  cursor: not-allowed;
}
.gh-ctab--soon:hover {
  color: var(--gh-muted);
  border-color: rgba(var(--gh-fg-rgb), 0.08);
}
.gh-ctab-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.3px;
  padding: 3px 5px;
  border-radius: 6px;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.gh-ctab-badge::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -3px;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  border-bottom: 0;
}
.gh-ctab-badge--new {
  background: #ff4d6d;
}
.gh-ctab-badge--new::after {
  border-top: 4px solid #ff4d6d;
}
.gh-ctab-badge--up {
  background: #5b8cff;
}
.gh-ctab-badge--up::after {
  border-top: 4px solid #5b8cff;
}
.gh-ctab-badge--beta {
  background: #8b5cf6;
}
.gh-ctab-badge--beta::after {
  border-top: 4px solid #8b5cf6;
}
.gh-ctab-panel {
  display: none;
  animation: gh-fade-up 0.35s ease both;
}
.gh-ctab-panel.is-active {
  display: block;
}
/* ===== 스킬 탭 ===== */
.gh-sk-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  padding: 6px 0 2px;
}
.gh-sk-grid--link {
  gap: 8px 14px;
}
.gh-sk-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 72px;
}
.gh-sk-cell--link {
  width: 58px;
}
.gh-sk-cell__name {
  font-size: 10.5px;
  color: var(--gh-muted);
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 6차·5차 옥타곤 코어 셀 */
.gh-sk-hex {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-sk-hex__bg {
  position: absolute;
  inset: 0;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: rgba(var(--gh-fg-rgb), 0.08);
  transition: background 0.15s;
}
.gh-hastip:hover .gh-sk-hex__bg {
  background: rgba(var(--gh-fg-rgb), 0.18);
}
.gh-sk-hex--6 .gh-sk-hex__bg {
  background: rgba(255, 90, 140, 0.22);
}
.gh-hastip:hover .gh-sk-hex--6 .gh-sk-hex__bg {
  background: rgba(255, 90, 140, 0.42);
}
.gh-sk-hex__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
.gh-sk-hex__txt {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--gh-muted);
  text-align: center;
  padding: 4px;
  word-break: keep-all;
  line-height: 1.3;
}
.gh-sk-hex__lv {
  position: absolute;
  bottom: 10px;
  right: 5px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.82);
  color: var(--gh-ink);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.5;
}
/* 링크 스킬 아이콘 */
.gh-sk-link {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(var(--gh-fg-rgb), 0.07);
  overflow: hidden;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  transition: border-color 0.15s;
}
.gh-sk-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh-hastip:hover .gh-sk-link {
  border-color: #5b8cff;
}
.gh-sk-link .gh-sk-hex__lv {
  bottom: 3px;
  right: 3px;
}
/* HEXA 스탯 3열 */
.gh-hexa-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .gh-hexa-stats {
    grid-template-columns: 1fr;
  }
}
.gh-hexa-stat {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.gh-hexa-stat__hd {
  font-size: 10px;
  font-weight: 900;
  color: var(--gh-muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.gh-hexa-stat__main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-ink);
  margin-bottom: 8px;
  padding: 8px 10px;
  background: rgba(91, 140, 255, 0.12);
  border-radius: 8px;
}
.gh-hexa-stat__sub {
  font-size: 12px;
  color: var(--gh-muted);
  padding: 5px 2px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.05);
}
.gh-hexa-stat__sub:last-child {
  border-bottom: none;
}
.gh-hexa-stat__sub b {
  color: #5b8cff;
  margin-right: 4px;
}
.gh-hexa-stat--empty {
  border-color: rgba(var(--gh-fg-rgb), 0.05);
  opacity: 0.5;
}
/* 링크 스킬 프리셋 탭 */
.gh-sk-ptabs {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.gh-sk-ptab {
  background: rgba(var(--gh-fg-rgb), 0.05);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
}
.gh-sk-ptab.is-active {
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border-color: rgba(var(--gh-fg-rgb), 0.14);
}
.gh-sk-ptab:hover {
  color: var(--gh-ink);
}
.gh-sk-pbody {
  display: none;
}
.gh-sk-pbody.is-active {
  display: block;
}
.gh-vp-body {
  display: none;
}
.gh-vp-body.is-active {
  display: block;
}
/* 1~4차 스킬 접기/펼치기 */
.gh-skill-collapse {
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  background: var(--gh-glass);
  margin-bottom: 10px;
  overflow: visible;
}
.gh-skill-collapse__hd {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}
.gh-skill-collapse__hd::-webkit-details-marker {
  display: none;
}
.gh-skill-collapse__hd::marker {
  display: none;
}
.gh-skill-collapse__hd::after {
  content: "▾";
  font-size: 14px;
  color: var(--gh-muted);
  margin-left: auto;
  transition: transform 0.2s;
}
.gh-skill-collapse[open] .gh-skill-collapse__hd::after {
  transform: rotate(180deg);
}
.gh-skill-collapse__count {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 500;
}
/* 솔 에르다 요약 바 */
.gh-erda-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}
.gh-erda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-ink);
}
.gh-erda-item b {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 600;
}
.gh-erda-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.gh-erda-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--gh-ink);
}
.gh-erda-val em {
  font-style: normal;
  color: var(--gh-muted);
  font-size: 12px;
  font-weight: 500;
}
/* ===== 홈 탭 (개요 + 랭킹) ===== */
.gh-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: -4px;
}
@media (max-width: 760px) {
  .gh-home {
    grid-template-columns: 1fr;
  }
}
.gh-home__col {
  min-width: 0;
  display: flex;
}
.gh-home__col > .gh-card {
  width: 100%;
  flex: 1;
  margin-bottom: 0;
}
.gh-home__upd {
  font-size: 11px;
  font-weight: 500;
  color: var(--gh-muted);
  margin-left: 6px;
}
.gh-home-lv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 4px 0 8px;
}
.gh-home-lv__t {
  font-size: 18px;
  font-weight: 800;
  color: var(--gh-ink);
}
.gh-home-lv__t b {
  color: var(--gh-accent);
}
.gh-home-lv__exp {
  font-size: 13px;
  color: #5b8cff;
  font-weight: 700;
}
.gh-home-bar {
  height: 8px;
  border-radius: 5px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  overflow: hidden;
  margin-bottom: 14px;
}
.gh-home-bar span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #5b8cff, var(--gh-accent));
  transition: width 0.4s;
}
.gh-home-ov {
  display: flex;
  flex-direction: column;
}
.gh-home-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-home-row:last-child {
  border-bottom: 0;
}
.gh-home-row__k {
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-home-row__v {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gh-ink);
  font-variant-numeric: tabular-nums;
}
.gh-home-rk {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gh-home-rk__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding: 9px 2px;
}
.gh-home-rk__item:last-child {
  border-bottom: 0;
}
.gh-home-rk__item span {
  font-size: 13px;
  color: var(--gh-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.gh-home-rk__item b {
  font-size: 14px;
  font-weight: 700;
  color: var(--gh-ink);
  white-space: nowrap;
}
.gh-home-rank-no {
  color: var(--gh-accent);
  font-weight: 800;
}
.gh-home-row.is-link, .gh-home-rk__item.is-link {
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.gh-home-row.is-link:hover, .gh-home-rk__item.is-link:hover {
  background: rgba(var(--gh-accent-rgb), 0.09);
}
/* ===== 타임라인 탭 (추이 그래프) ===== */
.gh-tl__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.gh-tl__title {
  margin: 0;
}
.gh-tl__ranges, .gh-tl__mtabs {
  display: flex;
  gap: 6px;
}
.gh-tl__mtabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.gh-tl__mtabs::-webkit-scrollbar {
  display: none;
}
.gh-tl-rng, .gh-tl-mtab {
  flex: 0 0 auto;
  background: rgba(var(--gh-fg-rgb), 0.05);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s;
}
.gh-tl-rng:hover, .gh-tl-mtab:hover {
  color: var(--gh-ink);
}
.gh-tl-rng.is-active, .gh-tl-mtab.is-active {
  background: var(--gh-accent);
  color: #11121d;
  border-color: transparent;
}
.gh-tl__subtabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: -4px 0 16px;
}
.gh-tl-subrow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gh-tl-stab {
  flex: 0 0 auto;
  background: transparent;
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gh-tl-stab:hover {
  color: var(--gh-ink);
}
.gh-tl-stab.is-active {
  background: rgba(var(--gh-accent-rgb), 0.16);
  color: var(--gh-accent);
  border-color: rgba(var(--gh-accent-rgb), 0.4);
}
.gh-tl-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.2px;
  padding: 3px 6px;
  border-radius: 5px;
  min-width: 38px;
  text-align: center;
}
.gh-tl-badge--rank {
  background: rgba(var(--gh-accent-rgb), 0.2);
  color: var(--gh-accent);
}
.gh-tl-badge--union {
  background: rgba(91, 140, 255, 0.22);
  color: #5b8cff;
}
.gh-tl-badge--dojang {
  background: rgba(255, 77, 141, 0.2);
  color: #ff4d8d;
}
.gh-tl-badge--theseed {
  background: rgba(65, 201, 138, 0.2);
  color: #41c98a;
}
.gh-tl-badge--trophy {
  background: rgba(196, 142, 255, 0.22);
  color: #c48eff;
}
.gh-tl__chart {
  position: relative;
  min-height: 60px;
}
.gh-tl-svg {
  width: 100%;
  height: 230px;
  display: block;
  overflow: visible;
}
.gh-tl-base {
  stroke: rgba(var(--gh-fg-rgb), 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.gh-tl-bar {
  fill: rgba(var(--gh-accent-rgb), 0.35);
  transition: fill 0.12s;
}
.gh-tl-bar.is-last {
  fill: var(--gh-accent);
}
.gh-tl-bar.is-hover {
  fill: var(--gh-accent);
}
.gh-tl-xlabels {
  position: relative;
  height: 16px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gh-muted);
}
.gh-tl-xlabels span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.gh-tl-plabels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 230px;
  pointer-events: none;
}
.gh-tl-pl {
  position: absolute;
  transform: translate(-50%, -135%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  color: var(--gh-ink);
  letter-spacing: -0.2px;
}
.gh-tl-cur {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-tl-cur b {
  color: var(--gh-accent);
  font-size: 16px;
  margin-left: 4px;
}
.gh-tl__chart {
  cursor: pointer;
}
.gh-tl-tip {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 3;
  background: var(--gh-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.gh-tl-tip .gh-tl-tip__d {
  font-size: 11px;
  color: var(--gh-muted);
}
.gh-tl-tip .gh-tl-tip__v {
  font-size: 14px;
  font-weight: 800;
  color: var(--gh-accent);
}
.gh-tl-tip .gh-tl-tip__s {
  font-size: 11px;
  color: var(--gh-ink);
  opacity: 0.85;
}
.gh-tl__empty {
  display: block;
  padding: 40px 0;
  text-align: center;
  line-height: 1.8;
}
/* 기록 변경 이력 리스트 */
.gh-tl__history {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-tlh__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gh-ink);
}
.gh-tlh {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.gh-tlh th {
  text-align: left;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gh-muted);
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-tlh th:last-child, .gh-tlh td:last-child {
  text-align: right;
}
.gh-tlh td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-ink);
}
.gh-tlh tbody tr:last-child td {
  border-bottom: 0;
}
.gh-tlh .gh-tlh__d {
  color: var(--gh-muted);
  white-space: nowrap;
}
.gh-tlh .gh-tlh__v {
  font-weight: 700;
}
.gh-tlh__c {
  font-weight: 700;
  white-space: nowrap;
}
.gh-tlh__c.is-up {
  color: #41c98a;
}
.gh-tlh__c.is-down {
  color: #ff5e7a;
}
.gh-tlh__c0 {
  color: var(--gh-muted);
}
/* 무릉도장 히스토리 */
.gh-dojang {
  margin-top: 16px;
}
.gh-dojang__hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--gh-muted);
  margin-left: 6px;
}
.gh-dojang__head {
  margin: 4px 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--gh-ink);
}
.gh-dojang-inline {
  min-height: 80px;
}
.gh-dojang__empty {
  display: block;
  padding: 30px 0;
  text-align: center;
  line-height: 1.8;
}
.gh-dj {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}
.gh-dj th {
  text-align: left;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gh-muted);
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-dj td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-ink);
  vertical-align: middle;
}
.gh-dj tbody tr:last-child td {
  border-bottom: 0;
}
.gh-dj th:last-child, .gh-dj td:last-child {
  text-align: right;
}
.gh-dj .gh-dj__d {
  color: var(--gh-muted);
  white-space: nowrap;
}
.gh-dj .gh-dj__f b {
  font-size: 15px;
  color: var(--gh-accent);
}
.gh-dj .gh-dj__f .gh-dj__t {
  display: block;
  font-size: 11px;
  color: var(--gh-muted);
  margin-top: 2px;
}
.gh-dj .gh-dj__c {
  white-space: nowrap;
}
.gh-dj .gh-dj__lv {
  color: var(--gh-muted);
  white-space: nowrap;
}
.gh-dj .gh-dj__r {
  font-weight: 700;
  white-space: nowrap;
}
.gh-dj .gh-dj__up {
  color: #41c98a;
}
.gh-dj .gh-dj__first {
  color: var(--gh-muted);
}
.gh-tlh__more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  cursor: pointer;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 8px;
  color: var(--gh-ink);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.12s;
}
.gh-tlh__more:hover {
  background: rgba(var(--gh-fg-rgb), 0.08);
}
.gh-tlh__more em {
  color: var(--gh-accent);
  font-style: normal;
  margin-left: 4px;
}
/* ===== 코디 액션 (멀티 캐릭터 스테이지) ===== */
.gh-dress__hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--gh-muted);
  margin-left: 6px;
}
.gh-dress__stage {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  background: conic-gradient(rgba(var(--gh-fg-rgb), 0.06) 25%, transparent 0 50%, rgba(var(--gh-fg-rgb), 0.06) 0 75%, transparent 0) 0 0/24px 24px;
}
.gh-dress__stage--bg1 {
  background: #f4f6fb;
}
.gh-dress__stage--bg2 {
  background: #14161f;
}
.gh-dress__stage--bg3 {
  background: radial-gradient(circle at 50% 42%, rgba(var(--gh-accent-rgb), 0.4), rgba(var(--gh-accent-rgb), 0.08) 70%);
}
@media (max-width: 640px) {
  .gh-dress__stage {
    height: 320px;
  }
}
.gh-dress__char {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}
.gh-dress__char:active {
  cursor: grabbing;
}
.gh-dress__char img {
  display: block;
  width: 96px;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.gh-dress__char.is-active {
  z-index: 5;
}
.gh-dress__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 11px;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.gh-dress__tag:hover {
  background: rgba(0, 0, 0, 0.82);
}
.gh-dress__tag.is-active {
  background: #5b8cff;
}
.gh-dress__bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gh-dress__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.gh-dress__sel {
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-dress__sel b {
  color: #5b8cff;
  font-weight: 800;
}
.gh-dress__f {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gh-dress__f > span {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 600;
}
.gh-dress__f select {
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.gh-dress__f select:focus {
  border-color: #5b8cff;
}
.gh-dress__bgs {
  display: flex;
  gap: 6px;
}
.gh-dress__bg {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid rgba(var(--gh-fg-rgb), 0.14);
  background: conic-gradient(rgba(var(--gh-fg-rgb), 0.12) 25%, transparent 0 50%, rgba(var(--gh-fg-rgb), 0.12) 0 75%, transparent 0) 0 0/14px 14px;
}
.gh-dress__bg--1 {
  background: #f4f6fb;
}
.gh-dress__bg--2 {
  background: #14161f;
}
.gh-dress__bg--3 {
  background: radial-gradient(circle at 50% 40%, rgba(var(--gh-accent-rgb), 0.7), rgba(var(--gh-accent-rgb), 0.12));
}
.gh-dress__bg.is-active {
  border-color: var(--gh-accent);
}
.gh-dress__play, .gh-dress__flip, .gh-dress__dl, .gh-dress__invite, .gh-dress__remove {
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, filter 0.15s;
}
.gh-dress__play:hover, .gh-dress__flip:hover, .gh-dress__dl:hover, .gh-dress__invite:hover, .gh-dress__remove:hover {
  border-color: #5b8cff;
  transform: translateY(-1px);
}
.gh-dress__play.is-active, .gh-dress__flip.is-active, .gh-dress__dl.is-active, .gh-dress__invite.is-active, .gh-dress__remove.is-active {
  background: var(--gh-accent);
  color: #11121d;
  border-color: transparent;
}
.gh-dress__play:disabled, .gh-dress__flip:disabled, .gh-dress__dl:disabled, .gh-dress__invite:disabled, .gh-dress__remove:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.gh-dress__play {
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  border-color: transparent;
}
.gh-dress__invite {
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #11121d;
  border-color: transparent;
}
.gh-dress__guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-dress__guide span {
  font-size: 12px;
  color: var(--gh-muted);
}
.gh-dress__guide b {
  color: #5b8cff;
  font-weight: 700;
}
.gh-dress__party {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.gh-dress__party:empty {
  margin: 0;
}
.gh-imodal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.gh-imodal.is-open {
  display: flex;
}
.gh-imodal__box {
  position: relative;
  width: 90%;
  max-width: 360px;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 18px;
  padding: 28px 24px 22px;
  animation: gh-pop 0.2s ease both;
}
.gh-imodal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--gh-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.gh-imodal__close:hover {
  color: var(--gh-ink);
}
.gh-imodal__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--gh-ink);
}
.gh-imodal__desc {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-imodal__form {
  display: flex;
  gap: 8px;
}
.gh-imodal__input {
  flex: 1;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.gh-imodal__input:focus {
  border-color: #5b8cff;
}
.gh-imodal__btn {
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #11121d;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.gh-imodal__btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.gh-imodal__status {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
  font-weight: 600;
}
.gh-imodal__status.is-loading {
  color: #5b8cff;
}
.gh-imodal__status.is-error {
  color: #ff6b6b;
}
/* 코디 아이템 (헤어/성형/피부 + 캐시장비 통합 슬롯) */
.gh-coditem {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 760px) {
  .gh-coditem {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .gh-coditem {
    grid-template-columns: 1fr;
  }
}
.gh-coditem__cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 8px 10px;
}
.gh-coditem__cell.is-empty {
  opacity: 0.45;
}
.gh-coditem__slot {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 9px;
  overflow: hidden;
}
.gh-coditem__slot img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.gh-coditem__ph {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-coditem__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.gh-coditem__part {
  font-size: 11px;
  color: var(--gh-muted);
}
.gh-coditem__name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-coditem__sub {
  font-size: 10.5px;
  color: var(--gh-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 코디 변경 기록 */
.gh-coordi {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gh-coordi__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gh-coordi__img {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.gh-coordi__img img {
  width: 78px;
  height: auto;
  transform: scale(2.2);
  transform-origin: center 47%;
}
.gh-coordi__date {
  color: var(--gh-muted);
  font-size: 12px;
}
/* 헤어/성형/피부 */
.gh-beauty {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.gh-beauty__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
}
.gh-beauty__k {
  color: var(--gh-muted);
}
.gh-beauty__v small {
  color: var(--gh-muted);
}
/* 캐릭터 본문 2단 (스탯 | 장비) */
.gh-char-grid {
  display: grid;
  grid-template-columns: minmax(260px, 350px) 1fr;
  gap: 16px;
  align-items: start;
}
.gh-statpanel {
  position: sticky;
  top: 80px;
}
.gh-cp {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 15px;
  margin-bottom: 13px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(var(--gh-accent-rgb), 0.15), rgba(255, 77, 141, 0.1));
  border: 1px solid rgba(var(--gh-accent-rgb), 0.28);
}
.gh-cp__k {
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-cp__v {
  font-size: 23px;
  font-weight: 850;
  color: var(--gh-accent);
  font-variant-numeric: tabular-nums;
}
/* 장비 그리드 (3열, 잠재/에디 인라인 + hover 상세 툴팁) */
.gh-equip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.gh-equip__head .gh-card__title {
  margin: 0;
}
.gh-preset-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.gh-preset-tab {
  background: rgba(var(--gh-fg-rgb), 0.05);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}
.gh-preset-tab:hover {
  color: var(--gh-ink);
}
.gh-preset-tab.is-active {
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  color: var(--gh-ink);
  border-color: transparent;
}
.gh-preset-tab__cur {
  font-size: 10px;
  opacity: 0.92;
  margin-left: 3px;
}
.gh-preset-body {
  display: none;
}
.gh-preset-body.is-active {
  display: block;
}
.gh-preset-body--grid {
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 10px;
}
.gh-preset-body--grid.is-active {
  display: grid;
}
.gh-preset-body__label {
  display: none;
}
.gh-cur-badge {
  background: #5b8cff;
  color: #000;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}
/* PC: 어빌리티·하이퍼스탯 3열 동시 표시 */
@media (min-width: 641px) {
  .gh-preset-group--all .gh-preset-tabs {
    display: none;
  }
  .gh-preset-group--all .gh-preset-bodies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gh-preset-group--all .gh-preset-body {
    display: block;
    background: rgba(var(--gh-fg-rgb), 0.03);
    border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
    border-radius: 12px;
    padding: 14px;
  }
  .gh-preset-group--all .gh-preset-body.is-active {
    border-color: #5b8cff;
    background: rgba(91, 140, 255, 0.07);
  }
  .gh-preset-body__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gh-muted);
    margin-bottom: 12px;
  }
}
.gh-equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 10px;
}
/* 좌측/우측 컬럼 */
.gh-leftcol, .gh-rightcol {
  min-width: 0;
}
/* 성향 (컴팩트) */
.gh-prop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.gh-prop__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 10px;
  padding: 9px 12px;
}
.gh-prop__k {
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-prop__v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* 심볼 */
.gh-symbols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}
.gh-symbol {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 8px 11px;
}
.gh-symbol__slot {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9px;
}
.gh-symbol__slot img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}
.gh-symbol__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gh-symbol__name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-symbol__meta {
  color: var(--gh-muted);
  font-size: 11.5px;
}
/* 세트효과 */
.gh-sets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gh-set {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 11px 13px;
}
.gh-set__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.gh-set__name {
  font-weight: 700;
  font-size: 13.5px;
}
.gh-set__cnt {
  color: var(--gh-accent);
  font-size: 12px;
  font-weight: 700;
}
.gh-set__opts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-set__opt {
  font-size: 12px;
  color: var(--gh-ink);
}
.gh-set__opt b {
  color: #5b8cff;
  margin-right: 4px;
}
/* 캐시장비 */
.gh-cash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.gh-cash {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 8px 10px;
}
.gh-cash__slot {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9px;
}
.gh-cash__slot img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}
.gh-cash__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gh-cash__part {
  color: var(--gh-muted);
  font-size: 11px;
}
.gh-cash__name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-cash__label {
  color: var(--gh-accent);
  font-size: 10.5px;
}
/* 펫 */
.gh-pets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.gh-pet {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 13px;
  padding: 11px 12px;
}
.gh-pet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.gh-pet__slot {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.gh-pet__slot img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.gh-pet__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gh-pet__name {
  font-weight: 700;
  font-size: 14px;
}
.gh-pet__nick {
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-pet__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12.5px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-pet__ic {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-pet__ic img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}
.gh-muted2 {
  color: var(--gh-muted);
}
/* 안드로이드 */
.gh-android__head {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 13px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  cursor: default;
  transition: border-color 0.12s, background 0.12s;
}
.gh-android__head:hover {
  border-color: #5b8cff;
  background: rgba(91, 140, 255, 0.08);
}
.gh-android__slot {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 11px;
}
.gh-android__slot img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}
.gh-android__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gh-android__name {
  font-weight: 700;
  font-size: 15px;
}
.gh-android__sub {
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-android__looks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}
.gh-and-look {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12.5px;
}
.gh-and-look span {
  color: var(--gh-muted);
}
.gh-and-subtitle {
  margin: 6px 0 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-muted);
}
.gh-abil__grade {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 7px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  margin-bottom: 9px;
}
.gh-hyper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-hyper__line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 12.5px;
}
.gh-hyper__t b {
  color: #5b8cff;
}
.gh-hyper__i {
  color: var(--gh-muted);
  text-align: right;
}
.gh-eq2 {
  position: relative;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 13px;
  padding: 11px 12px;
  transition: border-color 0.12s, background 0.12s;
}
.gh-eq2:hover {
  border-color: #5b8cff;
  background: rgba(91, 140, 255, 0.07);
  z-index: 5;
}
.gh-eq2__top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.gh-eq2__slot {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9px;
}
.gh-eq2__icon {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.gh-eq2__star {
  position: absolute;
  bottom: -5px;
  right: -3px;
  font-size: 10px;
  font-weight: 700;
  color: #11121d;
  background: var(--gh-accent);
  border-radius: 6px;
  padding: 0 4px;
}
.gh-eq2__head {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.gh-eq2__part {
  color: var(--gh-muted);
  font-size: 11px;
}
.gh-eq2__name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-eq2__lv {
  color: var(--gh-muted);
  font-size: 11px;
}
.gh-eq2__pot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 11.5px;
  padding: 6px 2px 0;
  border-top: 1px dashed rgba(var(--gh-fg-rgb), 0.08);
  margin-top: 2px;
}
.gh-eq2__pot b {
  width: 100%;
  font-size: 10.5px;
  opacity: 0.9;
}
.gh-eq2__pot span {
  color: var(--gh-ink);
}
.gh-eq__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  width: 248px;
  padding: 13px;
  z-index: 60;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 13px;
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
  pointer-events: none;
}
.gh-eq__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--gh-pop-bg);
}
.gh-eq2:hover .gh-eq__tip {
  opacity: 1;
  visibility: visible;
}
.gh-tip__name {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 3px;
}
.gh-tip__meta {
  color: var(--gh-muted);
  font-size: 11.5px;
  margin-bottom: 9px;
}
.gh-tip__opts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}
.gh-tip__opt {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.gh-tip__opt span:last-child {
  color: #8fffa9;
  font-weight: 600;
}
.gh-tip__pot {
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding-top: 7px;
  margin-top: 5px;
  font-size: 11.5px;
}
.gh-tip__pot b {
  display: block;
  margin-bottom: 3px;
}
.gh-tip__pot div {
  color: var(--gh-ink);
  line-height: 1.5;
}
.gh-tip__soul {
  margin-top: 7px;
  color: var(--gh-accent);
  font-size: 11.5px;
}
.gh-tip__desc {
  color: var(--gh-muted);
  font-size: 11.5px;
  line-height: 1.5;
  margin: 6px 0 8px;
  white-space: normal;
}
/* 공용 hover 툴팁 (심볼/캐시장비/펫) */
.gh-hastip {
  position: relative;
}
.gh-hastip:hover {
  z-index: 20;
}
.gh-tt {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  width: 244px;
  padding: 13px;
  z-index: 60;
  text-align: left;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 13px;
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
  pointer-events: none;
}
.gh-tt::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--gh-pop-bg);
}
.gh-hastip:hover .gh-tt {
  opacity: 1;
  visibility: visible;
}
.gh-tt__icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 8px auto 4px;
}
/* 스탯 그리드 */
.gh-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.gh-stat {
  background: rgba(var(--gh-fg-rgb), 0.035);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  transition: border-color 0.15s, transform 0.15s;
}
.gh-stat:hover {
  border-color: rgba(var(--gh-fg-rgb), 0.14);
  transform: translateY(-2px);
}
.gh-stat__k {
  color: var(--gh-muted);
  font-size: 12.5px;
}
.gh-stat__v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* 스탯 전체 리스트 (스탯 패널) */
.gh-stat-list {
  display: flex;
  flex-direction: column;
}
.gh-stat2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  font-size: 13px;
}
.gh-stat2__k {
  color: var(--gh-muted);
}
.gh-stat2__v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gh-subtitle {
  margin: 18px 0 9px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gh-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(var(--gh-fg-rgb), 0.08);
}
.gh-abil {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-abil__line {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 12.5px;
  font-weight: 600;
}
/* 깨진 아이콘 숨김 */
.gh-img-fail {
  visibility: hidden;
}
/* 장비 */
.gh-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 9px;
}
.gh-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(var(--gh-fg-rgb), 0.035);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 9px 11px;
}
.gh-item__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.gh-item__part {
  color: var(--gh-muted);
  font-size: 11.5px;
  min-width: 54px;
}
.gh-item__name {
  font-size: 13px;
  font-weight: 600;
}
.gh-item__star {
  margin-left: auto;
  color: var(--gh-accent);
  font-size: 12px;
}
.grade-레전드리 {
  color: #9bff5b;
  text-shadow: 0 0 12px rgba(155, 255, 91, 0.5);
}
.grade-유니크 {
  color: #ffd44d;
  text-shadow: 0 0 12px rgba(255, 212, 77, 0.5);
}
.grade-에픽 {
  color: #c68efd;
  text-shadow: 0 0 12px rgba(198, 142, 253, 0.5);
}
.grade-레어 {
  color: #6fb7ff;
}
/* 세부 섹션 탭 */
.gh-sectabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.gh-sectab {
  background: rgba(var(--gh-fg-rgb), 0.04);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.gh-sectab:hover {
  color: var(--gh-ink);
  transform: translateY(-1px);
}
.gh-sectab.is-active {
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  color: var(--gh-ink);
  border-color: transparent;
  box-shadow: 0 6px 16px -8px rgba(91, 140, 255, 0.7);
}
.gh-section-body {
  min-height: 20px;
}
/* 범용 렌더러 */
.gh-glist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gh-grow {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  align-items: start;
}
.gh-gkey {
  color: var(--gh-muted);
  font-size: 13px;
  text-transform: capitalize;
}
.gh-gval {
  font-size: 14px;
  word-break: break-word;
}
.gh-subcard {
  background: rgba(var(--gh-fg-rgb), 0.035);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 8px;
}
.gh-muted {
  color: var(--gh-muted);
  font-size: 13px;
}
/* 인기 프로필 */
.gh-popular:not(:empty) {
  margin-top: 4px;
}
.gh-pop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gh-pop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 150px 8px 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.gh-pop-card:hover {
  border-color: #5b8cff;
  transform: translateY(-3px);
  background: rgba(91, 140, 255, 0.1);
}
.gh-pop-card__img {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  object-fit: contain;
}
.gh-pop-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--gh-ink);
  position: relative;
  z-index: 1;
}
.gh-pop-card__sub {
  color: var(--gh-muted);
  font-size: 12px;
  position: relative;
  z-index: 1;
}
/* 캐릭터 LIVE 패널 (신규 / 인기) */
.gh-livechars:not(:empty) {
  margin-top: 4px;
}
.gh-live-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gh-lc-panel {
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 14px 14px 8px;
  min-width: 0;
}
.gh-lc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.gh-lc-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0;
}
.gh-lc-refresh {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-muted);
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s;
}
.gh-lc-refresh:hover {
  border-color: var(--gh-accent);
  color: var(--gh-accent);
}
.gh-lc-refresh.is-spinning {
  animation: gh-spin 0.6s linear infinite;
}
@keyframes gh-spin {
  to {
    transform: rotate(360deg);
  }
}
.gh-live-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-muted);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}
.gh-live-info:hover {
  border-color: var(--gh-accent);
  color: var(--gh-accent);
}
.gh-live-info::after {
  content: attr(data-livetip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1a1a22;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  padding: 7px 11px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 50;
}
.gh-live-info::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: #1a1a22;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 50;
}
.gh-live-info:hover::after, .gh-live-info:hover::before, .gh-live-info.is-open::after, .gh-live-info.is-open::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gh-lc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gh-lc-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 9px;
  border-radius: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--gh-ink);
  transition: background 0.15s;
}
.gh-lc-card:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-lc-card__rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-muted);
}
.gh-lc-card__rank--1 {
  background: linear-gradient(135deg, #ffcf3a, #ff9d00);
  color: #2a1c00;
}
.gh-lc-card__rank--2 {
  background: linear-gradient(135deg, #e3e8f2, #aab4c8);
  color: #20242e;
}
.gh-lc-card__rank--3 {
  background: linear-gradient(135deg, #f0a878, #cc7a45);
  color: #2a1500;
}
.gh-lc-card__av {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(var(--gh-fg-rgb), 0.05);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gh-lc-card__av img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(5.2) translateY(17.3px);
  transform-origin: bottom center;
}
.gh-lc-card__ph {
  font-size: 20px;
  align-self: center;
}
.gh-lc-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.gh-lc-card__nameline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.gh-lc-card__name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-lc-card__guild {
  flex-shrink: 0;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
  background: rgba(var(--gh-accent-rgb), 0.14);
  color: var(--gh-accent);
  cursor: pointer;
  transition: background 0.15s;
}
.gh-lc-card__guild:hover {
  background: rgba(var(--gh-accent-rgb), 0.28);
}
.gh-lc-card__sub {
  font-size: 12px;
  color: var(--gh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-lc-card__today {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--gh-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 680px) {
  .gh-live-panels {
    grid-template-columns: 1fr;
  }
}
/* 칩 / 리스트 / 테이블 */
.gh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.gh-chip {
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
}
.gh-chip--btn {
  cursor: pointer;
  color: var(--gh-ink);
  transition: background 0.15s, transform 0.15s, color 0.15s;
}
.gh-chip--btn small {
  color: var(--gh-muted);
  margin-left: 4px;
}
.gh-chip--btn:hover {
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  color: var(--gh-ink);
  transform: translateY(-2px);
}
.gh-chip--btn:hover small {
  color: rgba(var(--gh-fg-rgb), 0.85);
}
.gh-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.gh-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  font-size: 14px;
}
.gh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gh-table th, .gh-table td {
  padding: 11px 13px;
  text-align: left;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-table th {
  color: var(--gh-muted);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: capitalize;
}
.gh-table td {
  font-variant-numeric: tabular-nums;
}
.gh-table tbody tr {
  transition: background 0.12s;
}
.gh-table tbody tr:hover {
  background: rgba(var(--gh-fg-rgb), 0.04);
}
/* ===== 공용 2차 메뉴 바 (GNB 바로 아래 — 랭킹/소식/커뮤니티 공통) ===== */
.gh-subtabs {
  display: flex;
  gap: 4px;
  margin: -8px -4px 18px;
  padding: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-subtabs::-webkit-scrollbar {
  display: none;
}
.gh-subtab {
  flex: 0 0 auto;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--gh-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px 12px;
  white-space: nowrap;
  transition: color 0.12s;
}
.gh-subtab:hover {
  color: var(--gh-ink);
}
.gh-subtab.is-active {
  color: var(--gh-accent);
}
.gh-subtab.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2.5px;
  background: var(--gh-accent);
  border-radius: 2px;
}
.gh-subtab__hidden {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(150, 150, 150, 0.22);
  color: var(--gh-muted);
}
.gh-rank-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.gh-rank-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0;
}
.gh-rank-date {
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-rank-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.gh-rank-sel {
  appearance: none;
  -webkit-appearance: none;
  background: var(--gh-glass2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239197b8' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  padding: 10px 32px 10px 14px;
  font-size: 14px;
  cursor: pointer;
  min-width: 130px;
}
.gh-rank-sel:focus {
  outline: none;
  border-color: #5b8cff;
}
.gh-rank-search {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.gh-rank-search__input {
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  min-width: 200px;
}
.gh-rank-search__input:focus {
  outline: none;
  border-color: #5b8cff;
}
.gh-rank-search__input::placeholder {
  color: var(--gh-muted);
}
.gh-rank-search__btn {
  background: linear-gradient(135deg, var(--gh-accent), #ff9d00);
  color: #2a1c00;
  border: none;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.gh-rank-search__btn:hover {
  filter: brightness(1.08);
}
.gh-rank-found {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: var(--gh-ink);
  font-size: 15px;
}
.gh-rank-found b {
  color: var(--gh-accent);
}
.gh-rank-worldnote {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(var(--gh-accent-rgb), 0.12);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.3);
  color: var(--gh-ink);
  font-size: 14px;
  line-height: 1.5;
}
.gh-rank-worldnote b {
  color: var(--gh-accent);
}
/* 길드명 링크 (랭킹 → 길드 상세) */
.gh-guildlink {
  cursor: pointer;
}
.gh-guildlink:hover {
  text-decoration: underline;
  color: #5b8cff;
}
.gh-guildlink.gh-rank-charbtn:hover span {
  color: #5b8cff;
  text-decoration: underline;
}
.gh-table-wrap {
  overflow-x: auto;
}
.gh-rank-table th, .gh-rank-table td {
  white-space: nowrap;
}
.gh-rank-table .gh-rank-th-no {
  width: 64px;
}
.gh-rank-table .gh-rank-th-exp {
  text-align: right;
}
.gh-rank-table .gh-rank-exp {
  text-align: right;
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px 0;
  margin-bottom: 0;
}
.gh-podium__player {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--gh-ink);
  flex: 1;
  max-width: 240px;
  padding: 16px 10px 0;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s;
  transform-origin: bottom center;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}
.gh-podium__player:hover {
  transform: scale(1.04);
}
.gh-podium__player--1 {
  background: linear-gradient(160deg, rgba(255, 207, 58, 0.18), rgba(255, 157, 0, 0.08));
  border: 1px solid rgba(255, 207, 58, 0.35);
  border-bottom: none;
  padding-top: 24px;
}
.gh-podium__player--1 .gh-podium__rank {
  background: linear-gradient(135deg, #ffcf3a, #ff9d00);
  color: #2a1c00;
}
.gh-podium__player--2 {
  background: linear-gradient(160deg, rgba(200, 210, 230, 0.12), rgba(170, 180, 200, 0.06));
  border: 1px solid rgba(180, 190, 210, 0.25);
  border-bottom: none;
}
.gh-podium__player--2 .gh-podium__rank {
  background: linear-gradient(135deg, #e3e8f2, #aab4c8);
  color: #20242e;
}
.gh-podium__player--3 {
  background: linear-gradient(160deg, rgba(204, 122, 69, 0.14), rgba(204, 122, 69, 0.06));
  border: 1px solid rgba(204, 122, 69, 0.28);
  border-bottom: none;
}
.gh-podium__player--3 .gh-podium__rank {
  background: linear-gradient(135deg, #f0a878, #cc7a45);
  color: #2a1500;
}
.gh-podium__avatar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 96px;
  height: 96px;
  font-size: 48px;
  line-height: 1;
  margin-top: 70px;
  transform: translateY(40px);
}
.gh-podium__avatar .gh-podium__avatar-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(3);
  transform-origin: bottom center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  animation: gh-podium-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.gh-podium__player--1 .gh-podium__avatar {
  width: 112px;
  height: 112px;
}
.gh-podium__player--1 .gh-podium__avatar .gh-podium__avatar-img {
  width: 112px;
  height: 112px;
}
@keyframes gh-podium-pop {
  from {
    opacity: 0;
    transform: scale(2.4) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(3) translateY(0);
  }
}
.gh-podium__rank {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.gh-podium__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.gh-podium__name .gh-world-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 3px;
}
.gh-podium__sub {
  display: block;
  font-size: 12px;
  color: var(--gh-muted);
  margin-top: 3px;
}
@media (max-width: 480px) {
  .gh-podium {
    gap: 4px;
    padding: 16px 8px 0;
  }
  .gh-podium__player {
    font-size: 12px;
    padding: 12px 6px 0;
  }
  .gh-podium__player--1 {
    padding-top: 18px;
  }
  .gh-podium__name {
    font-size: 12px;
  }
}
.gh-rank-no {
  width: 64px;
}
.gh-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(var(--gh-fg-rgb), 0.07);
  color: var(--gh-muted);
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.gh-rank-badge--1 {
  background: linear-gradient(135deg, #ffcf3a, #ff9d00);
  color: #2a1c00;
}
.gh-rank-badge--2 {
  background: linear-gradient(135deg, #e3e8f2, #aab4c8);
  color: #20242e;
}
.gh-rank-badge--3 {
  background: linear-gradient(135deg, #f0a878, #cc7a45);
  color: #2a1500;
}
.gh-rank-charbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gh-ink);
  text-decoration: none;
  font-weight: 600;
}
.gh-rank-charbtn .gh-world-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.gh-rank-charbtn:hover span {
  color: #5b8cff;
  text-decoration: underline;
}
.gh-rank-charbtn--guild {
  cursor: default;
}
.gh-rank-charbtn--guild:hover span {
  color: var(--gh-ink);
  text-decoration: none;
}
.gh-rank-sel--type {
  font-weight: 700;
  border-color: #5b8cff;
  color: #5b8cff;
}
/* 검색 결과 하이라이트 줄 */
.gh-rank-table tbody tr.gh-rank-row--hl {
  background: rgba(var(--gh-accent-rgb), 0.14);
  box-shadow: inset 3px 0 0 var(--gh-accent);
}
.gh-rank-table tbody tr.gh-rank-row--hl:hover {
  background: rgba(var(--gh-accent-rgb), 0.2);
}
.gh-rank-table tbody tr.gh-rank-row--hl td {
  font-weight: 700;
}
/* 모바일 카드 (기본 숨김 → 600px 이하에서 테이블 대신 표시) */
.gh-rank-cards {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.gh-rcard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  transition: background 0.12s;
}
.gh-rcard:active {
  background: rgba(var(--gh-fg-rgb), 0.07);
}
.gh-rcard--top {
  border-color: rgba(var(--gh-accent-rgb), 0.28);
}
.gh-rcard--hl {
  background: rgba(var(--gh-accent-rgb), 0.14);
  border-color: rgba(var(--gh-accent-rgb), 0.45);
}
.gh-rcard__rank {
  flex-shrink: 0;
  min-width: 36px;
  height: 28px;
  font-size: 14px;
}
.gh-rcard__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.gh-rcard__name {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gh-ink);
  font-size: 16px;
}
.gh-rcard__name .gh-world-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.gh-rcard__name b {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-rcard__meta {
  color: #5b8cff;
  font-size: 13px;
  font-weight: 600;
}
.gh-rcard__sub {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-rcard__sub em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.gh-rcard__arr {
  flex-shrink: 0;
  color: var(--gh-muted);
  font-size: 22px;
  line-height: 1;
}
.gh-rank-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.gh-rank-pager__btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--gh-glass2);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-ink);
  font-size: 20px;
  line-height: 1;
}
.gh-rank-pager__btn:hover:not(:disabled) {
  border-color: #5b8cff;
  color: #5b8cff;
}
.gh-rank-pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.gh-rank-pager__cur {
  color: var(--gh-muted);
  font-size: 14px;
}
.gh-rank-pager__cur input {
  width: 64px;
  text-align: center;
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 14px;
  margin-right: 4px;
}
.gh-rank-pager__cur input:focus {
  outline: none;
  border-color: #5b8cff;
}
.gh-rank-pager--top {
  margin-top: 0;
  margin-left: auto;
  gap: 8px;
}
.gh-rank-pager--top .gh-rank-pager__btn {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.gh-rank-pager--top .gh-rank-pager__cur {
  font-size: 13px;
}
.gh-rank-pager--top .gh-rank-pager__cur input {
  width: 50px;
  padding: 6px 4px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .gh-rank-search {
    margin-left: 0;
    width: 100%;
  }
  .gh-rank-search__input {
    flex: 1;
    min-width: 0;
  }
  .gh-rank-pager--top {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .gh-rank-sel {
    flex: 1;
    min-width: 0;
  }
  .gh-rank-tableview {
    display: none;
  }
  .gh-rank-cards {
    display: flex;
  }
  .gh-rank-card {
    background: none;
    border: none;
    padding: 0;
  }
}
/* ===== 길드 ===== */
.gh-guild-head {
  margin-bottom: 16px;
}
.gh-guild-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0;
}
.gh-guild-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.gh-guild-search__input {
  flex: 1;
  min-width: 160px;
  background: var(--gh-glass2);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
.gh-guild-search__input:focus {
  outline: none;
  border-color: var(--gh-accent);
}
.gh-guild-search__input::placeholder {
  color: var(--gh-muted);
}
.gh-guild-search__btn {
  background: linear-gradient(135deg, var(--gh-accent), #ff9d00);
  color: #2a1c00;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.gh-guild-search__btn:hover {
  filter: brightness(1.06);
}
.gh-guild-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gh-guild-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.12s, transform 0.12s;
}
.gh-guild-card:hover {
  border-color: var(--gh-accent);
  transform: translateY(-2px);
}
.gh-guild-card__world {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gh-muted);
  font-size: 12.5px;
}
.gh-guild-card__world .gh-world-icon {
  width: 18px;
  height: 18px;
}
.gh-guild-card__name {
  color: var(--gh-ink);
  font-size: 17px;
  font-weight: 700;
}
.gh-guild-card__name em {
  color: var(--gh-accent);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
.gh-guild-card__sub {
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-guild-card__cnt {
  color: #5b8cff;
  font-size: 13px;
  font-weight: 600;
}
.gh-guild-detail__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.gh-guild-backbtn {
  background: none;
  border: none;
  color: var(--gh-muted);
  cursor: pointer;
  font-size: 14px;
}
.gh-guild-backbtn:hover {
  color: var(--gh-ink);
}
.gh-guild-summary {
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gh-guild-summary__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.gh-guild-summary__name {
  font-size: 24px;
  font-weight: 800;
  color: var(--gh-ink);
}
.gh-guild-summary__lv {
  color: var(--gh-accent);
  font-size: 16px;
}
.gh-guild-summary__world {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gh-muted);
  font-size: 14px;
}
.gh-guild-summary__world .gh-world-icon {
  width: 20px;
  height: 20px;
}
.gh-guild-summary__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.gh-guild-summary__stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-guild-summary__stats span {
  color: var(--gh-muted);
  font-size: 12.5px;
}
.gh-guild-summary__stats b {
  color: var(--gh-ink);
  font-size: 16px;
}
.gh-guild-rankbox {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gh-guild-rank {
  flex: 1;
  min-width: 90px;
  background: rgba(var(--gh-accent-rgb), 0.08);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-guild-rank span {
  color: var(--gh-muted);
  font-size: 12px;
}
.gh-guild-rank b {
  color: var(--gh-accent);
  font-size: 16px;
}
.gh-guild-updated {
  font-size: 12px;
}
.gh-guild-members__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.gh-guild-regall {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(var(--gh-accent-rgb), 0.14);
  color: var(--gh-accent);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.4);
  transition: 0.15s;
}
.gh-guild-regall:hover:not(:disabled) {
  background: rgba(var(--gh-accent-rgb), 0.24);
}
.gh-guild-regall:disabled {
  opacity: 0.7;
  cursor: default;
}
.gh-guild-members__title {
  font-size: 16px;
  color: var(--gh-ink);
  margin: 0;
}
.gh-guild-progress {
  font-size: 13px;
}
.gh-guild-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.gh-gm {
  position: relative;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 16px 12px;
  /* 아바타: 고정 박스 안에서 외형을 확대 후 투명 여백 클리핑 (UI 크기 고정, 캐릭터만 ~3배) */
}
.gh-gm__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.gh-gm--master {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, rgba(var(--gh-accent-rgb), 0.14), rgba(var(--gh-accent-rgb), 0.03));
  border-color: rgba(var(--gh-accent-rgb), 0.5);
}
.gh-gm--master .gh-gm__inner {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.gh-gm--master .gh-gm__avatar {
  width: 120px;
  height: 128px;
}
.gh-gm__avatar {
  width: 92px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-gm__img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transform: scale(2.8);
  transform-origin: center 56%;
}
.gh-gm__img--ph {
  width: 56px;
  height: 56px;
  transform: none;
  background: rgba(var(--gh-fg-rgb), 0.05);
  border-radius: 12px;
}
.gh-gm__crown {
  color: var(--gh-accent);
  font-weight: 800;
  font-size: 14px;
}
.gh-gm__name {
  color: var(--gh-ink);
  font-weight: 700;
  font-size: 15px;
}
.gh-gm__meta {
  color: #5b8cff;
  font-size: 12.5px;
}
.gh-gm__badges {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.gh-gm__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.gh-gm__badge--on {
  background: rgba(80, 220, 130, 0.16);
  color: #62e09a;
}
.gh-gm__badge--off {
  background: rgba(var(--gh-fg-rgb), 0.07);
  color: var(--gh-muted);
}
.gh-gm__date {
  color: var(--gh-muted);
  font-size: 11px;
}
.gh-gm__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 14, 0.72);
  opacity: 0;
  transition: opacity 0.15s;
  text-decoration: none;
}
.gh-gm:hover .gh-gm__overlay {
  opacity: 1;
}
.gh-gm__overlay-btn {
  background: linear-gradient(135deg, var(--gh-accent), #ff9d00);
  color: #2a1c00;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .gh-gm--master .gh-gm__inner {
    flex-direction: column;
  }
}
/* 상태 */
.gh-placeholder {
  text-align: center;
  padding: 70px 20px;
  color: var(--gh-muted);
}
.gh-placeholder h2 {
  color: var(--gh-ink);
  margin-bottom: 10px;
  font-size: 22px;
}
.gh-loading {
  padding: 30px;
  text-align: center;
  color: var(--gh-muted);
}
.gh-loading::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: -5px;
  border: 2.5px solid rgba(var(--gh-fg-rgb), 0.15);
  border-top-color: var(--gh-accent);
  border-radius: 50%;
  animation: gh-spin 0.7s linear infinite;
}
.gh-msg {
  padding: 20px;
  text-align: center;
  color: var(--gh-muted);
}
.gh-msg--error {
  color: #ff8a9a;
}
.gh-raw {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
  font-size: 12px;
  color: var(--gh-muted);
}
.gh-footer {
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding: 26px;
  text-align: center;
  color: var(--gh-muted);
  font-size: 13px;
  background: rgba(8, 9, 18, 0.4);
}
/* ===== 햄버거 버튼 ===== */
.gh-gnb__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-ink);
  padding: 8px 6px;
  margin-left: auto;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.gh-gnb__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
/* ===== 사이드 드로어 ===== */
.gh-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.gh-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gh-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 240px;
  z-index: 200;
  background: var(--gh-pop-bg);
  border-left: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1);
  padding: 16px 12px calc(env(safe-area-inset-bottom,0px) + 24px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gh-nav-drawer.is-open {
  transform: translateX(0);
}
.gh-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-muted);
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.gh-drawer-close:hover {
  color: var(--gh-ink);
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-drawer-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-ink);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  width: 100%;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.gh-drawer-tab:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-drawer-tab.is-active {
  color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.08);
}
.gh-drawer-tab--soon {
  cursor: default;
  color: var(--gh-muted);
}
.gh-drawer-tab--soon:hover {
  background: none;
}
.gh-drawer-tab--soon em {
  font-size: 11px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-style: normal;
}
/* 900px 이하: 햄버거로 교체 */
@media (max-width: 900px) {
  .gh-gnb__menus {
    display: none;
  }
  .gh-gnb__burger {
    display: flex;
  }
}
/* 모바일 640px 이하 */
@media (max-width: 640px) {
  .gh-app {
    padding-top: 44px;
  }
  .gh-svcbar__inner {
    padding: 0 12px;
    height: 44px;
  }
  .gh-brand {
    border-right: none;
    padding-right: 0;
    font-size: 14px;
  }
  .gh-brand__img {
    height: 20px;
    width: auto;
  }
  .gh-gnb__sel {
    height: 44px;
    padding: 0 6px;
    border-right: none;
  }
  .gh-gnb__game-btn {
    font-size: 13px;
    padding: 3px 4px;
  }
  .gh-gnb__drop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    border-radius: 18px 18px 0 0;
    min-width: unset;
    max-height: 65vh;
    padding: 12px 8px calc(env(safe-area-inset-bottom,0px) + 12px);
  }
  .gh-hero {
    padding: 40px 16px 22px;
  }
  .gh-main {
    padding: 20px 16px 60px;
  }
  .gh-search {
    flex-wrap: wrap;
  }
  .gh-char__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    text-align: center;
  }
  .gh-char__avatar {
    width: 150px;
    height: 150px;
  }
  .gh-char__nameline, .gh-char__lvline, .gh-char__views, .gh-char__actions {
    justify-content: center;
  }
  .gh-char__side {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .gh-grow {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .gh-char-grid {
    grid-template-columns: 1fr;
  }
  .gh-statpanel {
    position: static;
  }
  .gh-eq__tip {
    width: 220px;
  }
}
/* ===== 사이트 공통 하단 푸터 ===== */
.gh-sitefooter {
  position: relative;
  z-index: 1;
  padding: 18px 24px 32px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(var(--gh-fg-rgb), 0.3);
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-sitefooter__nexon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(var(--gh-accent-rgb), 0.45);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.gh-sitefooter__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 0;
}
.gh-sitefooter__sep {
  margin: 0 12px;
  opacity: 0.4;
}
.gh-sitefooter__dot {
  margin: 0 6px;
  opacity: 0.4;
}
.gh-sitefooter__link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  color: rgba(var(--gh-fg-rgb), 0.35);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.gh-sitefooter__link:hover {
  color: rgba(var(--gh-fg-rgb), 0.7);
}
/* ===== 정책 모달 ===== */
.gh-pmodal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gh-pmodal__box {
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 18px;
  width: 100%;
  max-width: 740px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}
.gh-pmodal__head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  flex-shrink: 0;
  gap: 0;
  padding: 0 8px 0 16px;
}
.gh-pmodal__tabs {
  display: flex;
  flex: 1;
  gap: 2px;
  overflow-x: auto;
  padding: 10px 0 0;
}
.gh-pmodal__close {
  margin-left: 4px;
  flex-shrink: 0;
  align-self: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: rgba(var(--gh-fg-rgb), 0.4);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.gh-pmodal__close:hover {
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-ink);
}
.gh-pmodal__body {
  overflow-y: auto;
  flex: 1;
  padding: 24px 28px 36px;
}
.gh-pmodal__body h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--gh-ink);
}
.gh-pmodal__body h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--gh-accent);
}
.gh-pmodal__body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(var(--gh-fg-rgb), 0.7);
  margin: 0 0 9px;
}
.gh-pmodal__body ul, .gh-pmodal__body ol {
  padding-left: 18px;
  margin: 0 0 12px;
}
.gh-pmodal__body li {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(var(--gh-fg-rgb), 0.7);
  margin-bottom: 3px;
}
.gh-pmodal__body b {
  color: rgba(var(--gh-fg-rgb), 0.9);
}
.gh-pmodal__body small {
  color: rgba(var(--gh-fg-rgb), 0.45);
  font-size: 11.5px;
}
.gh-pmodal__panel {
  display: none;
}
.gh-pmodal__panel.is-active {
  display: block;
}
.gh-pmodal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin: 8px 0 14px;
}
.gh-pmodal__table th, .gh-pmodal__table td {
  padding: 8px 11px;
  text-align: left;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.09);
}
.gh-pmodal__table th {
  background: rgba(var(--gh-fg-rgb), 0.05);
  color: rgba(var(--gh-fg-rgb), 0.55);
  font-weight: 600;
}
.gh-pmodal__table td {
  color: rgba(var(--gh-fg-rgb), 0.7);
}
.gh-pmodal__note {
  background: rgba(var(--gh-accent-rgb), 0.07);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 4px 0 12px;
  color: rgba(var(--gh-accent-rgb), 0.88) !important;
  font-size: 13px !important;
}
.gh-pmodal__foot {
  color: rgba(var(--gh-fg-rgb), 0.28) !important;
  font-size: 12px !important;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding-top: 14px;
  margin-top: 22px;
}
.gh-pmodal__h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--gh-ink);
}
.gh-pmodal__h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--gh-accent);
}
.gh-ptab {
  padding: 8px 13px;
  border-radius: 7px 7px 0 0;
  background: none;
  border: none;
  font-family: inherit;
  color: rgba(var(--gh-fg-rgb), 0.4);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.gh-ptab:hover {
  color: rgba(var(--gh-fg-rgb), 0.7);
  background: rgba(var(--gh-fg-rgb), 0.05);
}
.gh-ptab.is-active {
  color: var(--gh-ink);
  background: rgba(var(--gh-accent-rgb), 0.1);
  border-bottom: 2px solid var(--gh-accent);
}
@media (max-width: 640px) {
  .gh-pmodal {
    padding: 0;
    align-items: flex-end;
  }
  .gh-pmodal__box {
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
  }
  .gh-pmodal__body {
    padding: 18px 18px 32px;
  }
  .gh-pmodal__table {
    font-size: 11px;
  }
  .gh-pmodal__table th, .gh-pmodal__table td {
    padding: 6px 8px;
  }
}
/* ===== 유니온 탭 ===== */
.gh-card__sub {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 16px 0 4px;
}
.gh-list--cols {
  columns: 2;
}
.gh-list--cols li {
  break-inside: avoid;
}
/* 유니온 헤더 바 */
.gh-union-hd {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.gh-union-hd b {
  color: var(--gh-ink);
}
.gh-union-hd span {
  font-size: 14px;
  color: var(--gh-muted);
}
.gh-union-grade-badge {
  background: linear-gradient(135deg, #f0a830, #e06820);
  color: var(--gh-ink);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.gh-union-pt {
  font-size: 13px;
  margin-bottom: 12px;
}
/* 유니온 챔피언 */
.gh-uchamp-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
@media (max-width: 640px) {
  .gh-uchamp-layout {
    grid-template-columns: 1fr;
  }
}
.gh-uchamp-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gh-champ-card {
  width: 130px;
  border: 2px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 12px 10px 10px;
  text-align: center;
  background: var(--gh-glass);
  position: relative;
}
.gh-champ-card.gh-champ--sss {
  border-color: rgba(255, 200, 60, 0.55);
  background: rgba(255, 180, 30, 0.06);
}
.gh-champ-card.gh-champ--ss {
  border-color: rgba(180, 210, 255, 0.45);
  background: rgba(140, 190, 255, 0.05);
}
.gh-champ-card.gh-champ--s {
  border-color: rgba(140, 255, 160, 0.35);
  background: rgba(100, 220, 130, 0.05);
}
.gh-champ-card.gh-champ--a {
  border-color: rgba(180, 140, 255, 0.35);
  background: rgba(160, 120, 255, 0.05);
}
.gh-champ-grade {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.gh-champ--sss .gh-champ-grade {
  color: #f0c030;
}
.gh-champ--ss .gh-champ-grade {
  color: #8ab4ff;
}
.gh-champ--s .gh-champ-grade {
  color: #60d080;
}
.gh-champ--a .gh-champ-grade {
  color: #a880ff;
}
.gh-champ-img {
  width: 110px;
  height: 160px;
  margin: 0 auto 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-champ-img__el {
  height: 300px;
  width: auto;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  object-fit: contain;
}
.gh-champ-img__ph {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(var(--gh-fg-rgb), 0.07);
}
.gh-champ-class {
  font-size: 11px;
  color: var(--gh-muted);
  margin-bottom: 3px;
}
.gh-champ-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.gh-champ-search {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  color: var(--gh-muted);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.gh-champ-search:hover {
  color: #5b8cff;
}
.gh-champ-badge {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.gh-champ-badge li {
  font-size: 10.5px;
  color: var(--gh-muted);
  padding: 2px 0;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-champ-badge li:last-child {
  border: 0;
}
.gh-uchamp-effects {
  min-width: 200px;
}
/* 유니온 아티팩트 */
.gh-uart-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
@media (max-width: 640px) {
  .gh-uart-layout {
    grid-template-columns: 1fr;
  }
}
.gh-uart-crystals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gh-crystal-card {
  width: 96px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  background: var(--gh-glass);
  cursor: default;
}
.gh-crystal-card.is-invalid {
  opacity: 0.45;
  filter: grayscale(1);
}
/* 크리스탈 이미지 */
.gh-crystal-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.gh-crystal-name {
  font-size: 11px;
  color: var(--gh-ink);
  line-height: 1.35;
  word-break: keep-all;
}
.gh-uart-effects {
  min-width: 220px;
}
.gh-uart-effects .gh-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gh-artifact-ap {
  font-size: 12px;
  color: var(--gh-muted);
  margin-bottom: 8px;
}
.gh-artifact-ap b {
  color: var(--gh-ink);
}
/* 유니온 공격대 */
.gh-up-body {
  display: none;
}
.gh-up-body.is-active {
  display: block;
}
.gh-union-raider-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gh-union-state {
  margin-top: 16px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding-top: 14px;
}
/* ===== 소식 탭 ===== */
.gh-news {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 0 80px;
}
.gh-news__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  padding-bottom: 0;
}
.gh-news__subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
/* 메인 서브탭 (공지사항 / 업데이트 / 이벤트·캐시템) */
.gh-ntab {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gh-muted);
  padding: 8px 16px 10px;
  border-radius: 0;
  transition: color 0.2s;
}
.gh-ntab::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: 1px;
  background: var(--gh-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.gh-ntab:hover {
  color: var(--gh-accent);
}
.gh-ntab:hover::after {
  transform: scaleX(1);
}
.gh-ntab.is-active {
  color: var(--gh-accent);
}
.gh-ntab.is-active::after {
  transform: scaleX(1);
}
/* 이벤트 패널 내 서브탭 (이벤트 / 캐시샵) */
.gh-nstab {
  background: none;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--gh-muted);
  padding: 5px 14px;
  border-radius: 20px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.gh-nstab:hover {
  color: var(--gh-ink);
  border-color: rgba(var(--gh-fg-rgb), 0.14);
}
.gh-nstab.is-active {
  color: var(--gh-accent);
  border-color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.08);
}
.gh-news__panel {
  display: none;
}
.gh-news__panel.is-active {
  display: block;
}
/* 공지 목록 */
.gh-nlist {
  display: flex;
  flex-direction: column;
}
.gh-nlist__loading {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.gh-nlist__empty {
  text-align: center;
  color: var(--gh-muted);
  font-size: 14px;
  padding: 40px 0;
  margin: 0;
}
.gh-nitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--gh-ink);
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  text-decoration: none;
  transition: background 0.15s;
}
.gh-nitem:last-child {
  border-bottom: none;
}
.gh-nitem:hover {
  background: rgba(var(--gh-fg-rgb), 0.04);
}
.gh-nitem--link {
  display: flex;
}
.gh-nitem__title {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-nitem__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gh-nitem__date {
  font-size: 12px;
  color: var(--gh-muted);
  white-space: nowrap;
}
.gh-nitem__range {
  font-size: 11px;
  color: var(--gh-muted);
  white-space: nowrap;
}
.gh-nitem__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
.gh-nitem__badge--on {
  background: rgba(var(--gh-accent-rgb), 0.15);
  color: var(--gh-accent);
}
.gh-npager-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.gh-npager {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gh-npager__btn {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  background: none;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.gh-npager__btn:hover:not(:disabled) {
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-ink);
  border-color: rgba(var(--gh-fg-rgb), 0.2);
}
.gh-npager__btn.is-active {
  background: var(--gh-accent);
  border-color: var(--gh-accent);
  color: #000;
  font-weight: 700;
  cursor: default;
}
.gh-npager__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.gh-npager__btn.gh-npager__nav {
  font-size: 16px;
}
/* ===== 이벤트/캐시샵 카드 그리드 ===== */
.gh-ev-ended {
  margin-top: 32px;
}
.gh-ev-ended__head {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gh-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-ecards--ended .gh-ecard {
  opacity: 0.55;
  filter: grayscale(0.4);
}
.gh-ecards--ended .gh-ecard:hover {
  opacity: 0.8;
  filter: none;
}
.gh-ecards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding: 8px 0 24px;
}
.gh-ecard {
  display: flex;
  flex-direction: column;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 16px;
  padding: 18px 18px 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--gh-ink);
  transition: background 0.15s, border-color 0.15s, transform 0.18s;
}
.gh-ecard:hover {
  background: var(--gh-glass2);
  border-color: rgba(var(--gh-fg-rgb), 0.14);
  transform: translateY(-3px);
}
.gh-ecard--link {
  color: var(--gh-ink);
}
.gh-ecard--dim {
  opacity: 0.6;
  filter: grayscale(0.3);
}
.gh-ecard--dim:hover {
  opacity: 0.85;
  filter: none;
}
.gh-ecard__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.gh-ecard__badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 2px;
  white-space: nowrap;
}
.gh-ecard__badge--on {
  background: rgba(var(--gh-accent-rgb), 0.18);
  color: var(--gh-accent);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.3);
}
.gh-ecard__badge--perm {
  background: rgba(99, 202, 183, 0.15);
  color: #63cab7;
  border: 1px solid rgba(99, 202, 183, 0.3);
}
.gh-ecard__badge--wait {
  background: rgba(147, 130, 255, 0.15);
  color: #9382ff;
  border: 1px solid rgba(147, 130, 255, 0.3);
}
.gh-ecard__badge--end {
  background: rgba(var(--gh-fg-rgb), 0.06);
  color: var(--gh-muted);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
}
.gh-ecard__title {
  font-size: 13.5px;
  font-weight: 600;
  flex: 1;
  line-height: 1.45;
  word-break: keep-all;
}
.gh-ecard__range {
  font-size: 11.5px;
  color: var(--gh-muted);
  margin-bottom: 10px;
}
.gh-ecard__gauge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.gh-ecard__gauge-bar {
  flex: 1;
  height: 4px;
  background: rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.gh-ecard__gauge-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gh-accent), var(--gh-accent-grad));
  transition: width 0.4s ease;
}
.gh-ecard__gauge-fill--dim {
  background: rgba(var(--gh-fg-rgb), 0.25);
}
.gh-ecard__gauge-pct {
  font-size: 11px;
  color: var(--gh-muted);
  flex-shrink: 0;
  min-width: 28px;
  text-align: right;
}
/* 공지 상세 뷰어 메타 */
.gh-nmodal__meta {
  padding: 0 22px 14px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  flex-shrink: 0;
}
.gh-nv-date {
  font-size: 12px;
  color: var(--gh-muted);
}
/* ===== 넥슨 공지 뷰어: 화이트 테마 오버라이드 ===== */
#gh-notice-viewer .gh-nmodal__box {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}
#gh-notice-viewer .gh-nmodal__head {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
#gh-notice-viewer .gh-nmodal__title {
  color: #1a1a2e;
  font-size: 14.5px;
}
#gh-notice-viewer .gh-nmodal__close {
  color: #888;
}
#gh-notice-viewer .gh-nmodal__close:hover {
  color: #1a1a2e;
  background: rgba(0, 0, 0, 0.06);
}
#gh-notice-viewer .gh-nmodal__meta {
  background: #fafafa;
  border-bottom-color: rgba(0, 0, 0, 0.07);
  padding: 10px 22px 10px;
}
#gh-notice-viewer .gh-nv-date {
  color: #888;
}
/* 공지 본문 (넥슨 HTML — 화이트 배경 기준) */
.gh-notice-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: #2a2a2a;
}
.gh-notice-body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 12px auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.gh-notice-body p img {
  display: inline;
  margin: 0 2px;
  vertical-align: middle;
  border-radius: 4px;
  box-shadow: none;
}
.gh-notice-body a {
  color: #2e6ee1;
  word-break: break-all;
}
.gh-notice-body a:hover {
  text-decoration: underline;
}
.gh-notice-body p {
  margin: 0 0 12px;
}
.gh-notice-body h1, .gh-notice-body h2, .gh-notice-body h3, .gh-notice-body h4 {
  color: #111;
  font-weight: 700;
  margin: 20px 0 10px;
}
.gh-notice-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  margin: 12px 0;
}
.gh-notice-body td, .gh-notice-body th {
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
}
.gh-notice-body th {
  background: #f5f5f5;
  font-weight: 600;
}
.gh-notice-body ul, .gh-notice-body ol {
  padding-left: 22px;
  margin: 0 0 12px;
}
.gh-notice-body li {
  margin-bottom: 4px;
}
.gh-notice-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 18px 0;
}
.gh-notice-body strong, .gh-notice-body b {
  font-weight: 700;
  color: #111;
}
/* 하단 공지사항 바 */
.gh-noticebar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(6, 7, 14, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(var(--gh-accent-rgb), 0.18);
}
.gh-noticebar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 20px;
}
.gh-noticebar__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.12);
  padding: 2px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}
.gh-noticebar__item {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(var(--gh-fg-rgb), 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color 0.15s;
}
.gh-noticebar__item:hover {
  color: rgba(var(--gh-fg-rgb), 0.95);
}
.gh-noticebar__item svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.gh-noticebar__item:hover svg {
  opacity: 0.9;
}
/* 공지사항 모달 */
.gh-nmodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 0;
}
.gh-nmodal__box {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gh-nmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  flex-shrink: 0;
}
.gh-nmodal__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--gh-ink);
  letter-spacing: 0.02em;
}
.gh-nmodal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.gh-nmodal__close:hover {
  color: var(--gh-ink);
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-nmodal__body {
  overflow-y: auto;
  padding: 22px 24px 40px;
  flex: 1;
}
.gh-nmodal__post-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gh-ink);
  line-height: 1.55;
  margin: 0 0 22px;
}
.gh-nmodal__content {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(var(--gh-fg-rgb), 0.75);
}
.gh-nmodal__content p {
  margin: 0 0 14px;
}
.gh-nmodal__content h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gh-ink);
  margin: 22px 0 10px;
}
.gh-nmodal__content ol {
  margin: 0 0 14px;
  padding-left: 18px;
}
.gh-nmodal__content ol ol {
  margin: 6px 0 0;
  padding-left: 16px;
}
.gh-nmodal__content li {
  margin-bottom: 5px;
}
.gh-nmodal__content a {
  color: var(--gh-accent);
  word-break: break-all;
  text-decoration: none;
}
.gh-nmodal__content a:hover {
  text-decoration: underline;
}
@media (min-width: 641px) {
  .gh-nmodal {
    align-items: center;
    padding: 20px;
  }
  .gh-nmodal__box {
    border-radius: 16px;
    border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
    max-height: 80vh;
  }
}
/* ===== SSR 전환 오버라이드 ===== */
/* <a> 태그로 렌더링되는 탭/버튼 요소의 링크 초기화 */
a.gh-ntab, a.gh-nstab, a.gh-npager__btn, a.gh-tab, a.gh-tab__drop-item {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
a.gh-ntab {
  display: inline-block;
}
/* SSR 게임 선택 홈: gh-home--ssr 에서 배경 캔버스 가려지지 않도록 */
.gh-home--ssr {
  position: relative;
  z-index: 1;
}
/* SSR main wrapper (SPA .gh-main 와 동일 포지셔닝) */
.gh-main--ssr {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 22px 80px;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .gh-main--ssr {
    padding: 20px 16px 60px;
  }
}
/* SSR: .gh-view는 기본 display:none 이므로 SSR main 안에선 항상 표시 */
.gh-main--ssr .gh-view {
  display: block;
}
/* 공지 상세 */
.gh-ndetail {
  max-width: 820px;
  margin: 0 auto;
}
.gh-ndetail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gh-muted);
  font-size: 0.82rem;
  text-decoration: none;
  margin-bottom: 18px;
}
.gh-ndetail__back:hover {
  color: var(--gh-ink);
}
.gh-ndetail__head {
  margin-bottom: 28px;
}
.gh-ndetail__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gh-ink);
  margin: 10px 0 12px;
}
.gh-ndetail__meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gh-muted);
}
.gh-ndetail__range::before {
  content: "📅 ";
}
.gh-ndetail__date::before {
  content: "🗓 ";
}
.gh-ndetail__body {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  padding: 32px 36px;
  line-height: 1.8;
  color: #1a1b2e;
  font-size: 0.95rem;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.gh-ndetail__body * {
  max-width: 100% !important;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
.gh-ndetail__body table {
  table-layout: fixed;
  width: 100% !important;
}
.gh-ndetail__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 10px 0;
  display: block;
}
.gh-ndetail__body a {
  color: #2563eb;
  text-decoration: underline;
}
.gh-ndetail__body h2, .gh-ndetail__body h3, .gh-ndetail__body h4 {
  margin: 1.3em 0 0.5em;
  font-weight: 700;
  color: #111;
}
.gh-ndetail__body p {
  margin: 0.65em 0;
}
.gh-ndetail__body ul, .gh-ndetail__body ol {
  padding-left: 1.6em;
  margin: 0.65em 0;
}
.gh-ndetail__body li {
  margin: 0.3em 0;
}
.gh-ndetail__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.gh-ndetail__body table th, .gh-ndetail__body table td {
  border: 1px solid #dde;
  padding: 8px 12px;
  text-align: left;
  font-size: 0.88rem;
}
.gh-ndetail__body table th {
  background: #f0f1f8;
  font-weight: 600;
  color: #222;
}
.gh-ndetail__body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.5em 0;
}
.gh-ndetail__body blockquote {
  border-left: 3px solid #c0c4e0;
  padding-left: 14px;
  margin: 1em 0;
  color: #555;
}
@media (max-width: 640px) {
  .gh-ndetail__body {
    padding: 20px 18px;
    font-size: 0.9rem;
  }
}
.gh-ndetail__nexon {
  margin-top: 20px;
  text-align: right;
  font-size: 0.82rem;
}
.gh-ndetail__nexon a {
  color: var(--gh-accent);
  text-decoration: none;
}
.gh-ndetail__nexon a:hover {
  text-decoration: underline;
}
.gh-ndetail__foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-ndetail__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gh-muted);
}
/* 목록 링크 스타일 (button → a) */
.gh-nitem {
  display: flex;
  text-decoration: none;
}
.gh-ecard {
  text-decoration: none;
}
/* 뉴스 히어로 헤더 */
.gh-news__hero {
  margin-bottom: 28px;
}
.gh-news__hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.gh-news__hero-desc {
  font-size: 0.88rem;
  color: var(--gh-muted);
  margin: 0;
}
/* SSR 뉴스 뷰 */
.gh-view--news .gh-news__tabs {
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  display: flex;
  gap: 0;
  margin: 0 0 20px;
}
/* GNB SSR: 게임 선택기 */
.gh-gnb {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  flex: 1;
}
.gh-gnb__sel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-gnb__game-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-ink);
}
.gh-gnb__arr-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-muted);
  padding: 3px 2px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.gh-gnb__arr-btn:hover {
  color: var(--gh-ink);
}
.gh-gnb__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.gh-gnb__drop-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-ink);
  text-decoration: none;
  transition: background 0.15s;
}
.gh-gnb__drop-opt:hover {
  background: rgba(var(--gh-fg-rgb), 0.07);
}
.gh-gnb__drop-opt.is-current {
  color: var(--gh-accent);
  font-weight: 700;
}
.gh-gnb__drop-opt--soon {
  opacity: 0.4;
  cursor: default;
  color: var(--gh-muted);
}
.gh-gnb__drop-opt--soon:hover {
  background: none;
}
.gh-gnb__drop-opt em {
  font-style: normal;
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}
.gh-gnb__menus {
  display: flex;
  align-items: center;
  gap: 2px;
}
.gh-gnb__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
}
.gh-gnb__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gh-ink);
  border-radius: 1px;
  transition: all 0.2s;
}
@media (max-width: 900px) {
  .gh-gnb__burger {
    display: flex;
  }
}
/* GNB SSR view에서 gh-gnb-menus 모바일 숨김 */
@media (max-width: 900px) {
  .gh-gnb__menus {
    display: none;
  }
  .gh-gnb__sel {
    margin-right: 0;
  }
  .gh-gnb__user, .gh-gnb__login {
    display: none;
  }
  .gh-gnb__burger {
    margin-left: auto;
  }
}
/* ============================================================
   GNB 유저 영역
   ============================================================ */
.gh-gnb__user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--gh-ink);
  transition: background 0.15s;
}
.gh-gnb__user:hover {
  background: rgba(var(--gh-fg-rgb), 0.08);
}
.gh-gnb__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.gh-gnb__avatar--default {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
}
.gh-gnb__nick {
  font-size: 13px;
  font-weight: 600;
}
.gh-gnb__link-badge {
  font-size: 10px;
  padding: 2px 6px;
  background: var(--gh-accent);
  color: #000;
  border-radius: 8px;
}
/* 드로어 유저 영역 */
.gh-gnb__user-drawer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  text-decoration: none;
  color: var(--gh-ink);
}
.gh-gnb__user-drawer .gh-gnb__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-gnb__user-drawer .gh-gnb__avatar--default {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-accent);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}
.gh-gnb__user-drawer .gh-gnb__nick {
  font-size: 15px;
  font-weight: 700;
}
.gh-gnb__user-drawer .gh-gnb__link-badge {
  font-size: 10px;
  padding: 2px 6px;
  background: var(--gh-accent);
  color: #000;
  border-radius: 8px;
}
.gh-gnb__login-drawer {
  display: block;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--gh-accent);
  text-decoration: none;
}
.gh-gnb__login {
  margin-left: auto;
  padding: 5px 14px;
  border: 1px solid var(--gh-accent);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-accent);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.gh-gnb__login:hover {
  background: var(--gh-accent);
  color: #000;
}
/* ============================================================
   커뮤니티 뷰
   ============================================================ */
.gh-community {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 60px;
}
.gh-comm__board-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.gh-comm__board-head .gh-comm__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.gh-comm__back {
  font-size: 13px;
  color: var(--gh-muted);
  text-decoration: none;
}
.gh-comm__back:hover {
  color: var(--gh-ink);
}
.gh-comm__board-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-align: left;
}
.gh-comm__notice {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(var(--gh-fg-rgb), 0.06);
  font-size: 14px;
  margin-bottom: 20px;
}
.gh-comm__notice--ok {
  background: rgba(72, 199, 142, 0.12);
  color: #48c78e;
}
.gh-comm__notice--err {
  background: rgba(255, 80, 80, 0.12);
  color: #ff6b6b;
}
.gh-comm__notice a {
  color: var(--gh-accent);
}
.gh-comm__link-prompt {
  margin-bottom: 32px;
}
.gh-comm__link-card {
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 480px;
}
.gh-comm__link-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.gh-comm__link-intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gh-muted);
  margin-bottom: 8px;
}
.gh-comm__link-sub {
  font-size: 13px;
  color: var(--gh-muted);
  margin-bottom: 20px;
}
.gh-comm__link-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gh-comm__link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: var(--gh-ink);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  cursor: pointer;
  transition: background 0.15s;
}
.gh-comm__link-btn:hover {
  background: rgba(var(--gh-fg-rgb), 0.15);
}
.gh-comm__link-btn--primary {
  background: var(--gh-accent);
  color: var(--gh-ink);
  border-color: var(--gh-accent);
}
.gh-comm__link-btn--primary:hover {
  opacity: 0.85;
  background: var(--gh-accent);
}
.gh-comm__boards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.gh-comm__board-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--gh-ink);
  transition: background 0.15s, border-color 0.15s;
}
.gh-comm__board-card:hover {
  background: rgba(var(--gh-fg-rgb), 0.1);
  border-color: var(--gh-accent);
}
.gh-comm__board-icon {
  font-size: 28px;
}
.gh-comm__board-label {
  font-size: 15px;
  font-weight: 700;
}
.gh-comm__board-desc {
  font-size: 12px;
  color: var(--gh-muted);
}
.gh-comm__write {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 24px;
}
.gh-comm__write-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--gh-ink);
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  font-family: inherit;
}
.gh-comm__write-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.gh-comm__write-submit {
  padding: 7px 18px;
  border-radius: 6px;
  background: var(--gh-accent);
  color: var(--gh-ink);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.gh-comm__write-submit:hover {
  opacity: 0.85;
}
.gh-comm__write-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gh-comm__posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gh-comm__post {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 16px;
}
.gh-comm__post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.gh-comm__post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-comm__post-avatar--default {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-accent);
  color: var(--gh-ink);
  font-size: 14px;
  font-weight: 700;
}
.gh-comm__post-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.gh-comm__post-nick {
  font-size: 14px;
  font-weight: 600;
}
.gh-comm__post-date {
  font-size: 12px;
  color: var(--gh-muted);
}
.gh-comm__post-link {
  font-size: 13px;
  color: var(--gh-muted);
  text-decoration: none;
  margin-left: auto;
}
.gh-comm__post-link:hover {
  color: var(--gh-accent);
}
.gh-comm__post-body {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
  white-space: pre-wrap;
}
.gh-comm__post-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.gh-comm__post-img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  object-fit: cover;
}
.gh-comm__post-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-comm__post-stat {
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-comm__reply-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gh-muted);
  font-size: 13px;
  margin-left: auto;
}
.gh-comm__reply-toggle:hover {
  color: var(--gh-ink);
}
.gh-comm__reply-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-comm__reply-input {
  padding: 8px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  color: var(--gh-ink);
  font-family: inherit;
  font-size: 13px;
  resize: none;
}
.gh-comm__reply-submit {
  align-self: flex-end;
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--gh-accent);
  color: var(--gh-ink);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.gh-comm__reply-submit:hover {
  opacity: 0.85;
}
.gh-comm__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.gh-comm__form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-muted);
}
.gh-comm__form-label em {
  font-weight: 400;
  font-style: normal;
}
.gh-comm__form-input {
  padding: 10px 12px;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 8px;
  color: var(--gh-ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.gh-comm__form-input:focus {
  border-color: var(--gh-accent);
}
/* ============================================================
   마이페이지
   ============================================================ */
.gh-mypage {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 60px;
}
.gh-mypage__section {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.gh-mypage__section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gh-muted);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gh-mypage__phead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.gh-mypage__phead .gh-mypage__section-title {
  margin: 0;
}
.gh-mypage__profile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.gh-mypage__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-mypage__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-mypage__avatar--default {
  font-size: 30px;
  font-weight: 700;
  color: var(--gh-muted);
}
.gh-mypage__avatar--edit {
  width: 88px;
  height: 88px;
}
.gh-mypage__pinfo {
  min-width: 0;
  flex: 1;
}
.gh-mypage__profile-nick {
  font-size: 18px;
  font-weight: 700;
}
.gh-mypage__profile-id {
  font-size: 13px;
  color: var(--gh-muted);
  margin-top: 4px;
}
.gh-mypage__bio {
  font-size: 14px;
  color: rgba(var(--gh-fg-rgb), 0.8);
  margin-top: 10px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.gh-mypage__edit {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.gh-mypage__edit-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gh-mypage__photo-btn {
  cursor: pointer;
  font-size: 13px;
}
.gh-mypage__edit-fields {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gh-mypage__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-mypage__field span {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 600;
}
.gh-mypage__field input, .gh-mypage__field textarea {
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
  color: var(--gh-ink);
  font-family: inherit;
  resize: vertical;
}
.gh-mypage__field input:focus, .gh-mypage__field textarea:focus {
  outline: none;
  border-color: #5b8cff;
}
.gh-mypage__edit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.gh-mypage__sns-linked {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gh-mypage__sns-badge {
  font-size: 14px;
  font-weight: 600;
}
.gh-mypage__sns-info {
  font-size: 14px;
  color: var(--gh-muted);
}
.gh-mypage__sns-go {
  margin-left: auto;
  font-size: 13px;
  color: var(--gh-accent);
  text-decoration: none;
}
.gh-mypage__sns-go:hover {
  text-decoration: underline;
}
.gh-mypage__sns-unlinked {
  font-size: 14px;
  color: var(--gh-muted);
}
/* ── 게시판형 커뮤니티 ─────────────────────────────────── */
.gh-community--board {
  max-width: 900px;
  margin: 0 auto;
}
.gh-comm__board-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-comm__board-head .gh-comm__back {
  color: rgba(var(--gh-fg-rgb), 0.5);
  font-size: 13px;
  text-decoration: none;
  text-align: left;
}
.gh-comm__board-head .gh-comm__back:hover {
  color: var(--gh-ink);
}
.gh-comm__board-head .gh-comm__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.gh-comm__board-head .gh-comm__board-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: left;
}
.gh-comm__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.gh-comm__hero-text {
  min-width: 0;
}
.gh-comm__hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.gh-comm__hero-desc {
  font-size: 0.88rem;
  color: var(--gh-muted);
  margin: 0;
}
.gh-comm__hero-write {
  flex-shrink: 0;
  margin-top: 4px;
}
.gh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gh-fg-rgb), 0.08) !important;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.18) !important;
  color: rgba(var(--gh-fg-rgb), 0.85) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.15s, filter 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.gh-btn:hover {
  background: rgba(var(--gh-fg-rgb), 0.18) !important;
  border-color: rgba(var(--gh-fg-rgb), 0.35) !important;
  color: var(--gh-ink) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.gh-btn:active {
  transform: translateY(0);
}
.gh-btn:visited {
  color: rgba(var(--gh-fg-rgb), 0.85) !important;
}
.gh-btn--accent {
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad)) !important;
  border-color: transparent !important;
  color: #0c0e18 !important;
  font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(var(--gh-accent-rgb), 0.6);
}
.gh-btn--accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #0c0e18 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad)) !important;
}
.gh-btn--accent:visited {
  color: #0c0e18 !important;
}
.gh-btn--danger {
  background: rgba(220, 50, 50, 0.15) !important;
  border-color: rgba(220, 50, 50, 0.3) !important;
  color: #ff8080 !important;
}
.gh-btn--danger:hover {
  background: rgba(220, 50, 50, 0.28) !important;
  border-color: rgba(220, 50, 50, 0.55) !important;
  color: #ffaaaa !important;
}
.gh-comm__write-panel {
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.gh-comm__board-sel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.gh-comm__board-sel .gh-comm__board-sel-label {
  font-size: 13px;
  color: rgba(var(--gh-fg-rgb), 0.5);
  white-space: nowrap;
}
.gh-comm__board-sel .gh-comm__board-sel-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.gh-board-sel-btn {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.2);
  background: transparent;
  color: rgba(var(--gh-fg-rgb), 0.6);
  cursor: pointer;
  transition: all 0.15s;
}
.gh-board-sel-btn:hover {
  border-color: rgba(var(--gh-fg-rgb), 0.4);
  color: rgba(var(--gh-fg-rgb), 0.9);
}
.gh-board-sel-btn.is-active {
  background: var(--gh-accent);
  border-color: var(--gh-accent);
  color: #000;
}
.gh-board__board-tag {
  display: inline-block;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: rgba(var(--gh-fg-rgb), 0.55);
  margin-right: 2px;
}
.gh-comm__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gh-comm__hero .gh-comm__hero-text {
  flex: 1;
}
.gh-comm__hero .gh-comm__hero-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.gh-comm__hero .gh-comm__hero-desc {
  font-size: 14px;
  color: rgba(var(--gh-fg-rgb), 0.5);
  margin: 4px 0 0;
}
.gh-comm__hero .gh-comm__hero-write {
  flex-shrink: 0;
}
.gh-comm__write-page {
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 12px;
  padding: 20px;
}
.gh-comm__write-ta--page {
  min-height: 200px;
}
.gh-write__ta-wrap {
  position: relative;
}
.gh-write__line-labels {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.gh-write__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  transition: all 0.25s;
}
.gh-write__lbl--title {
  background: rgba(var(--gh-fg-rgb), 0.08);
  color: rgba(var(--gh-fg-rgb), 0.35);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.12);
}
.gh-write__lbl--title.gh-write__lbl--active {
  background: rgba(var(--gh-accent-rgb), 0.18);
  color: var(--gh-accent);
  border-color: rgba(var(--gh-accent-rgb), 0.5);
}
.gh-write__lbl--title.gh-write__lbl--done {
  background: rgba(var(--gh-accent-rgb), 0.12);
  color: rgba(var(--gh-accent-rgb), 0.8);
  border-color: rgba(var(--gh-accent-rgb), 0.3);
}
.gh-write__lbl--body {
  background: rgba(var(--gh-fg-rgb), 0.06);
  color: rgba(var(--gh-fg-rgb), 0.4);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
}
.gh-comm__write-ta {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--gh-ink);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.gh-comm__write-ta::placeholder {
  color: rgba(var(--gh-fg-rgb), 0.35);
}
.gh-comm__write-ta--titled {
  padding-top: 2px;
}
.gh-comm__write-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}
.gh-comm__write-tools {
  display: flex;
  gap: 4px;
}
.gh-tool-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 7px 8px;
  border-radius: 8px;
  color: rgba(var(--gh-fg-rgb), 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.gh-tool-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.gh-tool-btn:hover {
  color: rgba(var(--gh-fg-rgb), 0.95);
  background: rgba(var(--gh-fg-rgb), 0.1);
  border-color: rgba(var(--gh-fg-rgb), 0.2);
  transform: translateY(-1px);
}
.gh-tool-btn:active {
  transform: translateY(0);
}
.gh-tool-btn--active {
  color: var(--gh-accent);
  border-color: rgba(var(--gh-accent-rgb), 0.4);
  background: rgba(var(--gh-accent-rgb), 0.08);
}
.gh-comm__write-actions {
  display: flex;
  gap: 8px;
}
.gh-comm__img-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gh-img-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.gh-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-img-thumb__del {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--gh-ink);
  font-size: 11px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gh-comm__poll-box {
  margin-top: 10px;
  padding: 12px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border-radius: 8px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-comm__poll-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.gh-comm__poll-opt {
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 6px;
  color: var(--gh-ink);
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
}
.gh-comm__poll-opt::placeholder {
  color: rgba(var(--gh-fg-rgb), 0.3);
}
.gh-comm__poll-add {
  background: none;
  border: 1px dashed rgba(var(--gh-fg-rgb), 0.2);
  color: rgba(var(--gh-fg-rgb), 0.5);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.gh-comm__poll-add:hover {
  border-color: rgba(var(--gh-fg-rgb), 0.4);
  color: rgba(var(--gh-fg-rgb), 0.8);
}
.gh-comm__poll-multi {
  font-size: 12px;
  color: rgba(var(--gh-fg-rgb), 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  cursor: pointer;
}
.gh-comm__video-box {
  margin-top: 10px;
}
.gh-comm__video-url {
  width: 100%;
  box-sizing: border-box;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.1);
  border-radius: 6px;
  color: var(--gh-ink);
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}
.gh-comm__video-url::placeholder {
  color: rgba(var(--gh-fg-rgb), 0.3);
}
.gh-emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.12);
  border-radius: 10px;
  margin-top: 8px;
  max-width: 280px;
}
.gh-emoji-wrap {
  position: relative;
  display: inline-flex;
}
.gh-emoji-picker--pop {
  position: fixed !important;
  z-index: 1000;
  margin: 0 !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  max-width: calc(100vw - 32px);
  max-height: 70vh;
  overflow-y: auto;
  padding: 14px !important;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.55), 0 24px 60px rgba(0, 0, 0, 0.5) !important;
}
.gh-emoji-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.gh-emoji-btn:hover {
  background: rgba(var(--gh-fg-rgb), 0.1);
}
/* 게시판 목록 */
.gh-board {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.1);
}
.gh-board__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.07);
  position: relative;
  min-height: 88px;
  /* 섬네일 64px + 상하 패딩 12px×2 = 88px, 썸네일 없는 행도 동일 높이 */
}
.gh-board__row:hover {
  background: rgba(var(--gh-fg-rgb), 0.02);
}
.gh-board__row--nothumb {
  min-height: 88px;
}
@media (max-width: 600px) {
  .gh-board__row {
    min-height: 72px;
  }
  .gh-board__row--nothumb {
    min-height: 72px;
  }
}
.gh-board__thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-board__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh-board__thumb-empty {
  font-size: 24px;
}
.gh-board__thumb--video img {
  filter: brightness(0.82);
}
.gh-board__playbadge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 24, 0.55);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  /* 어두운 썸네일 위 — 항상 흰색 */
}
.gh-board__playbadge svg {
  width: 13px;
  height: 13px;
  margin-left: 1px;
}
.gh-board__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh-board__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gh-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.gh-board__title:hover {
  color: var(--gh-accent);
}
.gh-board__reply-cnt {
  font-size: 12px;
  color: var(--gh-accent);
  font-weight: 600;
  margin-left: 4px;
}
/* 게시판 새글(24h) 동그란 N 배지 */
.gh-board__newbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
  flex-shrink: 0;
  background: var(--gh-accent);
  color: #1c1200;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 6px rgba(255, 179, 0, 0.5);
}
/* GNB 메뉴 새글(24h) — 텍스트 래퍼 */
.gh-newlabel {
  position: relative;
  display: inline-block;
}
/* GNB 메뉴 새글(24h) 작은 점 — 텍스트 오른쪽 위, 레이아웃 비영향 */
.gh-newdot {
  position: absolute;
  top: 0;
  right: -8px;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gh-accent);
  box-shadow: 0 0 5px rgba(255, 179, 0, 0.7);
}
.gh-upbadge {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1;
  color: #fff;
  background: #5b8cff;
  padding: 2px 4px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(91, 140, 255, 0.5);
}
.gh-board__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(var(--gh-fg-rgb), 0.4);
}
.gh-board__meta-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-board__meta-avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gh-fg-rgb), 0.12);
  color: rgba(var(--gh-fg-rgb), 0.7);
  font-size: 9px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.gh-board__meta-nick {
  font-weight: 600;
  color: rgba(var(--gh-fg-rgb), 0.55);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gh-board__meta-dot {
  opacity: 0.4;
}
.gh-board__date {
  color: rgba(var(--gh-fg-rgb), 0.35);
}
.gh-board__row--notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  border-radius: 8px;
  min-height: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-board__row--notice:hover {
  background: rgba(var(--gh-fg-rgb), 0.04);
}
.gh-board__row--pinned {
  background: rgba(var(--gh-accent-rgb), 0.06);
  border-bottom-color: transparent;
  padding-left: 12px;
  padding-right: 12px;
}
.gh-board__row--pinned:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-board__notice-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.15);
  padding: 3px 7px;
  border-radius: 20px;
}
.gh-board__notice-title {
  flex: 1;
  min-width: 0;
  color: var(--gh-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gh-board__notice-title:hover {
  color: var(--gh-accent);
}
.gh-board__notice-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gh-muted);
}
.gh-comm__pin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(var(--gh-accent-rgb), 0.06);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.2);
  border-radius: 10px;
  font-size: 13px;
}
.gh-comm__pin-label {
  font-weight: 700;
  color: var(--gh-accent);
}
.gh-comm__pin-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(var(--gh-fg-rgb), 0.75);
  cursor: pointer;
}
.gh-vupload {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(var(--gh-accent-rgb), 0.06);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.22);
}
.gh-vupload__file {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(var(--gh-fg-rgb), 0.85);
  font-size: 13.5px;
  font-weight: 600;
}
.gh-vupload__file svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gh-accent);
}
.gh-vupload__file span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gh-vupload__remove {
  background: none;
  border: none;
  color: rgba(var(--gh-fg-rgb), 0.5);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.gh-vupload__remove:hover {
  color: #ff8080;
  background: rgba(255, 80, 80, 0.12);
}
.gh-vupload__bar {
  margin-top: 10px;
  height: 8px;
  border-radius: 4px;
  background: rgba(var(--gh-fg-rgb), 0.1);
  overflow: hidden;
}
.gh-vupload__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gh-accent), var(--gh-accent-grad));
  transition: width 0.2s;
}
.gh-vupload__status {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(var(--gh-fg-rgb), 0.7);
}
.gh-board__likes {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  white-space: nowrap;
  padding-right: 4px;
  color: rgba(var(--gh-fg-rgb), 0.25);
}
.gh-board__likes--active {
  color: var(--gh-accent);
}
.gh-heart {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.gh-board__actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.gh-board__del, .gh-board__edit {
  background: none;
  border: none;
  color: rgba(var(--gh-fg-rgb), 0.3);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}
.gh-board__del:hover {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.1);
}
.gh-board__edit:hover {
  color: #7ec8e3;
  background: rgba(126, 200, 227, 0.1);
}
.gh-board__edit-panel {
  padding: 12px 0 8px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.05);
}
.gh-board__edit-ta {
  width: 100%;
  margin-bottom: 8px;
}
.gh-board__edit-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 600px) {
  .gh-board__thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }
  .gh-board__author {
    display: none;
  }
}
.gh-post {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.gh-post__topbar {
  margin-bottom: 14px;
}
.gh-comm__back--badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: rgba(var(--gh-fg-rgb), 0.75);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, color 0.15s;
}
.gh-comm__back--badge:hover {
  background: rgba(var(--gh-fg-rgb), 0.13);
  border-color: rgba(var(--gh-fg-rgb), 0.28);
  color: var(--gh-ink);
  transform: translateY(-1px);
  text-decoration: none;
}
.gh-post__head {
  margin-bottom: 12px;
}
.gh-post__title {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.gh-post__body-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 16px 0 4px;
}
.gh-post__byline {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(var(--gh-fg-rgb), 0.5);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-post__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-post__avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-accent);
  color: #0c0e18;
  font-size: 12px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.gh-post__nick {
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--gh-fg-rgb), 0.7);
}
.gh-post__date {
  color: rgba(var(--gh-fg-rgb), 0.45);
}
.gh-post__byline-dot {
  opacity: 0.35;
}
.gh-post__views, .gh-board__views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(var(--gh-fg-rgb), 0.4);
}
.gh-post__views svg, .gh-board__views svg {
  width: 14px;
  height: 14px;
}
.gh-post__like-bar {
  display: flex;
  justify-content: center;
  margin: 24px 0 4px;
}
.gh-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(var(--gh-fg-rgb), 0.05);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.16);
  color: rgba(var(--gh-fg-rgb), 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.gh-like-btn .gh-heart {
  width: 16px;
  height: 16px;
}
.gh-like-btn__count {
  font-weight: 700;
}
.gh-like-btn:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
  border-color: rgba(var(--gh-accent-rgb), 0.4);
  color: var(--gh-accent);
  transform: translateY(-1px);
}
.gh-like-btn--on {
  background: rgba(var(--gh-accent-rgb), 0.16);
  border-color: rgba(var(--gh-accent-rgb), 0.55);
  color: var(--gh-accent);
}
.gh-post__edit-panel {
  margin-bottom: 16px;
}
.gh-post__body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(var(--gh-fg-rgb), 0.85);
}
.gh-post__body p {
  margin: 0 0 12px;
}
.gh-post__body img {
  max-width: 100%;
  border-radius: 8px;
}
.gh-post__body a {
  color: var(--gh-accent);
  text-decoration: none;
}
.gh-post__body a:hover {
  text-decoration: underline;
}
.gh-post__body a:visited {
  color: var(--gh-accent-dark);
}
.gh-post__images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.gh-post__img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  object-fit: cover;
}
.gh-post__video {
  margin-top: 16px;
}
.gh-vp {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  line-height: 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}
.gh-vp__video {
  width: 100%;
  max-height: 540px;
  display: block;
  cursor: pointer;
}
.gh-vp__bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #0c0e18;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(var(--gh-accent-rgb), 0.7);
  transition: transform 0.18s, opacity 0.25s, box-shadow 0.18s;
}
.gh-vp__bigplay svg {
  width: 34px;
  height: 34px;
  margin-left: 3px;
}
.gh-vp:hover .gh-vp__bigplay {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 30px -6px rgba(var(--gh-accent-rgb), 0.85);
}
.gh-vp__bigplay:hover {
  transform: translate(-50%, -50%) scale(1.2);
}
.gh-vp.is-playing .gh-vp__bigplay {
  opacity: 0;
  pointer-events: none;
}
.gh-vp__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.25s;
  line-height: 1;
}
.gh-vp:hover .gh-vp__controls, .gh-vp:not(.is-playing) .gh-vp__controls, .gh-vp.is-seeking .gh-vp__controls {
  transform: translateY(0);
  opacity: 1;
}
.gh-vp__btn {
  background: none;
  border: none;
  color: var(--gh-ink);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.gh-vp__btn svg {
  width: 20px;
  height: 20px;
}
.gh-vp__btn:hover {
  background: rgba(var(--gh-fg-rgb), 0.16);
  color: var(--gh-accent);
  transform: translateY(-1px);
}
.gh-vp__time {
  color: rgba(var(--gh-fg-rgb), 0.9);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.gh-vp__bar {
  flex: 1;
  padding: 10px 0;
  cursor: pointer;
}
.gh-vp__track {
  position: relative;
  height: 6px;
  border-radius: 99px;
  background: rgba(var(--gh-fg-rgb), 0.25);
  transition: height 0.15s;
}
.gh-vp:hover .gh-vp__track, .gh-vp.is-seeking .gh-vp__track {
  height: 9px;
}
.gh-vp__buffered {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(var(--gh-fg-rgb), 0.3);
  border-radius: 99px;
}
.gh-vp__played {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gh-accent), var(--gh-accent-grad));
  box-shadow: 0 0 10px rgba(var(--gh-accent-rgb), 0.6);
}
.gh-vp__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  box-shadow: 0 0 0 3px rgba(var(--gh-accent-rgb), 0.5);
  transition: transform 0.15s;
}
.gh-vp:hover .gh-vp__knob, .gh-vp.is-seeking .gh-vp__knob {
  transform: translate(-50%, -50%) scale(1);
}
.gh-vp__info {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  padding: 14px 16px 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.gh-vp:hover .gh-vp__info, .gh-vp.gh-vp--info-init .gh-vp__info, .gh-vp:not(.is-playing) .gh-vp__info {
  opacity: 1;
  transform: translateY(0);
}
.gh-vp__info-title {
  margin: 0 0 9px;
  color: var(--gh-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh-vp__info-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.gh-vp__info-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gh-vp__info-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(var(--gh-fg-rgb), 0.6);
}
.gh-vp__info-avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-accent);
  color: #0c0e18;
  font-size: 12px;
  font-weight: 700;
}
.gh-vp__info-nick {
  display: inline-block;
  color: var(--gh-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.gh-vp__info-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(var(--gh-fg-rgb), 0.92);
  font-size: 12.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.gh-vp__info-stat svg {
  width: 14px;
  height: 14px;
}
.gh-vp:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-vp:fullscreen .gh-vp__video {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
}
.gh-vp:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-vp:-webkit-full-screen .gh-vp__video {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
}
.gh-vp:fullscreen.is-idle {
  cursor: none;
}
.gh-vp:fullscreen.is-idle .gh-vp__controls {
  transform: translateY(110%) !important;
  opacity: 0 !important;
}
.gh-vp:fullscreen.is-idle .gh-vp__info {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
}
.gh-vp:fullscreen.is-idle .gh-vp__bigplay {
  opacity: 0 !important;
}
.gh-vp:-webkit-full-screen.is-idle {
  cursor: none;
}
.gh-vp:-webkit-full-screen.is-idle .gh-vp__controls {
  transform: translateY(110%) !important;
  opacity: 0 !important;
}
.gh-vp:-webkit-full-screen.is-idle .gh-vp__info {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
}
.gh-vp:-webkit-full-screen.is-idle .gh-vp__bigplay {
  opacity: 0 !important;
}
.gh-post__foot {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  font-size: 13px;
  color: var(--gh-muted);
}
.gh-post__del-btn {
  color: rgba(255, 100, 100, 0.7);
  border: 1px solid rgba(255, 100, 100, 0.3);
  background: none;
}
.gh-post__del-btn:hover {
  color: #ff8888 !important;
  background: rgba(255, 80, 80, 0.12) !important;
  border-color: rgba(255, 80, 80, 0.5) !important;
  transform: translateY(-1px);
}
.gh-post__edit-btn {
  color: rgba(126, 200, 227, 0.8);
  border: 1px solid rgba(126, 200, 227, 0.3);
  background: none;
}
.gh-post__edit-btn:hover {
  color: #b4e1f5 !important;
  background: rgba(126, 200, 227, 0.1) !important;
  border-color: rgba(126, 200, 227, 0.5) !important;
  transform: translateY(-1px);
}
.gh-post__replies {
  margin-bottom: 20px;
}
.gh-reply {
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.06);
}
.gh-reply:last-child {
  border-bottom: none;
}
.gh-reply__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.gh-reply__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-reply__avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gh-fg-rgb), 0.15);
  color: var(--gh-ink);
  font-size: 12px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.gh-reply__nick {
  font-size: 13px;
  font-weight: 600;
}
.gh-reply__date {
  font-size: 11px;
  color: var(--gh-muted);
}
.gh-reply__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gh-reply__sub-toggle {
  background: none;
  border: none;
  color: var(--gh-muted);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 4px;
}
.gh-reply__sub-toggle:hover {
  color: var(--gh-accent);
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-reply__del {
  background: none;
  border: none;
  color: rgba(var(--gh-fg-rgb), 0.3);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
}
.gh-reply__del:hover {
  color: #ff4d4d;
}
.gh-reply__body {
  font-size: 13px;
  line-height: 1.6;
  padding-left: 36px;
  white-space: pre-wrap;
}
.gh-reply__empty {
  padding: 20px 0;
  text-align: center;
}
.gh-subreplies {
  margin-top: 4px;
  padding-left: 36px;
  border-left: 2px solid rgba(var(--gh-fg-rgb), 0.08);
  margin-left: 14px;
}
.gh-reply--sub {
  padding: 10px 0;
}
.gh-reply--sub:last-child {
  border-bottom: none;
}
.gh-reply--sub .gh-reply__body {
  padding-left: 36px;
}
.gh-reply--sub .gh-reply__avatar {
  width: 24px;
  height: 24px;
}
.gh-reply--sub .gh-reply__avatar--default {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.gh-reply--sub .gh-reply__nick {
  font-size: 12px;
}
.gh-reply--sub .gh-reply__date {
  font-size: 11px;
}
.gh-subreply-form {
  margin-top: 10px;
  margin-left: 36px;
  padding: 12px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 10px;
}
.gh-subreply-form[hidden] {
  display: none;
}
.gh-subreply-ta {
  margin-bottom: 8px;
}
.gh-post__reply-form {
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 10px;
  padding: 14px;
}
.gh-reply-ta {
  margin-bottom: 8px;
}
/* ===================== 게임 홈 ===================== */
/* .gh-main--ssr .gh-view 의 display:block 을 이기도록 동일 특이도로 지정 (안 그러면 gap 무시되어 섹션이 붙음) */
.gh-view--home, .gh-main--ssr .gh-view--home {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.gh-home-hero {
  text-align: center;
  padding: 18px 0 6px;
}
.gh-home-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  line-height: 1.35;
  word-break: keep-all;
}
.gh-home-roll {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}
.gh-home-hero__sub {
  font-size: 1rem;
  color: var(--gh-muted);
  margin: 0 0 22px;
}
/* 히어로 좌/우 분할 (좌: 멘트+검색+공지 / 우: LIVE) */
.gh-home-hero--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  text-align: left;
  padding: 8px 0 6px;
}
.gh-home-hero--split .gh-home-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.gh-home-hero--split .gh-home-hero__title {
  font-size: 2.2rem;
  margin: 0 0 22px;
  line-height: 1.3;
}
.gh-home-hero--split .gh-home-search {
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 2;
}
.gh-home-hero--split .gh-home-search__types {
  justify-content: flex-start;
}
.gh-home-hero--split .gh-home-ticker {
  margin-top: 14px;
}
.gh-home-hero__right {
  display: flex;
}
/* 히어로 랜덤 캐릭터 이미지 (멘트 오른편, 검색창과 살짝 겹침, 하체 그라데이션 페이드) */
.gh-home-hero__char--npc {
  bottom: 114px !important;
}
/* npc는 더 위로 */
.gh-home-hero__char {
  position: absolute;
  right: -10px;
  bottom: 74px;
  z-index: 0;
  width: 230px;
  display: block;
  pointer-events: none;
  user-select: none;
  /* 그림자(filter)는 wrapper에 → mask 영향 안 받고 박스 밖으로 부드럽게 번짐 */
  /* 기본(다크): 검정 그림자는 어두운 배경에 묻히므로 진하게 + 외곽 미세 글로우로 분리 */
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6)) drop-shadow(0 2px 10px rgba(var(--gh-fg-rgb), 0.18));
}
.gh-home-hero__char-img {
  display: block;
  width: 100%;
  height: auto;
  /* 하체로 갈수록 투명 (img 에만 mask) */
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
}
/* 라이트 테마: 밝은 배경엔 어두운 그림자가 잘 보이므로 부드럽게만 */
html.gh-light .gh-home-hero__char, .gh-app.gh-light .gh-home-hero__char {
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.3));
}
/* 태블릿: 1컬럼 전환 — 캐릭터를 우측 상단(멘트 옆)으로 */
@media (max-width: 860px) {
  .gh-home-hero__char {
    width: 160px;
    right: -6px;
    bottom: auto;
    top: -8px;
    opacity: 0.92;
  }
  .gh-home-hero__char--npc {
    bottom: auto !important;
    top: -24px;
  }
}
/* 모바일: 더 작게, 멘트 위 우측에 살짝 */
@media (max-width: 560px) {
  .gh-home-hero__char {
    width: 112px;
    right: -4px;
    top: -4px;
    opacity: 0.9;
  }
  .gh-home-hero__char--npc {
    top: -8px;
  }
}
@media (max-width: 380px) {
  .gh-home-hero__char {
    width: 92px;
    opacity: 0.82;
  }
}
/* LIVE 영역 */
.gh-live {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 16px;
  overflow: hidden;
  min-height: 326px;
}
.gh-live__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-live__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  color: #ff4d4f;
  letter-spacing: 0.06em;
}
.gh-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  animation: gh-live-pulse 1.2s infinite;
}
@keyframes gh-live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}
.gh-live__tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.gh-live__tab {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-muted);
  transition: all 0.15s;
}
.gh-live__tab:hover {
  color: var(--gh-ink);
}
.gh-live__tab.is-active {
  background: var(--gh-accent);
  border-color: var(--gh-accent);
  color: #2a1c00;
}
.gh-live__body {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-live__body--in .gh-live-item {
  animation: gh-live-fade 0.4s ease both;
}
.gh-live__body--in .gh-live-item:nth-child(2) {
  animation-delay: 0.05s;
}
.gh-live__body--in .gh-live-item:nth-child(3) {
  animation-delay: 0.1s;
}
.gh-live__body--in .gh-live-item:nth-child(4) {
  animation-delay: 0.15s;
}
.gh-live__body--in .gh-live-item:nth-child(5) {
  animation-delay: 0.2s;
}
@keyframes gh-live-fade {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gh-live__progress {
  height: 3px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  overflow: hidden;
}
.gh-live__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gh-accent);
}
.gh-live-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--gh-ink);
  transition: background 0.15s;
}
.gh-live-item:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-live-item__av {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(var(--gh-fg-rgb), 0.05);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gh-live-item__av img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(6) translateY(18.3px);
  transform-origin: bottom center;
}
.gh-live-item__ph {
  font-size: 22px;
  align-self: center;
}
.gh-live-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 3px;
}
.gh-live-item__nameline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.gh-live-item__name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-live-item__guild {
  flex-shrink: 0;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
  background: rgba(var(--gh-accent-rgb), 0.14);
  color: var(--gh-accent);
  cursor: pointer;
  transition: background 0.15s;
}
.gh-live-item__guild:hover {
  background: rgba(var(--gh-accent-rgb), 0.28);
}
.gh-live-item__meta {
  font-size: 12px;
  color: var(--gh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 2px;
}
.gh-live-item__meta .gh-world-icon {
  width: 15px;
  height: 15px;
  margin-right: 2px;
  flex-shrink: 0;
}
.gh-live-item__views {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--gh-muted);
  font-variant-numeric: tabular-nums;
}
.gh-live-item__views svg {
  width: 13px;
  height: 13px;
}
.gh-live-item__go {
  color: var(--gh-muted);
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .gh-home-hero--split {
    grid-template-columns: 1fr;
  }
  .gh-home-hero--split .gh-home-hero__title {
    font-size: 1.7rem;
  }
}
.gh-home-search {
  max-width: 560px;
  margin: 0 auto;
}
.gh-home-search__types {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 10px;
}
.gh-home-search__type {
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: rgba(var(--gh-fg-rgb), 0.7);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.gh-home-search__type.is-active {
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #0c0e18;
  border-color: transparent;
}
.gh-home-search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gh-glass);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  backdrop-filter: blur(8px);
}
.gh-home-search__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--gh-ink);
  font-size: 16px;
  padding: 10px 0;
}
.gh-home-search__btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #0c0e18;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-home-search__btn svg {
  width: 22px;
  height: 22px;
}
.gh-home-search__btn:hover {
  filter: brightness(1.06);
}
.gh-home-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  width: 100%;
  margin: 16px auto 0;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-home-ticker__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: #0c0e18;
  background: var(--gh-accent);
  padding: 4px 9px;
  border-radius: 6px;
  text-decoration: none;
}
.gh-home-ticker__view {
  position: relative;
  flex: 1;
  height: 20px;
  overflow: hidden;
  text-align: left;
}
.gh-home-ticker__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13.5px;
  color: rgba(var(--gh-fg-rgb), 0.8);
  text-decoration: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  /* 숨겨진 항목이 클릭 가로채지 않도록 */
}
.gh-home-ticker__item.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gh-home-ticker__item.is-on:hover {
  color: var(--gh-accent);
}
/* 짠 메이플 Today 통계 바 */
.gh-home-today {
  max-width: 560px;
  width: 100%;
  margin: 12px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
}
.gh-home-today__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.gh-home-today__badge {
  font-size: 11px;
  font-weight: 800;
  color: #0c0e18;
  background: var(--gh-accent);
  padding: 4px 9px;
  border-radius: 6px;
}
.gh-home-today__upd {
  font-size: 11.5px;
  color: rgba(var(--gh-fg-rgb), 0.55);
  margin-right: auto;
}
.gh-home-today__refresh {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  background: rgba(var(--gh-fg-rgb), 0.06);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  color: var(--gh-muted);
  font-size: 13px;
  transition: 0.15s;
}
.gh-home-today__refresh:hover:not(:disabled) {
  color: var(--gh-accent);
  border-color: rgba(var(--gh-accent-rgb), 0.4);
}
.gh-home-today__refresh:disabled {
  opacity: 0.6;
  cursor: default;
}
.gh-home-today__refresh.is-spinning {
  animation: gh-spin 0.8s linear infinite;
}
.gh-home-today__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gh-home-today__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 9px;
  background: rgba(var(--gh-fg-rgb), 0.04);
}
.gh-home-today__stat b {
  font-size: 18px;
  font-weight: 850;
  color: var(--gh-ink);
  font-variant-numeric: tabular-nums;
}
.gh-home-today__stat span {
  font-size: 11px;
  color: rgba(var(--gh-fg-rgb), 0.6);
}
.gh-home-today__stat--new b {
  color: #41c98a;
}
/* 첫 등록 캐릭터 환영 연출 */
.gh-firstcel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 16, 0);
  pointer-events: none;
  transition: background 0.35s;
}
.gh-firstcel.is-on {
  background: rgba(6, 8, 16, 0.55);
  pointer-events: auto;
}
.gh-firstcel__card {
  position: relative;
  text-align: center;
  padding: 30px 34px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(40, 44, 68, 0.96), rgba(20, 22, 34, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 60px rgba(var(--gh-accent-rgb), 0.25);
  transform: scale(0.7) translateY(14px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.18, 1.3, 0.4, 1), opacity 0.35s;
  max-width: 86vw;
}
.gh-firstcel.is-on .gh-firstcel__card {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.gh-firstcel__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #0c0e18;
  background: linear-gradient(90deg, #ffd166, var(--gh-accent));
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(var(--gh-accent-rgb), 0.5);
}
.gh-firstcel__name {
  font-size: 26px;
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-shadow: 0 0 18px rgba(var(--gh-accent-rgb), 0.6);
}
.gh-firstcel__msg {
  font-size: 16px;
  font-weight: 600;
  color: #e8ebff;
  line-height: 1.5;
}
.gh-firstcel__hint {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.gh-firstcel__confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.gh-confetti-p {
  position: absolute;
  top: -16px;
  width: 9px;
  height: 14px;
  opacity: 0;
  animation-name: gh-confetti-fall;
  animation-timing-function: ease-in;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes gh-confetti-fall {
  0% {
    transform: translateY(-20px) rotateZ(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) rotateZ(720deg);
    opacity: 1;
  }
}
.gh-home-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.gh-home-newbadge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 6px;
  background: #ff5a6e;
  color: #fff;
  position: relative;
  top: -1px;
}
.gh-home-card {
  min-width: 0;
  /* 그리드 아이템이 콘텐츠보다 줄어들 수 있게 (긴 제목 오버플로 방지) */
  background: rgba(var(--gh-fg-rgb), 0.03);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 16px 18px;
}
.gh-home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gh-home-card__head h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--gh-ink);
  margin: 0;
}
.gh-home-card__head a {
  font-size: 12px;
  color: var(--gh-muted);
  text-decoration: none;
}
.gh-home-card__head a:hover {
  color: var(--gh-accent);
}
.gh-home-nlist, .gh-home-plist {
  display: flex;
  flex-direction: column;
}
.gh-home-nitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.05);
}
.gh-home-nitem:last-child {
  border-bottom: none;
}
.gh-home-nitem__title {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: rgba(var(--gh-fg-rgb), 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-home-nitem__date {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(var(--gh-fg-rgb), 0.35);
}
.gh-home-nitem:hover .gh-home-nitem__title {
  color: var(--gh-accent);
}
.gh-home-roller {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 92px;
}
.gh-home-ecard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(var(--gh-accent-rgb), 0.05);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.14);
}
.gh-home-ecard__top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gh-home-ecard__title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--gh-fg-rgb), 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-home-ecard__tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(var(--gh-accent-rgb), 0.2);
  color: var(--gh-accent);
}
.gh-home-ecard__tag--wait {
  background: rgba(var(--gh-fg-rgb), 0.1);
  color: rgba(var(--gh-fg-rgb), 0.6);
}
.gh-home-ecard__range {
  font-size: 11.5px;
  color: rgba(var(--gh-fg-rgb), 0.45);
}
.gh-home-ecard__gauge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
}
.gh-home-ecard__bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(var(--gh-fg-rgb), 0.1);
  overflow: hidden;
}
.gh-home-ecard__fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gh-accent), var(--gh-accent-grad));
}
.gh-home-ecard__fill--wait {
  background: rgba(var(--gh-fg-rgb), 0.3);
}
.gh-home-ecard__pct {
  flex-shrink: 0;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: rgba(var(--gh-fg-rgb), 0.5);
}
.gh-home-ecard:hover {
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-home-ecard--in {
  animation: ghHomeFade 0.4s ease;
}
@keyframes ghHomeFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gh-home-users {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(8, 1fr);
}
@media (max-width: 1024px) {
  .gh-home-users {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 768px) {
  .gh-home-users {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .gh-home-users {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gh-home-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  text-decoration: none;
  /* 외형 확대용 클리핑 박스 (UI 고정, 캐릭터만 ~3배) */
}
.gh-home-user__avatar {
  width: 84px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-home-user__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: scale(2.8);
  transform-origin: center 56%;
}
.gh-home-user__img--ph {
  transform: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-home-user__name {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(var(--gh-fg-rgb), 0.9);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-home-user__sub {
  font-size: 11px;
  color: rgba(var(--gh-fg-rgb), 0.4);
}
.gh-home-user:hover .gh-home-user__name {
  color: var(--gh-accent);
}
.gh-home-pitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.05);
}
.gh-home-pitem:last-child {
  border-bottom: none;
}
.gh-home-pitem__title {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: rgba(var(--gh-fg-rgb), 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-home-pitem__title em {
  font-style: normal;
  color: var(--gh-accent);
  font-weight: 700;
  font-size: 12px;
}
.gh-home-pitem__meta {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(var(--gh-fg-rgb), 0.4);
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-home-pitem:hover .gh-home-pitem__title {
  color: var(--gh-accent);
}
.gh-home-pthumb {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-home-pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh-home-pthumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}
@media (max-width: 680px) {
  .gh-home-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .gh-home-hero__title {
    font-size: 1.5rem;
  }
}
/* ===== 모바일: GNB 바의 데스크탑 유저/로그인 숨김 (드로어로 이동) ===== */
@media (max-width: 900px) {
  .gh-gnb__user, .gh-gnb__login {
    display: none !important;
  }
}
/* ===== 드로어(빵메뉴) 메뉴 디자인 ===== */
.gh-nav-drawer__user {
  margin-bottom: 6px;
}
.gh-nav-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gh-dnav__item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gh-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.gh-dnav__item:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-dnav__item.is-active {
  color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.1);
}
.gh-dnav__item--soon {
  color: var(--gh-muted);
  cursor: default;
}
.gh-dnav__item--soon:hover {
  background: none;
}
.gh-dnav__item--soon em {
  font-style: normal;
  font-size: 11px;
  margin-left: 6px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  padding: 2px 7px;
  border-radius: 5px;
}
.gh-dnav__group {
  margin: 0;
}
.gh-dnav__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gh-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.gh-dnav__group-head:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-dnav__chev {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(var(--gh-fg-rgb), 0.5);
  transition: transform 0.22s;
}
.gh-dnav__group.is-expanded > .gh-dnav__group-head {
  color: var(--gh-accent);
}
.gh-dnav__group.is-expanded .gh-dnav__chev {
  transform: rotate(180deg);
  color: var(--gh-accent);
}
.gh-dnav__sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}
.gh-dnav__group.is-expanded .gh-dnav__sub {
  max-height: 360px;
  opacity: 1;
  padding: 2px 0 6px;
}
.gh-dnav__subitem {
  display: block;
  padding: 10px 14px 10px 28px;
  border-radius: 9px;
  color: rgba(var(--gh-fg-rgb), 0.78);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.2;
}
.gh-dnav__subitem:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
  color: var(--gh-ink);
}
.gh-dnav__subitem.is-active {
  color: var(--gh-accent);
  background: rgba(var(--gh-accent-rgb), 0.08);
  font-weight: 600;
}
/* ===== 게임 선택 버튼 (게임명 전체가 토글) ===== */
.gh-gnb__game-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--gh-ink);
  transition: background 0.15s;
}
.gh-gnb__game-btn:hover {
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-gnb__game-btn .gh-gnb__game-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-ink);
}
.gh-gnb__game-btn .gh-gnb__game-arr {
  color: var(--gh-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.gh-gnb__drop-head {
  display: none;
}
/* 모바일: 게임 선택을 하단 시트로 — 헤더/큰 옵션/높은 z-index */
@media (max-width: 640px) {
  .gh-gnb__drop {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;
    width: 100%;
    min-width: 0;
    z-index: 320;
    border-radius: 18px 18px 0 0;
    border: none;
    background: var(--gh-pop-bg);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6), 0 0 0 100vmax rgba(0, 0, 0, 0.45);
    padding: 8px 10px calc(env(safe-area-inset-bottom,0px) + 14px);
    max-height: 70vh;
    overflow-y: auto;
    animation: ghSheetUp 0.22s ease;
  }
  .gh-gnb__drop-head {
    display: block;
    text-align: center;
    color: rgba(var(--gh-fg-rgb), 0.55);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0 10px;
    border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.08);
    margin-bottom: 6px;
    position: relative;
  }
  .gh-gnb__drop-head::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(var(--gh-fg-rgb), 0.2);
  }
  .gh-gnb__drop-opt {
    padding: 14px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
}
@keyframes ghSheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
/* ===== 댓글 이미지/이모지 ===== */
.gh-reply__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gh-reply__tools {
  display: flex;
  align-items: center;
  gap: 2px;
}
.gh-reply__img-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.gh-reply-emoji {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  margin: 8px 0;
  background: var(--gh-pop-bg);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  max-width: 300px;
}
.gh-reply__images {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-left: 36px;
}
.gh-reply__img {
  max-width: 160px;
  max-height: 160px;
  border-radius: 8px;
  object-fit: cover;
}
/* 짠파워 칩 (GNB) */
.gh-gnb__power {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 11px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(var(--gh-accent-rgb), 0.15);
  color: var(--gh-accent);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.38);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.gh-gnb__power:hover {
  background: rgba(var(--gh-accent-rgb), 0.26);
}
.gh-gnb__power-ic {
  font-size: 13px;
}
.gh-gnb__power--drawer {
  display: flex;
  width: 100%;
  margin: 10px 0 0;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  font-size: 14px;
}
.gh-gnb__power--drawer span {
  font-weight: 600;
  opacity: 0.85;
}
/* 짠파워 — 마이페이지 */
.gh-power-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.gh-power-card {
  flex: 1;
  min-width: 110px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh-power-card--main {
  background: rgba(var(--gh-accent-rgb), 0.12);
  border-color: rgba(var(--gh-accent-rgb), 0.4);
}
.gh-power-card__label {
  font-size: 12px;
  opacity: 0.7;
}
.gh-power-card__val {
  font-size: 22px;
  font-weight: 800;
}
.gh-power-card--main .gh-power-card__val {
  color: var(--gh-accent);
}
.gh-power-hint {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 14px;
}
.gh-power-hint b {
  color: var(--gh-accent);
}
.gh-power-log {
  display: flex;
  flex-direction: column;
}
.gh-power-log__empty {
  padding: 28px;
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
}
.gh-power-log__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
}
.gh-power-log__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-power-log__title {
  font-size: 14px;
  font-weight: 600;
}
.gh-power-log__date {
  font-size: 12px;
  opacity: 0.6;
}
.gh-power-log__after {
  font-size: 12px;
  opacity: 0.6;
  white-space: nowrap;
}
.gh-power-log__delta {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  min-width: 52px;
  text-align: right;
}
.gh-power-log__delta.is-plus {
  color: #10b981;
}
.gh-power-log__delta.is-minus {
  color: #ef4444;
}
.gh-power-pager {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
}
.gh-power-pager a {
  text-decoration: none;
  opacity: 0.85;
}
.gh-power-pager span {
  opacity: 0.6;
}
/* 짠파워 — 로그아웃 칩(버튼) */
.gh-gnb__power--btn {
  cursor: pointer;
  font: inherit;
}
/* 짠파워 소개 모달 */
.gh-powmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-powmodal[hidden] {
  display: none;
}
.gh-powmodal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.gh-powmodal__box {
  position: relative;
  width: min(420px, 90vw);
  padding: 28px 26px 26px;
  background: var(--gh-card-bg, #1b1f2a);
  color: var(--gh-fg, #fff);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.4);
  border-radius: 18px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.6);
  text-align: center;
  animation: gh-pmodal-pop 0.22s ease;
}
@keyframes gh-pmodal-pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.gh-powmodal__x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.5;
  font-size: 18px;
  cursor: pointer;
}
.gh-powmodal__x:hover {
  opacity: 1;
}
.gh-powmodal__ic {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
}
.gh-powmodal__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--gh-accent);
}
.gh-powmodal__desc {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 16px;
  line-height: 1.6;
}
.gh-powmodal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.gh-powmodal__list li {
  padding: 10px 14px;
  background: rgba(var(--gh-accent-rgb), 0.1);
  border-radius: 10px;
  font-size: 14px;
}
.gh-powmodal__more {
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 18px;
  line-height: 1.6;
}
.gh-powmodal__cta {
  display: block;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #0c0e18;
  font-weight: 800;
  font-size: 15px;
  transition: filter 0.15s;
}
.gh-powmodal__cta:hover {
  filter: brightness(1.06);
}
/* ===== 보상교환소 (프론트) ===== */
.gh-shop__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.gh-shop__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.gh-shop__sub {
  font-size: 13px;
  opacity: 0.7;
  margin: 4px 0 0;
}
.gh-shop__bal {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(var(--gh-accent-rgb), 0.14);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.35);
  white-space: nowrap;
}
.gh-shop__bal b {
  color: var(--gh-accent);
  font-weight: 800;
}
.gh-shop__empty {
  padding: 60px 20px;
  text-align: center;
  opacity: 0.55;
  font-size: 15px;
}
.gh-shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.gh-shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.03));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
  box-shadow: var(--gh-card-shadow);
}
.gh-shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--gh-accent-rgb), 0.5);
}
.gh-shop-card.is-off {
  opacity: 0.5;
}
.gh-shop-card__thumb {
  position: relative;
  aspect-ratio: 1;
  background: rgba(var(--gh-fg-rgb), 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-shop-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-shop-card__noimg {
  font-size: 46px;
  opacity: 0.5;
}
.gh-shop-card__flag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}
.gh-shop-card__body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.gh-shop-card__name {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
}
.gh-shop-card__ways {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.gh-shop-way {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.gh-shop-way--ex {
  background: rgba(var(--gh-accent-rgb), 0.16);
  color: var(--gh-accent);
}
.gh-shop-way--rf {
  background: rgba(91, 140, 255, 0.16);
  color: #5b8cff;
}
.gh-shop-card__meta {
  font-size: 11.5px;
  opacity: 0.6;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gh-shop-card__closed {
  color: #ef4444;
  opacity: 1;
  font-weight: 700;
}
.gh-shopitem__back {
  display: inline-block;
  font-size: 13px;
  opacity: 0.7;
  text-decoration: none;
  color: inherit;
  margin-bottom: 14px;
}
.gh-shopitem__wrap {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 28px;
  align-items: start;
}
.gh-shopitem__media {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.04);
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-shopitem__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-shopitem__media span {
  font-size: 80px;
  opacity: 0.5;
}
.gh-shopitem__name {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
}
.gh-shopitem__desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 16px;
  white-space: pre-line;
}
.gh-shopitem__bal {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 14px;
}
.gh-shopitem__bal b {
  color: var(--gh-accent);
}
.gh-shopitem__box {
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.03));
}
.gh-shopitem__boxh {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.gh-shopitem__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--gh-accent);
}
.gh-shopitem__stock {
  font-size: 12.5px;
  opacity: 0.65;
  margin-top: 3px;
}
.gh-shopitem__mine {
  font-size: 12.5px;
  color: #5b8cff;
  font-weight: 700;
  margin-top: 4px;
}
.gh-shopitem__btn {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 24px;
  border-radius: 11px;
  border: none;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  background: rgba(var(--gh-fg-rgb), 0.1);
  color: inherit;
}
.gh-shopitem__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gh-shopitem__btn--ex {
  background: linear-gradient(135deg, var(--gh-accent), var(--gh-accent-grad));
  color: #0c0e18;
}
.gh-shopitem__btn--rf {
  background: linear-gradient(135deg, #5b8cff, #7aa2ff);
  color: #fff;
}
.gh-shopitem__raffle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.gh-shopitem__raffle input {
  width: 90px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 10px;
  background: var(--gh-pop-bg, #fff);
  color: inherit;
  font-size: 15px;
  text-align: center;
}
.gh-shopitem__raffle .gh-shopitem__btn {
  margin-top: 0;
}
.gh-shopitem__hint {
  font-size: 12px;
  opacity: 0.6;
  margin: 8px 0 0;
}
@media (max-width: 680px) {
  .gh-shopitem__wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gh-shopitem__media {
    max-width: 280px;
  }
}
/* 마이페이지 보상교환 내역 */
.gh-order-list {
  display: flex;
  flex-direction: column;
}
.gh-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
}
.gh-order-row__thumb {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gh-order-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-order-row__thumb span {
  font-size: 22px;
  opacity: 0.5;
}
.gh-order-row__main {
  flex: 1;
  min-width: 0;
}
.gh-order-row__title {
  font-weight: 700;
  font-size: 14px;
}
.gh-order-row__meta {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 2px;
}
.gh-order-code {
  font-size: 12px;
  font-family: monospace;
  color: var(--gh-accent);
  margin-top: 3px;
  word-break: break-all;
}
.gh-order-row__status {
  text-align: right;
  flex-shrink: 0;
}
.gh-order-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(var(--gh-fg-rgb), 0.08);
  white-space: nowrap;
}
.gh-order-badge--win {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.gh-order-badge--lost {
  background: rgba(var(--gh-fg-rgb), 0.08);
  opacity: 0.6;
}
.gh-order-sent {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 3px;
}
.gh-shopitem__rfstat {
  font-size: 12.5px;
  opacity: 0.8;
  margin-top: 5px;
}
.gh-shopitem__rfstat b {
  color: #5b8cff;
  font-weight: 800;
}
.gh-shop-card__rf {
  color: #5b8cff;
  font-weight: 700;
  opacity: 1;
}
/* ===== 내 인벤토리 ===== */
.gh-inv__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gh-inv-card {
  display: flex;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 14px;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.03));
  box-shadow: var(--gh-card-shadow);
}
.gh-inv-card__thumb {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  overflow: hidden;
  background: rgba(var(--gh-fg-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gh-inv-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-inv-card__thumb span {
  font-size: 30px;
  opacity: 0.5;
}
.gh-inv-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh-inv-card__name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.gh-inv-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.7;
}
.gh-inv-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}
.gh-inv-badge.is-win {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.gh-inv-badge.is-ex {
  background: rgba(var(--gh-accent-rgb), 0.15);
  color: var(--gh-accent);
}
.gh-inv-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 10px;
  background: rgba(var(--gh-accent-rgb), 0.1);
  border: 1px dashed rgba(var(--gh-accent-rgb), 0.4);
  border-radius: 9px;
}
.gh-inv-code__val {
  font-family: monospace;
  font-weight: 700;
  font-size: 13px;
  flex: 1;
  word-break: break-all;
  color: var(--gh-accent);
}
.gh-inv-code__copy {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border: none;
  border-radius: 7px;
  background: var(--gh-accent);
  color: #0c0e18;
  cursor: pointer;
}
.gh-inv-card__sent {
  font-size: 12.5px;
  color: #10b981;
  font-weight: 700;
}
.gh-inv-card__wait {
  font-size: 12.5px;
  opacity: 0.6;
}
.gh-shop__headright {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gh-shop__invbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.04));
  white-space: nowrap;
  transition: border-color 0.15s;
}
.gh-shop__invbtn:hover {
  border-color: rgba(var(--gh-accent-rgb), 0.55);
}
/* ===== 연무장 (BattlePractice) ===== */
.gh-battle__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.gh-battle__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.gh-battle__hint {
  font-size: 12px;
  opacity: 0.6;
}
.gh-battle__msg {
  padding: 40px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.gh-battle__err {
  font-size: 12.5px;
  opacity: 0.8;
}
.gh-battle__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-battle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 12px;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.03));
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s, transform 0.12s;
}
.gh-battle-row:hover {
  border-color: rgba(var(--gh-accent-rgb), 0.55);
  transform: translateY(-1px);
}
.gh-battle-row__no {
  font-weight: 800;
  font-size: 15px;
  color: var(--gh-accent);
  min-width: 56px;
}
.gh-battle-row__date {
  font-size: 13px;
  opacity: 0.75;
}
.gh-battle-row__go {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}
.gh-battle__back {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.75;
  font-size: 13px;
  cursor: pointer;
  padding: 0 0 12px;
}
.gh-battle__back:hover {
  opacity: 1;
}
.gh-battle-sum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.gh-battle-sum__c {
  padding: 13px 14px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 12px;
  background: var(--gh-card-bg, rgba(255, 255, 255, 0.03));
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-battle-sum__l {
  font-size: 12px;
  opacity: 0.65;
}
.gh-battle-sum__v {
  font-size: 19px;
  font-weight: 800;
}
.gh-battle-sum__c:first-child .gh-battle-sum__v {
  color: var(--gh-accent);
}
.gh-battle-tbwrap {
  overflow-x: auto;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 12px;
}
.gh-battle-tb {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}
.gh-battle-tb th {
  text-align: right;
  padding: 10px 12px;
  font-size: 12px;
  opacity: 0.6;
  font-weight: 600;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  background: rgba(var(--gh-fg-rgb), 0.03);
}
.gh-battle-tb th:first-child {
  text-align: left;
}
.gh-battle-tb td {
  text-align: right;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(var(--gh-fg-rgb), 0.06);
  font-variant-numeric: tabular-nums;
}
.gh-battle-tb tr:last-child td {
  border-bottom: none;
}
.gh-battle-tb__name {
  text-align: left !important;
  font-weight: 700;
}
.gh-battle-tb__pct {
  color: #5b8cff;
  font-weight: 700;
}
/* 연무장 목록 행 요약 */
.gh-battle-row__stats {
  margin-left: auto;
  display: flex;
  gap: 18px;
}
.gh-battle-row__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}
.gh-battle-row__stat em {
  font-size: 10px;
  opacity: 0.55;
  font-style: normal;
}
.gh-battle-row__stat b {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.gh-battle-row__stat .gh-battle-row__dmg {
  color: var(--gh-accent);
}
.gh-battle-row__go {
  margin-left: 16px;
}
@media (max-width: 560px) {
  .gh-battle-row {
    flex-wrap: wrap;
  }
  .gh-battle-row__stats {
    gap: 14px;
  }
  .gh-battle-row__go {
    display: none;
  }
}
/* 연무장 점유율 그래프 */
.gh-battle-graph {
  margin: 0 0 18px;
}
.gh-battle-graph__h {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
.gh-battle-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 12.5px;
}
.gh-battle-bar__name {
  width: 140px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.gh-battle-bar__track {
  flex: 1;
  height: 14px;
  background: rgba(var(--gh-fg-rgb), 0.07);
  border-radius: 7px;
  overflow: hidden;
}
.gh-battle-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gh-accent), var(--gh-accent-grad));
  border-radius: 7px;
  min-width: 2px;
  transition: width 0.4s ease;
}
.gh-battle-bar__pct {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 800;
  color: var(--gh-accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .gh-battle-bar__name {
    width: 96px;
  }
}
/* 홈 연무장 섹션 */
.gh-home-battle {
  grid-column: 1 / -1;
}
.gh-home-battle__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-home-battle__empty {
  padding: 12px 4px;
  margin: 0;
}
.gh-home-battle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid rgba(var(--gh-fg-rgb), 0.14);
  border-radius: 11px;
  background: rgba(var(--gh-fg-rgb), 0.03);
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s;
}
.gh-home-battle-row:hover {
  border-color: rgba(var(--gh-accent-rgb), 0.5);
}
.gh-home-battle-row__no {
  font-weight: 800;
  color: var(--gh-accent);
  min-width: 50px;
}
.gh-home-battle-row__date {
  font-size: 13px;
  opacity: 0.75;
}
.gh-home-battle-row__go {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}
/* 연무장 스킬 아이콘 */
.gh-battle-skic {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: cover;
  vertical-align: middle;
  background: rgba(var(--gh-fg-rgb), 0.06);
}
.gh-battle-skic--none {
  display: inline-block;
}
.gh-battle-bar__name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gh-battle-bar__nm {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-battle-tb__name {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* 스킬 툴팁 */
.gh-sktip {
  position: absolute;
  z-index: 99999;
  display: none;
  max-width: 300px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gh-card-bg, #1b1f2a);
  color: var(--gh-fg, #fff);
  border: 1px solid rgba(var(--gh-accent-rgb), 0.4);
  box-shadow: 0 18px 50px -16px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  font-size: 12.5px;
  line-height: 1.55;
}
.gh-sktip__h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.gh-sktip__h img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.gh-sktip__h b {
  font-size: 14px;
  font-weight: 800;
}
.gh-sktip__h em {
  font-style: normal;
  font-size: 11px;
  color: var(--gh-accent);
  font-weight: 700;
  margin-left: auto;
}
.gh-sktip__d {
  opacity: 0.9;
  white-space: pre-line;
  max-height: 200px;
  overflow: hidden;
}
.gh-sktip__e {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(var(--gh-fg-rgb), 0.12);
  color: var(--gh-accent);
  white-space: pre-line;
}
/*# sourceMappingURL=a8408e100319d2d0d951b7c8c383b29096f52868.skin.scss.map */
