/* ═════════ 공통 레이아웃 확장 ═════════ */
:root[data-lang='ja'] {
  --font: 'Wanted Sans Variable', 'Noto Sans JP', -apple-system, 'Hiragino Sans', sans-serif;
}

:root[data-lang='zh'] {
  --font: 'Wanted Sans Variable', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root[data-lang='vi'] {
  --font: 'Be Vietnam Pro', 'Wanted Sans Variable', -apple-system, sans-serif;
}

:root[data-lang='en'] body,
:root[data-lang='vi'] body {
  word-break: normal;
}

.nav a.is-active {
  color: #fff;
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.header__login {
  font-size: 14px;
  font-weight: 700;
  color: #c6cbd8;
  padding: 0 6px;
  transition: color 0.2s;
}

.header__login:hover {
  color: #fff;
}

/* 언어 선택 */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: #dfe5f2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s, background 0.2s;
}

.lang__btn:hover,
.lang.is-open .lang__btn {
  border-color: rgba(74, 123, 255, 0.6);
  background: rgba(36, 83, 240, 0.15);
}

.lang__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang__btn svg:last-child {
  width: 14px;
  transition: transform 0.25s;
}

.lang.is-open .lang__btn svg:last-child {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 18px;
  background: rgba(14, 20, 38, 0.96);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(36, 83, 240, 0.5);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1.2);
  z-index: 10;
}

.lang.is-open .lang__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang__menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: #c6cbd8;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.lang__menu button:hover {
  background: rgba(36, 83, 240, 0.18);
  color: #fff;
}

.lang__menu button.is-active {
  color: #fff;
  background: rgba(36, 83, 240, 0.25);
}

.lang__menu b {
  width: 28px;
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--cyan);
}

.lang__menu svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
}

/* 모바일 메뉴 */
.m-menu {
  overflow-y: auto;
  padding-top: calc(var(--header-h) + 50px);
}

.m-menu .m-menu__link {
  font-size: 24px;
}

.m-menu__auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.m-menu .m-menu__auth .btn {
  margin: 0;
  font-size: 15px;
  padding: 0 16px;
  border-bottom: 0;
}

.m-menu__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

.m-menu__label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.m-menu__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.m-menu__langs button {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid var(--line-2);
  color: #c6cbd8;
}

.m-menu__langs button.is-active {
  color: #fff;
  border-color: var(--blue-2);
  background: rgba(36, 83, 240, 0.25);
}

body.menu-open {
  overflow: hidden;
}

/* 푸터 */
.footer {
  padding: 70px 0 120px;
}

