/* ===== 테더키퍼 v2 디자인 시스템 — 금고 흑백 + 봄초록(받은 돈 전용) =====
   규칙 출처: runs\20261015-0900-01_tetherkeeper_사이트재개발\work\디자인조사.md · 세부분석.md(기준 사이트 8곳 px 실측) · 결정기록.md
   ▣ 초록(--money)은 '사용자가 받았거나 받을 돈'의 숫자·단위에만. 버튼·링크·아이콘·테두리·오르내림 표시에 쓰지 않는다.
   ▣ 꽉 찬 흑백 반전 알약은 '주 행동'(시작하기)에만. 선택 상태는 회색 면 — 주 버튼과 경쟁하지 않게.
   ▣ 그라데이션·색 그림자·유리 흐림·카운터 애니메이션 없음. 그림자는 라이트의 계산기 한 장에만, 회색으로 아주 옅게.
   ▣ 모서리 3단계: 12(입력·칩·로고 타일) / 16(카드) / 999(버튼·알약·딱지). 세그먼트 안쪽 8은 동심원 값.
   ▣ 글자: 크기/줄 높이를 정수 px 쌍으로만(소수 줄 높이는 1px씩 들쭉날쭉) — 12/16 · 13/20 · 14/22 · 16/26 · 18/26(작은 제목) · 18/30(설명) ·
     20/28(작은 제목) · 20/32(첫 화면 설명) · 28/36 · 36/44 · 40/50 · 48/60 · 56/64.
   ▣ 바깥 간격 단계(같은 역할 = 같은 값, 잉크로 2px 넘게 다르면 고친다):
     4 · 8(카드 제목→본문, 라벨→입력) · 12(라벨→제목, 버튼 사이) · 16(제목→설명) · 24(입력 묶음 사이) ·
     32(설명→버튼 / 폰 설명→본문) · 64(설명→본문, 바닥글 위) · 섹션 사이 96(데스크톱) / 80(태블릿) / 64(폰) — --section.
   ▣ 2열은 12열 격자(열 사이 24) 위에서만: 첫 화면 7:5 · 신뢰 6:6 · 질문·바닥글 4:8 — 보조 열 시작선을 격자 선에 맞춘다.
   ▣ 카드 안쪽 여백: 데스크톱 24 / 폰 20 하나로.
   ▣ 폰에서 누르는 칸을 넓히려고 padding을 주면 같은 값의 음수 margin을 함께 — 화면 간격은 변하지 않게.
   ▣ 아이콘 버튼은 보이는 아이콘 가장자리를 거터 선·이웃 간격에 맞추고 투명 여백은 음수 margin으로 상쇄.
   ▣ 숫자+단위는 줄바꿈 없는 공백(&nbsp;)으로 붙인다(JS 값도 동일).
   ▣ 기본 다크(7월 승인), html[data-theme="light"]에서 라이트. 색은 전부 아래 변수로만. */

/* 대체 글꼴(웹폰트가 늦게 올 때 첫 화면): 맑은 고딕을 프리텐다드 폭에 맞춰 줄 수가 바뀌지 않게 — 글자 종류마다 폭 비율이 달라 따로 맞춤.
   실측(크롬, 프리텐다드÷맑은 고딕 폭): 한글 86.4% · 띄어쓰기 71.4% · 영문 101% · 숫자 105.9% · 쉼표·마침표·괄호·가운뎃점 ~114% · 그 밖 ~95%.
   한 값(85%)일 때 17페이지×폭 390·1440에서 줄 수가 바뀐 글 칸 8개 → 글자 종류별 0개('USDT 70~80%'처럼 영문·숫자가 섞인 문장이 원인이었음).
   줄 높이: 어느 조각이든 위 0.95em·아래 0.24em(프리텐다드와 같게 — 크롬은 size-adjust를 override에도 곱하므로 나눠서 적음).
   겹치는 범위는 뒤에 적은 규칙이 먼저 쓰임(CSS Fonts) → '그 밖'을 맨 앞에. 윈도우 전용(맑은 고딕 없는 폰은 시스템 글꼴 — 실기기 확인 항목) */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); size-adjust: 95%; ascent-override: 100.00%; descent-override: 25.26%; line-gap-override: 0%; } /* 그 밖(기호 등) */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); unicode-range: U+0028-0029, U+002C, U+002E, U+005B, U+005D, U+00B7; size-adjust: 114%; ascent-override: 83.33%; descent-override: 21.05%; line-gap-override: 0%; } /* 쉼표·마침표·괄호·가운뎃점 */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); unicode-range: U+0041-005A, U+0061-007A; size-adjust: 101%; ascent-override: 94.06%; descent-override: 23.76%; line-gap-override: 0%; } /* 영문 */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); unicode-range: U+0030-0039; size-adjust: 105.9%; ascent-override: 89.71%; descent-override: 22.66%; line-gap-override: 0%; } /* 숫자 */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF; size-adjust: 86.4%; ascent-override: 109.95%; descent-override: 27.78%; line-gap-override: 0%; } /* 한글 */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); unicode-range: U+0020, U+00A0; size-adjust: 71.4%; ascent-override: 133.05%; descent-override: 33.61%; line-gap-override: 0%; } /* 띄어쓰기 */

:root {
  color-scheme: dark;
  --bg: #0B0C0E;
  --bg-2: #101114;
  --surface: #141518;
  --surface-2: #1B1D21;
  --seg-on: #2C2E33;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --control-line: #686C74; /* 입력칸·선택칸 테두리: 바탕 대비 3:1 이상(WCAG 1.4.11) */
  --text: #F2F3F4;
  --text-2: #A7AAB1;
  --text-3: #8A8E96;
  --money: #52F2A6;
  --danger: #FF7A7A;
  --btn-bg: #F2F3F4;
  --btn-fg: #0B0C0E;
  --btn-bg-hover: #FFFFFF;
  --ghost-line: rgba(255, 255, 255, 0.24);
  --ghost-hover: rgba(255, 255, 255, 0.05);
  --focus: #F2F3F4;
  --seg-on-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  --card-shadow: none;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A7AAB1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); /* 선택칸 화살표 = --text-2 */
  --logo-ink: var(--text);
  --logo-coin: var(--money);

  --font: "Pretendard Variable", Pretendard, "Pretendard Fallback", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --r-sm: 12px;
  --r-md: 16px;
  --r-pill: 999px;
  --wrap: 1200px;
  --gutter: 24px;
  --col-gap: 24px;
  --section: 96px;
  --pad: 24px;
  --gap-body: 64px;   /* 설명 → 본문 */
  --gap-cta: 32px;    /* 설명 → 버튼 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #FAFAF9;
  --bg-2: #F2F2F0;
  --surface: #FFFFFF;
  --surface-2: #F3F3F2;
  --seg-on: #FFFFFF;
  --line: rgba(17, 18, 20, 0.10);
  --line-2: rgba(17, 18, 20, 0.18);
  --control-line: #83878F;
  --text: #111214;
  --text-2: #4D5159;
  --text-3: #62666E;
  --money: #0A7A45;
  --danger: #C42B2B;
  --btn-bg: #111214;
  --btn-fg: #FFFFFF;
  --btn-bg-hover: #000000;
  --ghost-line: rgba(17, 18, 20, 0.28);
  --ghost-hover: rgba(17, 18, 20, 0.04);
  --focus: #111214;
  --seg-on-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.10); /* 그림자는 계산기 카드 한 장에만 — 선택면은 안쪽 선으로 */
  --card-shadow: 0 1px 2px rgba(17, 18, 20, 0.04), 0 12px 32px rgba(17, 18, 20, 0.06);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234D5159' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── 기본 ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scrollbar-gutter: stable; } /* 스크롤바가 나중에 생겨도 폭이 그대로(실측: 공지·마이페이지에서 머리줄까지 옆으로 밀림). 겹치는 스크롤바(폰)엔 자리를 만들지 않음 */
/* 본문 자리 확보(.fill-view): 내용을 스크립트가 채우는 페이지(공지 상세·마이페이지·거래소 상세) — 그리기 전 첫 그림에 바닥글이 화면 안에 보였다가 밀려나지 않게
   본문을 '화면 높이 − 머리줄'로(바닥글은 접힌 선 바로 아래). 머리줄 64(폰 ≤640은 56 + 밑선 1), svh = 폰 주소창이 보일 때의 실제 높이.
   실측(첫 방문): 공지 0.27·마이페이지 0.35·거래소 상세 0.46 → 0 */
.fill-view { min-height: calc(100vh - 64px); }
@supports (min-height: 100svh) { .fill-view { min-height: calc(100svh - 64px); } }
@media (max-width: 640px) {
  .fill-view { min-height: calc(100vh - 56px); }
  @supports (min-height: 100svh) { .fill-view { min-height: calc(100svh - 56px); } }
}
@media print { .fill-view { min-height: 0; } } /* 인쇄: 화면 높이 자리는 빈 공간·쪽 나눔만 만듦 */
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 26px; letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.money { color: var(--money); }
.nowrap { white-space: nowrap; }
/* 두 문장짜리 설명은 문장 단위로 줄을 나눔(text-wrap: balance가 문장 중간을 자르지 않게).
   br-d = 모든 폭(320급 아주 좁은 폰만 자연 줄바꿈) / br-m = 폰에서만(넓은 화면은 한 줄에 들어감) */
