/* NeonTem — neon cyan theme */
:root {
  --nt-bg: #070b12;
  --nt-bg-elev: #0d1522;
  --nt-bg-card: #111a2a;
  --nt-line: rgba(0, 240, 255, 0.18);
  --nt-cyan: #00f0ff;
  --nt-cyan-dim: #00b8c9;
  --nt-cyan-glow: rgba(0, 240, 255, 0.35);
  --nt-text: #e8f7ff;
  --nt-muted: #8aa0b8;
  --nt-danger: #ff4d6d;
  --nt-ok: #3dffb5;
  --nt-radius: 14px;
  --nt-font: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --nt-max: 1320px;
  --nt-blue: #0048c8;
  --nt-green: #28a745;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.nt-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--nt-bg);
  color: var(--nt-text);
  font-family: var(--nt-font);
  -webkit-text-size-adjust: 100%;
}

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 240, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 20%, rgba(0, 120, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #0a101a 100%);
  background-attachment: fixed;
}

a {
  color: var(--nt-cyan);
  text-decoration: none;
}
a:hover {
  color: #9ff8ff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.nt-wrap {
  width: min(100% - 32px, var(--nt-max));
  margin: 0 auto;
}

/* Header — KR trading site pattern (white bar) */
.nt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  box-shadow: 0 1px 0 rgba(0, 72, 200, 0.04);
}
.nt-header__main {
  padding: 18px 0 12px;
}
.nt-header__row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nt-blue);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.55rem;
  flex-shrink: 0;
}
.nt-logo:hover {
  color: #0039a6;
}
.nt-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.25);
}
.nt-logo__text {
  white-space: nowrap;
}

/* Search pill */
.nt-sch {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 5px 7px 5px 18px;
  border-radius: 999px;
  background: #fff;
  position: relative;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, var(--nt-blue) 0%, #1a9f8a 55%, var(--nt-green) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.nt-sch[data-trx="BUY"] {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, var(--nt-green) 0%, #1a9f8a 45%, var(--nt-blue) 100%);
}
.nt-sch__radios {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nt-sch__radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
}
.nt-sch__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nt-sch__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c5cdd8;
  display: grid;
  place-items: center;
  background: #fff;
  flex-shrink: 0;
}
.nt-sch__dot::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
}
.nt-sch__radio--sell {
  color: var(--nt-blue);
}
.nt-sch__radio--sell .nt-sch__dot {
  border-color: var(--nt-blue);
}
.nt-sch__radio--sell input:checked + .nt-sch__dot::after {
  background: var(--nt-blue);
}
.nt-sch__radio--buy {
  color: var(--nt-green);
}
.nt-sch__radio--buy .nt-sch__dot {
  border-color: var(--nt-green);
}
.nt-sch__radio--buy input:checked + .nt-sch__dot::after {
  background: var(--nt-green);
}
.nt-sch__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nt-sch__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #1a2332;
  height: 100%;
  padding: 0 6px;
}
.nt-sch__field input::placeholder {
  color: #9aa7b8;
}
.nt-sch__clear {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e8edf3;
  color: #6b7a8d;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.nt-sch__clear:hover {
  background: #d7dee8;
}
.nt-sch__submit {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--nt-blue);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 72, 200, 0.28);
}
.nt-sch__submit svg {
  width: 20px;
  height: 20px;
}
.nt-sch[data-trx="BUY"] .nt-sch__submit {
  background: var(--nt-green);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.28);
}
.nt-sch__submit:hover {
  filter: brightness(1.06);
}