.footer__inner {
  gap: 36px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.footer__brand {
  display: block;
}

.footer__logo {
  width: 150px;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #a8b0c2;
}

.footer__cols a {
  transition: color 0.2s;
  word-break: break-all;
}

.footer__cols a:hover {
  color: var(--cyan);
}

.footer__head {
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

/* 모달 확장 */
.modal__list {
  max-height: min(52vh, 460px);
  overflow-y: auto;
  padding-right: 4px;
  margin-right: -4px;
}

.modal__list::-webkit-scrollbar {
  width: 6px;
}

.modal__list::-webkit-scrollbar-thumb {
  background: rgba(74, 123, 255, 0.4);
  border-radius: 6px;
}

.modal__item-info b em {
  white-space: nowrap;
}

.modal__all {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

.modal__next a {
  color: var(--cyan);
}

/* 홈 확장 */
.ex-more {
  margin-top: 44px;
}

.ex-more a {
  margin: 0;
  color: #fff;
}

.ex-card__head {
  color: inherit;
}

.ex-card__tag {
  font-size: 12px;
}

.logo-pill {
  cursor: pointer;
}

.faq__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  color: var(--muted);
}

/* 토스트 */
.toast-box {
  position: fixed;
  left: 50%;
  bottom: calc(30px + env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  gap: 10px;
  transform: translateX(-50%);
  width: min(460px, calc(100% - 32px));
}

.toast {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(14, 20, 38, 0.95);
  border: 1px solid rgba(110, 243, 165, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -8px rgba(110, 243, 165, 0.5);
}

/* 버튼 로딩 */
.btn.is-loading {
  pointer-events: none;
  color: transparent;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: rotate 0.7s linear infinite;
}

.btn__ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__ico {
  display: inline-flex;
}

/* ═════════ 서브페이지 공통 ═════════ */
.page {
  position: relative;
  min-height: 70vh;
  padding: 30px 0 110px;
}

.narrow {
  max-width: 860px;
}

.page-hero {
  position: relative;
  padding: 50px 0 40px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -120px;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(36, 83, 240, 0.35), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.page-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.page-hero__desc {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 17px;
  color: var(--muted);
}

.page-hero__stats {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin-top: 36px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.page-hero__stats > div {
  display: flex;
  flex-direction: column;
  padding: 18px 34px;
}

.page-hero__stats > div + div {
  border-left: 1px solid var(--line);
}

.page-hero__stats b {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero__stats > div > span {
  font-size: 13px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 24px;
  font-size: 14px;
  font-weight: 700;
  color: #c3c9d8;
  transition: color 0.2s, gap 0.2s;
}

.back-link:hover {
  color: #fff;
  gap: 12px;
}

.back-link svg,
.back-link span svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-link span[data-icon] {
  display: inline-flex;
}

.card {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.card__sub {
  font-size: 12px;
  color: #6b7387;
}

.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: #c6cbd8;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-2);
}

.tag--gold {
  color: #1b1200;
  background: linear-gradient(135deg, #ffcf4a, #ff8a00);
  border-color: transparent;
}

.tag--cyan {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
}

.tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* 검색 · 셀렉트 · 탭 */
.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search__ico {
  position: absolute;
  left: 14px;
  display: inline-flex;
  pointer-events: none;
}

.search__ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  width: 240px;
  height: 44px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.3s;
}

.search input:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(36, 83, 240, 0.2);
}

.select {
  height: 44px;
  padding: 0 40px 0 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d96ab' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line-2);
  appearance: none;
  outline: none;
  cursor: pointer;
}

.select option {
  background: #111727;
}

.select:focus {
  border-color: var(--blue-2);
}

.select--block {
  width: 100%;
  height: 52px;
  border-radius: 14px;
}

.tabs {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.tabs button {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}

.tabs button.is-active {
  color: #fff;
}

.tabs__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 6px 18px -4px rgba(36, 83, 240, 0.9);
  transition: transform 0.4s cubic-bezier(0.6, -0.2, 0.3, 1.3), width 0.4s;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #c3c9d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all 0.2s;
}

.chip-btn:hover {
  border-color: rgba(74, 123, 255, 0.6);
}

.chip-btn.is-active,
.chip-btn:has(input:checked) {
  color: #fff;
  background: rgba(36, 83, 240, 0.28);
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(36, 83, 240, 0.18);
}

.chip-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ═════════ 거래소 목록 ═════════ */
.exl__subtitle {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 16px;
}

.exl-popular {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.pop-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 14px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(300px circle at var(--mx) var(--my), rgba(74, 123, 255, 0.2), transparent 50%),
    linear-gradient(160deg, rgba(36, 83, 240, 0.18), rgba(17, 23, 39, 0.9) 60%);
  border: 1px solid var(--line);
  transition: translate 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.pop-card:hover {
  translate: 0 -6px;
  border-color: rgba(74, 123, 255, 0.55);
  box-shadow: 0 30px 60px -24px rgba(36, 83, 240, 0.8);
}

.pop-card__rank {
  position: absolute;
  right: 16px;
  top: 10px;
  font-family: var(--font-num);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}

.pop-card img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pop-card__info b {
  display: block;
  font-size: 17px;
}

.pop-card__info span {
  font-size: 12px;
  color: var(--muted);
}

.pop-card__rate {
  grid-column: 2;
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.exl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.exl-toolbar__right {
  display: flex;
  gap: 10px;
}

.exl__count {
  margin: 20px 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.exl__count b {
  color: #fff;
}

.ex-table {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.75);
  overflow: hidden;
}

.ex-table__head,
.ex-row {
  display: grid;
  grid-template-columns: 50px 1.6fr 1.3fr 1fr 1fr 1fr 190px;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}

.ex-table__head {
  height: 52px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.ex-row {
  position: relative;
  min-height: 84px;
  transition: background 0.25s;
}

.ex-row + .ex-row {
  border-top: 1px solid var(--line);
}

.ex-row:hover {
  background: rgba(36, 83, 240, 0.08);
}

.ex-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: var(--grad);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.ex-row:hover::before {
  transform: scaleY(1);
}

.ex-row.is-best {
  background: linear-gradient(90deg, rgba(255, 190, 60, 0.08), transparent 60%);
}

.ex-row__no {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--muted);
}

.ex-row__name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ex-row__name img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  transition: transform 0.4s;
}

.ex-row:hover .ex-row__name img {
  transform: rotate(-12deg) scale(1.08);
}

.ex-row__name b {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.ex-row__rate b {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bar {
  display: block;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.ex-row__val {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  color: #dfe5f2;
}

.ex-row__avg {
  font-family: var(--font);
}

.ex-row__cta {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ═════════ 거래소 상세 ═════════ */
.exd-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.exd-main {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(36, 83, 240, 0.3), rgba(10, 16, 32, 0.92) 55%);
  border: 1px solid rgba(74, 123, 255, 0.35);
  box-shadow: 0 40px 100px -40px rgba(36, 83, 240, 0.9);
}

.exd-main__head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.exd-main__logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 40px rgba(36, 83, 240, 0.6);
}

.exd-main__head h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.exd-main__official {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  color: #6ef3a5;
}

.exd-main__official svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.exd-main__head .tags {
  margin-left: auto;
}

.exd-main__body {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 30px 0;
}

.ring--xl {
  width: 168px;
  height: 168px;
}

.ring--xl .ring__val {
  font-size: 46px;
}

.exd-main__label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.exd-main__break {
  margin: 6px 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.exd-main__save {
  font-size: 14px;
  color: #c3c9d8;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(110, 243, 165, 0.08);
  border: 1px solid rgba(110, 243, 165, 0.3);
}

.exd-main__save b {
  color: #6ef3a5;
}

.exd-main__sub {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.exd-side {
  display: grid;
  gap: 24px;
}

.fee-table__head,
.fee-table__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.fee-table__head {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.fee-table__row {
  padding: 16px 0;
  font-size: 14px;
}

.fee-table__row + .fee-table__row {
  border-top: 1px dashed var(--line-2);
}

.fee-table__row > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c3c9d8;
}

.fee-table__row > span:first-child i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.fee-table__row b {
  display: block;
  font-family: var(--font-num);
  font-size: 16px;
}

.fee-table__row.is-base b {
  color: #8d96ab;
  text-decoration: line-through;
}

.fee-table__row.is-final > span:first-child {
  color: var(--cyan);
  font-weight: 800;
}

.fee-table__row.is-final > span:first-child i {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(36, 83, 240, 0.9);
}

.fee-table__row.is-final b {
  color: var(--cyan);
  font-size: 18px;
}

.fee-bar {
  display: block;
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.fee-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 93, 115, 0.7);
}

.is-mid .fee-bar i {
  background: #4a7bff;
}

.is-final .fee-bar i {
  background: var(--grad);
  box-shadow: 0 0 10px var(--cyan);
}

.exd-mini {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
}

.exd-avg {
  overflow: hidden;
}

.exd-avg__num {
  margin: 8px 0 2px;
  font-size: 34px;
  font-weight: 900;
  font-family: var(--font-num), var(--font);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.exd-avg__spark {
  width: 100%;
  margin-top: 18px;
}

.exd-avg__spark path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 2.4s 0.6s ease forwards;
  filter: drop-shadow(0 0 4px var(--cyan));
}

.exd-calc__vol {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.exd-calc__vol b {
  font-family: var(--font-num);
  font-size: 18px;
  color: #fff;
}

.exd-calc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.exd-calc__row--save b {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 900;
  color: #6ef3a5;
  text-shadow: 0 0 20px rgba(110, 243, 165, 0.5);
}

.exd-section {
  margin-top: 70px;
}

.exd-section__title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 22px;
}

.guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide__step {
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(300px circle at var(--mx) var(--my), rgba(74, 123, 255, 0.16), transparent 50%),
    var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.guide__num {
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
}

.guide__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 83, 240, 0.35), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(74, 123, 255, 0.45);
}

.guide__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: url(#iconGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide__step b {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.guide__step p {
  font-size: 14px;
  color: var(--muted);
}

.notice {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}

.notice li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #b9c0d0;
}

.notice li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.others {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.others::-webkit-scrollbar {
  height: 6px;
}

.others::-webkit-scrollbar-thumb {
  background: rgba(74, 123, 255, 0.4);
  border-radius: 6px;
}

.other-card {
  --mx: 50%;
  --my: 0%;
  flex: 0 0 170px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 16px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(200px circle at var(--mx) var(--my), rgba(74, 123, 255, 0.2), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
  transition: translate 0.3s, border-color 0.3s;
}

.other-card:hover {
  translate: 0 -5px;
  border-color: rgba(74, 123, 255, 0.55);
}

.other-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.other-card span {
  font-size: 11px;
  color: var(--muted);
}

.other-card p {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 900;
  color: var(--cyan);
}

.exd-sticky p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exd-sticky img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

/* ═════════ 인증 (회원가입 / 로그인) ═════════ */
.auth {
  padding-top: 40px;
}

.auth__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.auth__visual {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}

.auth__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: kenburns 20s ease-in-out infinite alternate;
}

.auth__bg--model {
  object-position: 50% 20%;
}

@keyframes kenburns {
  to {
    transform: scale(1.12) translate(-2%, -2%);
  }
}

.auth__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.2), rgba(6, 9, 17, 0.55) 45%, rgba(6, 9, 17, 0.96));
}

.auth__visual-inner {
  position: absolute;
  inset: auto 0 0;
  padding: 32px;
  display: grid;
  gap: 22px;
}

.auth__reward {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(16, 22, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.auth__reward img {
  width: 54px;
  animation: floatY 5s ease-in-out infinite;
}

.auth__reward p {
  font-size: 13px;
  color: var(--muted);
}

.auth__reward b {
  font-family: var(--font-num), var(--font);
  font-size: 24px;
  font-weight: 900;
  color: #ffd66b;
}

.auth__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.auth__perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.auth__perk-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(36, 83, 240, 0.45), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(74, 123, 255, 0.5);
}

.auth__perk-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth__perks b {
  display: block;
  font-size: 15px;
}

.auth__perks p {
  font-size: 13px;
  color: var(--muted);
}

.auth__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth__logos img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(6, 9, 17, 0.8);
  transition: transform 0.25s;
}

.auth__logos img:hover {
  transform: translateY(-4px) scale(1.1);
}

.auth__ticker {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(16, 22, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  justify-items: start;
}

.auth__ticker p {
  font-size: 13px;
  color: var(--muted);
}

.auth__ticker b {
  font-family: var(--font-num);
  font-size: 30px;
  color: #6ef3a5;
  text-shadow: 0 0 20px rgba(110, 243, 165, 0.5);
}

.auth__card {
  position: relative;
  padding: 38px 40px 28px;
  border-radius: 32px;
  background: linear-gradient(170deg, rgba(20, 28, 52, 0.92), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(36, 83, 240, 0.7);
}

.auth--login .auth__card {
  align-self: center;
}

.auth__pane {
  display: none;
}

.auth__pane.is-active {
  display: block;
}

.auth__title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.auth__sub {
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.auth__sub b {
  color: #fff;
}

.auth__switch {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.auth__switch a,
.auth__link {
  color: var(--cyan);
  font-weight: 700;
}

.auth__link {
  font-size: 13px;
}

.auth__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -4px 0 18px;
}

.auth__demo {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: #59607a;
}

.auth__resend {
  display: block;
  margin: 16px auto 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

.auth__resend:disabled {
  color: var(--muted);
  cursor: default;
}

.auth__icon-ring {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 10px auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a7bff, #1532a8 75%);
  box-shadow: 0 0 0 8px rgba(36, 83, 240, 0.15), 0 0 50px rgba(36, 83, 240, 0.8);
  animation: floatY2 4s ease-in-out infinite;
}

.auth__icon-ring svg,
.auth__icon-ring span svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth__icon-ring span {
  display: inline-flex;
}

#paneVerify,
.auth__done {
  text-align: center;
}

.stepper {
  display: flex;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  counter-reset: s;
}

.stepper li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5d6478;
}

.stepper li::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.stepper li:first-child::before {
  display: none;
}

.stepper li.is-on::before,
.stepper li.is-done::before {
  background: var(--grad);
  box-shadow: 0 0 8px var(--cyan);
}

.stepper span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-weight: 800;
  background: #141b2e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.4s;
}

.stepper em {
  font-style: normal;
  font-weight: 700;
}

.stepper li.is-on,
.stepper li.is-done {
  color: #fff;
}

.stepper li.is-on span {
  background: var(--blue);
  border-color: #8be9ff;
  box-shadow: 0 0 0 6px rgba(36, 83, 240, 0.2), 0 0 20px rgba(36, 83, 240, 0.9);
}

.stepper li.is-done span {
  background: #1f9a6a;
  border-color: #6ef3a5;
  color: transparent;
}

.stepper li.is-done span::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* 폼 컨트롤 */
.field {
  display: block;
  margin-bottom: 16px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #c3c9d8;
}

.field__label.req::after {
  content: ' *';
  color: var(--danger);
}

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input::placeholder {
  color: #5d6478;
}

.input:focus {
  border-color: var(--blue-2);
  background: rgba(36, 83, 240, 0.06);
  box-shadow: 0 0 0 4px rgba(36, 83, 240, 0.18);
}

.field.has-err .input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 93, 115, 0.12);
}

.textarea {
  height: auto;
  min-height: 180px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.input-wrap {
  position: relative;
  display: block;
}

.input-wrap .input {
  padding-right: 48px;
}

.input-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--muted);
}

.input-eye svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.input-eye.is-on {
  color: var(--cyan);
}

.field__err {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
}

.field__err:empty {
  margin: 0;
}

.field__err--center {
  text-align: center;
  margin-bottom: 10px;
}

.pw-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.pw-meter i {
  flex: 0 0 50px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

.pw-meter em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.pw-meter[data-score='0'] i:nth-child(1),
.pw-meter[data-score='1'] i:nth-child(1) {
  background: var(--danger);
}

.pw-meter[data-score='2'] i:nth-child(-n + 2) {
  background: #ffb547;
}

.pw-meter[data-score='3'] i {
  background: #6ef3a5;
  box-shadow: 0 0 8px rgba(110, 243, 165, 0.6);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c3c9d8;
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s;
}

.check input:checked + i {
  background: var(--blue);
  border-color: var(--blue-2);
  box-shadow: 0 0 10px rgba(36, 83, 240, 0.7);
}

.check input:checked + i::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.check input:focus-visible + i {
  box-shadow: 0 0 0 3px rgba(36, 83, 240, 0.4);
}

.check a {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
}

.check--all {
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  color: #fff;
}

.check--box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.agree {
  display: grid;
  gap: 10px;
  margin: 8px 0 22px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.social {
  display: grid;
  gap: 10px;
}

.social--row {
  grid-template-columns: repeat(3, 1fr);
}

.social__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  transition: all 0.2s;
}

.social__btn:hover {
  border-color: rgba(74, 123, 255, 0.6);
  background: rgba(36, 83, 240, 0.12);
  transform: translateY(-2px);
}

.social__btn svg {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: 12px;
  color: #5d6478;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.otp {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 18px;
}

.otp input {
  width: 54px;
  height: 64px;
  border-radius: 16px;
  text-align: center;
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--line-2);
  outline: none;
  transition: all 0.2s;
}

.otp input:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(36, 83, 240, 0.25), 0 0 20px rgba(36, 83, 240, 0.5);
  transform: translateY(-3px);
}

.otp input.is-filled {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.08);
}

.auth__done .btn + .btn {
  margin-top: 10px;
}

.done-check {
  width: 120px;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(110, 243, 165, 0.6));
}

.done-check__ring,
.done-check__mark {
  fill: none;
  stroke: #6ef3a5;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.done-check__ring {
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
}

.done-check__mark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.auth__done.is-active .done-check__ring {
  animation: drawTo 0.9s 0.2s ease forwards;
}

.auth__done.is-active .done-check__mark {
  animation: drawTo 0.5s 0.9s ease forwards;
}

@keyframes drawTo {
  to {
    stroke-dashoffset: 0;
  }
}

/* ═════════ 고객문의 ═════════ */
.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 940px;
  margin: 40px auto 0;
  text-align: left;
}

.help-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: block;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(300px circle at var(--mx) var(--my), rgba(74, 123, 255, 0.18), transparent 50%),
    var(--card);
  border: 1px solid var(--line);
  transition: translate 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.help-card:hover {
  translate: 0 -5px;
  border-color: rgba(74, 123, 255, 0.55);
  box-shadow: 0 30px 60px -28px rgba(36, 83, 240, 0.8);
}

.help-card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 83, 240, 0.4), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(74, 123, 255, 0.45);
}