.br-d { display: inline; }
.br-m { display: none; }
@media (max-width: 640px) { .br-m { display: inline; } .br-t { display: none; } }
@media (max-width: 960px) { .br-w { display: none; } } /* br-w = 단을 나란히 놓는 넓은 화면만, br-t = 태블릿 이상 */
@media (max-width: 359px) { .br-d, .br-m { display: none; } }
@media (max-width: 370px) { .hero .lead .br-d { display: none; } } /* 첫 화면 첫 문장 331px > 360 폭 내용 320 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 12px 16px; border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.lead { text-wrap: balance; }
.step p, .tpoint p, .faq-a, .xnote, .calc-note, .hero-elig, .wd-cap { text-wrap: pretty; }
.faq-a p { text-wrap: balance; } /* 짧은 답 문단은 마지막 줄이 한 마디만 남지 않게 */
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: currentColor; }
/* 12열 격자(열 사이 24) — 2열 배치는 이 위에서만 */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* ── 버튼: 흑백 반전 둥근형 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 1px 24px 0; border-radius: var(--r-pill); /* 위 1px: 한글 잉크가 상자 가운데보다 0.5px 높게 앉는 것 보정 */
  font-size: 16px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { border: 1px solid var(--ghost-line); color: var(--text); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-lg { height: 56px; padding-inline: 28px; }
.btn-sm { height: 40px; padding-inline: 16px; font-size: 14px; line-height: 22px; }
.arr { display: inline-block; margin-inline-start: 4px; transition: transform .15s var(--ease); } /* inline-block: 밑줄에서 빠지고 이동 효과가 먹음 */
a:hover > .arr { transform: translateX(2px); }

/* ── 상단 혜택 띠 ── */
.promo { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; }
.promo a { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 8px var(--gutter); color: var(--text-2); text-align: center; }
.promo b { color: var(--text); font-weight: 600; }
.promo a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ── 머리줄 ── */
.hd { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 40px; height: 64px; }
.hd-logo { display: inline-flex; padding: 12px 0; }
.tk-logo { height: 22px; width: auto; }
.tk-mark { height: 28px; width: auto; }
.tk-ink { fill: var(--logo-ink); }
.tk-coin { fill: var(--logo-coin); }
.hd-nav { display: flex; gap: 28px; }
.hd-nav a { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text-2); padding: 12px 0; transition: color .15s; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--text); }
.hd-nav a[aria-current="page"], .hd-login[aria-current="page"] { color: var(--text); font-weight: 600; } /* 현재 위치: 색만이 아니라 굵기로도 */
.hd-act { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
@media (min-width: 961px) { /* 메뉴 가운데(사장님 선택 10-16): 양쪽 칸 1fr로 메뉴를 가운데 칸에. 글이 긴 언어는 다국어 단계에서 접는 폭을 언어별로 정함 */
  .hd-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .hd-logo { justify-self: start; }
  .hd-act { margin-inline-start: 0; justify-self: end; }
}
.hd-login { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text-2); padding-block: 12px; padding-inline: 10px 12px; white-space: nowrap; } /* 머리줄 단추 글은 한 줄(러시아어 'Личный кабинет'이 딱 맞는 폭에서 소수점 반올림으로 접히던 것 — 접는 폭은 언어별 실측이 정함) */
.hd-login:hover { color: var(--text); }
.icon-btn { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-pill); color: var(--text-2); }
.icon-btn:hover { color: var(--text); background: var(--ghost-hover); }
.icon-btn svg { width: 20px; height: 20px; }
/* 언어 선택(머리줄·모바일 메뉴 공통 목록 partials/langs.html): 번역 전엔 한국어만 켜짐, 나머지는 흐리게 + 아래 안내 한 줄 */
.hd-lang { position: relative; margin-block: 0; margin-inline: -1.8px -8.4px; } /* 보이는 간격 테마→언어·언어→로그인을 로그인→시작하기와 같은 20으로(세부분석 #5 규칙) — 상자 안쪽 10 + 지구본 그림 안쪽 2.5 */
.hd-lang > summary, .mlang > summary { list-style: none; cursor: pointer; }
.hd-lang > summary::-webkit-details-marker, .mlang > summary::-webkit-details-marker { display: none; }
.hd-lang-btn { width: auto; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; font-weight: 500; }
.hd-lang[open] > .hd-lang-btn { color: var(--text); } /* 열린 동안은 글자색만(배경을 깔면 양옆 버튼과 보이는 간격이 8~10으로 좁아짐) — 열린 표시는 목록 자체 */
.lang-pop { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; width: 320px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--card-shadow), 0 16px 40px rgba(0, 0, 0, 0.28); }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); grid-auto-flow: column; gap: 2px; } /* 세로로 채움 — 예전 순서(English → … → ไทย)가 위에서 아래로 읽히게 */
.lang-item { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 22px; color: var(--text-3); }
.lang-item.is-on { color: var(--text); font-weight: 600; background: var(--surface-2); }
.lang-note { padding: 8px 12px 4px; font-size: 12px; line-height: 18px; color: var(--text-3); }
#themeBtn { margin-inline-end: -10.5px; }
html[data-theme="light"] #themeBtn { margin-inline-end: -9.5px; } /* 해 그림이 달보다 넓어 안쪽 여백이 작음 */ /* 상자 안쪽 10 + 그림 안쪽 2.6 − 로그인 왼쪽 10 → 보이는 간격 20/20 */
.ico-sun { display: none; }
html[data-theme="light"] .ico-sun { display: block; }
html[data-theme="light"] .ico-moon { display: none; }
#menuBtn { display: none; }
#menuBtn .ico-x { display: none; }
#menuBtn[aria-expanded="true"] .ico-x { display: block; transform: translateX(1.7px); } /* X(6→18)가 세 줄(4→20)보다 좁아 오른쪽 끝이 거터 선보다 1.7px 안쪽 → 보이는 끝만 맞춤 */
#menuBtn[aria-expanded="true"] .ico-bars { display: none; }
.hd-cta-m { display: none; }
.mnav { border-top: 1px solid var(--line); background: var(--bg); }
.mnav-in { display: flex; flex-direction: column; padding-block: 8px 24px; }
.mnav a.mlink, .mnav .mtheme { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; font-size: 16px; line-height: 26px; font-weight: 500; border-bottom: 1px solid var(--line); text-align: start; }
.mnav a.mlink[aria-current="page"] { font-weight: 700; }
.mnav .mtheme { color: var(--text-2); }
.mnav .mtheme svg { width: 20px; height: 20px; }
.mnav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.mlang { border-bottom: 1px solid var(--line); }
.mlang-btn { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--text-2); }
.mlang-btn svg { width: 20px; height: 20px; }
.mlang-pop { padding-bottom: 12px; }
.mlang-pop .lang-note { padding-inline: 12px; }

/* ── 섹션 공통 ── */
.sec { padding-top: var(--section); }
.sec-head { max-width: 720px; margin-bottom: var(--gap-body); }
.eyebrow { display: block; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text-3); margin-bottom: 12px; }
.h2 { font-size: 40px; line-height: 50px; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 30px; color: var(--text-2); margin-top: 16px; max-width: 640px; }

/* ── 첫 화면 (12열: 글 1~7, 계산기 8~12) ── */
.hero { padding-top: 48px; } /* 1440×900에서 계산기 카드 아래가 화면 끝에 붙지 않게(도움말·근거 링크 줄만큼) */
.hero-in { align-items: start; } /* 가운데 맞춤은 긴 계산기 높이만큼 글을 아래로 밀었음(메뉴바 밑 191px) */
.hero-copy { padding-top: 24px; } /* 첫 글자 = 계산기 제목 줄 높이 */
.hero-copy { grid-column: 1 / span 7; }
.hero-calc { grid-column: 8 / span 5; }
.hero h1 { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; margin-inline-start: -0.05em; } /* 큰 글자 첫 획의 안쪽 여백(56px에서 약 3px)만큼 당겨 아래 글줄과 왼쪽 선을 맞춤 */
.hero .lead { font-size: 20px; line-height: 32px; margin-top: 24px; text-wrap: pretty; } /* 문장 줄바꿈이 있어 balance보다 꼬리 줄 막는 pretty */
.hero-elig { margin-top: 16px; max-width: 640px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--gap-cta); }
.hero-elig + .hero-cta { margin-top: calc(var(--gap-cta) + 2px); } /* 14/22 글줄은 아래 여백이 작아 2px 보정 → 마무리 설명→버튼과 같은 잉크 간격 */
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.partners { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 14px; line-height: 22px; color: var(--text-3); }
.partners-logos { display: flex; gap: 4px; }
.pt-short { display: none; }
@media (max-width: 389px) { .pt-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .pt-short { display: inline; } } /* 이름은 화면에서만 숨김(화면낭독기엔 들림) */ /* 375 폭에서도 이름 줄이 접혀 '6곳'만 남음 */
.partners-logos img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; }
/* 로고 타일 테두리는 전부 이 한 방식(안쪽 1px 외곽선). 바깥 그림자는 보이는 크기를 2px 키우고 틈을 줄임, inset 그림자는 불투명 그림에 가려짐 */
.partners-logos img, .xlogo, .xlogo-s, .wd-to img { outline: 1px solid var(--line); outline-offset: -1px; }
.partners-logos img.icon { padding: 4px; } /* 표(36칸에 6)와 같은 비율 */