/* Search dropdown */
.nt-sch-drop {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 30, 60, 0.14);
  overflow: hidden;
  color: #1a2332;
}
.nt-sch-drop__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 300px;
  max-height: min(300px, 55vh);
}
.nt-sch-drop__col {
  padding: 14px 12px 12px;
  border-right: 1px solid #eef2f7;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.nt-sch-drop__col:last-child {
  border-right: 0;
}
.nt-sch-drop__title {
  margin: 0 8px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #4a5a70;
  flex-shrink: 0;
}
.nt-sch-drop__col ul {
  list-style: none;
  margin: 0;
  padding: 0 4px 4px 0;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.nt-sch-drop__col ul::-webkit-scrollbar {
  width: 6px;
}
.nt-sch-drop__col ul::-webkit-scrollbar-thumb {
  background: #c5ceda;
  border-radius: 999px;
}
.nt-sch-drop__empty {
  padding: 18px 10px;
  color: #9aa7b8;
  font-size: 13px;
}
.nt-sch-hit {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  color: #1a2332;
}
.nt-sch-hit.is-on {
  background: #e8f0ff;
  color: var(--nt-blue);
  font-weight: 800;
}
.nt-sch-drop__hint {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 12px;
  color: #6b7a8d;
  border-top: 1px solid #eef2f7;
  background: #fafbfd;
}
.nt-sch-drop__cols--pick .nt-sch-drop__col:last-child ul {
  max-height: 320px;
}
.nt-sch-drop__cols--pick .nt-sch-hit {
  font-size: 14px;
}

/* 게임 선택 후: 좌 게임 / 우 서버 2열 (원본 KR 검색 UX) */
.nt-sch-panel--vertical {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  max-height: 420px;
}
.nt-sch-games {
  list-style: none;
  margin: 0;
  padding: 12px 8px;
  width: 38%;
  flex-shrink: 0;
  overflow-y: auto;
  border: 0;
}
.nt-sch-games li {
  margin: 0 0 6px;
}
.nt-sch-games .nt-sch-hit {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: #1a2332;
}
.nt-sch-games li.is-on .nt-sch-hit {
  background: rgba(240, 242, 246, 0.9);
}
.nt-sch-games li.is-on b {
  color: #ff005a;
  font-weight: 800;
}
.nt-sch-games .nt-sch-hit:hover {
  background: #f3f5f9;
}
.nt-sch-game-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f7;
  flex-shrink: 0;
}
.nt-sch-divider {
  width: 1px;
  background: #e5e8ef;
  flex-shrink: 0;
  align-self: stretch;
}
.nt-sch-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.nt-sch-channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 4px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #4a5a70;
  flex-shrink: 0;
}
.nt-sch-back {
  border: 0;
  background: #eef2f7;
  color: #334155;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.nt-sch-back:hover {
  background: #e2e8f0;
}
.nt-sch-servers {
  list-style: none;
  margin: 0;
  padding: 12px 12px 12px 14px;
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  align-content: start;
  overflow-y: auto;
  max-height: 420px;
  overscroll-behavior: contain;
}
.nt-sch-servers li {
  margin: 0;
  min-width: 0;
}
.nt-sch-server {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #f0f2f6;
  color: #333;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nt-sch-server:hover {
  background: #e4e8ef;
  color: #111;
}
.nt-sch-server.is-on {
  background: #dbe7ff;
  color: var(--nt-blue);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #93b4f5;
}

@media (max-width: 640px) {
  .nt-sch-panel--vertical {
    flex-direction: column;
    max-height: 70vh;
  }
  .nt-sch-games {
    width: 100%;
    max-height: 120px;
    border-bottom: 1px solid #eef2f7;
  }
  .nt-sch-divider {
    display: none;
  }
  .nt-sch-servers {
    grid-template-columns: 1fr;
    max-height: none;
  }
}
.nt-sch-hit img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
  flex-shrink: 0;
}
.nt-sch-rank__n {
  width: 18px;
  text-align: center;
  font-weight: 800;
  color: var(--nt-blue);
  flex-shrink: 0;
}

.nt-header__mile {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--nt-blue);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.nt-header__mile:hover {
  color: #0039a6;
  background: #e0ebff;
}