.help-card__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: url(#iconGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-card b {
  display: block;
  font-size: 17px;
}

.help-card p {
  font-size: 13px;
  color: var(--muted);
}

.help-card .live-pill {
  position: absolute;
  right: 18px;
  top: 20px;
}

.board {
  margin-top: 30px;
}

.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.board__head h2 {
  font-size: 26px;
  font-weight: 900;
}

.board__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.board__total {
  margin: 18px 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.board__total b {
  color: #fff;
}

.board-table {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.75);
  overflow: hidden;
}

.board-table__head,
.post-row {
  display: grid;
  grid-template-columns: 70px 110px 1fr 120px 120px 110px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
}

.board-table__head {
  height: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.board-table__head span:not(:nth-child(3)),
.post-row > span:not(.post-row__title) {
  text-align: center;
}

#boardRows.is-loading {
  opacity: 0.5;
}

.post-row {
  min-height: 64px;
  font-size: 14px;
  transition: background 0.2s;
}

.post-row + .post-row {
  border-top: 1px solid var(--line);
}

.post-row:hover {
  background: rgba(36, 83, 240, 0.08);
}

.post-row.is-notice {
  background: rgba(36, 83, 240, 0.1);
}

.post-row__no {
  font-family: var(--font-num);
  color: var(--muted);
}