/* 미니 계산기: 제목 → 결과(숫자) → 입력 → 근거 */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--pad); box-shadow: var(--card-shadow); }
.calc-title { font-size: 16px; line-height: 26px; font-weight: 600; }
.calc-out { margin-top: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-nojs { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--text-2); } /* 홈 계산기: 스크립트가 꺼지면 미리 넣은 기본 예시만 보이고 조건은 못 바꿈(<noscript>) */
.calc-big { display: flex; align-items: baseline; gap: 8px; }
.calc-note { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.calc-big .v { font-size: 48px; line-height: 60px; font-weight: 700; letter-spacing: -0.03em; margin-inline-start: -0.04em; } /* 큰 숫자 첫 획 안쪽 여백 보정 */
.calc-big .v small { font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; } /* 줄 높이 1: 작은 소수 글자가 큰 숫자 줄(60)을 키우지 않게 — 스크립트가 '0'을 '1,820.00'으로 바꿀 때 아래가 7px 밀리던 것(첫 방문 실측) */
.calc-big .u { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--text-2); }
.calc-rows { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; line-height: 22px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.calc-rows dd { color: var(--text); font-weight: 600; }
.field { margin-top: 16px; }
.field-label { display: block; font-size: 14px; line-height: 22px; color: var(--text-2); margin-bottom: 8px; }
.field-help { display: block; font-size: 14px; line-height: 22px; color: var(--text-3); margin-top: 8px; margin-bottom: -4px; } /* 묶음 끝 글줄 여백 상쇄 → 묶음 사이 잉크 간격 같게 */
.select {
  width: 100%; height: 48px; padding-block: 1px 0; padding-inline: 16px 44px; /* 위 1px: 버튼과 같은 한글·숫자 잉크 보정 */ border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--control-line); color: var(--text); font-size: 16px; font-weight: 500;
  appearance: none; -webkit-appearance: none;
  background-image: var(--chev);
  background-repeat: no-repeat; background-position: right 16px center;
}
.select:not([aria-invalid="true"]):hover { border-color: var(--text-2); } /* 올리면 더 또렷하게(전엔 --line-2로 대비가 떨어졌음), 오류 테두리는 덮지 않음 */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.seg button { position: relative; height: 38px; border-radius: 8px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text-2); transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--text-3); } /* 선택 상태는 면색 차이(1.2:1)만으로 부족 → 테두리로(대비 3:1 이상) */
/* 거래량 직접 입력: 프리셋 3개는 그대로, 필요할 때만 입력칸을 펼침 */
.vol-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.vol-head .field-label { margin-bottom: 0; }
.link-btn, .vol-toggle, .xcond-btn { position: relative; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); white-space: nowrap; }
.link-btn::after, .vol-toggle::after, .xcond-btn::after { content: ""; position: absolute; inset: -11px -8px; } /* 누르는 칸 44 */
.vol-toggle::after { inset: -12px -8px -10px; } /* 아래 세그먼트의 누르는 칸과 겹치지 않게 위로 1px */
.link-btn[aria-expanded="true"], .link-btn:hover, .vol-toggle:hover, .xcond-btn:hover, .vol-toggle[aria-expanded="true"], .xcond-btn[aria-expanded="true"] { text-decoration-color: currentColor; }
.link-btn:disabled { color: var(--text-3); text-decoration-color: var(--line); cursor: not-allowed; }
.vol-custom { margin-top: 8px; }
.vol-input { display: flex; align-items: center; gap: 12px; height: 48px; padding: 1px 16px 0; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--control-line); }
.vol-input:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.vol-input:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.vol-input input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; padding: 0; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--text); }
.vol-input input:focus { outline: none; }
.vol-input input::placeholder { color: var(--text-3); opacity: 1; }
.vol-input .u { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text-2); }
.calc .field:last-child .field-help { margin-bottom: 0; } /* 카드 맨 끝이면 묶음 사이 보정(-4)이 필요 없음 → 위아래 안쪽 여백 같게 */
.field-err { display: block; margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--danger); }
.field-keep { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--text-2); } /* 오류 동안 결과의 기준값(입력한 값은 반영 안 함) */

/* ── 공통 부품(모든 페이지): 새 페이지는 이걸 먼저 쓰고, 없을 때만 페이지 CSS(css/pages/이름.css)에 만든다 ──
   입력칸: .select와 같은 상자(48·surface-2·r-sm·16px·위 1px 잉크 보정). 오류는 aria-invalid="true" + .field-err */
.input { display: block; width: 100%; height: 48px; padding: 1px 16px 0; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--control-line); color: var(--text); font-size: 16px; line-height: 26px; font-weight: 500; }
.input::placeholder { color: var(--text-3); opacity: 1; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.input:focus-visible, .select:focus-visible { border-radius: var(--r-sm); } /* 공통 :focus-visible(8)이 칸 모서리를 바꾸지 않게 */
textarea.input { height: auto; min-height: 144px; padding: 11px 16px 12px; resize: vertical; }
/* 체크 한 줄(동의 등): 줄 전체가 누르는 칸 */
.check { display: flex; align-items: flex-start; gap: 12px; padding-block: 11px; font-size: 14px; line-height: 22px; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); }
/* 탭(고객센터·마이페이지 등): 밑줄형, 넘치면 가로 스크롤. 선택 = aria-selected="true"(탭 패널) 또는 aria-current="page"(링크) */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs > a, .tabs > button { position: relative; flex: none; display: inline-flex; align-items: center; height: 48px; padding-top: 1px; font-size: 16px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.tabs > [aria-selected="true"], .tabs > [aria-current="page"] { color: var(--text); }
.tabs > [aria-selected="true"]::after, .tabs > [aria-current="page"]::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: -1px; height: 2px; background: var(--text); }
.tabs > :focus-visible { outline-offset: -3px; }
.tabs > a, .tabs > button { min-width: 44px; justify-content: center; } /* '예정 1'처럼 짧은 탭도 누르는 폭 44 */
/* 카드: 출금 예시와 같은 면(그림자 없음). 계산기처럼 도구 카드만 .calc의 그림자 */
/* ── 서브페이지 공통 머리(홈 첫 화면 제외): 위 64/48/32 · 제목 48/60 → 40/50 → 36/44 · 설명 18/30(폰 16/26) · 대상 줄 14/22 ──
   쓰는 법: <section class="page-top"><div class="wrap"><header class="page-head">[eyebrow] h1.page-head__title [p.page-head__description] [p.page-head__eligibility | p.page-head__note]</header> … 다음 본문은 .page-body(머리→본문 40/32/32), 탭은 .page-tabs(머리→탭 32/32/24) + .page-panel(탭 밑선→본문 32/32/24)
   변형: --form(계정 폼: 폭 400·제목 36/44, 폰 28/36·설명 16/26·머리→폼 32) / --article(공지 본문: 폭 720·제목 36/44, 폰 28/36) */
.page-top { padding-top: 64px; }
.page-head { max-width: 720px; }
.page-head__eyebrow { display: block; margin-bottom: 12px; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text-3); }
.page-head__title { font-size: 48px; line-height: 60px; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; } /* 좁은 폭에서 한 낱말만 다음 줄에 남지 않게. 첫 글자 안쪽 여백은 보정하지 않음(상자 정렬 — 사이트 결정) */
.page-head__description { max-width: 640px; margin-top: 16px; font-size: 18px; line-height: 30px; color: var(--text-2); text-wrap: pretty; }
.page-head__eligibility, .page-head__note { max-width: 640px; margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--text-2); text-wrap: pretty; }
.page-head--form { max-width: 400px; }
.page-head--form .page-head__title, .page-head--article .page-head__title { font-size: 36px; line-height: 44px; }
.page-head--form .page-head__description { font-size: 16px; line-height: 26px; }
.page-body { margin-top: 40px; }
.page-head--form + .page-body { margin-top: 32px; }
.page-tabs { margin-top: 32px; }
.page-panel { padding-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--pad); }
/* 목록 상자: 비교표처럼 선으로 나눈 줄(공지·내역 등). 줄 = .rows > li 또는 a */
.rows { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.rows > * { display: block; padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
.rows > :last-child { border-bottom: 0; }
.rows > a:hover { background: var(--ghost-hover); }
.rows > a:focus-visible { outline-offset: -3px; border-radius: 0; }
.rows > a:first-child:focus-visible { border-radius: 15px 15px 0 0; } /* 상자 둥근 모서리(안쪽 15)에 닿는 줄 */
.rows > a:last-child:focus-visible { border-radius: 0 0 15px 15px; }
.rows > a:only-child:focus-visible { border-radius: 15px; }

/* ── 거래소 비교(계산기 조건과 연동) ── */
/* 설명 바로 뒤가 작은 글줄이면 글줄 위 여백(약 4px)만큼 당겨 잉크 간격을 다른 섹션(설명→표·카드)과 같게 */
.sec-head + .xcond { margin-top: -4px; }
.xcond-note { display: block; color: var(--text-2); } /* 예시 기간: 표 숫자 앞에 예시 고지(조건 줄 아래 한 줄) */
.xcond { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 16px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.xcond b { color: var(--text); font-weight: 600; }
.xcond-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: 16px; padding: calc(var(--pad) - 4px) var(--pad) var(--pad); /* 위는 글줄(라벨) 여백 4 상쇄, 아래는 버튼 면 → 위아래 같은 안쪽 여백 */ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.xcp-field .field-label { margin-bottom: 8px; }
.xcp-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; } /* 버튼 사이 12(사이트 공통) */
.xlist { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.xrow, .xhead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1.4fr) 20px; align-items: center; gap: 16px; padding: 0 var(--pad); }
.xhead { height: 48px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-3); border-bottom: 1px solid var(--line); }
.r { text-align: end; }
.xrow { min-height: 72px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.xrow:hover { background: var(--ghost-hover); }
.xrow:focus-visible, .xmore:focus-visible { outline-offset: -3px; border-radius: 0; } /* 표 상자 안에서 잘리지 않게 안쪽으로 */
/* 표 상자 둥근 모서리에 닿는 줄(맨 아래 버튼)은 포커스 테두리도 같은 곡선(안쪽 반경 15) */
.xmore:focus-visible { border-radius: 0 0 15px 15px; }
.xname { display: flex; align-items: center; gap: 16px; min-width: 0; }
.xlogo { width: 36px; height: 36px; border-radius: var(--r-sm); flex: none; object-fit: contain; background: #fff; }
.xlogo.icon { padding: 6px; }
.xname > span { min-width: 0; }
.xname b { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 26px; font-weight: 600; }
.xh-fee small { display: block; font-size: 12px; line-height: 16px; } /* 두 줄 머리글: 열 이름 + 값 순서 */
.xfee, .xrate, .xget, .xnet { white-space: nowrap; } /* 숫자·단위는 한 덩어리('US / DT' 끊김 방지) */
.xfee { font-size: 14px; line-height: 22px; color: var(--text-2); }
.xrate { font-size: 16px; line-height: 26px; font-weight: 700; }
.xget { font-size: 18px; line-height: 26px; font-weight: 700; }
.xget .u, .xnet .u { font-size: 13px; font-weight: 600; color: var(--text-2); }
.xnet { font-size: 16px; line-height: 26px; font-weight: 600; }
.xboost-m { display: none; } /* 폰 전용 혜택 줄(아래 720 이하에서 켬) */
#xcpVolNote { color: var(--text-2); } /* 적용될 조건이라 각주색보다 한 단계 진하게 */
.xget-note { display: block; margin-top: 2px; padding-bottom: 2px; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--text-2); white-space: normal; } /* 아래 2: 작은 글줄은 아래 잉크 여백이 작아 행 위아래 잉크가 2px 어긋남 */ /* 실제 첫 달 혜택이 있는 행만: 금액은 기본 요율 기준 */
.per-m { display: none; }
.xgo { color: var(--text-3); font-size: 20px; line-height: 1; text-align: end; margin-top: -3px; transition: transform .15s var(--ease), color .15s; }
.xrow:hover .xgo { color: var(--text); transform: translateX(2px); }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill); font-size: 12px; line-height: 16px; font-weight: 600; border: 1px solid var(--line-2); color: var(--text-2); }
/* 표 안 마지막 줄: 홈에 안 보이는 나머지 거래소(제목의 'N곳'과 표를 이음) */
.xmore { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 var(--pad); text-align: start; font-size: 14px; line-height: 22px; color: var(--text-2); transition: background-color .15s; }
.xmore:hover { background: var(--ghost-hover); }
.xmore-logos { display: flex; gap: 4px; flex: none; }
.xlogo-s { width: 24px; height: 24px; border-radius: 8px; object-fit: contain; background: #fff; }
.xlogo-s.icon { padding: 4px; }
.xlogo.is-blank, .xlogo-s.is-blank { display: inline-block; background: var(--line); } /* 로고를 모를 때 같은 크기 빈 칸(마이페이지 — 거래소 목록 파일 실패) */
.xmore-names { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xmore-go { margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); white-space: nowrap; }
.xmore-ico { width: 12px; height: 12px; transition: transform .15s var(--ease); }
.xmore.is-open .xmore-ico { transform: rotate(180deg); }
.xmore.is-open .xmore-logos, .xmore.is-open .xmore-names { display: none; }
.xfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: 16px; margin-bottom: -4px; } /* 섹션 끝 작은 글줄의 아래 여백 상쇄 → 섹션 사이 잉크 간격을 다른 곳과 같게 */
.xnote { font-size: 13px; line-height: 20px; color: var(--text-3); }
.xc-state { display: block; padding: 24px var(--pad); font-size: 14px; line-height: 22px; color: var(--text-2); } /* 표 안 한 줄 안내(로딩·0곳·실패) — 홈·비교 공통 */
.xc-nojs { margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--text-2); } /* 스크립트가 꺼졌을 때 표 자리 안내(<noscript>) — 홈·비교 공통 */
.xfoot .link { font-size: 14px; line-height: 22px; }