.nt-my-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 30, 60, 0.06);
  margin-bottom: 18px;
}
.nt-my-hero__label {
  margin: 0 0 6px;
  color: #6b7a8d;
  font-size: 13px;
  font-weight: 700;
}
.nt-my-hero__mile {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--nt-blue);
  letter-spacing: -0.03em;
}
.nt-my-hero__sub {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 13px;
}
.nt-my-hero__actions {
  display: flex;
  gap: 8px;
}
.nt-my-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .nt-my-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .nt-my-links {
    grid-template-columns: 1fr;
  }
  .nt-header__mile {
    display: none;
  }
  .nt-header__login {
    display: none !important;
  }
}

.nt-header__menu a.is-on {
  color: var(--nt-blue);
}
.nt-header__login {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--nt-blue);
  color: var(--nt-blue);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  background: #fff;
}
.nt-header__login:hover {
  background: #f3f7ff;
  color: var(--nt-blue);
}
/* 与镜像页顶栏一致：이름님 | 충전 | 출금 | 채팅 */
.nt-header__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nt-header__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #0c2757;
  font-weight: 700;
  font-size: 15px;
}
.nt-header__trigger:hover,
.nt-header__user.is-open .nt-header__trigger {
  color: var(--nt-blue);
}
.nt-header__chev {
  font-size: 11px;
  color: #7a8799;
  line-height: 1;
}
.nt-header__div {
  color: #c5cdd8;
  font-size: 13px;
}
.nt-header__qlink {
  color: #0c2757;
  font-weight: 700;
  font-size: 15px;
}
.nt-header__qlink:hover {
  color: var(--nt-blue);
}
.nt-header__chat {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  color: #0c2757;
}
.nt-header__chat:hover {
  color: var(--nt-blue);
}
.nt-header__chat-n {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.nt-header__chat-n:empty,
.nt-header__chat-n.empty,
.nt-header__chat-n[data-empty="1"] {
  display: none;
}
.nt-header__menu-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5eaf1;
  box-shadow: 0 12px 28px rgba(15, 30, 60, 0.12);
}
.nt-header__menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #6b7a8d;
  font-size: 13px;
  font-weight: 600;
}
.nt-header__mile-link {
  color: var(--nt-blue);
  font-weight: 800;
  font-size: 15px;
}
.nt-header__menu-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
  font-size: 13px;
  font-weight: 700;
}
.nt-header__menu-foot a,
.nt-header__menu-foot button {
  color: #4a5a70;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nt-header__menu-foot a:hover,
.nt-header__menu-foot button:hover {
  color: var(--nt-blue);
}
.nt-header__logout {
  border: 0;
  background: #f0f4f9;
  color: #4a5a70;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nt-header__qlink,
  .nt-header__div,
  .nt-header__chat {
    display: none;
  }
}

/* Sub nav */
.nt-header__menu {
  border-top: 1px solid #eef2f7;
  background: #fff;
}
.nt-header__menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
  padding: 4px 0 6px;
  min-height: 62px;
  width: min(100% - 32px, var(--nt-max));
  margin: 0 auto;
}
.nt-header__menu a {
  flex: 1 1 0;
  text-align: center;
  color: #1a2332;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 14px 6px;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
}
.nt-header__menu a:hover {
  background: #f5f8fc;
  color: #1a2332;
}
.nt-menu--sell {
  color: var(--nt-blue) !important;
}
.nt-menu--buy {
  color: var(--nt-green) !important;
}
.nt-menu--gift {
  padding-right: 6px !important;
}
.nt-sale {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(26px);
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s ease;
}
.nt-btn--primary {
  background: var(--nt-cyan);
  color: #041018;
  box-shadow: 0 0 20px var(--nt-cyan-glow);
}
.nt-btn--primary:hover {
  filter: brightness(1.08);
  color: #041018;
}
.nt-btn--ghost {
  background: transparent;
  border-color: var(--nt-line);
  color: var(--nt-text);
}
.nt-btn--ghost:hover {
  border-color: var(--nt-cyan);
  color: var(--nt-cyan);
}
.nt-btn--block {
  width: 100%;
}