.post-row__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.post-row__title b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  transition: color 0.2s;
}

.post-row:hover .post-row__title b {
  color: var(--cyan);
}

.post-row.is-notice .post-row__title b {
  font-weight: 800;
}

.post-row__title img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
}

.post-row__lock {
  display: inline-flex;
  color: #ffd66b;
}

.post-row__lock svg,
.badge svg,
.post__meta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.post-row__author,
.post-row__date {
  font-size: 13px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
}

.badge--cat {
  color: #9fc0ff;
  background: rgba(36, 83, 240, 0.15);
  border-color: rgba(74, 123, 255, 0.35);
}

.badge--notice {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue-2);
}

.badge--new {
  padding: 1px 6px;
  font-family: var(--font-num);
  font-size: 10px;
  color: #fff;
  background: var(--danger);
  border-color: transparent;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status--answered {
  color: #6ef3a5;
}

.status--answered::before {
  background: #6ef3a5;
  box-shadow: 0 0 8px #6ef3a5;
}

.status--pending {
  color: #ffb547;
}

.status--pending::before {
  background: #ffb547;
  animation: dot 1.4s infinite;
  box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.7);
}

.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
}

.pager button {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  font-family: var(--font-num);
  font-weight: 700;
  color: #c3c9d8;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s;
}