/* ── 이용 방법 ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.step { border-top: 1px solid var(--line-2); padding-top: 24px; }
.step-n { display: block; font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 12px; margin-inline-start: -0.04em; } /* 숫자 0의 둥근 안쪽 여백 보정 */
.step h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin-top: 8px; color: var(--text-2); }
.step strong { display: block; color: var(--text); font-weight: 600; } /* 핵심 경고가 줄 끝에서 '이미'만 매달리지 않게 문장째 한 줄 */

/* ── 신뢰(전폭 띠, 12열 6:6: 왼쪽 글·보안 항목 / 오른쪽 출금 화면 예시) ── */
.band { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: calc(var(--section) / 2 - 4px); margin-top: calc(var(--section) / 2); } /* 띠 테두리·글줄 여백만큼 −4 → 다른 섹션 사이와 같은 잉크 간격 */ /* 띠 밖 반 + 띠 안 반 = 한 섹션 간격(전엔 둘 다 한 칸씩이라 287px) */
.band + .sec { padding-top: calc(var(--section) / 2); }
.trust { align-items: start; grid-template-rows: auto 1fr; }
.trust-copy { grid-column: 1 / span 6; grid-row: 1; max-width: 486px; } /* 제목이 오른쪽 예시에 붙지 않게 글 폭 제한 */
.tpoints { grid-column: 1 / span 6; grid-row: 2; max-width: 486px; margin-top: 32px; } /* 서문의 이어짐 — 섹션 설명→본문(64)보다 가깝게 */
.tpoint { border-top: 1px solid var(--line); padding-block: 24px; } /* 설명 항목은 카드 대신 선(도구·예시 카드와 무게 구분) */
.tpoint:last-child { padding-bottom: 0; }
.tpoint h3 { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -0.015em; }
.tpoint p { margin-top: 8px; color: var(--text-2); }
/* 출금 화면 미리보기(증거) */
.wd { grid-column: 7 / span 6; grid-row: 1 / span 2; margin-top: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--pad); }
.wd-title { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 26px; font-weight: 700; }
.wd-row > span:first-child { flex: none; white-space: nowrap; }
.wd-uid { white-space: nowrap; }
.wd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; color: var(--text-2); }
.wd-row-to { align-items: flex-start; }
.wd-col { display: block; border-bottom: 0; padding-bottom: 0; }
.wd-to { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; color: var(--text); font-weight: 600; text-align: end; }
.wd-to img { width: 20px; height: 20px; border-radius: 6px; }
.wd-lock { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; height: 20px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding-block: 0; padding-inline: 6px 8px; } /* 딱지와 같은 높이 20, 자물쇠 그림 안쪽 여백(1.8)만큼 왼쪽을 줄여 좌우 같게 */
.wd-lock svg { width: 12px; height: 12px; }
.wd-amt { font-size: 20px; line-height: 28px; font-weight: 700; }
.wd-amt .u { font-size: 13px; color: var(--text-2); font-weight: 600; }
.wd-input { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 1px 16px 0; font-size: 16px; line-height: 26px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--control-line); color: var(--text); font-weight: 500; margin-top: 8px; }
.wd-input .u { font-size: 14px; color: var(--text-2); font-weight: 600; }
.wd-btn { display: flex; align-items: center; justify-content: center; height: 48px; padding-top: 1px; margin-top: 16px; border-radius: var(--r-pill); border: 1px solid var(--ghost-line); color: var(--text); font-weight: 600; } /* 외곽선 버튼과 같은 테두리 */
.wd-cap { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--text-2); }

/* ── 자주 묻는 질문(12열: 4:8) ── */
.faq-wrap { align-items: start; }
.faq-side { grid-column: 1 / span 4; position: sticky; top: 120px; }
.faq { grid-column: 5 / span 8; border-top: 1px solid var(--line); margin-top: 7px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { text-wrap: pretty; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 20px 0; text-align: start; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.015em; }
.faq-q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--text-2); transition: transform .2s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.faq-a { padding-block: 0 24px; padding-inline: 0 40px; margin-top: -8px; color: var(--text-2); }
.faq-a p { max-width: 640px; }
/* 답 안 문단·목록(질문 데이터 data-faq.js가 홈·고객센터 공통) — 점 = 글 시작선(첫 화면 사실 줄과 같은 점 4 + 간격 8) */
.faq-a > * + * { margin-top: 8px; }
.faq-a li { position: relative; padding-inline-start: 12px; text-wrap: pretty; }
.faq-a ul, .faq-a ol { display: grid; gap: 4px; max-width: 640px; }
.faq-a ol { counter-reset: faq-ol; }
.faq-a ol > li { padding-inline-start: 20px; counter-increment: faq-ol; }
.faq-a ul > li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.faq-a ol > li::before { content: counter(faq-ol) "."; position: absolute; inset-inline-start: 0; top: 0; font-variant-numeric: tabular-nums; color: var(--text-3); }
.faq-more { margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--text-2); }

/* ── 마무리 ── */
/* 앞이 선(질문 목록 밑줄)·뒤가 그림(마크)이라 글줄 여백이 없음 → 다른 섹션 사이(글자 기준)와 눈높이를 맞추는 +6 */
.closing { text-align: center; padding-block: calc(var(--section) + 6px) var(--section); }
.closing .tk-mark { height: 40px; margin: 0 auto 32px; }
.closing .h2 { font-size: 48px; line-height: 60px; }
.closing .lead { margin-inline: auto; }
.closing .hero-cta { justify-content: center; }