/* Hero → main visual banner (KR trading site) */
.nt-visual {
  padding: 20px 0 8px;
}
.nt-visual__track {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f18;
  aspect-ratio: 1320 / 360;
  max-height: 360px;
  box-shadow: 0 10px 28px rgba(15, 30, 60, 0.12);
}
.nt-visual__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.nt-visual__slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.nt-visual__slide a,
.nt-visual__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  cursor: default;
}
.nt-visual__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
}
.nt-visual__dot {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}
.nt-visual__dot.is-on {
  background: #3b82f6;
  width: 36px;
}

/* Legacy text hero removed */
.nt-hero {
  display: none;
}

/* Home page: light content under white header (KR trading pattern) */
body.nt-home {
  background: #f3f5f9;
  background-image: none;
  color: #1a2332;
}
body.nt-home .nt-section__head h2 {
  color: #1a2332;
}
body.nt-home .nt-section__head span,
body.nt-home .nt-footer,
body.nt-home .nt-site-footer {
  color: #6b7a8d;
}
body.nt-home .nt-footer,
body.nt-home .nt-site-footer {
  border-top-color: #e2e8f0;
}
body.nt-home .nt-footer strong,
body.nt-home .nt-site-footer__adres strong,
body.nt-home .nt-site-footer__brand {
  color: #0048c8;
}
body.nt-home .nt-site-footer__adres strong {
  color: #111827;
}
body.nt-home .nt-game,
body.nt-home .nt-card,
body.nt-home .nt-cta {
  background: #fff;
  border-color: #e2e8f0;
  color: #1a2332;
  box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}
body.nt-home .nt-game:hover,
body.nt-home .nt-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(0, 72, 200, 0.1);
}
body.nt-home .nt-card__meta {
  color: #6b7a8d;
}
body.nt-home .nt-card__price {
  color: var(--nt-blue);
}
body.nt-home .nt-tabs {
  background: #fff;
  border-color: #e2e8f0;
}
body.nt-home .nt-tabs button.is-on {
  background: var(--nt-blue);
  color: #fff;
}
body.nt-home .nt-cta strong {
  color: var(--nt-blue);
}
body.nt-home .nt-cta span {
  color: #6b7a8d;
}
body.nt-home .nt-empty {
  border-color: #d5dde8;
  color: #6b7a8d;
  background: #fff;
}

/* Sections */
.nt-section {
  padding: 28px 0;
}
.nt-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.nt-section__head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.nt-section__head span {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-grid-games {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.nt-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--nt-radius);
  border: 1px solid var(--nt-line);
  background: var(--nt-bg-card);
  color: var(--nt-text);
  text-align: center;
  transition: 0.15s ease;
}
.nt-game:hover {
  border-color: var(--nt-cyan);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12);
  transform: translateY(-2px);
}
.nt-game img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #0a121c;
}
.nt-game strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* TOP 10 커버 카드 */
.nt-game--top {
  position: relative;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 168px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111827;
  text-align: left;
}
.nt-game--top:hover {
  border: 0;
  box-shadow: 0 10px 28px rgba(15, 30, 60, 0.22);
  transform: translateY(-3px);
}
.nt-game__cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.35s ease;
}
.nt-game--top:hover .nt-game__cover {
  transform: scale(1.04);
}
.nt-game--top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  pointer-events: none;
}
.nt-game__count {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  backdrop-filter: blur(4px);
}
.nt-game__name {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 12px 12px 14px;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.nt-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid var(--nt-line);
  margin-bottom: 14px;
}
.nt-tabs button {
  border: 0;
  background: transparent;
  color: var(--nt-muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.nt-tabs button.is-on {
  background: var(--nt-cyan);
  color: #041018;
}

.nt-list {
  display: grid;
  gap: 10px;
}
.nt-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--nt-radius);
  border: 1px solid var(--nt-line);
  background: var(--nt-bg-card);
  color: inherit;
}
.nt-card:hover {
  border-color: rgba(0, 240, 255, 0.45);
}
.nt-card__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #0a121c;
}
.nt-card__meta {
  color: var(--nt-muted);
  font-size: 12px;
  margin: 0 0 4px;
}
.nt-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nt-card__price {
  color: var(--nt-cyan);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.nt-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}