.pager button:hover:not(:disabled) {
  border-color: var(--blue-2);
}

.pager button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue-2);
  box-shadow: 0 6px 18px -4px rgba(36, 83, 240, 0.9);
}

.pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* 문의 작성 */
.form-card {
  padding: 40px;
  border-radius: 30px;
  background: linear-gradient(170deg, rgba(20, 28, 52, 0.92), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(36, 83, 240, 0.6);
}

.form-card__title {
  font-size: 30px;
  font-weight: 900;
}

.form-card__desc {
  margin: 6px 0 28px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ex-select {
  position: relative;
  display: block;
}

.ex-select img {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.ex-select .select {
  padding-left: 48px;
}

.counter {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--muted);
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px;
  border-radius: 18px;
  border: 1.5px dashed rgba(74, 123, 255, 0.4);
  background: rgba(36, 83, 240, 0.05);
  cursor: pointer;
  transition: all 0.25s;
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.1);
}

.dropzone__ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dropzone em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.file-list li span {
  display: inline-flex;
}

.file-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.file-list b {
  flex: 1;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-list em {
  font-style: normal;
  color: var(--muted);
}

.file-list button {
  color: var(--muted);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch > i {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.25s;
}

.switch > i::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.6, -0.3, 0.3, 1.4);
}

.switch input:checked + i {
  background: var(--blue);
  box-shadow: 0 0 14px rgba(36, 83, 240, 0.8);
}

.switch input:checked + i::after {
  transform: translateX(20px);
}

.switch span[data-icon] {
  display: inline-flex;
  color: #ffd66b;
}

.switch svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-top: 24px;
}