/* ── 바닥글(12열: 4:8) ── */
.ft { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 64px 40px; font-size: 14px; line-height: 22px; }
.ft-brand { grid-column: 1 / span 4; }
.ft-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.ft-logo { display: flex; width: fit-content; }
.ft-logo .tk-logo { height: 22px; }
.ft-tag { margin-top: 16px; color: var(--text-2); }
.ft-h { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-3); margin-bottom: 12px; }
.ft-col a { display: block; color: var(--text-2); line-height: 24px; padding: 4px 0; }
.ft-col a:hover { color: var(--text); }
.ft-col b { font-weight: 700; }
.ft-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; line-height: 22px; }
.ft-legal p { max-width: 760px; text-wrap: pretty; }
.ft-copy { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.ft-copy a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.ft-copy a:hover { color: var(--text-2); text-decoration-color: currentColor; }

/* ── 반응형 ── */
@media (max-width: 1120px) {
  .hd-nav { gap: 20px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  /* 태블릿: 6열이면 큰 금액(1,000만 선택 시 2,160.00 USDT)이 칸을 넘음 → 수수료 열은 빼고(계산기·상세에 있음) 금액 열을 넓힘 */
  .xrow, .xhead { grid-template-columns: minmax(0, 2fr) minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 1.3fr) 16px; }
  .xrow .xfee, .xh-fee { display: none; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: 48px; line-height: 60px; } /* 홈 제목 56/64 → 48/60 → 36/44(공통 머리와 같은 경계 960·640) — 961에서도 56이 두 줄에 들어감(실측 480/514) */
  .page-top { padding-top: 48px; }
  .page-head__title { font-size: 40px; line-height: 50px; }
  .page-body { margin-top: 32px; }
  .seg button::after { content: ""; position: absolute; inset: -3px 0; } /* 보이는 높이 38, 누르는 칸 44(태블릿도 손가락) */
  :root { --section: 80px; }
  .hd-nav, .hd-act .hd-login, .hd-act .hd-cta, #themeBtn, .hd-act .hd-lang { display: none; } /* 언어는 폰·태블릿에선 메뉴(☰) 안 */
  #menuBtn { display: inline-grid; margin-inline-end: -12.5px; } /* 그림 끝을 거터 선에(로고와 대칭): 상자 안쪽 (40-20)/2 + 그림 안쪽 2.6 */
  .hd-cta-m { display: inline-flex; }
  .hero { padding-top: 48px; }
  .hero-in, .trust, .faq-wrap, .ft-in { row-gap: 48px; }
  .hero-copy, .hero-calc, .trust-copy, .tpoints, .wd, .faq-side, .faq, .ft-brand, .ft-cols { grid-column: 1 / -1; grid-row: auto; }
  .hero-copy { padding-top: 0; }
  .tpoints, .faq { margin-top: 0; }
  .wd { margin-top: 16px; } /* 글→출금 예시 = 설명→본문(64): 단 사이 48 + 16 */
  .faq-side { position: static; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 24px; }
  .step:last-child { padding-bottom: 0; } /* 마지막 단계 아래 여백이 섹션 간격에 더해지지 않게 */
  .faq-wrap { row-gap: 44px; } /* 앞이 글줄(더 궁금한 게…)이라 글줄 아래 여백 4 상쇄 → 다른 단 쌓임과 같게 */
}
@media (max-width: 720px) {
  .xhead { display: none; }
  .xrow { grid-template-columns: minmax(0, 1fr) auto 20px; grid-template-areas: "name get go" "boost boost ." "rate rate ." "net net ."; row-gap: 0; column-gap: 12px; padding: 16px 20px 9px; } /* 아래 글줄 여백만큼 아래를 줄여 잉크 위아래 같게(구현 후 측정) */
  .xrow .xname { grid-area: name; }
  .xrow .xget { grid-area: get; justify-self: end; text-align: end; }
  .xrow .xgo { grid-area: go; }
  .xrow .xfee { display: none; }
  .xlogo { width: 32px; height: 32px; } /* 폰: 로고 32·간격 12로 이름 칸 8px 확보(360 폭 큰 금액에서 이름과 붙음) */
  .xname { gap: 12px; }
  .xlogo.icon { padding: 5px; }
  .xrow .xrate { grid-area: rate; margin-top: 4px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text-2); text-align: start; padding-inline-start: 44px; }
  .xrow .xrate::before { content: attr(data-label) "\00a0"; } /* 이름표는 행의 data-label(언어별 — home.js·calculator.js) */
  .xrow .xnet { display: block; grid-area: net; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text); text-align: start; padding-inline-start: 44px; } /* 지출액을 회색 보조 문장에 묻지 않게 본문색 */
  .xrow .xnet::before { content: attr(data-label) "\00a0"; font-weight: 500; color: var(--text-2); }
  .per-m { display: inline; }
  .xrow .chip { display: none; }
  .xrow .xget-note { display: none; }
  .xrow .xboost-m { display: block; grid-area: boost; margin-top: 4px; padding-inline-start: 44px; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--text-2); text-align: start; } /* 이름→금액→혜택→요율→수수료 순 */
  #xrows > :first-child:focus-visible { border-radius: 15px 15px 0 0; } /* 폰은 머리줄이 없어 첫 줄이 위 모서리에 닿음 */
}
@media (max-width: 640px) {
  .page-top { padding-top: 32px; }
  .page-head__title { font-size: 36px; line-height: 44px; }
  .page-head--form .page-head__title, .page-head--article .page-head__title { font-size: 28px; line-height: 36px; }
  .page-head__description { font-size: 16px; line-height: 26px; }
  .page-tabs { margin-top: 24px; }
  .page-panel { padding-top: 24px; }
  :root { --gutter: 20px; --section: 64px; --pad: 20px; --gap-body: 32px; }
  .hd-in { height: 56px; gap: 12px; }
  .hd-logo { padding: 11px 0; }
  .icon-btn { width: 44px; height: 44px; }
  #menuBtn { margin-inline-end: -14.5px; } /* (44-20)/2 + 그림 안쪽 2.6 */
  /* 작은 버튼은 폰에서도 보이는 높이 40(머리줄·조건 패널 같은 크기), 누르는 칸만 투명 덧칸으로 44 */
  .btn-sm { position: relative; }
  .btn-sm::after { content: ""; position: absolute; inset: -2px 0; }
  .promo a { min-height: 44px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero .lead { font-size: 16px; line-height: 26px; margin-top: 16px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .hero-elig + .hero-cta { margin-top: 26px; } /* 폰 설명→버튼 24 + 작은 글줄 보정 2 */
  .hero-cta .btn { width: 100%; padding-inline: 12px; }
  .btn-lg { height: 48px; }
  .hero-in, .trust { row-gap: 32px; }
  .wd { margin-top: 0; }
  .faq-wrap { row-gap: 28px; }
  .facts { gap: 8px 16px; margin-top: 16px; }
  .xcond-panel { grid-template-columns: 1fr; }
  .partners { margin-top: 24px; }
  .h2, .closing .h2 { font-size: 28px; line-height: 36px; }
  .lead { font-size: 16px; line-height: 26px; }
  .calc-big .v { font-size: 40px; line-height: 50px; }
  .calc-big .v small { font-size: 24px; }
  /* 누르는 칸은 44로 넓히되, 화면 간격은 그대로(같은 값 음수 margin) */
  .xfoot .link { padding-block: 12px; margin-block: -12px; }
  .tpoint .link { margin-top: 0; padding-block: 12px; margin-bottom: -12px; }
  .ft-logo { padding-block: 12px; margin-block: -12px; }
  .ft { padding-top: 48px; }
  .ft-in { row-gap: 32px; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .ft-col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); } /* 회사 묶음은 전체 폭 2열(오른쪽 빈칸 없이) */
  .ft-col:last-child .ft-h { grid-column: 1 / -1; }
  .ft-legal { margin-top: 32px; }
  .xmore-names { display: none; }
  .faq-more .link, .ft-copy a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .ft-col a { padding: 10px 0; }
  .closing .tk-mark { height: 32px; margin-bottom: 24px; }
  .closing .hero-cta { grid-template-columns: 1fr; }
  .faq-q { font-size: 16px; line-height: 26px; min-height: 64px; padding: 16px 0; }
  .faq-a { padding-inline-end: 0; }
}
@media (max-width: 389px) {
  /* 390 미만 폰: 큰 거래량에서 이름과 금액이 한 줄에 안 들어감 → 금액을 이름 아래 줄로, 그 아래 요율·수수료 */
  .xrow { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "name go" "get ." "boost ." "rate ." "net ."; }
  .xrow .xget { justify-self: start; text-align: start; padding-inline-start: 44px; margin-top: 4px; }
}
/* 아주 큰 금액(직접 입력 상한 1조까지): 반환액이나 페이백 후 수수료가 100만 USDT 이상이면 home.js가 is-large-amount를 붙임 — 말줄임·금액 쪼개기 대신 한 단계 작게, 좁은 화면은 금액을 이름 아래 줄로 */
.calc.is-large-amount .calc-big .v { font-size: 32px; line-height: 40px; }
.calc.is-large-amount .calc-big .v small { font-size: 20px; }
.calc.is-large-amount .calc-big .u { font-size: 14px; line-height: 22px; }
.xlist.is-large-amount .xget { font-size: 16px; line-height: 24px; }
.xlist.is-large-amount .xnet { font-size: 14px; line-height: 22px; }
@media (max-width: 960px) {
  .xlist.is-large-amount .xhead { display: none; }
  .xlist.is-large-amount .xrow { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "name go" "get ." "boost ." "rate ." "net ."; row-gap: 0; column-gap: 12px; padding: 16px 20px 9px; }
  .xlist.is-large-amount .xrow .xname { grid-area: name; }
  .xlist.is-large-amount .xrow .xgo { grid-area: go; }
  .xlist.is-large-amount .xrow .xfee { display: none; }
  .xlist.is-large-amount .xrow .xget { grid-area: get; justify-self: start; text-align: start; padding-inline-start: 52px; margin-top: 4px; }
  .xlist.is-large-amount .xrow .xrate { grid-area: rate; margin-top: 4px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text-2); text-align: start; padding-inline-start: 52px; }
  .xlist.is-large-amount .xrow .xrate::before { content: attr(data-label) "\00a0"; } /* 이름표는 행의 data-label(언어별 — home.js·calculator.js) */
  .xlist.is-large-amount .xrow .xnet { display: block; grid-area: net; font-weight: 600; color: var(--text); text-align: start; padding-inline-start: 52px; }
  .xlist.is-large-amount .xrow .xnet::before { content: attr(data-label) "\00a0"; font-weight: 500; color: var(--text-2); }
  .xlist.is-large-amount .per-m { display: inline; }
  .xlist.is-large-amount #xrows > :first-child:focus-visible { border-radius: 15px 15px 0 0; } /* 머리줄을 숨기면 첫 줄이 위 모서리에 닿음 */
}
@media (max-width: 720px) {
  .xlist.is-large-amount .xrow .xget, .xlist.is-large-amount .xrow .xrate, .xlist.is-large-amount .xrow .xnet { padding-inline-start: 44px; } /* 폰은 로고 32 + 간격 12 */
}
@media (max-width: 359px) {
  /* 320 폭: 1조 거래량이면 '308,000,000.00 USDT'가 카드 안쪽(240)을 넘음 → 한 단계 더 작게, 수수료는 이름표를 윗줄로 */
  .calc.is-large-amount .calc-big .v { font-size: 26px; line-height: 34px; }
  .calc.is-large-amount .calc-big .v small { font-size: 16px; }
  .xlist.is-large-amount .xrow .xnet::before { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.is-theme-switch *, .is-theme-switch *::before, .is-theme-switch *::after { transition: none !important; } /* 테마 바꾸는 순간만(tk-ui.js가 두 프레임 뒤 풂) — 호버용 색 전환이 테마 변경에 걸려 일부만 늦게 바뀌지 않게 */

/* ===== 언어별(다국어 — frontend/i18n/README.md, 설계 runs\…\pages\_i18n\설계.md) =====
   ▣ 글꼴: 한국어는 그대로. 라틴 확장·키릴·베트남 글자는 직접 호스팅 조각에 없어 같은 판(1.3.9) 정적 글꼴에서 그 글자만 자른 'Pretendard TK Ext'(굵기 4종, 그 글자가 나올 때만 받음 — work\fonts\make-ext.mjs).
     중국어·일본어·태국어·힌디어·아랍어는 Pretendard에 없는 문자라 언어별 시스템 글꼴 — 숫자·영문은 'TK Latin'(지금 Pretendard 조각을 라틴 범위로만, 추가 내려받기 없음)이 먼저라 숫자 폭이 모든 언어에서 같음.
   ▣ 줄바꿈: body의 keep-all은 한국어용 — 띄어쓰기 없는 중국어·일본어·태국어는 normal(태국어는 크롬 ICU 사전으로 낱말 단위), 일본어는 금칙 strict.
   ▣ 자간: 음수 자간은 한글·라틴용 — 아랍어(이어 쓰기 끊김)·태국어·힌디어(위아래 부호 겹침)·중국어·일본어는 0. */
@font-face { font-family: "Pretendard TK Ext"; font-style: normal; font-display: swap; font-weight: 400; src: url(../assets/fonts/pretendard-ext/PretendardExt-400.woff) format('woff'); unicode-range: U+a6, U+af, U+b5, U+c1, U+c3-c5, U+cc-cd, U+d1-d3, U+d5-d6, U+da, U+dd, U+e1, U+e3-e5, U+ec-ed, U+f1-f3, U+f5-f6, U+fa, U+fd, U+100-110, U+112-125, U+128-130, U+134-137, U+139-13e, U+143-148, U+14c-151, U+154-165, U+168-1c3, U+1c5-24f, U+300-31e, U+321-36f, U+400-45f, U+490-491, U+1e00-1eff, U+2000-200d, U+2011-2012, U+2017, U+201a, U+201e, U+2023-2024, U+2027, U+202f, U+2031, U+2037-2038, U+203d, U+203f-2041, U+2043-2060, U+20a0-20a8, U+20aa-20ab, U+20ad-20bf; }
@font-face { font-family: "Pretendard TK Ext"; font-style: normal; font-display: swap; font-weight: 500; src: url(../assets/fonts/pretendard-ext/PretendardExt-500.woff) format('woff'); unicode-range: U+a6, U+af, U+b5, U+c1, U+c3-c5, U+cc-cd, U+d1-d3, U+d5-d6, U+da, U+dd, U+e1, U+e3-e5, U+ec-ed, U+f1-f3, U+f5-f6, U+fa, U+fd, U+100-110, U+112-125, U+128-130, U+134-137, U+139-13e, U+143-148, U+14c-151, U+154-165, U+168-1c3, U+1c5-24f, U+300-31e, U+321-36f, U+400-45f, U+490-491, U+1e00-1eff, U+2000-200d, U+2011-2012, U+2017, U+201a, U+201e, U+2023-2024, U+2027, U+202f, U+2031, U+2037-2038, U+203d, U+203f-2041, U+2043-2060, U+20a0-20a8, U+20aa-20ab, U+20ad-20bf; }
@font-face { font-family: "Pretendard TK Ext"; font-style: normal; font-display: swap; font-weight: 600; src: url(../assets/fonts/pretendard-ext/PretendardExt-600.woff) format('woff'); unicode-range: U+a6, U+af, U+b5, U+c1, U+c3-c5, U+cc-cd, U+d1-d3, U+d5-d6, U+da, U+dd, U+e1, U+e3-e5, U+ec-ed, U+f1-f3, U+f5-f6, U+fa, U+fd, U+100-110, U+112-125, U+128-130, U+134-137, U+139-13e, U+143-148, U+14c-151, U+154-165, U+168-1c3, U+1c5-24f, U+300-31e, U+321-36f, U+400-45f, U+490-491, U+1e00-1eff, U+2000-200d, U+2011-2012, U+2017, U+201a, U+201e, U+2023-2024, U+2027, U+202f, U+2031, U+2037-2038, U+203d, U+203f-2041, U+2043-2060, U+20a0-20a8, U+20aa-20ab, U+20ad-20bf; }
@font-face { font-family: "Pretendard TK Ext"; font-style: normal; font-display: swap; font-weight: 700; src: url(../assets/fonts/pretendard-ext/PretendardExt-700.woff) format('woff'); unicode-range: U+a6, U+af, U+b5, U+c1, U+c3-c5, U+cc-cd, U+d1-d3, U+d5-d6, U+da, U+dd, U+e1, U+e3-e5, U+ec-ed, U+f1-f3, U+f5-f6, U+fa, U+fd, U+100-110, U+112-125, U+128-130, U+134-137, U+139-13e, U+143-148, U+14c-151, U+154-165, U+168-1c3, U+1c5-24f, U+300-31e, U+321-36f, U+400-45f, U+490-491, U+1e00-1eff, U+2000-200d, U+2011-2012, U+2017, U+201a, U+201e, U+2023-2024, U+2027, U+202f, U+2031, U+2037-2038, U+203d, U+203f-2041, U+2043-2060, U+20a0-20a8, U+20aa-20ab, U+20ad-20bf; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.70.woff2) format('woff2-variations'); unicode-range: U+2195-2199, U+21b0-21b4, U+21bc, U+21c0, U+21c4-21c5, U+21cd, U+21cf-21d4, U+21e0-21e3, U+21e6-21e9; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.71.woff2) format('woff2-variations'); unicode-range: U+a2-a5, U+a7-a8, U+aa, U+ac, U+b1-b3, U+b6, U+b8-ba, U+bc-be, U+c0, U+c2, U+c6-cb, U+ce-d0, U+d4, U+d8-d9, U+db-dc, U+de-df, U+e6, U+eb, U+ee-f0, U+f4, U+f7-f9, U+fb, U+fe-ff, U+2010, U+2015-2016, U+2018-2019, U+201b, U+201f-2021, U+2025, U+2030, U+2033-2036, U+203c, U+203e, U+2042; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.72.woff2) format('woff2-variations'); unicode-range: U+e8, U+2194; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.74.woff2) format('woff2-variations'); unicode-range: U+2032; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.75.woff2) format('woff2-variations'); unicode-range: U+b4, U+20a9, U+20ac, U+2190; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.78.woff2) format('woff2-variations'); unicode-range: U+2039-203a; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.79.woff2) format('woff2-variations'); unicode-range: U+b0, U+e9, U+2193; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.80.woff2) format('woff2-variations'); unicode-range: U+e0, U+e2; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.81.woff2) format('woff2-variations'); unicode-range: U+24, U+60, U+2191; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.82.woff2) format('woff2-variations'); unicode-range: U+d7, U+ea, U+fc, U+2192; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.83.woff2) format('woff2-variations'); unicode-range: U+e7, U+2022, U+203b; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.85.woff2) format('woff2-variations'); unicode-range: U+5e; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.86.woff2) format('woff2-variations'); unicode-range: U+3c-3d, U+2026; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.87.woff2) format('woff2-variations'); unicode-range: U+23, U+25, U+5f, U+a9; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.88.woff2) format('woff2-variations'); unicode-range: U+26, U+2b, U+3e, U+40, U+7e; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.89.woff2) format('woff2-variations'); unicode-range: U+7c; }
@font-face { font-family: "TK Latin"; font-style: normal; font-display: swap; font-weight: 45 920; src: url(../assets/fonts/pretendard/PretendardVariable.subset.91.woff2) format('woff2-variations'); unicode-range: U+20-22, U+27-2a, U+2c-39, U+3a-3b, U+3f, U+41-4e, U+4f-5d, U+61-7b, U+7d, U+a0-a1, U+ab, U+ad-ae, U+b7, U+bb, U+bf, U+2013-2014, U+201c-201d; }
/* 번역 언어: 키릴 글자 대체 글꼴 — 웹 글꼴(Pretendard TK Ext)이 오기 전 키릴은 'Pretendard Fallback'(맑은 고딕 95%, 한글·라틴 기준 보정)으로 그려져
   글꼴이 바뀔 때 글이 약 7% 넓어지며 제목 줄이 늘었음(ru 초대 페이지 첫 방문 CLS 0.129, 390px). 실측: Ext ÷ 맑은 고딕 = 1.023(400)·1.014(600·700) → 101.8%,
   높이는 Ext(1.16/0.29em)에 맞춤(크롬은 size-adjust를 override에도 곱함 → ÷1.018). 번역판 글꼴 목록에만(한국어 페이지 언어 메뉴의 'Русский'는 그대로) */