.nt-badge--sell {
  background: rgba(0, 240, 255, 0.15);
  color: var(--nt-cyan);
}
.nt-badge--buy {
  background: rgba(61, 255, 181, 0.12);
  color: var(--nt-ok);
}
.nt-badge--demo {
  background: rgba(255, 200, 80, 0.12);
  color: #ffc850;
}

.nt-cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nt-cta {
  padding: 18px;
  border-radius: var(--nt-radius);
  border: 1px solid var(--nt-line);
  background: var(--nt-bg-elev);
  color: var(--nt-text);
}
.nt-cta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nt-cyan);
}
.nt-cta span {
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Auth */
.nt-auth {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}
.nt-auth__card {
  width: min(100%, 420px);
  padding: 28px 24px;
  border-radius: calc(var(--nt-radius) + 4px);
  border: 1px solid var(--nt-line);
  background: rgba(13, 21, 34, 0.92);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.08);
}
.nt-auth__card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.nt-auth__card > p {
  margin: 0 0 22px;
  color: var(--nt-muted);
  font-size: 14px;
}
.nt-field {
  margin-bottom: 14px;
}
.nt-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--nt-muted);
}
.nt-field input {
  width: 100%;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  background: var(--nt-bg);
  color: var(--nt-text);
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.nt-field input:focus {
  border-color: var(--nt-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}
.nt-msg {
  min-height: 1.2em;
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--nt-danger);
}

/* Market */
.nt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.nt-chip {
  border: 1px solid var(--nt-line);
  background: var(--nt-bg-card);
  color: var(--nt-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nt-chip.is-on {
  color: #041018;
  background: var(--nt-cyan);
  border-color: var(--nt-cyan);
}
.nt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.nt-toolbar__count {
  color: var(--nt-muted);
  font-size: 13px;
}
.nt-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--nt-muted);
  border: 1px dashed var(--nt-line);
  border-radius: var(--nt-radius);
}

.nt-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--nt-line);
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.6;
}
.nt-footer strong {
  color: var(--nt-text);
}

/* 공식 페이지와 동일한 사이트 푸터 */
.nt-site-footer {
  margin-top: 28px;
  padding-bottom: 24px;
  background: #f7f8fa;
  border-top: 1px solid #e5e8ee;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
}
.nt-site-footer__top {
  background: #eef1f5;
  border-bottom: 1px solid #e2e6ed;
}
.nt-site-footer__links {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100% - 32px, var(--nt-max));
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nt-site-footer__links li {
  position: relative;
  padding: 12px 14px;
}
.nt-site-footer__links li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: #c9d0db;
}
.nt-site-footer__links a,
.nt-site-footer__btn {
  color: #1f2937;
  text-decoration: none;
  font-size: 13px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.nt-site-footer__links a:hover,
.nt-site-footer__btn:hover {
  color: var(--nt-blue);
}
.nt-site-footer__main {
  width: min(100% - 32px, var(--nt-max));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.nt-site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--nt-blue);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nt-site-footer__brand img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 72, 200, 0.2);
}
.nt-site-footer__adres {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #6b7280;
  font-size: 12.5px;
}
.nt-site-footer__adres li + li {
  margin-top: 3px;
}
.nt-site-footer__adres strong {
  color: #111827;
  font-size: 14px;
}
.nt-site-footer__copy {
  margin-top: 8px !important;
  color: #9aa3b2;
}
.nt-site-footer__youth {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  max-width: 520px;
}
.nt-site-footer__age {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.nt-site-footer__youth p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.45;
}
.nt-site-footer__cs h4 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 16px;
}
.nt-site-footer__cs-status a {
  color: var(--nt-blue);
  font-weight: 700;
  text-decoration: none;
}
.nt-site-footer__cs > p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12.5px;
}
.nt-site-footer__danal {
  display: inline-block;
  margin-top: 14px;
}
.nt-site-footer__danal img {
  display: block;
  width: 88px;
  height: auto;
}
.nt-site-footer__notice {
  width: min(100% - 32px, var(--nt-max));
  margin: 0 auto;
  padding: 0 0 12px;
  color: #6b7280;
  font-size: 12px;
}