/* 문의 상세 */
.post {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(20, 28, 52, 0.9), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--line-2);
}

.post__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.post__title {
  margin: 14px 0 12px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post__ex img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.post__body {
  font-size: 15px;
  line-height: 1.85;
  color: #dfe5f2;
}

.answer {
  position: relative;
  margin-top: 20px;
  padding: 28px 30px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(36, 83, 240, 0.22), rgba(13, 18, 32, 0.9) 60%);
  border: 1px solid rgba(74, 123, 255, 0.4);
}

.answer::before {
  content: '';
  position: absolute;
  left: 40px;
  top: -10px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  background: #13204a;
  border-left: 1px solid rgba(74, 123, 255, 0.4);
  border-top: 1px solid rgba(74, 123, 255, 0.4);
}

.answer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.answer__head img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(36, 83, 240, 0.7);
}

.answer__head b {
  display: block;
}

.answer__head span {
  font-size: 12px;
  color: var(--muted);
}

.answer__head .status {
  margin-left: auto;
}

.answer__body {
  font-size: 15px;
  line-height: 1.85;
  color: #dfe5f2;
}

.answer--waiting {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #c3c9d8;
  font-size: 14px;
}

.typing {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.typing i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typing 1.2s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.locked {
  max-width: 480px;
  margin: 40px auto;
  padding: 40px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(20, 28, 52, 0.92), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--line-2);
}