@font-face { font-family: "TK Cyr Fallback"; src: local("Malgun Gothic"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; size-adjust: 101.8%; ascent-override: 113.95%; descent-override: 28.49%; line-gap-override: 0%; }
:root:not(:lang(ko)) { --font: "Pretendard Variable", "Pretendard TK Ext", Pretendard, "TK Cyr Fallback", "Pretendard Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
:root:lang(zh-CN) { --font: "TK Latin", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif; }
:root:lang(zh-TW) { --font: "TK Latin", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", sans-serif; }
:root:lang(ja) { --font: "TK Latin", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
:root:lang(th) { --font: "TK Latin", "Noto Sans Thai", "Leelawadee UI", Leelawadee, Thonburi, "Sukhumvit Set", Tahoma, sans-serif; }
:root:lang(hi) { --font: "TK Latin", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Devanagari Sangam MN", Mangal, sans-serif; }
:root:lang(ar) { --font: "TK Latin", "Noto Sans Arabic", "Segoe UI", "Geeza Pro", "SF Arabic", Tahoma, sans-serif; }
:root:lang(zh-CN) body, :root:lang(zh-TW) body, :root:lang(ja) body, :root:lang(th) body { word-break: normal; }
:root:lang(ja) body { line-break: strict; }
/* 번역 언어: 문단·목록의 마지막 줄이 한두 낱말로 짧게 남지 않게(브라우저 표준 줄 나눔 — 한국어는 손으로 맞춘 줄바꿈 그대로라 제외).
   :where로 명시도 0 — 이미 줄 나눔을 정한 요소(제목·리드의 balance 등)는 그 규칙이 이김(전에는 :is가 .h2·.hero h1의 balance를 덮어 제목 줄이 한쪽으로 쏠렸음) */
:where(:root:not(:lang(ko))) :where(p, li, dd, dt, figcaption, label) { text-wrap: pretty; }
/* 번역 언어: 제목은 줄 길이를 고르게(클래스 없는 약관 조 제목 h2 등 — 'Artikel 13 (…)'이 한쪽으로 쏠렸음), 큰 제목의 긴 낱말(독 'Rückvergütungsrechner'·러 'конфиденциальности')은
   낱말 중간을 그냥 자르지 않고 사전 하이픈으로 나눔 — 10자 이상 낱말만, 앞뒤 4자 이상(짧은 낱말은 그대로).
   작은 제목(h3·h4 — 질문·카드·약관 소제목)도 balance: pretty로는 폰에서 'หรือไม่?'·'de baja'처럼 마지막 한두 낱말만 남았음(b16h) */
:where(:root:not(:lang(ko))) :where(h1, h2, h3, h4) { text-wrap: balance; }
/* 사파리(아이폰)는 -webkit- 이름만 읽음 — 실기기 점검(10-19, iOS 18.7)에서 독일어 낱말 83개 중 하이픈 0개('Rückvergütungsrechner'가 낱말 중간에서 잘림). 크롬은 두 이름이 같은 것이라 PC 화면은 그대로.
   hyphenate-limit-chars를 모르는 사파리엔 앞뒤 4자만(-webkit-hyphenate-limit-before/after). 이 아래 바닥글·약관 표 규칙도 같음 */
:root:not(:lang(ko)) :is(h1, h2, h3, .h2, .page-head__title) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
/* 번역 언어: 줄바꿈 표시(<br class="br-w"> 등 — 문장·구절 경계)가 든 제목·리드는 pretty — 크롬의 balance는 강제 줄바꿈이 있으면 일반 줄바꿈처럼 동작해
   그 뒤 조각의 마지막 낱말이 홀로 남았음(en 'before you sign / up' 실측 276/46px → pretty 191/131px) */
/* 줄바꿈 표시가 실제로 보이는 폭에서만(숨는 폭에선 balance 그대로 — 아니면 제목 줄이 한쪽으로 쏠림): 표시 없는 br 늘, br-d 360+, br-t 641+, br-w 961+, br-m 360~640 */
:root:not(:lang(ko)) :is(h1, h2, h3, .h2, .lead, .page-head__title, .page-head__description):has(> br:not([class])) { text-wrap: pretty; }
@media (min-width: 360px) { :root:not(:lang(ko)) :is(h1, h2, h3, .h2, .lead, .page-head__title, .page-head__description):has(> br.br-d) { text-wrap: pretty; } }
@media (min-width: 641px) { :root:not(:lang(ko)) :is(h1, h2, h3, .h2, .lead, .page-head__title, .page-head__description):has(> br.br-t) { text-wrap: pretty; } }
@media (min-width: 961px) { :root:not(:lang(ko)) :is(h1, h2, h3, .h2, .lead, .page-head__title, .page-head__description):has(> br.br-w) { text-wrap: pretty; } }
@media (min-width: 360px) and (max-width: 640px) { :root:not(:lang(ko)) :is(h1, h2, h3, .h2, .lead, .page-head__title, .page-head__description):has(> br.br-m) { text-wrap: pretty; } }
/* 일본어 제목: 구절(분절) 단위로 줄을 바꿈 — 글자 사이 아무 데서나 끊겨 '取り戻しましょ / う'처럼 한 글자가 남지 않게(크롬 119+, 그 밖은 보통 줄바꿈) */
:root:lang(ja) :is(h1, h2, h3, .h2, .page-head__title) { word-break: auto-phrase; }
/* 번역 언어: 두 줄 남짓한 짧은 소개 글은 줄 길이를 고르게(pretty는 마지막 한 낱말을 못 막는 경우가 있음 — 'fees in / USDT.') */
:root:not(:lang(ko)) .ft-tag { text-wrap: balance; }
/* 번역 언어: 딱지(.chip — 높이 20px 한 줄 알약)는 글이 줄을 바꾸지 않고, 칸이 좁으면 딱지째 다음 줄로(힌 계산기 768px '선택한 거래소' 딱지가 두 줄로 접혀 알약 위아래로 삐져나왔음 — 새 세로 넘침 검사) */
:root:not(:lang(ko)) .chip { white-space: nowrap; }
/* 번역 언어: 본문의 큰 단추는 글이 단추보다 길면 두 줄로(높이는 원래 높이를 최소로) — 러 가입 320px 'Зарегистрироваться и получить код'가 줄바꿈 금지라 단추 밖으로 나가 양끝이 잘렸음
   (review7 뒤 세로·가로 넘침 검사). 한 줄에 들어가면 높이·모양 그대로. 머리줄 단추는 main 밖이라 '한 줄' 규칙 그대로(D59) */
:root:not(:lang(ko)) main .btn { white-space: normal; height: auto; min-height: 48px; text-wrap: balance; }
:root:not(:lang(ko)) main .btn-lg { min-height: 56px; }
:root:not(:lang(ko)) main .btn-sm { min-height: 40px; }
@media (max-width: 640px) { :root:not(:lang(ko)) main .btn-lg { min-height: 48px; } }
/* 번역 언어: 출금 예시 카드의 '이름표 | 값' 줄 — 값이 칸에 안 들어가면 이름표 아래 줄로(오른쪽 맞춤 그대로). 독 320px 'Bitget · UID 58****07'·자물쇠 딱지, 포·러 금액이 카드 테두리를 넘었음 */
:root:not(:lang(ko)) .wd-row { flex-wrap: wrap; row-gap: 4px; }
:root:not(:lang(ko)) .wd-row > :last-child { margin-inline-start: auto; }
:root:not(:lang(ko)) .xname b { flex-wrap: wrap; row-gap: 2px; } /* 이름 뒤 딱지가 칸에 안 들어가면 다음 줄로(nowrap만으론 이름에 붙어 칸을 8px 넘쳤음) */
/* 번역 언어: 바닥글 링크도 긴 낱말은 사전 하이픈으로 — 폰 '회사' 묶음 두 칸(320px에서 칸 124px)에 굵게 표시된 현재 페이지 러 'конфиденциальности'가 낱말 중간에서 잘렸음(b16h 뒤 새 검사) */
:root:not(:lang(ko)) .ft-col a { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
/* 번역 언어: 짧은 소개·안내 글(머리 소개·자격 줄·리드·가입 안내·표 아래 주석·목차 항목)도 balance — pretty가 마지막 한 낱말을 못 막았음(b16h 실측: 태 자격 줄 768px 613/34px → 329/318,
   vi 표 주석 375px 291/80 → 193/177, en 가입 안내 375px 289/80 → 180/190). 한국어도 짧은 안내엔 balance(ck-cond·ev-notes 등). 줄바꿈 표시가 보이는 폭은 위 :has(br) 규칙(pretty)이 이김 */
:root:not(:lang(ko)) :is(.lead, .page-head__description, .page-head__eligibility, .hero-elig, .au-preview, .xnote, .calc-note, .ck-compare-note, .xc-bar-note, .my-note, .lg-nf-help, .sp-pmail-d, .wd-cap, .lg-toc-list li, .faq-q) { text-wrap: balance; } /* .faq-q: 질문 단추(h3 안)는 자기 pretty 규칙이 h3 balance를 이겨 힌·태 질문이 폰에서 'जाते हैं?'·'หรือไม่?'만 남았음(b16i) */
/* 번역 언어: 한국어 줄바꿈 장치(.nowrap·.my-nw)는 글이 길면 넘치지 않고 줄을 바꿈(숫자와 단위는 줄바꿈 없는 공백이라 붙어 있음) · 제목 줄의 작은 단추는 다음 줄로 */
:root:not(:lang(ko)) :is(.nowrap, .my-nw) { white-space: normal; }
:root:not(:lang(ko)) .ck-out-head { flex-wrap: wrap; }
@media (max-width: 640px) {
  /* 번역 언어: 폰의 '같은 폭 두 칸' 단추 줄 — 두 글이 다 들어가면 같은 폭 한 줄, 안 들어가면 단추마다 한 줄(한국어는 두 칸 그대로) */
  :root:not(:lang(ko)) :is(.hero-cta, .sp-pact) { display: flex; flex-wrap: wrap; }
  :root:not(:lang(ko)) :is(.hero-cta, .sp-pact) > .btn { flex: 1 1 0; min-width: max-content; }
}
/* 번역 언어: 초대 페이지 두 단추는 모든 폭에서 같은 처리 — 좁은 둘째 단(1024 등)에서도 'Commencer gratuitement'(176px)가 같은 폭 칸(165px)을 넘쳐 옆 단추에 닿았음(실측) */
:root:not(:lang(ko)) .iv-cta { display: flex; flex-wrap: wrap; }
:root:not(:lang(ko)) .iv-cta > .btn { flex: 1 1 0; min-width: max-content; }
/* 번역 언어: 선택 버튼(.seg) — 글이 칸보다 길면 두 줄로 접힘(320px 칸 73px: en 'Maker 80%' 75px, ru는 390·768px에서도). 고정 높이 38이면 접힌 글의 아래 여백이 0,
   접힐 때만 키우면 한 화면에서 버튼 높이가 38/44로 섞임(언어마다 접히는 폭이 달라 폭 기준으로 못 나눔) → 보이는 높이를 누르는 칸과 같은 44로 통일(두 줄 = 18×2 + 위아래 4).
   좌우 2 — 옆 버튼 글과 최소 8px(사이 4 + 2×2) 떨어짐(전에는 0이라 fr 360px에서 5.9px로 붙었음) */
:root:not(:lang(ko)) .seg button { height: auto; min-height: 44px; padding: 4px 2px; line-height: 18px; }
/* 번역 언어: 폰 목록의 '이름표 + 값' — 이름표와 값 사이를 보통 공백으로(한국어는 줄바꿈 없는 공백). 이름이 길면 값 안('70|%')이나 이름 글자 사이(일 '還元後の手数|料')가 아니라 이름 뒤에서 줄이 바뀜 */
@media (max-width: 720px) { :root:not(:lang(ko)) .xrow :is(.xrate, .xnet)::before { content: attr(data-label) " "; } }
@media (max-width: 960px) { :root:not(:lang(ko)) .xlist.is-large-amount .xrow :is(.xrate, .xnet)::before { content: attr(data-label) " "; } }
/* 번역 언어: 홈 목록 '더 보기' — 거래소 이름이 먼저 줄고(말줄임), 그래도 길면 단추 글이 줄을 바꿈 */
:root:not(:lang(ko)) .xmore-go { flex: 0 1 auto; min-width: 0; white-space: normal; }
/* 번역 언어: 목록 줄의 '이름표 + 금액' 칸은 이름표가 길면 금액 앞에서 줄을 바꿈(금액과 단위는 줄바꿈 없는 공백으로 붙어 있음) */
:root:not(:lang(ko)) .xrow :is(.xrate, .xnet) { white-space: normal; }
:root:lang(ar) *, :root:lang(th) *, :root:lang(hi) *, :root:lang(zh-CN) *, :root:lang(zh-TW) *, :root:lang(ja) * { letter-spacing: 0 !important; }
/* 아랍·태국·데바나가리: 딱지 높이를 20px 고정 대신 그 기기 글꼴의 줄 높이로 — 실기기 점검(10-19)에서 안드로이드 아랍어 '필수·선택' 딱지 글이 위로 5.1px,
   아이폰 태국어 'UID 고정' 딱지 글이 아래로 4.9px 테두리 밖(윈도에선 통과). 후보 셋을 윈도·안드로이드 실기기에서 재 이것(가장 작은 변경)이 통과 */
:root:is(:lang(ar), :lang(th), :lang(hi)) :is(.chip, .wd-lock) { height: auto; min-height: 20px; line-height: normal; padding-block: 2px; }
/* 언어 메뉴: 번역된 언어는 링크(다른 문자 체계 이름은 각자 lang으로 그 글꼴) */
a.lang-item { color: var(--text-2); }
a.lang-item:hover, a.lang-item:focus-visible { color: var(--text); background: var(--surface-2); }
.lang-item:lang(zh-CN) { font-family: "TK Latin", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.lang-item:lang(zh-TW) { font-family: "TK Latin", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
.lang-item:lang(ja) { font-family: "TK Latin", "Hiragino Sans", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; }
.lang-item:lang(th) { font-family: "TK Latin", "Noto Sans Thai", "Leelawadee UI", Thonburi, sans-serif; }
.lang-item:lang(hi) { font-family: "TK Latin", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", sans-serif; }
.lang-item:lang(ar) { font-family: "TK Latin", "Noto Sans Arabic", "Segoe UI", "Geeza Pro", sans-serif; }
/* 오른쪽→왼쪽(아랍어): 방향 있는 장식 그림(→ › ←)을 뒤집음 — 이 글자들은 번역하지 않음(번역 검사가 막음). 글 속 화살표(요율 70% → 85% 같은)는 번역이 담당.
   호버 이동도 반대로(뒤집은 좌표계 안의 +2px = 화면에서 왼쪽). 선택칸 화살표·메뉴 X 그림 보정도 반대쪽 */
[dir="rtl"] .arr, [dir="rtl"] .xgo, [dir="rtl"] .ev-go, [dir="rtl"] .nt-go, [dir="rtl"] .sp-ngo, [dir="rtl"] .xd-back-ico { transform: scaleX(-1); }
[dir="rtl"] a:hover > .arr, [dir="rtl"] .xrow:hover .xgo, [dir="rtl"] .ev-row:hover .ev-go, [dir="rtl"] .nt-nav .rows > a:hover .nt-go, [dir="rtl"] .sp-nlist > a:hover .sp-ngo { transform: scaleX(-1) translateX(2px); }
[dir="rtl"] .xd-back:hover .xd-back-ico { transform: scaleX(-1) translateX(-2px); }
[dir="rtl"] #menuBtn[aria-expanded="true"] .ico-x { transform: translateX(-1.7px); }
[dir="rtl"] .select { background-position: left 16px center; }
/* 오른쪽→왼쪽: 입력칸은 내용에 따라 방향(숫자·이메일·OTP는 왼→오, 아랍어 안내 글은 오→왼), 숫자·금액 칸은 주변 글과 방향 분리 */
[dir="rtl"] input, [dir="rtl"] textarea { unicode-bidi: plaintext; }
[dir="rtl"] .num, [dir="rtl"] .money, [dir="rtl"] .au-email { unicode-bidi: isolate; }
/* 오른쪽→왼쪽: 금액과 USDT를 한 묶음 왼→오로(거래소 화면과 같은 '308.00 USDT') — 큰 금액 칸(플렉스)은 오른쪽 정렬 유지, 행·마이페이지 글은 스크립트가 tkL.ltr로 격리 */
[dir="rtl"] .calc-big, [dir="rtl"] .xd-sc-v { direction: ltr; justify-content: flex-end; }
[dir="rtl"] .wd-amt, [dir="rtl"] .wd-input { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] dd.num, [dir="rtl"] .wd-row .num { direction: ltr; unicode-bidi: isolate; } /* 명세 줄 금액(440.00 USDT) — 플렉스 줄 안 칸이라 정렬은 그대로 */
[dir="rtl"] .wd-uid, [dir="rtl"] .my-uid, [dir="rtl"] .my-uid-v, [dir="rtl"] [data-co].num { direction: ltr; unicode-bidi: isolate; } /* UID·사업자번호·전화(58****07·123-45-67890이 뒤집히지 않게) */
[dir="rtl"] a[href^="mailto:"]:not(.btn), [dir="rtl"] a[href^="http"]:not(.btn), [dir="rtl"] .ft-copy a, [dir="rtl"] [data-co] { unicode-bidi: plaintext; } /* 이메일·바깥 주소 링크·회사 정보 값: 첫 글자 방향대로(라틴·한글 값은 왼→오, 번역된 '준비 중'은 오→왼) */
/* 언어별 머리줄 접는 폭(빌드 생성 — frontend/i18n/langs.json nav, 실측 qa/navfit.html) */
@media (min-width: 961px) and (max-width: 1091px) {
  :root:lang(en):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(en):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(en):not(.qa-navfit) .hd-nav, :root:lang(en):not(.qa-navfit) .hd-act .hd-login, :root:lang(en):not(.qa-navfit) .hd-act .hd-cta, :root:lang(en):not(.qa-navfit) #themeBtn, :root:lang(en):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(en):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(en):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 998px) {
  :root:lang(id):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(id):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(id):not(.qa-navfit) .hd-nav, :root:lang(id):not(.qa-navfit) .hd-act .hd-login, :root:lang(id):not(.qa-navfit) .hd-act .hd-cta, :root:lang(id):not(.qa-navfit) #themeBtn, :root:lang(id):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(id):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(id):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1069px) {
  :root:lang(de):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(de):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(de):not(.qa-navfit) .hd-nav, :root:lang(de):not(.qa-navfit) .hd-act .hd-login, :root:lang(de):not(.qa-navfit) .hd-act .hd-cta, :root:lang(de):not(.qa-navfit) #themeBtn, :root:lang(de):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(de):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(de):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1161px) {
  :root:lang(es):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(es):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(es):not(.qa-navfit) .hd-nav, :root:lang(es):not(.qa-navfit) .hd-act .hd-login, :root:lang(es):not(.qa-navfit) .hd-act .hd-cta, :root:lang(es):not(.qa-navfit) #themeBtn, :root:lang(es):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(es):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(es):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1160px) {
  :root:lang(fr):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(fr):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(fr):not(.qa-navfit) .hd-nav, :root:lang(fr):not(.qa-navfit) .hd-act .hd-login, :root:lang(fr):not(.qa-navfit) .hd-act .hd-cta, :root:lang(fr):not(.qa-navfit) #themeBtn, :root:lang(fr):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(fr):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(fr):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1061px) {
  :root:lang(pt-BR):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(pt-BR):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(pt-BR):not(.qa-navfit) .hd-nav, :root:lang(pt-BR):not(.qa-navfit) .hd-act .hd-login, :root:lang(pt-BR):not(.qa-navfit) .hd-act .hd-cta, :root:lang(pt-BR):not(.qa-navfit) #themeBtn, :root:lang(pt-BR):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(pt-BR):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(pt-BR):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1072px) {
  :root:lang(vi):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(vi):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(vi):not(.qa-navfit) .hd-nav, :root:lang(vi):not(.qa-navfit) .hd-act .hd-login, :root:lang(vi):not(.qa-navfit) .hd-act .hd-cta, :root:lang(vi):not(.qa-navfit) #themeBtn, :root:lang(vi):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(vi):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(vi):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1066px) {
  :root:lang(tr):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(tr):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(tr):not(.qa-navfit) .hd-nav, :root:lang(tr):not(.qa-navfit) .hd-act .hd-login, :root:lang(tr):not(.qa-navfit) .hd-act .hd-cta, :root:lang(tr):not(.qa-navfit) #themeBtn, :root:lang(tr):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(tr):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(tr):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1229px) {
  :root:lang(ru):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(ru):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(ru):not(.qa-navfit) .hd-nav, :root:lang(ru):not(.qa-navfit) .hd-act .hd-login, :root:lang(ru):not(.qa-navfit) .hd-act .hd-cta, :root:lang(ru):not(.qa-navfit) #themeBtn, :root:lang(ru):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(ru):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(ru):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 997px) {
  :root:lang(ar):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(ar):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(ar):not(.qa-navfit) .hd-nav, :root:lang(ar):not(.qa-navfit) .hd-act .hd-login, :root:lang(ar):not(.qa-navfit) .hd-act .hd-cta, :root:lang(ar):not(.qa-navfit) #themeBtn, :root:lang(ar):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(ar):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(ar):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 980px) {
  :root:lang(hi):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(hi):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(hi):not(.qa-navfit) .hd-nav, :root:lang(hi):not(.qa-navfit) .hd-act .hd-login, :root:lang(hi):not(.qa-navfit) .hd-act .hd-cta, :root:lang(hi):not(.qa-navfit) #themeBtn, :root:lang(hi):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(hi):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(hi):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
@media (min-width: 961px) and (max-width: 1049px) {
  :root:lang(th):not(.qa-navfit) .hd-in { display: flex; gap: 40px; }
  :root:lang(th):not(.qa-navfit) .hd-act { margin-inline-start: auto; justify-self: auto; }
  :root:lang(th):not(.qa-navfit) .hd-nav, :root:lang(th):not(.qa-navfit) .hd-act .hd-login, :root:lang(th):not(.qa-navfit) .hd-act .hd-cta, :root:lang(th):not(.qa-navfit) #themeBtn, :root:lang(th):not(.qa-navfit) .hd-act .hd-lang { display: none; }
  :root:lang(th):not(.qa-navfit) #menuBtn { display: inline-grid; margin-inline-end: -12.5px; }
  :root:lang(th):not(.qa-navfit) .hd-cta-m { display: inline-flex; }
}