/* 홈 중간: 검색어 순위 + 상품권 */
.nt-home-mid__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}
.nt-rank-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 16px 8px;
  box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}
.nt-rank-box__head h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #1a2332;
}
.nt-rank {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nt-rank li + li {
  border-top: 1px solid #f0f3f8;
}
.nt-rank a {
  display: grid;
  grid-template-columns: 24px 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 2px;
  text-decoration: none;
  color: #1a2332;
}
.nt-rank a:hover {
  color: var(--nt-blue);
}
.nt-rank__n {
  font-weight: 800;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}
.nt-rank li:nth-child(-n + 3) .nt-rank__n {
  color: var(--nt-blue);
}
.nt-rank img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
}
.nt-rank__name {
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nt-rank__cnt {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.nt-gift-promo {
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
  min-height: 280px;
}
.nt-gift-promo__visual {
  min-height: 150px;
  background: #0f172a;
}
.nt-gift-promo__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 150px;
}
.nt-gift-promo__body {
  padding: 16px 18px 18px;
}
.nt-gift-promo__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--nt-blue);
  font-size: 11px;
  font-weight: 700;
}
.nt-gift-promo__title {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.02em;
}
.nt-gift-promo__desc {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #6b7280;
}
.nt-gift-promo__cta {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--nt-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* 로그인 우측 빠른메뉴 — account_trade / gamemoney_trade 와 동일 구조 */
.nt-qm {
  --nt-qm-w: 200px;
  position: fixed;
  top: 188px;
  right: max(12px, calc((100vw - var(--nt-max)) / 2 - var(--nt-qm-w) - 12px));
  z-index: 60;
  width: var(--nt-qm-w);
  font-family: var(--nt-font);
}
.nt-qm__cont {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.nt-qm.is-collapsed {
  width: 36px;
}
.nt-qm.is-collapsed .nt-qm__cont {
  width: 36px;
  height: 36px;
  background: transparent;
  box-shadow: none;
  border: none;
}
.nt-qm.is-collapsed .nt-qm__body {
  display: none;
}
.nt-qm__toggle {
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0048c8, #0055ed);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 72, 200, 0.28);
}
.nt-qm.is-collapsed .nt-qm__toggle {
  left: 3px;
  top: 3px;
}
.nt-qm__chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}
.nt-qm.is-collapsed .nt-qm__chev {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.nt-qm__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 12px 12px;
  background: rgba(0, 72, 200, 0.05);
  text-align: center;
}
.nt-qm__grade-icon {
  width: 56px;
  height: auto;
  margin-bottom: 4px;
  object-fit: contain;
}
.nt-qm__grade-name {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #333;
}
.nt-qm__stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.nt-qm__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  border: 1px solid rgba(0, 72, 200, 0.1);
  text-decoration: none;
  color: #333;
  box-sizing: border-box;
}
.nt-qm__stat .title {
  min-width: 45px;
  text-align: left;
  color: #666;
  font-size: 11px;
  font-weight: 600;
}
.nt-qm__stat strong {
  color: #0048c8;
  font-size: 12px;
  font-weight: 800;
  word-break: break-all;
}
.nt-qm__stat--buy strong {
  color: #16a34a;
}
.nt-qm__stat--pending strong {
  color: #ea580c;
}
.nt-qm__stat--dnd {
  cursor: default;
}
.nt-qm__moon {
  margin-right: 4px;
}
.nt-qm__switch {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.nt-qm__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.nt-qm__switch span {
  position: absolute;
  inset: 0;
  background: #c9c9c9;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.nt-qm__switch span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.nt-qm__switch input:checked + span {
  background: #0048c8;
}
.nt-qm__switch input:checked + span::after {
  transform: translateX(18px);
}
.nt-qm__list {
  list-style: none;
  margin: 0;
  padding: 4px 12px 8px;
}
.nt-qm__list li {
  border-bottom: 1px solid #f3f4f6;
}
.nt-qm__list li:last-child {
  border-bottom: 0;
}
.nt-qm__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 0;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}
.nt-qm__list a:hover {
  color: #0048c8;
}
.nt-qm__arr {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid #c4cad4;
  border-bottom: 1.6px solid #c4cad4;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
.nt-qm__list a:hover .nt-qm__arr {
  border-color: #0048c8;
}
.nt-qm__recent {
  margin: 0 10px 12px;
}
.nt-qm__recent-head {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}
.nt-qm__recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nt-qm__recent-empty {
  padding: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 11.5px;
  text-align: center;
}
.nt-qm__recent-item {
  position: relative;
  margin-bottom: 8px;
  padding: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.nt-qm__recent-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.nt-qm__recent-item .nt-qm__recent-title {
  margin: 0 0 6px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nt-qm__recent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.nt-qm__recent-meta span {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef2f7;
  color: #6b7280;
  font-size: 10px;
}
.nt-qm__recent-price {
  color: #0048c8;
  font-size: 12px;
  font-weight: 700;
}
.nt-qm__recent-item.is-buy .nt-qm__recent-price {
  color: #16a34a;
}

.nt-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .nt-home-mid__grid {
    grid-template-columns: 1fr;
  }
  .nt-site-footer__main {
    grid-template-columns: 1fr;
  }
  .nt-qm {
    display: none;
  }
  .nt-grid-games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nt-game--top {
    min-height: 140px;
  }
  .nt-game__name {
    font-size: 13px !important;
  }
  .nt-cta-row {
    grid-template-columns: 1fr;
  }
  .nt-header__menu-inner {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
  }
  .nt-header__menu a {
    font-size: 15px;
    padding: 12px 4px;
    flex: 1 1 auto;
  }
  .nt-sch__radios {
    gap: 8px;
  }
  .nt-sch__radio {
    font-size: 13px;
  }
  .nt-logo__text {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .nt-wrap {
    width: min(100% - 20px, var(--nt-max));
  }
  .nt-grid-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .nt-game--top {
    min-height: 128px;
  }
  .nt-card {
    grid-template-columns: 52px 1fr;
  }
  .nt-card__price {
    grid-column: 2;
  }
  .nt-header__row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nt-sch {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    height: auto;
    min-height: 46px;
    padding: 8px 8px 8px 12px;
  }
  .nt-sch-drop__cols {
    grid-template-columns: 1fr;
  }
  .nt-sch-drop__col {
    border-right: 0;
    border-bottom: 1px solid #eef2f7;
  }
  .nt-visual__track {
    aspect-ratio: 16 / 7;
    max-height: none;
  }
  .nt-visual__dots {
    bottom: 10px;
  }
  .nt-visual__dot {
    width: 20px;
  }
  .nt-header__menu {
    display: none;
  }
  .nt-mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(7, 11, 18, 0.94);
    border-top: 1px solid var(--nt-line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
  }
  .nt-mobile-nav a {
    text-align: center;
    color: var(--nt-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 8px 4px;
  }
  .nt-mobile-nav a.is-on {
    color: var(--nt-cyan);
  }
  body {
    padding-bottom: 72px;
  }
}