.locked h1 {
  font-size: 24px;
  font-weight: 900;
}

.locked p {
  color: var(--muted);
  margin: 6px 0 20px;
}

.locked__row {
  display: flex;
  gap: 10px;
}

.locked__row .btn {
  height: 52px;
}

/* ═════════ 반응형 ═════════ */
@media (max-width: 1080px) {
  .header__login {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .exl-popular {
    grid-template-columns: repeat(2, 1fr);
  }

  .ex-table__head {
    display: none;
  }

  .ex-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    padding: 20px;
  }

  .ex-row__no {
    display: none;
  }

  .ex-row__name {
    grid-column: 1 / -1;
  }

  .ex-row__rate,
  .ex-row__val {
    display: flex;
    flex-direction: column;
  }

  .ex-row__rate::before,
  .ex-row__val::before {
    content: attr(data-label);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
  }

  .ex-row__rate {
    grid-column: 1 / -1;
  }

  .ex-row__cta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .exd-hero {
    grid-template-columns: 1fr;
  }

  .guide {
    grid-template-columns: 1fr 1fr;
  }

  .auth__grid {
    grid-template-columns: 1fr;
  }

  .auth__visual {
    min-height: 360px;
    order: 2;
  }

  .board-table__head {
    display: none;
  }

  .post-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      'cat title status'
      'cat meta meta';
    gap: 4px 12px;
    padding: 14px 18px;
  }

  .post-row__no {
    display: none;
  }

  .post-row__cat {
    grid-area: cat;
  }

  .post-row__title {
    grid-area: title;
  }

  .post-row__status {
    grid-area: status;
  }

  .post-row__author,
  .post-row__date {
    grid-area: meta;
    text-align: left !important;
  }

  .post-row__date {
    padding-left: 90px;
  }
}

@media (max-width: 720px) {
  .lang__btn span {
    display: none;
  }

  .lang__btn {
    padding: 0 10px;
  }

  .page {
    padding-top: 10px;
  }

  .page-hero {
    padding-top: 30px;
  }

  .page-hero__stats {
    display: grid;
    width: 100%;
  }

  .page-hero__stats > div {
    padding: 14px 8px;
  }

  .page-hero__stats b {
    font-size: 24px;
  }

  .page-hero__stats > div > span {
    font-size: 11px;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .exl-popular {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pop-card {
    padding: 16px;
    grid-template-columns: 1fr;
  }

  .pop-card img {
    grid-row: auto;
    width: 38px;
    height: 38px;
  }

  .pop-card__rate {
    grid-column: 1;
    font-size: 28px;
  }

  .exl-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs {
    overflow-x: auto;
  }

  .exl-toolbar__right {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .search input {
    width: 100%;
  }

  .exd-main {
    padding: 22px;
  }

  .exd-main__body {
    flex-direction: column;
    text-align: center;
  }

  .exd-main__head .tags {
    margin-left: 0;
  }

  .exd-mini {
    grid-template-columns: 1fr;
  }

  .fee-table__head,
  .fee-table__row {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 8px;
    font-size: 12px;
  }

  .guide {
    grid-template-columns: 1fr;
  }

  .exd-section {
    margin-top: 50px;
  }

  .auth {
    padding-top: 10px;
  }

  .auth__card {
    padding: 26px 20px 22px;
    border-radius: 26px;
  }

  .auth__title {
    font-size: 26px;
  }

  .social--row {
    grid-template-columns: 1fr;
  }

  .otp {
    gap: 6px;
  }

  .otp input {
    width: 44px;
    height: 56px;
    font-size: 24px;
  }

  .help-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .help-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    padding: 16px 18px;
  }

  .help-card__ico {
    grid-row: span 2;
    margin: 0;
  }

  .board__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .board__toolbar .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .chip-btn {
    flex: none;
  }

  .form-card {
    padding: 26px 18px;
  }

  .form-grid,
  .form-grid--3 {
    grid-template-columns: 1fr;
  }

  .post {
    padding: 24px 20px;
  }

  .answer {
    padding: 22px 18px;
  }

  .locked {
    padding: 30px 20px;
  }

  .faq__more {
    flex-direction: column;
  }
}
