/* =========================================================================
   MyLocalAI — 화이트 · 샴페인 골드 기업형 포털 스타일
   · 외부 CDN·폰트 의존 없음 (오프라인에서도 동일)
   · 데스크톱 / 태블릿 / 모바일 반응형, 가로 스크롤 0
   ========================================================================= */

:root {
  --white: #ffffff;
  --ivory: #faf8f5;
  --ivory-2: #f5f1e9;
  --gold-900: #8a6a0e;
  --gold-800: #9a7310;
  --gold-700: #b8860b;
  --gold-600: #c89b3c;
  --gold-500: #d4af37;
  --gold-300: #e8ce86;
  --gold-100: #f7eed8;
  --gold-50: #fdf8ec;
  --ink: #1e293b;
  --ink-2: #334155;
  --body: #4b5563;
  --muted: #6b7280;
  --muted-2: #9aa1ab;
  --line: #e9e2d4;
  --line-soft: #f1ece3;
  --line-gold: #e3d3ab;
  --ok: #1f7a5c;
  --warn: #a86a12;
  --danger: #b3261e;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1280px;
  --shadow-sm: 0 8px 24px -18px rgba(120, 88, 10, 0.35);
  --shadow: 0 26px 60px -42px rgba(90, 66, 10, 0.45);
  --shadow-gold: 0 18px 38px -22px rgba(150, 110, 20, 0.55);
  /* ── 3D 메탈릭 골드 (금속 박판 · 반짝임) ───────────────────────── */
  --metal-void: #6d4708;
  --metal-deep: #7d5606;
  --metal-mid: #b8860b;
  --metal-bright: #e8be4a;
  --metal-champagne: #f5d67b;
  --metal-pale: #fff3b8;
  /* 세로로 빛나는 금속 박판 — 위는 밝고 아래는 어두워 입체감이 생깁니다 */
  --metal-foil: linear-gradient(180deg,
    #e9cf85 0%, #d9b453 14%, #c39a25 34%, #b8860b 54%,
    #9c710a 74%, #7d5606 90%, #ad8220 100%);
  /* 첫 줄 등 한 단계 어두운 금속 */
  --metal-foil-deep-vert: linear-gradient(180deg,
    #e7cd86 0%, #d3ab45 12%, #b8860b 38%, #9a6f09 62%, #7d5606 84%, #9a7312 100%);
  /* 글자 위로 지나가는 좁은 광택 (흰색이 아니라 연한 샴페인빛) */
  --metal-glint: linear-gradient(100deg,
    rgba(255, 246, 208, 0) 47.6%, rgba(255, 246, 208, 0.3) 49.4%,
    rgba(255, 249, 224, 0.52) 50%, rgba(255, 246, 208, 0.3) 50.6%, rgba(255, 246, 208, 0) 52.4%);
  /* 작은 라벨용 — 어두운 금색 중심(흰 배경에서 3.5:1 이상 유지), 밝은 띠는 좁게 */
  --metal-foil-deep: linear-gradient(100deg,
    #6d4708 0%, #8a6a0e 24%, #a07510 42%, #b0801a 50%,
    #a07510 58%, #8a6a0e 76%, #6d4708 100%);
  /* 글자 위로 지나가는 하이라이트 띠 */
  /* 버튼·배지용 입체 금속 (위는 밝게, 아래는 어둡게 = 베벨) — 글자가 놓이는 가운데는 충분히 깊게 */
  --bevel-gold: linear-gradient(180deg,
    #d3a541 0%, #c39527 12%, #ad800f 32%, #9c720a 58%, #8d6607 82%, #7d5905 100%);
  --bevel-gold-hover: linear-gradient(180deg,
    #e3b957 0%, #d0a434 16%, #bb8b12 40%, #a87c0b 66%, #956c07 88%, #845e05 100%);
  --gold-grad: linear-gradient(135deg, #f0d68a 0%, #d8b24a 28%, #b8860b 62%, #8a6308 86%, #b0821f 100%);
  --gold-text: linear-gradient(100deg, #7d5606 0%, #b8860b 30%, #e8be4a 50%, #b8860b 70%, #7d5606 100%);
  --font: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR", "Noto Sans CJK KR", "Segoe UI", "Helvetica Neue", Arial,
    "Liberation Sans", system-ui, -apple-system, Roboto, "Noto Sans", "DejaVu Sans", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

/* hidden 속성은 항상 숨김 (클래스의 display 값이 덮지 않도록) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-x: hidden;
}

/* 일본어·중국어는 띄어쓰기 없이 길게 이어지는 문장이 많아 글자 단위 줄바꿈을 허용합니다. */
html[lang="ja"] body, html[lang="zh"] body { word-break: normal; line-break: strict; }
html[lang="ja"] .hero h1, html[lang="zh"] .hero h1 { letter-spacing: -0.02em; }
html[lang="ja"] .fb-item p, html[lang="zh"] .fb-item p,
html[lang="ja"] .gpu-grid b, html[lang="zh"] .gpu-grid b,
html[lang="ja"] .gpu-grid span, html[lang="zh"] .gpu-grid span,
html[lang="ja"] .gpu-head p, html[lang="zh"] .gpu-head p,
html[lang="ja"] .any-pc p, html[lang="zh"] .any-pc p { word-break: normal; }

svg { max-width: 100%; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(212, 175, 55, 0.28); }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}

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

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 14px; height: 82px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 0 0 auto; }
.brand-emblem { width: 40px; height: 40px; flex: 0 0 auto; display: block; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 17.2px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.brand-text small {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold-700); text-transform: uppercase; white-space: nowrap;
}

.header-nav {
  display: flex; align-items: center; gap: 16px; margin-left: auto;
  font-size: 12.4px; font-weight: 700; color: var(--ink-2); letter-spacing: 0.01em;
}
.header-nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold-grad); opacity: 0; transform: scaleX(0.4); transition: opacity .18s, transform .18s;
}
.header-nav a:hover { color: var(--gold-800); }
.header-nav a:hover::after, .header-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.header-nav a.is-active { color: var(--gold-800); }

.header-right { display: flex; align-items: center; gap: 8px; }
.header-right .btn { padding-left: 9px; padding-right: 9px; }

/* 모바일 보조 내비 */
.mobile-nav { display: none; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 9px; padding-bottom: 10px; }
.mobile-nav a { font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; padding: 2px 0; }
.mobile-nav a:hover { color: var(--gold-800); }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 1px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.lang-toggle button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--muted);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em;
  min-width: 26px; padding: 5px 5px; border-radius: 999px; cursor: pointer;
}
/* 언어 버튼 — 이니셜 대신 인라인 SVG 미니 국기(외부·이모지 의존 없음) */
.lang-toggle .lang-flag { width: 19px; height: 13px; display: block; }
.lang-toggle button[aria-pressed="true"] { background: var(--gold-50); color: var(--gold-800); box-shadow: inset 0 0 0 1px var(--line-gold); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: 11px; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn:hover { background: var(--ivory); border-color: var(--line-gold); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-gold {
  position: relative; overflow: hidden;
  background-color: #b8860b; background-image: var(--bevel-gold);
  border-color: transparent; color: #fff;
  font-weight: 800; letter-spacing: -0.004em;
  text-shadow: 0 1px 1px rgba(58, 38, 2, 0.55), 0 0 14px rgba(255, 226, 150, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 213, 0.9),
    inset 0 -2px 0 rgba(96, 66, 4, 0.5),
    inset 0 0 0 1px rgba(120, 84, 8, 0.22),
    0 12px 26px -14px rgba(120, 84, 10, 0.7),
    0 2px 4px rgba(60, 42, 4, 0.16);
  transition: background-image .25s ease, box-shadow .22s ease, transform .12s ease, color .18s ease;
}
/* 금속 표면을 훑고 지나가는 광택 (hover) */
.btn-gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0) 66%);
  transform: translateX(-125%);
  transition: transform .72s cubic-bezier(.2, .72, .3, 1);
}
.btn-gold:hover {
  background-image: var(--bevel-gold-hover); border-color: transparent; color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 224, 0.95),
    inset 0 -2px 0 rgba(96, 66, 4, 0.45),
    inset 0 0 0 1px rgba(120, 84, 8, 0.2),
    0 16px 30px -14px rgba(120, 84, 10, 0.72),
    0 0 0 3px rgba(232, 190, 74, 0.16);
}
.btn-gold:hover::after { transform: translateX(125%); }
.btn-gold:focus-visible { outline: 2px solid var(--metal-mid); outline-offset: 3px; }
.btn-outline { background: var(--white); border-color: var(--line-gold); color: var(--gold-800); }
.btn-outline:hover { background: var(--gold-50); border-color: var(--gold-500); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ------------------------------------------------------------ quick rail */
.quick-rail {
  position: fixed; right: 14px; top: 36%; z-index: 50;
  display: flex; flex-direction: column; gap: 6px;
}
.quick-rail a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 56px; padding: 9px 4px 7px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 8.8px; font-weight: 800; letter-spacing: -0.02em; color: var(--muted);
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.quick-rail a svg { width: 18px; height: 18px; color: var(--gold-600); }
.quick-rail a:hover { color: var(--gold-800); border-color: var(--line-gold); background: var(--white); }
.quick-rail .to-top { color: var(--gold-800); border-color: var(--line-gold); }
.quick-rail .to-top svg { color: var(--gold-700); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 34px 0 20px; background: linear-gradient(180deg, #fffdf8 0%, #ffffff 58%); }
.hero-art {
  position: absolute; inset: 0; pointer-events: none; opacity: .62;
  background:
    radial-gradient(680px 420px at 88% 16%, rgba(232, 206, 134, 0.34), transparent 70%),
    radial-gradient(620px 380px at 4% 88%, rgba(232, 206, 134, 0.16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke='%23d9be7a' stroke-width='1' opacity='.4'%3E%3Cpath d='M-40 640C240 500 420 730 760 590S1240 400 1640 540'/%3E%3Cpath d='M-40 692C260 552 440 782 770 642S1250 452 1640 592'/%3E%3Cpath d='M-40 300C220 200 470 350 750 240S1200 100 1640 220'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px; align-items: center;
}

.hero h1 {
  margin: 0 0 15px;
  font-size: clamp(33px, 3.95vw, 53px);
  line-height: 1.1; letter-spacing: -0.045em; font-weight: 900; color: var(--ink);
}
.hero h1 .h1-brand {
  display: block; font-size: 0.62em; letter-spacing: -0.02em; margin-bottom: 6px;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em.l1 {
  background: linear-gradient(100deg, #8a6a0e 0%, #b8860b 55%, #9a7310 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 0 0 21px; max-width: 33em; font-size: 15.6px; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.hero-note { margin: 13px 0 0; font-size: 12.6px; color: var(--muted); }
.hero-pos {
  margin: 16px 0 0; max-width: 34em; padding: 11px 14px;
  font-size: 12.8px; line-height: 1.66; color: #5a4a25;
  background: linear-gradient(180deg, #fffdf7, var(--gold-50));
  border: 1px solid var(--line-gold); border-left: 3px solid var(--gold-500); border-radius: 11px;
}
.hero-pos b { color: var(--gold-900); }
.hero-pos em { font-style: normal; font-weight: 800; color: var(--gold-800); }

.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.2px; font-weight: 650; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px;
}
.badge svg { width: 13px; height: 13px; stroke: var(--gold-600); }

.hero-visual { position: relative; min-width: 0; }
.globe-stage { position: relative; display: flex; justify-content: flex-start; align-items: center; padding-right: 0; }
.globe-img { display: block; height: clamp(330px, 33vw, 486px); width: auto; max-width: 100%; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line-gold);
  border-radius: 13px; padding: 10px 14px; font-size: 11.8px; font-weight: 700; color: var(--ink);
  box-shadow: 0 16px 34px -24px rgba(120, 88, 10, 0.6); backdrop-filter: blur(8px);
}
.float-card small { display: block; font-size: 10.2px; font-weight: 600; color: var(--muted); }
.float-card .ic {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--gold-50); border: 1px solid var(--line-gold); color: var(--gold-700);
}
.float-card .ic svg { width: 15px; height: 15px; }
.float-a { top: 2%; left: 1%; }
.float-b { bottom: 9%; left: 4%; }

/* 플로팅 회사소개 카드 (히어로 우측) */
.about-float {
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 268px; z-index: 3;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line-gold); border-radius: 18px;
  padding: 11px 13px 12px;
  box-shadow: 0 34px 66px -48px rgba(110, 80, 10, 0.62), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.af-photo {
  position: relative; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--line-gold); background: var(--ivory-2);
}
.af-photo img { display: block; width: 100%; height: 122px; object-fit: cover; }
.af-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0) 46%, rgba(255, 251, 238, 0.34) 100%);
}
.af-stamp {
  position: absolute; left: 7px; bottom: 7px; z-index: 1;
  font-size: 8.6px; font-weight: 800; letter-spacing: 0.13em; color: #fff;
  background: rgba(104, 74, 8, 0.52); border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px; padding: 2px 7px; backdrop-filter: blur(3px);
}
.af-title {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 5px; font-size: 12.4px; font-weight: 850; letter-spacing: 0.02em; color: var(--gold-900);
}
.af-title::before { content: ""; width: 13px; height: 2px; border-radius: 2px; background: var(--gold-grad); flex: 0 0 auto; }
.af-desc { margin: 0; font-size: 11.4px; line-height: 1.6; color: var(--body); }
.af-keys {
  list-style: none; margin: 9px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--line-gold);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px;
}
.af-keys li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.af-keys svg { width: 15px; height: 15px; color: var(--gold-600); }
.af-keys b { font-size: 10.1px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.af-keys span { font-size: 8.8px; color: var(--muted-2); white-space: nowrap; letter-spacing: -0.03em; }
.af-link {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  margin-top: 8px; font-size: 10.4px; font-weight: 800; color: var(--gold-800);
}
.af-link:hover { color: var(--gold-900); }

/* ------------------------------------------------------------ feature bar */
.bar-wrap { padding: 0 0 10px; }
.feature-bar {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.fb-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 17px 12px 15px; border-right: 1px solid var(--line-soft);
}
.fb-item:last-child { border-right: 0; }
.fb-ic {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; background: var(--gold-50); border: 1px solid var(--line-soft);
}
.fb-ic svg { width: 25px; height: 25px; }
.fb-item b { font-size: 13.6px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.fb-item p { margin: 0; font-size: 11.4px; line-height: 1.5; color: var(--muted); word-break: keep-all; }

/* ------------------------------------------------------------ sections */
.section { padding: 66px 0; position: relative; }
section[id] { scroll-margin-top: 96px; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .kicker, .kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em;
  color: var(--gold-700); text-transform: uppercase;
}
.section-head h2 {
  margin: 10px 0 12px; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.24;
  letter-spacing: -0.035em; font-weight: 850; color: var(--ink);
}
.section-head p { margin: 0; font-size: 15.5px; color: var(--body); }

/* ------------------------------------------------------------ dashboard */
.dash-section { padding: 34px 0 34px; background: var(--ivory); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.dash-grid { display: grid; grid-template-columns: 292px minmax(0, 1fr) 292px; gap: 16px; align-items: start; }

.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm); min-width: 0;
}
.panel-head h2 { margin: 0 0 6px; font-size: 17.5px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.panel-head p { margin: 0; font-size: 12.8px; color: var(--muted); }
.panel-head.center { text-align: center; margin-bottom: 20px; }
.panel-head.center h2 { margin-top: 6px; }
.panel-head.center .kicker { font-size: 11px; }

/* quick license check */
.quick-form { margin: 16px 0 12px; display: flex; flex-direction: column; gap: 9px; }
.quick-form input {
  width: 100%; padding: 12px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ivory);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink);
}
.quick-form input::placeholder { color: #b6b0a3; letter-spacing: 0.02em; }
.quick-form input:focus { outline: none; border-color: var(--gold-500); background: var(--white); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }

.quick-result { font-size: 12.6px; color: var(--body); }
.quick-result:empty { display: none; }
.qr-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--ivory); }
.qr-box .row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.qr-box .row span { color: var(--muted); }
.qr-box .row b { color: var(--ink); font-weight: 700; }
.qr-box .more { display: inline-block; margin-top: 8px; color: var(--gold-800); font-weight: 700; font-size: 12px; }
.qr-error { border: 1px solid #ecd6d2; background: #fdf3f1; color: var(--danger); border-radius: 10px; padding: 10px 12px; font-size: 12.3px; }

.quick-points { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.quick-points li { font-size: 12.3px; color: var(--muted); padding-left: 14px; position: relative; }
.quick-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.quick-points a { color: var(--gold-800); font-weight: 700; }

/* pricing inside dashboard */
.pricing-panel { border-color: var(--line-gold); box-shadow: 0 26px 60px -46px rgba(120, 88, 10, 0.55); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price-note { margin: 16px 0 0; font-size: 11.9px; line-height: 1.7; color: var(--muted); }

.plan {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 16px; background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.plan:hover { transform: translateY(-2px); border-color: var(--line-gold); }
.plan-tag {
  align-self: flex-start; font-size: 10.2px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--gold-800); background: var(--gold-50); border: 1px solid var(--line-gold);
  border-radius: 999px; padding: 3px 9px; margin-bottom: 10px;
}
.plan-tag.free { color: var(--ink-2); background: var(--ivory-2); border-color: var(--line); }
.plan h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.plan .sub { margin: 0 0 14px; font-size: 12.2px; color: var(--muted); min-height: 18px; }
.plan .amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan .krw { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .usd { font-size: 13px; font-weight: 800; color: var(--gold-700); }
.plan .per { font-size: 11.5px; color: var(--muted-2); }
.plan .fee-note { margin: 8px 0 0; font-size: 11.2px; color: var(--muted); line-height: 1.5; }
.plan ul { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 5px; }
.plan li { display: flex; gap: 7px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.plan li svg { flex: 0 0 13px; width: 13px; height: 13px; margin-top: 3px; stroke: var(--gold-600); }
.plan .btn { margin-top: auto; }
.plan li.more { color: var(--muted-2); font-size: 11.6px; padding-left: 20px; }

.plan.featured {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, #fffdf6, #fbf3df 78%);
  box-shadow: 0 20px 44px -34px rgba(150, 110, 20, 0.75);
}
.plan.featured .plan-tag { color: #fff; background: var(--gold-grad); border-color: transparent; }
.plan.free { background: linear-gradient(180deg, #ffffff, #fbfaf7); }
.plan.free .krw { color: var(--gold-800); }
.plan .trial-note { margin: 10px 0 0; font-size: 11.3px; color: var(--muted); line-height: 1.55; }
.plan ol.trial-steps {
  list-style: none; margin: 8px 0 14px; padding: 12px 0 0; border-top: 1px dashed var(--line);
  display: grid; gap: 5px; counter-reset: ts;
}
.plan ol.trial-steps li { display: flex; gap: 7px; font-size: 11.6px; color: var(--muted); counter-increment: ts; }
.plan ol.trial-steps li::before {
  content: counter(ts); flex: 0 0 15px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--gold-50); border: 1px solid var(--line-gold); color: var(--gold-800);
  font-size: 9px; font-weight: 800; display: grid; place-items: center; margin-top: 2px;
}

/* support panel */
.support-list { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 2px; }.support-list li { padding: 0; border-bottom: 1px solid var(--line-soft); }
.support-list li:last-child { border-bottom: 0; }
.sup-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-radius: 8px; }
.sup-row:hover { background: var(--gold-50); }
.sup-row:hover b { color: var(--gold-900); }
.sup-row .sic-c { min-width: 0; flex: 1; }
.sup-row .sic-arrow { color: var(--gold-500); font-size: 13px; font-weight: 700; }
.support-list .sic {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--gold-50); border: 1px solid var(--line-soft);
}
.support-list .sic svg { width: 18px; height: 18px; }
.support-list b { display: block; font-size: 12.8px; font-weight: 800; color: var(--ink); }
.support-list .sic-c span { display: block; font-size: 11.4px; color: var(--muted); }

.guide-cta {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-gold); border-radius: 12px; padding: 10px 12px;
  background: var(--gold-50); margin-bottom: 9px;
}
.guide-cta .play {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--gold-grad); color: #fff; box-shadow: var(--shadow-gold);
}
.guide-cta .play svg { width: 14px; height: 14px; margin-left: 1px; }
.guide-cta .gc { min-width: 0; }
.guide-cta b { display: block; font-size: 12.6px; font-weight: 800; color: var(--ink); }
.guide-cta small { display: block; font-size: 10.8px; color: var(--muted); }
.guide-cta .dur {
  margin-left: auto; font-size: 10.4px; font-weight: 800; color: var(--gold-800);
  background: var(--white); border: 1px solid var(--line-gold); border-radius: 999px; padding: 2px 8px;
}
.support-chat {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  font-size: 12.2px; font-weight: 700; color: var(--ink-2); background: var(--white);
}
.support-chat:hover { border-color: var(--line-gold); background: var(--gold-50); color: var(--gold-800); }
.support-chat svg { width: 16px; height: 16px; }

/* 대시보드 카드 안쪽 보조 블록 */
.panel-sub { margin-top: 15px; padding-top: 13px; border-top: 1px dashed var(--line); }
.panel-sub h3 {
  margin: 0 0 8px; font-size: 10.6px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-700);
}
.sub-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.sub-links a {
  display: flex; align-items: center; gap: 8px; padding: 6px 4px 6px 2px; border-radius: 8px;
  font-size: 12.2px; font-weight: 650; color: var(--ink-2);
}
.sub-links a:hover { background: var(--gold-50); color: var(--gold-900); }
.sub-links .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); flex: 0 0 auto; }
.sub-links .sub-arrow { margin-left: auto; color: var(--gold-500); font-size: 11.5px; font-weight: 700; }
.sub-dev { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sub-dev li { display: flex; flex-direction: column; gap: 1px; }
.sub-dev b { font-size: 12.3px; font-weight: 800; color: var(--ink); }
.sub-dev span { font-size: 11.2px; color: var(--muted); }
.sub-more {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 9px;
  font-size: 11.4px; font-weight: 800; color: var(--gold-800);
}
.sub-more:hover { color: var(--gold-900); }
.sub-facts {
  margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line);
  display: grid; gap: 5px;
}
.sub-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sub-facts dt { font-size: 11.2px; color: var(--muted); }
.sub-facts dd { margin: 0; font-size: 11.6px; font-weight: 800; color: var(--ink); }

/* ------------------------------------------------------------ about / info cards */
.about { background: var(--white); }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px;
  background: linear-gradient(180deg, #fff, #fdfbf7);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.info-card:hover { border-color: var(--line-gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.info-card .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-50); border: 1px solid var(--line-soft); margin-bottom: 14px;
}
.info-card .ic svg { width: 21px; height: 21px; }
.info-card h3 { margin: 0 0 7px; font-size: 15.5px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.info-card p { margin: 0; font-size: 13.2px; line-height: 1.62; color: var(--body); }

/* ------------------------------------------------------------ devices */
.devices { background: var(--ivory); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.device-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; background: var(--white);
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.device-card.soon { background: linear-gradient(180deg, #fffdf7, #fbf6ea); border-color: var(--line-gold); }
.device-card .dtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.device-card .dic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-50); border: 1px solid var(--line-soft);
}
.device-card .dic svg { width: 21px; height: 21px; }
.device-card h3 { margin: 4px 0 0; font-size: 16px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.device-card p { margin: 0; font-size: 13.2px; line-height: 1.62; color: var(--body); }
.tag {
  font-size: 10.4px; font-weight: 800; letter-spacing: 0.04em; border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.tag.gold { color: var(--gold-800); background: var(--gold-50); border: 1px solid var(--line-gold); }
.tag.phase { color: #6b5a2a; background: var(--ivory-2); border: 1px solid var(--line); }
.mini-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.mini-list li { position: relative; padding-left: 15px; font-size: 12.4px; color: var(--ink-2); }
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold-500);
}
.device-card .dmeta { margin-top: auto; padding-top: 10px; font-size: 11.3px; color: var(--muted-2); font-family: var(--mono); }

/* ------------------------------------------------------------ features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ------------------------------------ 기본 포함 범위 · 확장 안내 카드 */
.pos-card {
  margin: 0 0 22px; padding: 22px 24px 20px;
  background: linear-gradient(180deg, #fffdf7 0%, var(--white) 100%);
  border: 1px solid var(--line-gold); border-radius: 18px;
  box-shadow: 0 18px 44px -38px rgba(90, 68, 14, 0.55);
}
.pos-kicker {
  display: inline-block; font-size: 10.6px; font-weight: 850; letter-spacing: 0.14em;
  color: var(--gold-700); text-transform: uppercase;
}
.pos-card h3 { margin: 6px 0 8px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.pos-lead { margin: 0 0 16px; font-size: 13.6px; line-height: 1.72; color: var(--body); }
.pos-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pos-list li {
  display: grid; gap: 3px; padding: 12px 13px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line-soft);
}
.pos-no {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  font-size: 10.5px; font-weight: 850; color: var(--gold-800);
  background: var(--gold-50); border: 1px solid var(--line-gold);
}
.pos-list b { font-size: 12.8px; font-weight: 850; color: var(--ink); }
.pos-list span:last-child { font-size: 12.2px; color: var(--muted); line-height: 1.5; }
.pos-note { margin: 14px 0 0; font-size: 11.8px; color: var(--gold-900); }
.feature {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  background: var(--white); display: flex; flex-direction: column; gap: 7px;
}
.feature.pro { border-color: var(--line-gold); background: linear-gradient(180deg, #fffdf7, #fdfaf2); }
.feature h3 { margin: 0; font-size: 15.2px; font-weight: 800; display: flex; align-items: center; gap: 8px; letter-spacing: -0.025em; }
.feature h3 em {
  font-style: normal; font-size: 9.6px; font-weight: 800; letter-spacing: .06em;
  color: var(--gold-800); background: var(--gold-50); border: 1px solid var(--line-gold);
  border-radius: 5px; padding: 1px 5px;
}
.feature p { margin: 0; font-size: 13.1px; color: var(--body); }
.feature .meta { margin-top: auto; padding-top: 10px; font-size: 11.2px; color: var(--muted-2); font-family: var(--mono); }

/* ------------------------------------------------------------ news (이번 업데이트) */
.news {
  padding: 46px 0 54px;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  border-top: 1px solid var(--line-soft);
}
.news .section-head { margin-bottom: 26px; }
.news .feature h3 { flex-wrap: wrap; }
.news .feature h3 span { min-width: 0; }

/* ------------------------------------------------------------ how */
.how { background: var(--ivory); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 22px; background: var(--white); }
.step .no { font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--gold-600); }
.step h3 { margin: 10px 0 8px; font-size: 16.5px; font-weight: 850; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--body); font-size: 13.4px; }
.step .mini { margin-top: 14px; font-family: var(--mono); font-size: 11.3px; color: var(--gold-800); }

/* ------------------------------------------------------------ requirements */
.req-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: auto; background: var(--white); }
.req-table { width: 100%; border-collapse: collapse; font-size: 13.2px; table-layout: fixed; }
.req-table th, .req-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); word-break: keep-all; overflow-wrap: anywhere; }
.req-table th { background: var(--ivory); font-size: 12.2px; letter-spacing: .03em; color: var(--ink-2); font-weight: 800; }
.req-table td { color: var(--body); }
.req-table tr:last-child td { border-bottom: 0; }
.req-table td b { color: var(--ink); font-weight: 800; }

/* 그래픽카드 자동 감지 — NVIDIA · AMD · Intel · CPU 전용 */
.gpu-strip {
  margin-top: 22px; padding: 20px 18px 18px;
  border: 1px solid var(--line-gold); border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fdfaf1);
}
.gpu-head h3 { margin: 9px 0 6px; font-size: 16.5px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.gpu-head p { margin: 0; font-size: 13.2px; color: var(--body); line-height: 1.6; word-break: keep-all; }
.gpu-detect {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.6px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-800);
}
.gpu-detect i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16); animation: gpuPulse 2.4s ease-in-out infinite;
}
@keyframes gpuPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14); } 50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.06); } }
.gpu-grid {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.gpu-grid li { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 12px 13px 13px; }
.gpu-grid b {
  display: block; font-size: 12.6px; font-weight: 850; color: var(--ink);
  letter-spacing: -0.01em; word-break: keep-all;
}
.gpu-grid span { display: block; margin-top: 6px; font-size: 12.1px; line-height: 1.55; color: var(--body); word-break: keep-all; overflow-wrap: anywhere; }
.any-pc { margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line-gold); }
.any-pc b { display: block; font-size: 12.8px; font-weight: 850; color: var(--gold-800); }
.any-pc p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--body); word-break: keep-all; }

/* ------------------------------------------------------------ security */
.security { background: var(--white); }
.security-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.security-copy h2 { margin: 10px 0 14px; font-size: clamp(25px, 2.8vw, 34px); letter-spacing: -0.035em; font-weight: 850; }
.security-copy p { margin: 0 0 20px; font-size: 15px; color: var(--body); }
.security-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.security-cards article {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px;
  background: linear-gradient(180deg, #fff, #fdfbf7);
}
.security-cards h3 { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.security-cards p { margin: 0; font-size: 12.4px; color: var(--body); line-height: 1.55; }

/* ------------------------------------------------------------ guide band */
.guide-section { padding: 20px 0 30px; }
.guide-band {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--line-gold); border-radius: 20px; padding: 26px 28px;
  background:
    radial-gradient(520px 200px at 8% 10%, rgba(232, 206, 134, 0.35), transparent 70%),
    linear-gradient(120deg, #fffdf7, #fbf4e3);
}
.guide-band:hover { border-color: var(--gold-500); }
.guide-band .play {
  width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--gold-grad); color: #fff; box-shadow: var(--shadow-gold);
}
.guide-band .play svg { width: 22px; height: 22px; margin-left: 2px; }
.guide-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 360px; }
.guide-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: var(--gold-700); }
.guide-copy strong { font-size: clamp(18px, 2.2vw, 23px); font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.guide-desc { font-size: 13.2px; color: var(--body); }
.guide-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.guide-right .dur {
  font-size: 11.3px; font-weight: 800; color: var(--gold-800);
  background: var(--white); border: 1px solid var(--line-gold); border-radius: 999px; padding: 3px 10px;
}
.guide-state { flex-basis: 100%; text-align: right; font-size: 11.2px; color: var(--muted); }
.guide-state:empty { display: none; }
.guide-btn { margin-top: 12px; border-color: var(--line-gold); background: var(--gold-50); color: var(--gold-900); }

/* ------------------------------------------------------------ metrics */
.metrics { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--ivory); padding: 26px 0; }
.metrics-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric { text-align: center; padding: 6px 12px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric b {
  display: block; font-size: 26px; font-weight: 900; letter-spacing: -0.04em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric b span { font-size: 13px; margin-left: 1px; }
.metric > span { font-size: 11.8px; color: var(--muted); }

/* ------------------------------------------------------------ trial band */
.trial-band-wrap { padding: 56px 0 20px; }
.trial-band {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  border: 1px solid var(--line-gold); border-radius: 22px; padding: 32px 34px;
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(232, 206, 134, 0.4), transparent 70%),
    linear-gradient(120deg, #fffdf8, #fbf3e0);
}
.trial-band .kicker { font-size: 11px; }
.trial-band h3 { margin: 8px 0 8px; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.035em; font-weight: 850; }
.trial-band p { margin: 0; max-width: 52em; font-size: 13.8px; color: var(--body); }
.trial-band .btn { margin-left: auto; }

/* ------------------------------------------------------------ faq / support */
.support { background: var(--white); }
.faq { display: grid; gap: 10px; max-width: 900px; }
details.q { border: 1px solid var(--line); border-radius: 13px; background: var(--white); padding: 0 20px; }
details.q[open] { border-color: var(--line-gold); background: var(--gold-50); }
details.q summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 750; font-size: 14.6px;
  display: flex; align-items: center; gap: 12px; color: var(--ink);
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; margin-left: auto; color: var(--gold-700); font-size: 19px; font-weight: 500; line-height: 1; }
details.q[open] summary::after { content: "−"; }
details.q .a { padding: 0 0 17px; color: var(--body); font-size: 13.6px; max-width: 66em; }
details.q .a a { color: var(--gold-800); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--ivory); padding: 46px 0 54px; }
.footer-top { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin: 12px 0 14px; color: var(--muted); font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 3px; font-size: 12.6px; color: var(--ink-2); }
.footer-contact a { color: var(--gold-800); font-weight: 700; }
.footer-contact span { color: var(--muted-2); font-size: 11.8px; }

.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; min-width: 104px; }
.footer-cols b { font-size: 12.4px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.footer-cols a { font-size: 12.8px; color: var(--muted); }
.footer-cols a:hover { color: var(--gold-800); }

/* 푸터 — 운영체제별 다운로드·업그레이드 목록 (#releases?os=… 로 이동) */
.footer-cols .footer-os { min-width: 150px; }
.footer-os > a { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.footer-os .fo-name { font-size: 12.8px; font-weight: 600; color: var(--ink-2); }
.footer-os .fo-sub { font-size: 11px; color: var(--muted-2); }
.footer-os > a:hover .fo-name,
.footer-os > a:focus-visible .fo-name { color: var(--gold-800); }
.footer-os > a:hover .fo-sub,
.footer-os > a:focus-visible .fo-sub { color: var(--gold-700); }
.footer-os > a:focus-visible { outline: 2px solid var(--line-gold); outline-offset: 3px; border-radius: 4px; }
.footer-os .fo-all { margin-top: 3px; padding-top: 7px; border-top: 1px solid var(--line-soft); }

.biz-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 30px;
  font-size: 12.2px; color: var(--muted-2); padding-top: 22px; border-top: 1px solid var(--line);
}
.biz-grid div { display: flex; gap: 10px; min-width: 0; }
.biz-grid dt { color: var(--muted); min-width: 118px; flex: 0 0 auto; }
.biz-grid dd { margin: 0; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.foot-note { margin-top: 18px; font-size: 11.8px; color: var(--muted); line-height: 1.7; }
.foot-copy { margin-top: 12px; font-size: 11.8px; color: var(--muted-2); }

/* ------------------------------------------------------------ modal */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(32, 26, 12, 0.38); backdrop-filter: blur(5px);
  padding: 24px; overflow-y: auto;
}
.overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  width: 100%; max-width: 520px; margin: 5vh auto 40px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 90px -50px rgba(60, 44, 8, 0.55); padding: 26px;
}
.modal.lg { max-width: 720px; }
.modal-head { display: flex; align-items: flex-start; gap: 14px; }
.modal-head h2 { margin: 0; font-size: 21px; letter-spacing: -0.03em; font-weight: 850; color: var(--ink); }
.modal-head .x {
  margin-left: auto; border: 1px solid var(--line); background: var(--ivory); color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 9px; cursor: pointer; font-size: 15px; line-height: 1;
}
.modal-head .x:hover { background: var(--ivory-2); }
.modal-sub { color: var(--muted); font-size: 13.2px; margin: 6px 0 18px; }

/* 라이선스 없이 설치·다운로드를 시도했을 때 결제 창 위에 뜨는 안내 */
.co-gate {
  border: 1px solid var(--line-gold); border-radius: 12px; background: #FFFDF6;
  padding: 13px 15px; margin: 0 0 16px;
}
.co-gate b { display: block; font-size: 13.2px; font-weight: 800; color: var(--gold-800); }
.co-gate p { margin: 5px 0 8px; font-size: 12.6px; line-height: 1.55; color: var(--ink-2); }
.co-gate .link-btn { font-size: 12.4px; text-decoration: underline; text-underline-offset: 3px; }

.summary { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--ivory); margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.2px; padding: 4px 0; color: var(--muted); }
.summary .row b { color: var(--ink); font-weight: 700; text-align: right; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 14.4px; }
.summary .row.total b { font-size: 19px; color: var(--gold-800); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.4px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; }
.field input[type="email"], .field input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
  font-size: 14px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--gold-500); background: var(--white); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }
.field .hint { font-size: 11.4px; color: var(--muted-2); margin-top: 6px; }

.notice-box { border: 1px solid var(--line-gold); background: var(--gold-50); border-radius: 12px; padding: 13px 15px; margin: 2px 0 12px; }
.notice-box strong { display: block; font-size: 12.4px; font-weight: 800; color: var(--gold-900); margin-bottom: 5px; }
.notice-box p { margin: 0; font-size: 12.2px; line-height: 1.66; color: #5a4a25; }
.notice-box b { color: var(--gold-900); }
.notice-box.key-warn { border-color: #d9a741; background: #fff7e3; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line-gold); background: #fffdf6;
  border-radius: 12px; padding: 13px 14px; margin: 4px 0 14px; font-size: 12.5px; color: #4a3f24; line-height: 1.6;
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #b8860b; flex: 0 0 auto; }
.consent a { color: var(--gold-800); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.consent-hint { margin: -4px 0 14px; font-size: 11.4px; color: var(--warn); }
.consent-hint:empty { display: none; }

.install-guide { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--ivory); margin-bottom: 14px; }
.install-guide h3 { margin: 0 0 10px; font-size: 13.6px; font-weight: 850; color: var(--ink); }
.install-guide ol { margin: 0 0 14px; padding-left: 18px; font-size: 12.6px; color: var(--body); line-height: 1.7; }
.install-guide li { margin-bottom: 4px; }
.install-guide b { color: var(--ink); }
.download-note { margin: 8px 0 0; font-size: 11.3px; color: var(--muted); text-align: center; }
.download-note.warn { color: var(--warn); }
.btn.pending { opacity: .8; }

.pay-buttons { display: grid; gap: 9px; }
.pay-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 13px 16px; cursor: pointer; text-align: left; font-size: 13.6px; font-weight: 750;
  transition: background .16s ease, border-color .16s ease;
}
.pay-btn:hover { background: var(--gold-50); border-color: var(--line-gold); }
.pay-btn .logo-txt {
  width: 44px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 900; letter-spacing: -0.02em; flex: 0 0 auto;
  background: var(--ink); color: #fff;
}
.pay-btn.dodo .logo-txt { background: #0b0f16; color: #7cf7cf; }
.pay-btn small { display: block; font-weight: 600; font-size: 11.2px; color: var(--muted); }
.pay-btn .arrow { margin-left: auto; color: var(--gold-700); }
.pay-btn[disabled] { opacity: .45; cursor: not-allowed; background: var(--ivory); }
.pay-btn[disabled] .logo-txt { filter: grayscale(1); opacity: .7; }
.pay-btn .stat {
  margin-left: auto; font-size: 9.8px; font-weight: 800; letter-spacing: .04em;
  color: var(--gold-800); border: 1px solid var(--line-gold); border-radius: 999px; padding: 2px 7px; background: var(--gold-50);
}
.pay-note { margin: 14px 0 0; font-size: 11.4px; color: var(--muted); line-height: 1.65; }
.pay-error {
  display: none; margin-top: 12px; border-radius: 10px; padding: 10px 13px;
  background: #fdf3f1; border: 1px solid #ecd6d2; color: var(--danger); font-size: 12.6px;
}
.pay-error.show { display: block; }

#toss-widgets { display: none; margin-top: 4px; }
#toss-widgets.show { display: block; }
#toss-widgets .wbox { margin-bottom: 10px; }
.wgt-note { font-size: 11.3px; color: var(--muted); margin: 0 0 8px; }

.key-box {
  border: 1px dashed var(--gold-500); background: var(--gold-50);
  border-radius: 14px; padding: 18px 16px; text-align: center; margin: 6px 0 16px;
}
.key-box .label { font-size: 11px; letter-spacing: .14em; color: var(--gold-800); font-weight: 800; }
.key-box .key {
  font-family: var(--mono); font-size: clamp(16px, 4.2vw, 21px); font-weight: 800;
  letter-spacing: 0.06em; margin: 8px 0 12px; color: var(--ink); word-break: break-all;
}
.key-box .copy { font-size: 12.2px; padding: 7px 12px; }
.result-list { margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.result-list b { color: var(--ink); }
.modal-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1 1 auto; }

.legal-body { max-height: 62vh; overflow-y: auto; padding-right: 6px; font-size: 13.2px; color: var(--ink-2); }
.legal-body h4 { margin: 20px 0 6px; font-size: 13.6px; color: var(--ink); }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { margin: 0 0 10px; padding-left: 18px; }
.legal-body li { margin-bottom: 4px; }
.legal-note { font-size: 11.4px; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }

/* ------------------------------------------------------------ toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); border: 1px solid var(--ink-2); color: #fff;
  padding: 12px 18px; border-radius: 11px; font-size: 13.2px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 140;
  max-width: min(92vw, 560px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* -------------------------------------------- 정식 오픈 전 잠금 안내 모달 */
.lock-modal {
  max-width: 452px; margin-top: 9vh; padding: 30px 28px 26px; text-align: center;
  background: linear-gradient(180deg, #fffdf7 0%, var(--white) 46%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 46px 100px -46px rgba(90, 68, 14, 0.55), 0 0 0 4px rgba(247, 238, 216, 0.6);
}
.lock-x {
  position: absolute; top: 14px; right: 14px;
  margin-left: 0 !important; border: 1px solid var(--line-gold) !important;
  background: var(--white) !important; color: var(--gold-700) !important;
}
.lock-modal { position: relative; }
.lock-emblem { display: block; width: 60px; height: 60px; margin: 2px auto 12px; }
.lock-emblem svg { width: 100%; height: 100%; }
.lock-kicker {
  display: block; font-size: 10px; font-weight: 850; letter-spacing: 0.2em;
  color: var(--gold-600); text-transform: uppercase;
}
.lock-modal h2 {
  margin: 7px 0 10px; font-size: 21px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--ink);
}
.lock-message {
  margin: 0 auto; max-width: 22em; font-size: 13.4px; line-height: 1.72; color: #4a3f24;
}
.lock-hint { margin: 10px auto 0; max-width: 24em; font-size: 11.8px; line-height: 1.62; color: var(--muted); }
.lock-actions { display: grid; gap: 8px; margin-top: 20px; }
.lock-actions .btn { width: 100%; }

/* ------------------------------------ 회원가입 필수 게이트 (2026-12-01) */
.mg-modal { max-width: 486px; }
.mg-list {
  list-style: none; margin: 14px auto 0; padding: 0; max-width: 24em;
  display: grid; gap: 6px; text-align: left;
}
.mg-list li {
  position: relative; padding: 7px 10px 7px 27px; border-radius: 9px;
  font-size: 12.4px; line-height: 1.5; color: #46391c;
  background: #fffdf6; border: 1px solid rgba(212, 175, 55, 0.22);
}
.mg-list li::before {
  content: ""; position: absolute; left: 10px; top: 12px; width: 9px; height: 9px;
  border-radius: 50%; background: linear-gradient(140deg, #F6E3A8, #C89A33 62%, #8A6420);
  box-shadow: 0 0 0 2px rgba(247, 238, 216, 0.85);
}
.mg-actions { margin-top: 16px; }
.mg-actions .mg-later { font-size: 12.4px; opacity: .78; }
.mg-foot { margin: 12px 0 0; font-size: 11.2px; color: var(--muted); }
@media (max-width: 480px) {
  .mg-modal { padding: 24px 18px 20px; }
  .mg-list li { font-size: 12px; }
}

/* ====================================== 신규 가입자 30% 추가 할인 이벤트 팝업 */
/* 화이트 + 샴페인·메탈릭 골드 — 작고 화려한 모달(데스크톱·390px 모두 가운데 정렬) */
.overlay.promo-overlay {
  background: rgba(30, 24, 10, 0.46);
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
}
.overlay.promo-overlay.open { align-items: center; padding: 18px; }
.promo-modal {
  position: relative; width: 100%; max-width: 396px; margin: 0 auto; padding: 27px 22px 15px;
  text-align: center; overflow: hidden;
  border: 1.5px solid transparent; border-radius: 24px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 66%, rgba(255, 247, 219, 0.42) 78%, rgba(255, 255, 255, 0.8) 84%, rgba(255, 247, 219, 0.22) 90%, rgba(255, 255, 255, 0) 97%) padding-box,
    radial-gradient(120% 76% at 50% -6%, #ffffff 0%, #fffdf8 48%, #fffefb 78%, #fff9ec 100%) padding-box,
    linear-gradient(140deg, #f9edc8 0%, #d9b453 18%, #b8860b 38%, #f3dd97 55%, #a87c0b 72%, #8a6308 88%, #e8ce86 100%) border-box;
  box-shadow:
    0 38px 84px -34px rgba(80, 58, 8, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset,
    0 0 0 6px rgba(247, 238, 216, 0.62),
    0 0 0 7px rgba(227, 211, 171, 0.55),
    0 0 34px -6px rgba(232, 190, 74, 0.35);
  animation: promoIn 0.42s cubic-bezier(.2, .7, .25, 1) both;
}
/* 위쪽 금속 박판 띠 */
.promo-modal::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; pointer-events: none;
  background-image: var(--metal-foil);
  background-size: 220% 100%; background-repeat: no-repeat; background-position: 12% 50%;
  animation: metal-drift 17s ease-in-out infinite alternate;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 -1px 0 rgba(120, 84, 10, 0.35),
    0 3px 10px -4px rgba(120, 84, 10, 0.55);
}
/* 카드를 대각선으로 훑고 지나가는 샴페인 광택 */
.promo-modal::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 42%; left: -60%;
  pointer-events: none; transform: skewX(-14deg); mix-blend-mode: screen;
  background: linear-gradient(90deg,
    rgba(255, 246, 208, 0) 0%, rgba(255, 246, 208, 0.55) 40%,
    rgba(255, 255, 255, 0.95) 50%, rgba(255, 246, 208, 0.55) 60%, rgba(255, 246, 208, 0) 100%);
  animation: promoSheen 6.4s ease-in-out 1.1s infinite;
}
.promo-aura {
  position: absolute; left: -20%; right: -20%; top: -170px; height: 300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 190, 74, 0.28), rgba(232, 190, 74, 0) 72%);
}
/* 액자처럼 한 겹 더 도는 얇은 금선은 카드 자체의 이중 테두리(box-shadow 링)로 그립니다. */
.promo-spark {
  position: absolute; font-size: 17px; line-height: 1; color: #dcae2e; opacity: 0.85;
  text-shadow: 0 0 12px rgba(232, 190, 74, 1), 0 0 3px rgba(255, 255, 255, 0.95); pointer-events: none;
  animation: promoTwinkle 3.6s ease-in-out infinite;
}
.promo-spark.s1 { top: 15px; left: 16px; animation-delay: .2s; }
.promo-spark.s2 { bottom: 54px; right: 15px; font-size: 13px; animation-delay: 1.2s; }
.promo-spark.s3 { top: 45%; left: 11px; font-size: 11px; animation-delay: 2.3s; }

.promo-x {
  position: absolute; top: 12px; right: 12px; z-index: 3; margin-left: 0 !important;
  width: 30px; height: 30px; border-radius: 9px; cursor: pointer; font-size: 13px; line-height: 1;
  border: 1px solid var(--line-gold) !important; background: rgba(255, 255, 255, 0.88) !important;
  color: var(--gold-700) !important;
}
.promo-x:hover { background: var(--gold-50) !important; }

.promo-badge {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 15px; border-radius: 999px; color: #fff;
  font-size: 11.5px; font-weight: 850; letter-spacing: 0.01em;
  background-color: #b8860b;
  background-image: linear-gradient(180deg, #e9cf85 0%, #d9b453 22%, #c39a25 52%, #a87c0b 82%, #7d5606 100%);
  background-size: 100% 100%;
  box-shadow:
    0 1px 0 rgba(255, 249, 224, 0.9) inset,
    0 -2px 3px rgba(90, 60, 2, 0.45) inset,
    0 10px 18px -12px rgba(120, 84, 10, 0.85);
  text-shadow: 0 1px 1px rgba(74, 50, 3, 0.55);
}
.promo-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 64%);
  background-size: 250% 100%; background-repeat: no-repeat;
  animation: promoBadgeSheen 5.2s ease-in-out infinite;
}

.promo-title {
  position: relative; z-index: 2; margin: 13px 0 12px; font-size: 22px; line-height: 1.3;
  font-weight: 900; letter-spacing: -0.038em; word-break: keep-all; color: #7d5606;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .promo-title {
    background-image: linear-gradient(100deg, #5f3d04 0%, #8a6308 18%, #b8860b 34%, #e8be4a 48%, #fff0b8 53%, #d4af37 60%, #9a7310 76%, #6d4708 100%);
    background-size: 220% 100%; background-repeat: no-repeat; background-position: 40% 50%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: metal-drift 9s ease-in-out infinite alternate;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 3px rgba(120, 84, 10, 0.18));
  }
}

/* 30% 메달 — 입체 금속 원반 */
.promo-medal {
  position: relative; z-index: 2; width: 94px; height: 94px; margin: 2px auto 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 34% 22%, #fffbee 0%, #f8e6b0 14%, #e5c877 34%, #c69a24 56%, #9a710a 78%, #7d5606 100%);
  border: 2px solid #f8ebc2;
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.95) inset,
    0 -5px 10px rgba(90, 60, 2, 0.45) inset,
    0 16px 28px -14px rgba(120, 84, 10, 0.9),
    0 0 0 4px rgba(255, 253, 246, 0.95),
    0 0 0 5px rgba(227, 211, 171, 0.9),
    0 0 22px -2px rgba(232, 190, 74, 0.55);
}
.promo-medal b {
  font-size: 29px; font-weight: 900; letter-spacing: -0.045em; line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 248, 224, 0.55), 0 2px 2px rgba(74, 50, 3, 0.65), 0 0 18px rgba(255, 240, 190, 0.4);
}
.promo-medal i {
  margin-top: 4px; font-style: normal; font-size: 9.5px; font-weight: 850; letter-spacing: 0.06em;
  color: #fff8e0; text-shadow: 0 1px 1px rgba(74, 50, 3, 0.65);
}
.pm-shine {
  position: absolute; top: -30%; bottom: -30%; width: 40%; left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
  animation: promoMedalSheen 4.6s ease-in-out infinite;
}

.promo-benefit {
  position: relative; z-index: 2; margin: 0 auto 15px; max-width: 22em;
  font-size: 14.2px; line-height: 1.62; color: #4a3f24; word-break: keep-all;
}
.promo-benefit b { color: #8a6a0e; font-weight: 900; }

.promo-actions { display: grid; gap: 8px; position: relative; z-index: 2; }
.promo-actions .btn { width: 100%; }
.promo-actions .promo-cta { padding: 13px 18px; font-size: 15px; border-radius: 12px; }
.promo-actions .promo-cta svg { width: 18px; height: 18px; }
.promo-actions .promo-trial { padding: 11px 16px; font-size: 13.4px; border-radius: 11px; }

.promo-foot {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 11px;
}
.promo-hide, .promo-close-link {
  font: inherit; font-size: 11.8px; color: var(--muted); background: none; border: 0;
  padding: 6px 3px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.promo-hide:hover, .promo-close-link:hover { color: var(--gold-800); }
.promo-hide:focus-visible, .promo-close-link:focus-visible, .promo-x:focus-visible {
  outline: 2px solid var(--line-gold); outline-offset: 2px; border-radius: 6px;
}
.promo-sep { width: 1px; height: 11px; background: var(--line); }

@keyframes promoIn {
  from { opacity: 0; transform: translateY(14px) scale(0.965); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes promoSheen {
  0%   { left: -60%; opacity: 0; }
  8%   { opacity: 1; }
  42%  { left: 118%; opacity: 1; }
  50%  { left: 118%; opacity: 0; }
  100% { left: 118%; opacity: 0; }
}
@keyframes promoBadgeSheen {
  0%, 12%   { background-position: 130% 50%; }
  46%, 100% { background-position: -30% 50%; }
}
@keyframes promoMedalSheen {
  0%, 18%   { left: -60%; }
  62%, 100% { left: 118%; }
}
@keyframes promoTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  45%      { opacity: 1; transform: scale(1) rotate(0deg); }
  70%      { opacity: 0.45; transform: scale(0.85) rotate(6deg); }
}

/* 무료 체험 30% 추가 할인 — 결제 모달 안내 */
.summary .row.trial span { color: #8a6a0e; font-weight: 800; }
.summary .row.trial b { color: #8a6a0e; font-weight: 850; white-space: nowrap; }
.co-trial-hint {
  margin: -6px 0 14px; padding: 10px 12px; border: 1px dashed var(--line-gold);
  border-radius: 10px; background: #fffdf6; font-size: 11.8px; line-height: 1.58; color: #6a5620;
}

@media (max-width: 420px) {
  .promo-modal { padding: 24px 18px 13px; border-radius: 20px; }
  .promo-title { font-size: 19.5px; }
  .promo-medal { width: 80px; height: 80px; }
  .promo-medal b { font-size: 24px; }
  .promo-benefit { font-size: 13.6px; }
}
@media (max-height: 620px) {
  .overlay.promo-overlay.open { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal, .promo-modal::before, .promo-modal::after, .promo-badge::after,
  .promo-spark, .pm-shine, .promo-title {
    animation: none !important;
  }
  .promo-modal::after, .pm-shine { display: none; }
  .promo-spark { opacity: .8; }
}

/* ------------------------------------------------------------ manage page */
.manage-wrap { padding: 54px 0 90px; background: var(--ivory); min-height: 70vh; }
.manage-card {
  max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: 22px;
  background: var(--white); padding: 32px; box-shadow: var(--shadow-sm);
}
.manage-head { margin-bottom: 22px; }
.manage-head h1 { margin: 6px 0 8px; font-size: 29px; letter-spacing: -0.035em; font-weight: 850; }
.manage-head p { margin: 0; color: var(--body); font-size: 14.2px; }

/* 관리 페이지 상단 골드 배너 */
.manage-hero {
  position: relative; display: flex; align-items: center;
  min-height: 138px; margin-bottom: 24px; padding: 20px 22px;
  border: 1px solid var(--line-gold); border-radius: 16px; overflow: hidden;
  background: linear-gradient(112deg, #fffdf8 0%, #fbf3e1 100%);
}
.manage-hero .mh-text { position: relative; z-index: 1; max-width: 62%; padding-right: 8px; }
.manage-hero h1 { margin: 6px 0 7px; font-size: 27px; letter-spacing: -0.035em; font-weight: 850; color: var(--ink); }
.manage-hero p { margin: 0; font-size: 13.4px; line-height: 1.62; color: var(--body); }
.mh-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.mh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fcf6e8 0%, rgba(252, 246, 232, 0.72) 26%, rgba(252, 246, 232, 0) 72%);
}

.device { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.device:last-child { border-bottom: 0; }
.device .ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--gold-50);
  border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--gold-700);
}
.device .info { min-width: 0; flex: 1; }
.device .info b { display: block; font-size: 13.8px; font-weight: 750; color: var(--ink); }
.device .info span { display: block; font-size: 11.4px; color: var(--muted); font-family: var(--mono); word-break: break-all; }
.device .cur { font-size: 10px; color: var(--gold-800); border: 1px solid var(--line-gold); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }

.lic-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 18px 0; font-size: 12.8px; }
.lic-meta div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.lic-meta span { color: var(--muted); }
.lic-meta b { color: var(--ink); text-align: right; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.3px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.pill.ok { color: var(--ok); background: #eff8f3; border: 1px solid #cfe7db; }
.pill.warn { color: var(--warn); background: #fdf6e7; border: 1px solid #efe0bd; }
.pill.bad { color: var(--danger); background: #fdf3f1; border: 1px solid #ecd6d2; }
.muted-line { font-size: 12.3px; color: var(--muted); line-height: 1.7; }

.manage-sep { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* seller admin (TOTP) */
.admin-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.admin-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-head h2 { margin: 0; font-size: 18px; font-weight: 850; letter-spacing: -0.03em; }
.admin-badge {
  font-size: 10.4px; font-weight: 800; letter-spacing: .05em; color: #fff;
  background: var(--gold-grad); border-radius: 999px; padding: 3px 9px;
}
.admin-desc { margin: 8px 0 16px; font-size: 12.8px; color: var(--muted); }
.admin-box {
  border: 1px solid var(--line-gold); border-radius: 16px; padding: 20px;
  background: linear-gradient(180deg, #fffdf7, #fdfaf3);
}
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.admin-grid .field { margin: 0; }
.admin-grid .wide { grid-column: 1 / -1; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.admin-result { margin-top: 16px; font-size: 12.6px; color: var(--ink-2); }
.admin-result:empty { display: none; }
.admin-result .ok-box { border: 1px solid #cfe7db; background: #f3faf6; border-radius: 12px; padding: 13px 14px; }
.admin-result .bad-box { border: 1px solid #ecd6d2; background: #fdf3f1; border-radius: 12px; padding: 13px 14px; color: var(--danger); }
.admin-result .warn-box { border: 1px solid #efe0bd; background: #fdf8ea; border-radius: 12px; padding: 13px 14px; color: #7a5a14; }
.admin-result dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; margin: 0; }
.admin-result dt { color: var(--muted); }
.admin-result dd { margin: 0; color: var(--ink); font-weight: 650; word-break: break-all; }
.admin-note { margin: 12px 0 0; font-size: 11.4px; color: var(--muted-2); line-height: 1.6; }

/* ------------------------------------------------------------ responsive */

/* ---------------------------------------------- 모바일 단독형 · 호환성 안내 */
.plan.free[data-trial-card] { grid-column: 1 / -1; }
.plan.free ul.trial-list { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .plan.free ul.trial-list { grid-template-columns: 1fr; } }

.plan.mobile { border-color: var(--line-gold); background: linear-gradient(180deg, #ffffff, #fdfaf1); }
.plan.mobile .plan-tag { color: var(--gold-800); background: var(--gold-50); border-color: var(--line-gold); }
.plan.mobile .krw { font-size: 26px; }
.plan .fee-note.warn { color: #8a5a12; background: #fdf7e7; border: 1px solid #efe0bd; border-radius: 9px; padding: 7px 9px; margin: 0 0 12px; }

.compat-link-row { margin: 18px 0 0; text-align: right; }
.compat-link-row .sub-more { display: inline-flex; gap: 6px; font-size: 12.6px; font-weight: 750; color: var(--gold-800); }

.compat { background: var(--white); }
.compat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.compat-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; background: var(--white);
  display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); min-width: 0;
}
.compat-card h3 { margin: 0; font-size: 15.4px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); line-height: 1.4; }
.compat-card p { margin: 0; font-size: 12.8px; line-height: 1.66; color: var(--body); }
.compat-tag {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  border-radius: 999px; padding: 4px 11px; border: 1px solid var(--line);
  background: var(--ivory-2); color: var(--ink-2);
}
.compat-card.ok { border-color: var(--line-gold); background: linear-gradient(180deg, #fffdf6, #fdf9ee); }
.compat-card.ok .compat-tag { background: var(--gold-grad); color: #fff; border-color: transparent; }
.compat-card.mid .compat-tag { background: #fff6e6; border-color: #efdfbc; color: #7a5a14; }
.compat-card.no { background: linear-gradient(180deg, #fffafa, #fbf3f1); }
.compat-card.no .compat-tag { background: #fdeeeb; border-color: #eed6d1; color: #9c3b2c; }

.compat-ios {
  margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  background: var(--ivory-2); display: grid; gap: 5px;
}
.compat-ios .ci-badge {
  justify-self: start; font-size: 10.6px; font-weight: 800; letter-spacing: .04em;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.compat-ios b { font-size: 13.4px; color: var(--ink); }
.compat-ios p { margin: 0; font-size: 12.6px; line-height: 1.66; color: var(--muted); }

.hybrid-band {
  margin-top: 18px; display: flex; gap: 20px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line-gold); border-radius: 20px; padding: 24px;
  background: linear-gradient(120deg, #fffdf6 0%, #fbf2da 60%, #f8ecd0 100%);
}
.hybrid-band .kicker { font-size: 10.6px; letter-spacing: .18em; color: var(--gold-800); font-weight: 800; }
.hybrid-band h3 { margin: 8px 0 8px; font-size: 19px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.hybrid-band p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--body); max-width: 760px; }
.hybrid-band .hb-points { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hybrid-band .hb-points li { font-size: 12.2px; color: var(--ink-2); font-weight: 650; display: flex; gap: 7px; }
.hybrid-band .hb-points li::before { content: "✓"; color: var(--gold-700); font-weight: 900; }
.hybrid-band .btn { flex: 0 0 auto; white-space: nowrap; }

/* ------------------------------------------- 모바일 올인원 비서 12종 (#whatsnew) */
.mob-band {
  margin: 22px 0 0; padding: 24px; border-radius: 20px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(120deg, #fffdf6 0%, #fbf2da 55%, #f8ecd0 100%);
}
.mob-band .kicker { font-size: 10.6px; letter-spacing: .18em; color: var(--gold-800); font-weight: 800; }
.mob-band h3 { margin: 8px 0 8px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); line-height: 1.42; }
.mob-band p.mob-lead { margin: 0; font-size: 13px; line-height: 1.72; color: var(--body); max-width: 820px; }
.mob-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mob-grid li {
  border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 11px 12px;
  display: grid; gap: 4px; min-width: 0;
}
.mob-grid b { font-size: 12.6px; font-weight: 850; color: var(--ink); letter-spacing: -.02em; line-height: 1.35; }
.mob-grid b i { font-style: normal; font-weight: 900; color: var(--gold-700); margin-right: 6px; font-size: 11.4px; }
.mob-grid li > span { font-size: 11.5px; line-height: 1.52; color: var(--muted); }
.mob-band p.mob-note {
  margin: 14px 0 0; font-size: 12.2px; line-height: 1.62; color: #8a5a12;
  background: #fff; border: 1px solid #efe0bd; border-radius: 11px; padding: 10px 12px;
}
.mob-cta { margin-top: 14px; }

/* ------------------------------------------ 폰 사양 구분 밴드 (#compat) */
.spec-band {
  margin: 22px 0 0; padding: 22px; border-radius: 20px;
  border: 1px solid var(--line-gold); background: linear-gradient(180deg, #ffffff, #fdfaf1);
}
.spec-band .kicker { font-size: 10.6px; letter-spacing: .18em; color: var(--gold-800); font-weight: 800; }
.spec-band h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.spec-band p.spec-lead { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 820px; }
.spec-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 0; }
.spec-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 17px; background: #fff;
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.spec-card.yes { border-color: var(--line-gold); background: linear-gradient(180deg, #fffdf6, #fdf9ee); }
.spec-card.mem { border-color: #eed6d1; background: linear-gradient(180deg, #fffafa, #fbf3f1); }
.spec-tag {
  align-self: flex-start; font-size: 10.8px; font-weight: 800; letter-spacing: .02em;
  border-radius: 999px; padding: 4px 11px; border: 1px solid var(--line); background: var(--ivory-2); color: var(--ink-2);
}
.spec-card.yes .spec-tag { background: var(--gold-grad); color: #fff; border-color: transparent; }
.spec-card.mem .spec-tag { background: #fdeeeb; border-color: #eed6d1; color: #9c3b2c; }
.spec-card > b { font-size: 14.4px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); line-height: 1.4; }
.spec-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.spec-card li { position: relative; padding-left: 13px; font-size: 12.4px; line-height: 1.58; color: var(--body); }
.spec-card li::before { content: "·"; position: absolute; left: 2px; top: -1px; color: var(--gold-700); font-weight: 900; }
.spec-band p.spec-note {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px;
  background: #fdf7e7; border: 1px solid #efe0bd; font-size: 12.4px; color: #8a5a12; line-height: 1.62;
}
.spec-band p.spec-note b { color: #6d4708; }
@media (max-width: 1000px) { .mob-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .spec-two { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .mob-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) {
  .mob-grid { grid-template-columns: 1fr; }
  .mob-band, .spec-band { padding: 18px; }
  .mob-band h3, .spec-band h3 { font-size: 17px; }
}

/* 결제 모달 상품 선택 */
.co-plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 10px; }
.co-plan-opt {
  display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; background: #fff;
  transition: border-color .16s ease, background .16s ease;
}
.co-plan-opt.on { border-color: var(--gold-500); background: linear-gradient(180deg, #fffdf6, #fbf3df); }
.co-plan-opt input { margin: 3px 0 0; accent-color: #b8860b; }
.co-plan-opt .cpo-body { display: grid; gap: 2px; min-width: 0; }
.co-plan-opt b { font-size: 13px; font-weight: 850; color: var(--ink); letter-spacing: -0.02em; }
.co-plan-opt small { font-size: 11.2px; color: var(--muted); }
.co-plan-note { margin: 0 0 12px; font-size: 11.9px; line-height: 1.6; color: var(--muted); }
.co-plan-note.warn { color: #7a5a14; background: #fdf8ea; border: 1px solid #efe0bd; border-radius: 10px; padding: 9px 11px; }

.rw-lic { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.rw-lic li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.4px; border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; background: #fff; }
.rw-lic li b { font-weight: 800; color: var(--ink); }
.rw-lic-key { font-family: var(--mono); font-size: 11.2px; color: var(--muted); }
.rw-lic .rw-empty { border-style: dashed; color: var(--muted); }

.mg-account { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.mg-account h2 { font-size: 16px; margin: 0 0 6px; }
.mg-acc-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.mg-acc-list li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; font-size: 12.4px; }
.mg-acc-key { font-family: var(--mono); font-size: 11.2px; color: var(--muted); }
.mg-acc-meta { margin-left: auto; font-weight: 750; color: var(--ink-2); }

@media (max-width: 1080px) {
  .compat-grid { grid-template-columns: 1fr; }
  .hybrid-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .co-plan-switch { grid-template-columns: 1fr; }
  .hybrid-band { padding: 18px; }
  .hybrid-band h3 { font-size: 17px; }
}
@media (max-width: 1360px) {
  .quick-rail { display: none; }
}

@media (max-width: 1360px) {
  .header-inner { gap: 12px; }
  .header-nav { gap: 14px; font-size: 12.2px; }
  .header-right { gap: 8px; }
  .header-right .btn { padding-left: 9px; padding-right: 9px; }
  .lang-toggle button { padding-left: 5px; padding-right: 5px; }
}

/* 좁은 데스크톱: 공간이 모자라면 회원가입 버튼은 숨기고(로그인 창 안에 동일 링크), 1180px 이하에서는 상단 내비를 아래 줄 보조 내비로 옮깁니다. */
@media (max-width: 1300px) {
  #btn-signup { display: none; }
}
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .mobile-nav { display: block; }
}

@media (max-width: 1200px) {
  .quick-rail { display: none; }
  .about-float { width: 244px; }
  .af-photo img { height: 104px; }
  .af-desc { font-size: 10.8px; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .pricing-panel { grid-column: 1 / -1; order: -1; }
  .header-nav { gap: 18px; }
}

@media (max-width: 1080px) {
  .wrap { padding: 0 24px; }
  .header-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { padding: 30px 0 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .globe-stage { padding-right: 0; justify-content: center; }
  .globe-img { height: clamp(300px, 46vw, 430px); }
  .float-a { top: 0; left: 0; }
  .float-b { display: none; }
  .about-float {
    position: relative; right: auto; top: auto; transform: none;
    width: 100%; max-width: 460px; margin: -6px auto 0;
  }
  .af-photo img { height: 146px; }
  .af-title { font-size: 13.2px; }
  .af-desc { font-size: 12.4px; }
  .af-keys b { font-size: 11px; }
  .af-keys span { font-size: 9.6px; }
  .af-link { font-size: 11.4px; }
  .feature-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fb-item:nth-child(3) { border-right: 0; }
  .fb-item:nth-child(n + 4) { border-top: 1px solid var(--line-soft); }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-list { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 26px; }
  .metrics-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 0; }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(n + 4) { border-top: 1px solid var(--line); padding-top: 16px; }
  .footer-cols { gap: 32px; }
}

@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; }
  .pricing-panel { order: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .header-right .btn-outline { display: none; }
  .trial-band .btn { margin-left: 0; }
  .security-cards { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .gpu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  /* 표는 화면 폭에 맞춰 칸 너비를 자동으로 나누고, 낱말 중간에서 끊기지 않게 */
  .req-table { table-layout: auto; font-size: 11.6px; }
  .req-table colgroup { display: none; }
  .req-table th, .req-table td { padding: 9px 7px; word-break: normal; overflow-wrap: break-word; }
  .req-table th { font-size: 10.8px; }
}

@media (max-width: 480px) {
  .gpu-grid { grid-template-columns: 1fr; }
  .gpu-strip { padding: 16px 14px; }
}

@media (max-width: 640px) {
  body { font-size: 15.4px; }
  .wrap { padding: 0 18px; }
  .header-inner { height: 64px; gap: 10px; }
  .brand-emblem { width: 38px; height: 38px; }
  .brand-text b { font-size: 16.5px; }
  .brand-text small { font-size: 8.7px; letter-spacing: .1em; }
  .header-right { margin-left: auto; gap: 6px; }
  .header-right .btn-gold { padding: 8px 11px; font-size: 12px; }
  .lang-toggle { padding: 2px; gap: 0; }
  .lang-toggle button { padding: 4px 4px; font-size: 10px; min-width: 22px; letter-spacing: 0; }
  .lang-toggle .lang-flag { width: 17px; height: 12px; }
  .gpu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero { padding: 26px 0 18px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero .lead { font-size: 14.8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .pos-card { padding: 18px 16px 16px; }
  .pos-lead { font-size: 13px; }
  .lock-modal { padding: 26px 20px 22px; margin-top: 6vh; }
  .float-a { right: auto; top: 0; left: 0; }
  .float-b { left: 0; bottom: 0; }
  .float-card { padding: 8px 10px; font-size: 10.6px; }
  .float-card small { font-size: 9.4px; }
  .float-card .ic { width: 24px; height: 24px; }
  .globe-img { height: clamp(240px, 64vw, 330px); }
  .about-float { padding: 10px 12px 11px; border-radius: 16px; }
  .af-photo img { height: 128px; }
  .af-keys b { font-size: 10.2px; }
  .af-keys span { font-size: 9px; }

  .section { padding: 54px 0; }
  .dash-section { padding: 36px 0 28px; }
  .panel { padding: 20px 18px; }
  .feature-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-item { padding: 18px 10px 16px; }
  .fb-item:nth-child(3) { border-right: 1px solid var(--line-soft); }
  .fb-item:nth-child(2n) { border-right: 0; }
  .fb-item:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .cards4, .feature-grid { grid-template-columns: 1fr; }
  .metrics-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-right: 1px solid var(--line); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-child(n + 3) { border-top: 1px solid var(--line); padding-top: 14px; }
  .metric:last-child { grid-column: 1 / -1; border-right: 0; }
  .guide-band { padding: 22px 18px; gap: 16px; }
  .guide-band .play { width: 46px; height: 46px; }
  .guide-right { margin-left: 0; width: 100%; }
  .guide-state { text-align: left; }
  .trial-band { padding: 24px 20px; }
  .trial-band .btn { width: 100%; }
  .modal { padding: 20px; margin-top: 2vh; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-grid dt { min-width: 96px; }
  .footer-top { gap: 24px; }
  .footer-cols { gap: 24px 32px; }
  .plan .krw { font-size: 27px; }
  .req-table { font-size: 11.8px; }
  .req-table th, .req-table td { padding: 10px 8px; }
  .manage-card { padding: 22px 18px; }
  .manage-hero { display: block; min-height: 0; padding: 0; }
  .manage-hero .mh-text { max-width: 100%; padding: 15px 16px 17px; }
  .manage-hero h1 { font-size: 23px; }
  .mh-photo { position: relative; width: 100%; height: 110px; }
  .mh-photo img { opacity: 1; }
  .mh-photo::after { background: linear-gradient(180deg, rgba(253, 250, 243, 0) 42%, rgba(251, 243, 225, 0.96) 100%); }
  .lic-meta { grid-template-columns: 1fr; }
  .admin-box { padding: 16px; }
  .admin-result dl { grid-template-columns: 108px 1fr; }
}

@media (max-width: 420px) {
  .header-right .btn-gold { display: none; }
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================================
   판매자(관리자) — 숨은 진입 · 세일러 콘솔
   ========================================================================= */

/* 푸터 대표자 이름: 버튼처럼 보이지 않게 (고객 화면) */
.biz-name {
  font: inherit; color: inherit; letter-spacing: inherit;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: inherit; text-align: left;
}
.biz-name:focus-visible { outline: 2px solid var(--line-gold); outline-offset: 3px; border-radius: 3px; }

/* 1단계 비밀번호 모달 · 2단계 OTP 모달 */
.sg-modal { max-width: 430px; }
.sg-error { min-height: 17px; margin: 4px 0 10px; font-size: 12.4px; color: var(--danger); }
.sg-error:empty { display: none; }
.sg-note { margin: 14px 0 0; font-size: 11.4px; line-height: 1.6; color: var(--muted); }
.otp-input {
  width: 100%; text-align: center; font-family: var(--mono); font-size: 23px; font-weight: 700;
  letter-spacing: 0.32em; padding: 12px 10px 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
}
.otp-input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }

/* 콘솔 */
.admin-wrap { padding: 30px 0 80px; background: var(--ivory); min-height: 72vh; }
.admin-card {
  max-width: 540px; margin: 34px auto; background: var(--white);
  border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-sm);
}
.admin-card h1 { margin: 8px 0 10px; font-size: 27px; letter-spacing: -0.035em; font-weight: 850; }
.admin-lead { margin: 0 0 18px; font-size: 13.6px; color: var(--body); }
.admin-login { display: flex; gap: 9px; flex-wrap: wrap; }
.admin-login input {
  flex: 1 1 200px; padding: 12px 14px; border-radius: 11px; font-size: 14px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-family: inherit;
}
.admin-login input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }
.admin-err { min-height: 17px; margin: 10px 0 0; font-size: 12.4px; color: var(--danger); }
.admin-err:empty { display: none; }
.admin-session { font-size: 11.4px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.admin-note { margin: 14px 0 0; font-size: 11.4px; line-height: 1.65; color: var(--muted-2); }
.admin-note code { font-family: var(--mono); font-size: 10.8px; color: var(--gold-800); background: var(--gold-50); padding: 1px 5px; border-radius: 5px; }

.admin-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-head-row h1 { margin: 6px 0 0; font-size: 26px; letter-spacing: -0.035em; font-weight: 850; }
.admin-toolbar { display: flex; gap: 8px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.admin-toolbar input[type="search"] {
  flex: 1 1 240px; min-width: 0; padding: 10px 13px; border-radius: 10px; font-size: 13.4px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-family: inherit;
}
.admin-toolbar select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ivory); font-size: 13px; font-family: inherit; color: var(--ink-2); }
.admin-toolbar input:focus, .admin-toolbar select:focus { outline: none; border-color: var(--gold-500); background: #fff; }

.admin-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin: 14px 0 4px; }
.astat { background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; }
.astat b { display: block; font-size: 21px; font-weight: 900; letter-spacing: -0.03em; color: var(--gold-800); font-variant-numeric: tabular-nums; }
.astat span { font-size: 11px; color: var(--muted); }
.admin-h2 { margin: 24px 0 9px; font-size: 15.6px; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); }
.admin-h2n { margin-left: 6px; font-size: 11.6px; font-weight: 700; color: var(--muted-2); }
.admin-list { display: grid; gap: 7px; }
.admin-empty { margin: 0; padding: 22px; text-align: center; font-size: 12.6px; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: 14px; }

details.lic { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
details.lic[open] { border-color: var(--line-gold); box-shadow: var(--shadow-sm); }
details.lic summary {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  padding: 12px 15px; cursor: pointer; list-style: none;
}
details.lic summary::-webkit-details-marker { display: none; }
details.lic summary:hover { background: var(--gold-50); }
.lic-key { font-family: var(--mono); font-size: 12.4px; font-weight: 800; color: var(--ink); }
.lic-mail { font-size: 11.8px; color: var(--muted); word-break: break-all; }
.lic-dev { font-size: 11.2px; font-weight: 700; color: var(--ink-2); background: var(--ivory); border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 9px; }
.lic-date { margin-left: auto; font-size: 11.2px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.lic-more { font-size: 11.4px; font-weight: 800; color: var(--gold-800); }
details.lic[open] .lic-more::after { content: " ▲"; }
details.lic:not([open]) .lic-more::after { content: " ▼"; }
.lic-body { padding: 6px 15px 15px; border-top: 1px dashed var(--line); background: linear-gradient(180deg, #fffdf9, #fff); }
.lic-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.lic-row label { min-width: 62px; font-size: 11.6px; font-weight: 700; color: var(--muted); }
.lic-row input[type="number"] { width: 88px; padding: 7px 9px; border-radius: 9px; border: 1px solid var(--line); background: var(--ivory); font-family: var(--mono); font-size: 12.6px; }
.lic-row select { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--ivory); font-size: 12.6px; font-family: inherit; color: var(--ink); }
.lic-row.actions { gap: 7px; }
.lic-devices { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.lic-devices li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11.6px; color: var(--muted); }
.lic-devices b { font-family: var(--mono); color: var(--ink); font-weight: 700; }
.lic-none { margin: 11px 0 0; font-size: 11.8px; color: var(--muted-2); }
.lic-meta { margin: 11px 0 0; font-size: 11.2px; color: var(--muted); line-height: 1.6; }
.lic-out:empty { display: none; }
.lic-out { margin-top: 11px; }
.lic-out .ok-box { border: 1px solid #cfe7db; background: #f3faf6; border-radius: 10px; padding: 10px 12px; font-size: 12.2px; color: #1f7a5c; }
.lic-out .bad-box { border: 1px solid #efe0bd; background: #fdf8ea; border-radius: 10px; padding: 10px 12px; font-size: 12.2px; color: #7a5a14; }

@media (max-width: 860px) {
  .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-card { padding: 24px 20px; margin: 20px auto; }
}
@media (max-width: 640px) {
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lic-date { margin-left: 0; }
  details.lic summary { gap: 8px; }
  .admin-head-row h1 { font-size: 22px; }
  .otp-input { font-size: 20px; letter-spacing: 0.24em; }
}

/* =========================================================================
   회원 · 문의 · 결제 동의
   ========================================================================= */
.btn-ghost {
  background: transparent; border-color: transparent; color: var(--ink-2);
  box-shadow: none; padding: 9px 12px;
}
.btn-ghost:hover { background: var(--ivory); border-color: var(--line); color: var(--gold-900); }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 800;
  color: var(--gold-800); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.consent-link { margin: -6px 0 12px; font-size: 11.6px; text-align: right; }
.consent-link a { color: var(--gold-800); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.su-modal { max-width: 540px; }
.ct-modal { max-width: 520px; }
.inline-row { display: flex; gap: 8px; align-items: stretch; }
.inline-row input { flex: 1 1 auto; min-width: 0; }
.inline-row .btn { flex: 0 0 auto; white-space: nowrap; }
/* 회원가입 휴대폰 국가번호 (2026-12-01) */
.phone-row .phone-code {
  flex: 0 0 auto; width: auto; min-width: 92px; max-width: 132px;
  padding-right: 26px; cursor: pointer; font-weight: 700;
}
.phone-code-static {
  flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--ivory);
  font-size: 12.4px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.field-state { min-height: 16px; margin: 6px 0 0; font-size: 11.6px; line-height: 1.5; color: var(--muted); }
.field-hint { margin: 6px 0 0; font-size: 11.4px; line-height: 1.55; color: var(--gold-900); }
.field-state.ok { color: var(--ok); }
.field-state.bad { color: var(--danger); }
.field-dev {
  margin: 6px 0 0; padding: 7px 10px; border-radius: 9px; font-size: 11.8px;
  background: var(--gold-50); border: 1px dashed var(--line-gold); color: var(--gold-900);
}
.field-dev b { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; font-family: inherit; font-size: 13.6px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }

.su-terms { display: grid; gap: 6px; margin: 4px 0 8px; }
.consent.sm {
  border: 1px solid var(--line); background: var(--ivory); border-radius: 10px;
  padding: 9px 11px; margin: 0; font-size: 12.2px; color: var(--ink-2);
}
.consent.sm.all { border-color: var(--line-gold); background: var(--gold-50); font-weight: 800; color: var(--gold-900); }
.legal-links { margin: 0 0 12px; font-size: 11.4px; color: var(--muted); }
.legal-links a { color: var(--gold-800); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.account-list { margin: 4px 0 18px; display: grid; gap: 8px; font-size: 13px; }
.account-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.account-list dt { color: var(--muted); }
.account-list dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; word-break: break-all; }
#account .btn { width: 100%; margin-top: 8px; }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .inline-row .btn { padding: 9px 11px; font-size: 12px; }
  .header-right .btn-ghost { display: none; }
}

/* 판매자 콘솔 — 키 조회 카드 */
.admin-lookup { margin-top: 18px; background: var(--white); border: 1px solid var(--line-gold); border-radius: 16px; padding: 14px 16px 16px; }
.admin-lookup .admin-h2 { margin: 0 0 10px; }
.lookup-row { display: flex; gap: 8px; }
.lookup-row input {
  flex: 1 1 auto; min-width: 0; padding: 11px 13px; border-radius: 10px; font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.04em; border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
}
.lookup-row input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }
.lookup-out:empty { display: none; }
.lookup-out { margin-top: 12px; }
.lookup-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; background: linear-gradient(180deg, #fffdf7, #fff); }
.lookup-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lookup-head b { font-family: var(--mono); font-size: 13.4px; letter-spacing: 0.02em; color: var(--ink); }
.lookup-grid { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 7px 14px; font-size: 12.4px; }
.lookup-grid dt { color: var(--muted); }
.lookup-grid dd { margin: 0; color: var(--ink); font-weight: 700; word-break: break-all; }
.lookup-grid dd.mono { font-family: var(--mono); font-weight: 600; }
.lookup-hwids { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.lookup-hwids div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11.8px; }
.lookup-hwids b { font-family: var(--mono); color: var(--ink); }
.lookup-hwids span { color: var(--muted); }
.lookup-empty { font-size: 12.4px; color: var(--muted); padding: 10px 2px; }

/* 판매자 콘솔 — 무상(서비스) 라이선스 발급 */
.gift-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gift-row select {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ivory); font-size: 13px; font-family: inherit; color: var(--ink-2);
}
.gift-row input {
  flex: 1 1 180px; min-width: 0; padding: 10px 12px; border-radius: 10px; font-family: inherit;
  font-size: 13px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
}
.gift-row select:focus, .gift-row input:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}
.gift-keys { display: grid; gap: 8px; margin-top: 6px; }
.gift-key {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--line-gold); border-radius: 12px; padding: 10px 12px; background: #fffdf7;
}
.gift-key code { font-family: var(--mono); font-size: 13.2px; letter-spacing: 0.03em; color: var(--ink); }
.gift-key span { font-size: 12px; color: var(--muted); }
.pill.free { background: rgba(212, 175, 55, 0.16); color: #8a6a06; }

/* 회원가입 모달 입력칸 — 비밀번호·전화번호도 같은 모양으로 */
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"] {
  width: 100%; padding: 12px 14px; border-radius: 11px; color: var(--ink);
  border: 1px solid var(--line); background: var(--ivory); font-size: 14px; font-family: inherit;
}
.field input[type="password"]:focus,
.field input[type="tel"]:focus,
.field input[type="number"]:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }

.su-modal { padding: 22px 24px 24px; }
.su-modal .modal-sub { margin: 4px 0 14px; }
.su-modal .field { margin-bottom: 10px; }
.su-modal .field label { margin-bottom: 5px; }
.su-modal .field input,
.su-modal .field select { padding: 10px 13px; }
.su-modal .consent.sm { padding: 8px 11px; }
.su-modal .sg-note { margin-top: 10px; text-align: center; }
@media (max-width: 640px) {
  .su-modal { padding: 18px 16px 20px; }
}

/* 회원가입 모달 높이 압축 (한 화면에 담기도록) */
.su-modal .field { margin-bottom: 8px; }
.su-modal .field label { font-size: 11.8px; margin-bottom: 4px; }
.su-modal .field input, .su-modal .field select { padding: 9px 12px; font-size: 13.4px; }
.su-modal .field-state { margin-top: 4px; font-size: 11.2px; }
.su-modal .su-terms { gap: 5px; margin: 2px 0 6px; }
.su-modal .consent.sm { padding: 7px 10px; font-size: 11.8px; }
.su-modal .legal-links { margin-bottom: 8px; font-size: 11px; }
.su-modal .sg-note { margin-top: 8px; font-size: 10.8px; }
.su-modal .modal-head h2 { font-size: 19px; }
.su-modal .modal-sub { font-size: 12.2px; line-height: 1.5; }

/* 모바일 보조 내비의 로그인·회원가입 */
.mnav-auth {
  background: none; border: 0; padding: 2px 0; margin: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 800; color: var(--gold-800); white-space: nowrap; font-family: inherit;
}
.mnav-auth:hover { color: var(--gold-900); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   로그인 헤더 — 고객 이름 + 로그아웃 · 이름 클릭 시 바로가기 메뉴 (2026-12-02)
   로그인 전에는 이 블록의 요소가 모두 hidden 이라 기존 헤더와 같습니다.
   ========================================================================= */
.header-right .auth-name { max-width: 186px; }
.auth-name-text {
  display: inline-block; max-width: 142px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}
.auth-name .auth-caret { width: 13px; height: 13px; flex: 0 0 auto; color: var(--gold-700); transition: transform .18s ease; }
.auth-name:not(.is-in) .auth-caret { display: none; }
.auth-name[aria-expanded="true"] .auth-caret { transform: rotate(180deg); }
.header-right .auth-logout { color: var(--muted); }
.header-right .auth-logout:hover { color: var(--gold-800); background: var(--gold-50); border-color: var(--line-gold); }

/* 모바일 보조 내비의 로그인 상태 — 이름 알약 + 로그아웃 */
.mnav-name {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border: 1px solid var(--line-gold); border-radius: 999px; background: var(--gold-50);
}
.mnav-name .mnav-name-text { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnav-name .auth-caret { width: 12px; height: 12px; flex: 0 0 auto; }
.mnav-name[aria-expanded="true"] .auth-caret { transform: rotate(180deg); }
.mnav-name:hover { background: #fdf1d5; text-decoration: none; }
.mnav-logout { color: var(--muted); }

/* 고객 이름을 누르면 열리는 바로가기 메뉴 — 헤더·모바일 어디서든 같은 메뉴 */
.auth-menu {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 264px; max-width: calc(100vw - 20px);
  padding: 7px; border-radius: 15px; border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, #fffdf8, #fdf7ea);
  box-shadow: 0 20px 44px -20px rgba(120, 84, 10, 0.55), 0 2px 6px rgba(60, 42, 4, 0.10);
}
.auth-menu-head {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding: 6px 10px 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10.4px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-700);
}
.auth-menu-head b {
  font-size: 14.6px; font-weight: 850; letter-spacing: -0.01em; color: var(--ink);
  text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auth-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px; margin-top: 2px; border: 0; border-radius: 11px; background: transparent;
  font-family: inherit; text-align: left; cursor: pointer; color: var(--ink);
  transition: background .15s ease, box-shadow .15s ease;
}
.auth-menu-item:hover, .auth-menu-item:focus-visible {
  background: var(--gold-50); box-shadow: inset 0 0 0 1px var(--line-gold); outline: none;
}
.am-ico { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold-600); }
.am-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.am-text b { font-size: 13.4px; font-weight: 850; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.am-text small {
  font-size: 10.8px; font-weight: 650; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.am-go { width: 14px; height: 14px; flex: 0 0 auto; color: var(--gold-500); }

/* 메뉴의 [라이선스 등록·관리]로 넘어온 키 입력칸 — 잠깐 금색 테두리 */
#mg-key.is-focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22); }

/* =========================================================================
   쿠폰 · 포인트 · 친구 초대 (결제 모달 · 내 계정)
   ========================================================================= */
.btn-danger { background: #fff5f4; border-color: #f0c4c0; color: var(--danger); }
.btn-danger:hover { background: #ffeceb; border-color: #e39b95; color: var(--danger); }
.btn-danger:not(:disabled) { box-shadow: none; }

.rw-checkout {
  border: 1px solid var(--line-gold); background: linear-gradient(180deg, #fffdf6, #fff);
  border-radius: 14px; padding: 13px 15px 14px; margin: 2px 0 14px;
}
.rw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rw-head strong { font-size: 12.8px; font-weight: 800; color: var(--gold-900); }
.rw-state { font-size: 11.4px; font-weight: 700; color: var(--muted); }
.rw-state.ok { color: var(--ok); }
.rw-state.bad { color: var(--danger); }
.rw-login { margin: 0 0 4px; font-size: 11.8px; line-height: 1.6; color: var(--muted); }
.rw-label { margin: 6px 0 6px; font-size: 11.4px; font-weight: 800; color: var(--gold-800); letter-spacing: 0.01em; }
.rw-pick { display: grid; gap: 6px; }
.rw-pick:empty { display: none; }
.rw-pick-item {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 8px 11px;
  font-size: 12.4px; color: var(--ink-2);
}
.rw-pick-item:has(input:checked) { border-color: var(--gold-500); background: var(--gold-50); }
.rw-pick-item input { width: 16px; height: 16px; margin: 0; accent-color: #b8860b; flex: 0 0 auto; }
.rw-pick-item b { font-size: 13px; color: var(--gold-900); }
.rw-pick-item span { margin-left: auto; font-size: 11.2px; color: var(--muted); }
.rw-empty { margin: 4px 0 6px; font-size: 11.4px; color: var(--muted-2); }
.rw-points-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.rw-points-row label { font-size: 11.8px; font-weight: 700; color: var(--ink-2); flex: 0 0 auto; }
.rw-points-row input {
  flex: 1 1 100px; min-width: 0; padding: 8px 10px; border-radius: 9px; font-family: inherit;
  font-size: 13px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
}
.rw-points-row input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }
.rw-points-row input:disabled { background: var(--ivory-2); color: var(--muted-2); }
.rw-balance { font-size: 11.4px; color: var(--muted); flex: 0 0 auto; }
.rw-hint { margin: 6px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted-2); }
.rw-hint.bad { color: var(--danger); }
.rw-avail { margin: 6px 0 0; font-size: 11.6px; font-weight: 700; color: var(--gold-900); }
.rw-avail b { font-weight: 800; }

/* 쿠폰 슬롯 — 신규 가입 1장 + 초대 2장 */
.rw-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.rw-slot {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 9px 10px 10px; cursor: pointer; transition: border-color .15s, background .15s;
}
.rw-slot input { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; margin: 0; accent-color: #b8860b; }
.rw-slot.on { border-color: var(--gold-500); background: var(--gold-50); box-shadow: 0 0 0 3px rgba(212, 175, 55, .12); }
.rw-slot.off { background: var(--ivory); border-style: dashed; cursor: default; }
.rw-slot.off .rw-slot-title { color: var(--muted-2); }
.rw-slot.off .rw-slot-meta { color: var(--muted-2); }
.rw-slot-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 22px; }
.rw-slot-title { font-size: 11px; font-weight: 800; color: var(--gold-900); line-height: 1.35; }
.rw-slot-meta { font-size: 10.5px; line-height: 1.4; color: var(--muted); }
.rw-slot-pct { font-size: 15px; font-weight: 800; color: var(--gold-900); letter-spacing: -0.01em; }
.summary .row.discount b { color: var(--ok); }
.summary .row.earn { font-size: 12.2px; }
.summary .row.earn b { color: var(--gold-800); }

/* 내 계정 — 쿠폰 · 포인트 · 친구 초대 · 탈퇴 */
.ac-modal { max-width: 480px; max-height: 92vh; overflow-y: auto; }
.rw-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px 14px;
  margin: 0 0 12px; background: linear-gradient(180deg, #fffdf8, #fff);
}
.rw-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--gold-900); }
.rw-card h4 { margin: 12px 0 6px; font-size: 11.8px; font-weight: 800; color: var(--ink-2); }
.rw-points-box { display: grid; gap: 4px; }
.rw-points-box > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rw-points-box span { font-size: 12px; color: var(--muted); }
.rw-points-box b { font-size: 21px; font-weight: 800; color: var(--gold-900); letter-spacing: -0.01em; }
.rw-coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rw-coupons:empty { display: none; }
.rw-coupons li {
  display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-gold);
  background: var(--gold-50); border-radius: 10px; padding: 8px 11px; font-size: 12.2px;
}
.rw-coupons li b { font-size: 15px; font-weight: 800; color: var(--gold-900); }
.rw-coupons li .rw-cp-meta { margin-left: auto; font-size: 11.2px; color: var(--muted); }
.rw-coupons li .rw-cp-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--gold-grad); border-radius: 999px; padding: 2px 8px;
}
.rw-note { margin: 0 0 10px; font-size: 11.6px; line-height: 1.65; color: var(--body); }
.rw-note b { color: var(--gold-900); }
.rw-ref-row { display: flex; gap: 8px; }
.rw-ref-row input {
  flex: 1 1 auto; min-width: 0; padding: 9px 11px; border-radius: 9px; font-family: var(--mono);
  font-size: 11.6px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink-2);
}
.rw-ref-row .btn { flex: 0 0 auto; white-space: nowrap; margin: 0; width: auto; }
#account .rw-ref-row .btn { width: auto; margin-top: 0; }
.rw-count { margin: 9px 0 0; font-size: 12px; color: var(--muted); }
.rw-count b { color: var(--ink); font-weight: 800; }
.ac-danger { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ac-danger summary {
  cursor: pointer; font-size: 11.8px; font-weight: 700; color: var(--muted);
  list-style: none; display: flex; align-items: center; gap: 6px;
}
.ac-danger summary::-webkit-details-marker { display: none; }
.ac-danger summary::before { content: "▸"; font-size: 10px; color: var(--muted-2); }
.ac-danger[open] summary::before { content: "▾"; }
.ac-danger p { margin: 9px 0 10px; font-size: 11.4px; line-height: 1.65; color: var(--body); }
.ac-danger p b { color: var(--danger); }
.ac-danger .field { margin-bottom: 8px; }
.ac-danger .field > span { display: block; font-size: 11.4px; color: var(--muted); margin-bottom: 4px; }
.ac-danger .consent.sm { margin-bottom: 8px; font-size: 11.4px; }
#account .ac-danger .btn { margin-top: 4px; }

/* 회원가입 — 친구 초대 코드 안내 */
.ref-banner {
  border: 1px dashed var(--line-gold); background: var(--gold-50); border-radius: 11px;
  padding: 9px 12px; margin: 0 0 12px;
}
.ref-banner b { display: block; font-size: 11.6px; font-weight: 800; color: var(--gold-900); }
.ref-banner .ref-code { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.06em; }
.ref-banner p { margin: 3px 0 0; font-size: 11px; line-height: 1.5; color: var(--body); }

/* 회원가입 — 친구 초대 코드 직접 입력칸 */.su-ref-field { margin-top: 2px; }
.su-ref-field input#su-ref-input {
  font-family: var(--mono); font-weight: 700; font-size: 13.4px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.su-ref-field input#su-ref-input::placeholder {
  font-family: inherit; font-weight: 400; font-size: 13px; letter-spacing: 0.01em;
  text-transform: none; color: var(--muted);
}
.su-ref-field input#su-ref-input:focus { letter-spacing: 0.16em; }
.su-ref-field .field-state.ok { color: var(--gold-800); font-weight: 700; }

/* ------------------------------------------- 가족 무상 라이선스 환영 팝업 */
.fw-modal {
  position: relative;
  max-width: 430px; text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--gold-50) 100%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 30px 70px -30px rgba(120, 88, 20, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.18) inset;
}
.fw-modal .modal-head { justify-content: center; border-bottom: 1px solid var(--line-gold); }
.fw-modal .modal-head h2 { font-size: 17px; letter-spacing: -0.01em; color: var(--gold-900); }
.fw-modal .modal-head .x { position: absolute; right: 14px; top: 12px; }
.fw-badge {
  display: inline-block; margin: 14px auto 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--gold-900); background: linear-gradient(180deg, #fffdf6, var(--gold-100));
  border: 1px solid var(--line-gold);
}
.fw-message {
  margin: 6px 0 12px; font-size: 15px; line-height: 1.62; font-weight: 800;
  color: var(--ink); white-space: pre-line; word-break: keep-all;
}
.fw-keys {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-gold); text-align: left;
}
.fw-keys-title { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: var(--gold-900); }
.fw-keys ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fw-keys li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fw-keys li span { font-size: 11.4px; color: var(--muted); }
.fw-keys li code {
  font-family: var(--mono); font-size: 12.4px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.04em; word-break: break-all;
}
.fw-note { margin: 0 0 6px; font-size: 11.4px; line-height: 1.6; color: var(--body); }
.fw-apk {
  margin: 0 0 14px; font-size: 11.2px; line-height: 1.5; font-weight: 700; color: var(--gold-800);
}
/* 「Android 설치 파일 지금 받기」 — 자동 다운로드가 막혀도 한 번에 받을 수 있는 링크 */
.fw-dl { text-decoration: none; }
.fw-dl.is-waiting { opacity: .72; }
.fw-modal .btn + .btn { margin-top: 8px; }
@media (max-width: 420px) {
  .fw-modal { max-width: 100%; }
  .fw-message { font-size: 14px; }
  .fw-keys li { flex-direction: column; gap: 2px; }
}

@media (max-width: 640px) {
  .ac-modal { max-width: 100%; }
  .rw-slots { grid-template-columns: 1fr; }
  .rw-slot { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
  .rw-ref-row { flex-wrap: wrap; }
}

/* ---------------------------------------------- 올인원 번들 (PC + 모바일) */
/* 정가 취소선 → 20% 할인가. 번들 카드는 요금제 그리드 전체 폭을 씁니다. */
.plan.full { grid-column: 1 / -1; }
.plan.bundle {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, #fffdf6 0%, #fdf6e4 100%);
  box-shadow: 0 20px 44px -34px rgba(120, 88, 10, .55);
}
.plan-tag.bundle { color: #fff; background: var(--gold-grad); border-color: transparent; letter-spacing: .06em; }
.plan .amount .list {
  font-size: 14px; font-weight: 700; color: var(--muted-2);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
}
.plan .list-note { margin-top: 6px; color: var(--gold-800); font-weight: 700; }
.plan .fee-note.bonus {
  color: #8a5a12; background: #fdf7e7; border: 1px solid #efe0bd;
  border-radius: 9px; padding: 7px 9px; margin: 0 0 12px; font-weight: 700;
}
.plan ul.bundle-list { grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 640px) { .plan ul.bundle-list { grid-template-columns: 1fr; } }

/* 결제 모달 — 번들 옵션(전체 폭)과 20% 배지 */
.co-plan-opt.full { grid-column: 1 / -1; }
.cpo-badge {
  font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .04em;
  color: #fff; background: var(--gold-grad); border-radius: 6px;
  padding: 2px 6px; margin-left: 6px; vertical-align: 1px;
}
.summary .row.list-row b { text-decoration: line-through; color: var(--muted-2); font-weight: 600; }
.summary .row.max-note { font-size: 11.6px; color: var(--gold-800); font-weight: 700; }
.summary .row.max-note b { display: none; }
.key-box + .key-box { margin-top: 10px; }

/* PC · 모바일 공통 지원 범위 밴드 (#compat) */
.cap-band {
  margin: 22px 0 0; padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--line-gold); background: linear-gradient(180deg, #ffffff, #fdfaf1);
}
.cap-band h3 { margin: 6px 0 6px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.cap-band p.cap-lead { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cap-grid li {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12.6px; color: var(--ink-2); line-height: 1.5;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff;
}
.cap-grid li svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; stroke: var(--gold-600); }
.cap-pc {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px;
  background: #fdf7e7; border: 1px solid #efe0bd; font-size: 12.4px; color: #8a5a12; line-height: 1.6;
}
.cap-pc b { color: #6d4708; }
@media (max-width: 860px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* --------------------------------- 무료 API 키 · 브라우저 로그인 가이드 (#connect) */
.conn-band {
  margin: 22px 0 0; padding: 22px; border-radius: 20px;
  border: 1px solid var(--line-gold); background: linear-gradient(180deg, #ffffff, #fdfaf1);
}
.conn-band .kicker { font-size: 10.6px; letter-spacing: .18em; color: var(--gold-800); font-weight: 800; }
.conn-band h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.conn-band p.conn-lead { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 860px; }
.spec-card.opt { border-color: var(--line); background: #fff; }
.spec-card.opt .spec-tag { background: #fdf7e7; border-color: #efe0bd; color: #7a5a14; }
.conn-providers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.conn-providers span {
  font-size: 11.4px; font-weight: 700; line-height: 1.4; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff;
}
.conn-providers span.free { border-color: var(--line-gold); background: linear-gradient(180deg, #fffdf6, #fdf4df); color: #7a5a14; }
.conn-providers span.paid { color: var(--muted); }
.conn-steps {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.conn-steps li {
  display: flex; flex-direction: column; gap: 7px; min-width: 0;
  border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; background: #fff;
}
.conn-steps .no { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--gold-800); }
.conn-steps b { font-size: 13.4px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); line-height: 1.42; }
.conn-steps p { margin: 0; font-size: 12.1px; line-height: 1.62; color: var(--body); }
.conn-steps code {
  font-size: 11.1px; color: #7a5a14; background: #fdf7e7; border-radius: 6px; padding: 1px 5px;
  overflow-wrap: anywhere; word-break: break-word;
}
.conn-sec {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-gold); background: #fffdf6;
  font-size: 12.5px; line-height: 1.66; color: var(--ink-2);
}
.conn-sec > b { display: block; margin-bottom: 7px; font-size: 13.2px; color: #6d4708; }
.conn-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.conn-sec li { position: relative; padding-left: 14px; }
.conn-sec li::before { content: "·"; position: absolute; left: 2px; top: -1px; color: var(--gold-700); font-weight: 900; }
.conn-band p.conn-note { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted-2); }
.conn-link {
  display: inline-block; margin-top: 12px; font-size: 12.6px; font-weight: 800;
  color: var(--gold-800); text-decoration: none; border-bottom: 1px solid var(--line-gold); padding-bottom: 1px;
}
.conn-link:hover { color: var(--gold-900, #6d4708); }
@media (max-width: 1000px) { .conn-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .conn-band { padding: 18px; }
  .conn-band h3 { font-size: 17px; }
  .conn-steps { grid-template-columns: 1fr; }
}

/* ------------------------ 멀티 메일 · 외부 AI 다중 연결 · 다중 에이전트 (#multi) */
.multi-band {
  margin: 24px 0 0; padding: 22px 22px 6px; border-radius: 20px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, #ffffff, #fdfaf1);
}
.multi-band .kicker { font-size: 10.6px; letter-spacing: .18em; color: var(--gold-800); font-weight: 800; }
.multi-band h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.multi-band .multi-lead { margin: 0 0 16px; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 900px; }
@media (max-width: 620px) {
  .multi-band { padding: 18px 16px 4px; }
  .multi-band h3 { font-size: 17px; }
}

/* ------------------- AI 합동 회의실 · 폰 번호 초대 · AI 간 정보 공유 (#collab-room)
   대화창 오른쪽 위 [초대] → 휴대폰 번호 → 상대 [수락] → 사람+AI 합동 회의.
   유료 평생 라이선스 전용이라 밴드·카드·요금제 안내 모두 골드로 강조합니다. */
.collab-band {
  border-color: #e6cf95;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(214, 178, 94, .18), rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #fffdf6, #fbf4e4);
}
.collab-band h3 { line-height: 1.42; max-width: 1000px; }
.collab-band .feature-grid { margin-top: 4px; }
.collab-band .feature h3 { flex-wrap: wrap; font-size: 14.8px; }
.collab-band .feature p { font-size: 12.9px; line-height: 1.62; }
.collab-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 16px 0 16px; padding: 13px 15px; border-radius: 14px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, #fffdf6, #fdf5e2);
}
.collab-foot .collab-plan-note {
  flex: 1 1 340px; margin: 0; font-size: 12.2px; line-height: 1.66; color: var(--gold-900);
}
.collab-foot .collab-plan-note b { font-weight: 850; color: var(--gold-800); }
.collab-foot .btn { flex: 0 0 auto; }
@media (max-width: 760px) {
  .collab-band h3 { font-size: 16.6px; }
  .collab-foot { padding: 12px 13px; }
  .collab-foot .btn { width: 100%; }
}

/* 요금제 패널 — 평생 요금제 전용 기능(합동 회의실) 안내 */
.plan-collab-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  margin: 0 0 15px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line-gold); background: var(--gold-50);
  font-size: 11.8px; line-height: 1.6; color: var(--gold-900);
}
.plan-collab-pill {
  flex: 0 0 auto; font-size: 10px; font-weight: 850; letter-spacing: .04em;
  color: var(--gold-800); background: #fff; border: 1px solid var(--line-gold);
  border-radius: 999px; padding: 2px 8px;
}
.plan-collab-note a { color: var(--gold-800); font-weight: 800; text-decoration: none; white-space: nowrap; }
.plan-collab-note a:hover { text-decoration: underline; }

/* ------------------------------- ⚡ 원클릭 자동 설치 (#oneclick) */
.oc-card {
  position: relative; overflow: hidden;
  margin: 0 0 22px; padding: 30px 32px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 26px 30px; align-items: start;
  border: 1px solid var(--line-gold); border-radius: 22px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(232, 190, 74, .20) 0%, rgba(232, 190, 74, 0) 58%),
    linear-gradient(135deg, #fffdf7 0%, #fcf4de 50%, #f8ecd0 100%);
  box-shadow: var(--shadow-gold);
}
.oc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--metal-foil);
}
.oc-main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.oc-kicker { font-size: 10.6px; letter-spacing: .18em; font-weight: 800; color: var(--gold-800); }
.oc-title {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-size: 27px; font-weight: 900; letter-spacing: -.035em; line-height: 1.26; color: var(--ink);
}
.oc-bolt {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; background-image: var(--bevel-gold); color: #fff8dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 222, .9),
    inset 0 -2px 0 rgba(96, 66, 4, .5),
    0 10px 18px -12px rgba(120, 84, 10, .95);
}
.oc-bolt svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(80, 54, 2, .55)); }
.oc-title-txt {
  background: linear-gradient(100deg, #6d4708 0%, #8a6a0e 22%, #b8860b 44%, #c89b3c 52%, #b8860b 62%, #8a6a0e 80%, #6d4708 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .oc-title-txt { color: var(--ink); -webkit-text-fill-color: currentColor; }
}
.oc-lead { margin: 0; font-size: 13.4px; line-height: 1.74; color: var(--body); max-width: 620px; }
.oc-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.oc-chips li {
  font-size: 11.6px; font-weight: 800; letter-spacing: -.01em; color: #6d4708;
  background: #fff; border: 1px solid var(--line-gold); border-radius: 999px; padding: 5px 11px;
}
.oc-chips li::before { content: "✓"; color: var(--gold-700); margin-right: 5px; }
.oc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.oc-btn { padding: 15px 24px; font-size: 15.4px; border-radius: 13px; }
.oc-guide { padding: 15px 18px; border-radius: 13px; }
.oc-note {
  margin: 4px 0 0; padding: 10px 12px; border-radius: 12px;
  background: #fff; border: 1px dashed #e7d6ab;
  font-size: 11.8px; line-height: 1.62; color: #8a5a12;
}
.oc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.oc-steps li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 11px; align-items: start;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
}
.oc-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bevel-gold); color: #fff; font-size: 12.4px; font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 248, 222, .55), 0 6px 12px -8px rgba(120, 84, 6, .8);
}
.oc-step-txt { display: grid; gap: 3px; min-width: 0; }
.oc-step-txt b { font-size: 12.9px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); line-height: 1.42; }
.oc-step-txt span { font-size: 11.9px; line-height: 1.58; color: var(--muted); }
@media (max-width: 1000px) {
  .oc-card { grid-template-columns: 1fr; padding: 26px 24px; gap: 20px; }
  .oc-lead { max-width: none; }
}
@media (max-width: 560px) {
  .oc-card { padding: 22px 18px; border-radius: 18px; }
  .oc-title { font-size: 22px; gap: 10px; }
  .oc-bolt { width: 32px; height: 32px; border-radius: 10px; }
  .oc-bolt svg { width: 17px; height: 17px; }
  .oc-cta { flex-direction: column; }
  .oc-btn, .oc-guide { width: 100%; justify-content: center; text-align: center; white-space: normal; }
  .oc-steps li { padding: 11px 12px; }
}

/* ------------------------------- 업데이트 & 다운로드 센터 (#releases) */
.releases { background: linear-gradient(180deg, #ffffff 0%, #fffdf8 58%, #ffffff 100%); }
.rel-toolbar {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line-gold); border-radius: 18px; padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff, #fdfaf1); box-shadow: var(--shadow-sm);
}
.rel-search { position: relative; display: flex; align-items: center; gap: 10px; }
.rel-search > svg {
  position: absolute; left: 15px; width: 17px; height: 17px; color: var(--gold-700); pointer-events: none;
}
.rel-search input {
  width: 100%; height: 44px; padding: 0 42px 0 42px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13.6px; font-weight: 600; color: var(--ink); font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rel-search input::placeholder { color: var(--muted-2); font-weight: 500; }
.rel-search input:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}
.rel-q-clear {
  position: absolute; right: 10px; width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 11px; line-height: 1; cursor: pointer;
}
.rel-q-clear:hover { color: var(--gold-900); border-color: var(--line-gold); background: var(--gold-50); }
.rel-filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.rel-seg {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.rel-seg button {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  font-size: 12.4px; font-weight: 700; letter-spacing: -.01em;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.rel-seg button:hover { background: var(--ivory-2); color: var(--gold-900); }
.rel-seg button.is-on {
  background: var(--gold-50); color: var(--gold-900);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}
.rel-count { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.rel-list { display: grid; gap: 16px; margin-top: 20px; }
.rel-card {
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.rel-card.is-latest {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf4 100%);
  box-shadow: 0 20px 44px -34px rgba(150, 110, 20, 0.55);
}
.rel-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rel-verbox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rel-ver { font-size: 25px; font-weight: 900; letter-spacing: -.035em; color: var(--ink); font-family: var(--mono); }
.rel-latest {
  font-size: 10.6px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; padding: 4px 10px; border-radius: 999px;
  background: var(--bevel-gold); box-shadow: var(--shadow-gold);
}
.rel-head-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.rel-date { font-size: 12px; font-weight: 700; color: var(--muted); font-family: var(--mono); }
.rel-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.rel-badge {
  font-size: 10.8px; font-weight: 800; line-height: 1.3; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink-2); white-space: nowrap;
}
.rel-badge.feature { border-color: var(--line-gold); background: var(--gold-50); color: var(--gold-900); }
.rel-badge.skill { border-color: #dcd6c6; background: #faf8f2; color: #5b5344; }
.rel-badge.perf { border-color: #d8dfe8; background: #f6f8fb; color: #45566b; }
.rel-badge.security { border-color: #d7e5da; background: #f2f8f3; color: var(--ok); }
.rel-sum { margin: 12px 0 0; font-size: 13.4px; line-height: 1.72; color: var(--ink-2); max-width: 980px; }
.rel-notes {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
}
.rel-notes li { position: relative; padding-left: 15px; min-width: 0; }
.rel-notes li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 5px; height: 5px;
  border-radius: 999px; background: var(--gold-500);
}
.rel-notes b { display: block; font-size: 13.1px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.rel-notes span { display: block; margin-top: 2px; font-size: 12.4px; line-height: 1.62; color: var(--body); }
.rel-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.rel-meta-box {
  border: 1px solid var(--line-soft); border-radius: 13px; padding: 11px 13px;
  background: #fdfaf2;
}
.rel-meta-box b {
  display: block; margin-bottom: 4px; font-size: 10.8px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-900);
}
.rel-meta-box p { margin: 0; font-size: 12.2px; line-height: 1.6; color: var(--ink-2); }
.rel-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line-soft);
}
.rel-files { display: flex; flex-wrap: wrap; gap: 7px; }
.rel-file {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.6px; font-weight: 700; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; background: #fff;
}
.rel-file svg { width: 14px; height: 14px; color: var(--gold-700); flex: 0 0 auto; }
/* 카드 안 플랫폼 칩 — Windows · macOS · Linux · Android · iPhone/iPad */
.rel-plats {
  display: flex; flex-wrap: wrap; gap: 8px; width: 100%;
}
.rel-plat {
  flex: 1 1 142px; min-width: 0; max-width: 100%;
  display: flex; align-items: center; gap: 9px; text-align: left;
  border: 1px solid var(--line); border-radius: 13px; background: #fff;
  padding: 9px 11px; cursor: pointer; font-family: inherit;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.rel-plat:hover, .rel-plat:focus-visible {
  border-color: var(--line-gold); background: #fffdf4;
  box-shadow: 0 6px 16px -12px rgba(140, 100, 20, .55); outline: none;
}
.rel-plat > svg { width: 18px; height: 18px; color: var(--gold-700); flex: 0 0 auto; }
.rel-plat-t { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.rel-plat-t b { font-size: 12.2px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.rel-plat-t span {
  font-size: 10.8px; font-weight: 600; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rel-plat-s {
  flex: 0 0 auto; font-size: 9.6px; font-weight: 900; letter-spacing: .02em;
  padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  background: #faf9f5; white-space: nowrap;
}
.rel-plat.st-ready .rel-plat-s { border-color: var(--line-gold); background: var(--gold-50); color: var(--gold-900); }
.rel-plat.st-web .rel-plat-s { border-color: #d8dfe8; background: #f6f8fb; color: #45566b; }
.rel-dl { margin-left: auto; }
.rel-dl { padding: 11px 20px; font-size: 13.6px; }
.rel-empty {
  margin: 18px 0 0; padding: 30px 20px; text-align: center;
  border: 1px dashed var(--line-gold); border-radius: 16px;
  background: #fffdf6; font-size: 13px; color: var(--muted);
}
@media (max-width: 900px) {
  .rel-notes { grid-template-columns: 1fr; }
  .rel-head-meta { align-items: flex-start; }
  .rel-badges { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .rel-card { padding: 18px 16px; }
  .rel-ver { font-size: 22px; }
  .rel-meta { grid-template-columns: 1fr; }
  .rel-seg { width: 100%; }
  .rel-seg button { flex: 1 1 auto; text-align: center; }
  .rel-foot { flex-direction: column; align-items: stretch; }
  .rel-dl { width: 100%; }
}

/* 릴리스 다운로드 모달 */
.rdl-modal { max-width: 660px; }
.rdl-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px;
  padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.rdl-tab {
  flex: 1 1 auto; border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 11.6px; font-weight: 800; color: var(--ink-2); padding: 6px 10px; border-radius: 999px;
}
.rdl-tab:hover { background: var(--ivory-2); color: var(--gold-900); }
.rdl-tab.is-on { background: var(--gold-50); color: var(--gold-900); box-shadow: inset 0 0 0 1px var(--line-gold); }
.rdl-tab.is-off { opacity: .55; }
.rdl-plat {
  border: 1px solid var(--line); border-radius: 15px; background: #fff;
  padding: 12px 13px; scroll-margin: 10px;
}
.rdl-plat.is-focus, .rdl-plat:target { border-color: var(--line-gold); background: #fffdf4; }
.rdl-plat.is-off { background: #fbfaf7; }
.rdl-ph { display: flex; align-items: center; gap: 10px; }
.rdl-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid var(--line-gold); background: linear-gradient(180deg, #fffdf4, #fdf5e2);
}
.rdl-ico svg { width: 17px; height: 17px; color: var(--gold-700); }
.rdl-ptxt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.rdl-ptxt b { font-size: 12.6px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.rdl-ptxt span { font-size: 11.2px; font-weight: 600; color: var(--muted); line-height: 1.5; }
.rdl-cta { flex: 0 0 auto; padding: 8px 13px; font-size: 12px; border-radius: 10px; white-space: nowrap; }
.rdl-cta[aria-busy="true"] { opacity: .6; pointer-events: none; }
.rdl-cta.is-muted {
  display: inline-flex; align-items: center; font-size: 10.8px; font-weight: 800;
  color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 5px 9px;
}
.rdl-spec { margin: 9px 0 0; font-size: 11.4px; line-height: 1.6; color: var(--ink-2); }
.rdl-spec i {
  font-style: normal; font-size: 9.6px; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-900); margin-right: 5px;
}
.rdl-badge {
  display: inline-block; margin: 8px 0 0; font-size: 10.4px; font-weight: 850;
  color: var(--gold-900); background: var(--gold-50); border: 1px solid var(--line-gold);
  border-radius: 999px; padding: 3px 9px;
}
.rdl-extra { margin: 6px 0 0; font-size: 11.2px; line-height: 1.6; color: var(--muted); }
.rdl-steps { margin: 8px 0 0; }
.rdl-steps summary {
  cursor: pointer; font-size: 11px; font-weight: 850; color: var(--gold-900);
  list-style: none; display: inline-flex; align-items: center; gap: 5px;
}
.rdl-steps summary::-webkit-details-marker { display: none; }
.rdl-steps summary::before { content: "▸"; font-size: 9px; }
.rdl-steps[open] summary::before { content: "▾"; }
.rdl-steps p { margin: 5px 0 0; font-size: 11.2px; line-height: 1.65; color: var(--ink-2); }
.rdl-modal .kicker { display: block; margin-bottom: 4px; }
.rdl-modal h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); font-family: var(--mono); }
.rdl-sub { margin: 0 0 14px; font-size: 12.6px; line-height: 1.68; color: var(--muted); }
.rdl-list { display: grid; gap: 9px; max-height: min(58vh, 460px); overflow-y: auto; padding-right: 2px; }
.rdl-file {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; background: #fff;
  text-decoration: none; color: inherit;
}
.rdl-file.is-link:hover { border-color: var(--line-gold); background: var(--gold-50); }
.rdl-file.is-off { opacity: .62; }
.rdl-file-txt { min-width: 0; }
.rdl-file-txt b { display: block; font-size: 13.2px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.rdl-file-txt span { display: block; margin-top: 2px; font-size: 11.6px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.rdl-cta { flex: 0 0 auto; font-size: 12.2px; font-weight: 900; color: var(--gold-900); white-space: nowrap; }
.rdl-cta.muted { color: var(--muted-2); font-weight: 700; }
.rdl-note { margin: 13px 0 16px; font-size: 11.8px; line-height: 1.62; color: var(--muted); }
@media (max-width: 620px) {
  .rel-plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-plat { flex: initial; }
  .rdl-modal { max-width: 100%; }
  .rdl-ph { flex-wrap: wrap; }
  .rdl-ph .rdl-cta { width: 100%; justify-content: center; text-align: center; }
  .rdl-tabs { border-radius: 14px; }
  .rdl-tab { flex: 1 1 30%; }
}

/* =========================================================================
   ✨ 3D 입체 메탈릭 골드 — 금속 박판 글자 · 흐르는 반짝임 · 입체 버튼/배지
   · 배경 클리핑 미지원 브라우저는 위에서 정의한 단색 금색을 그대로 씁니다.
   · 움직임은 prefers-reduced-motion 에서 모두 멈춥니다.
   ========================================================================= */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* 큰 글자 — 브랜드 · 히어로 · 지표 · 금액 (밝은 금속 박판 + 지나가는 광택) */
  .brand-text b,
  .hero h1 .h1-brand,
  .hero h1 em,
  .metric b,
  .plan .krw,
  .plan.free .krw,
  .plan.mobile .krw,
  .summary .row.total b,
  .astat b {
    background-image: var(--metal-glint), var(--metal-foil);
    background-size: 220% 100%, 100% 100%;
    background-position: -60% 50%, 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    filter:
      drop-shadow(0 1px 0 rgba(109, 71, 8, 0.45))
      drop-shadow(0 3px 5px rgba(140, 100, 12, 0.14));
    animation: metal-sweep 9s cubic-bezier(.45, .05, .55, .95) infinite alternate;
  }
  /* 히어로 첫 줄은 한 단계 어두운 금속 — 두 줄의 깊이 차이를 유지합니다 */
  .hero h1 em.l1 {
    background-image: var(--metal-glint), var(--metal-foil-deep-vert);
    background-size: 220% 100%, 100% 100%;
    background-position: -60% 50%, 50% 50%;
    background-repeat: no-repeat;
  }

  /* 작은 라벨 · 보조 금액 — 어두운 금색 중심의 금속 (흰 배경에서도 읽히도록) */
  .brand-text small,
  .kicker,
  .section-head .kicker,
  .pos-kicker,
  .guide-kicker,
  .lock-kicker,
  .panel-sub h3,
  .af-title,
  .plan .usd,
  .plan .list-note {
    background-image: var(--metal-foil-deep);
    background-size: 200% 100%;
    background-position: 22% 50%;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(109, 71, 8, 0.34));
    animation: metal-drift 17s ease-in-out infinite alternate;
  }
}

/* 금색 배지 — 위는 밝고 아래는 어두운 금속 베벨 */
.plan.featured .plan-tag,
.plan-tag.bundle,
.admin-badge,
.compat-card.ok .compat-tag,
.rw-coupons li .rw-cp-badge,
.cpo-badge {
  background-color: #b8860b; background-image: var(--bevel-gold);
  border-color: transparent; color: #fff;
  text-shadow: 0 1px 0 rgba(74, 50, 3, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 213, 0.85),
    inset 0 -1px 0 rgba(96, 66, 4, 0.45),
    0 6px 14px -9px rgba(120, 84, 10, 0.65);
}

/* 원형 재생 버튼 — 금속 구슬 */
.guide-cta .play,
.guide-band .play {
  background-color: #b8860b; background-image: var(--bevel-gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 224, 0.95),
    inset 0 -2px 3px rgba(96, 66, 4, 0.5),
    0 10px 22px -12px rgba(120, 84, 10, 0.75);
}

/* 광택이 글자·버튼을 훑고 지나가는 움직임 */
@keyframes metal-sweep {
  0%   { background-position: -60% 50%, 50% 50%; }
  16%  { background-position: -60% 50%, 50% 50%; }
  58%  { background-position: 160% 50%, 50% 50%; }
  100% { background-position: 160% 50%, 50% 50%; }
}
@keyframes metal-drift {
  from { background-position: 12% 50%; }
  to   { background-position: 88% 50%; }
}

/* 움직임을 줄이는 설정에서는 반짝임을 완전히 끕니다 */
@media (prefers-reduced-motion: reduce) {
  .brand-text b, .brand-text small, .hero h1 .h1-brand, .hero h1 em, .metric b,
  .plan .krw, .summary .row.total b, .astat b, .kicker, .pos-kicker, .guide-kicker,
  .lock-kicker, .panel-sub h3, .af-title, .plan .usd, .plan .list-note {
    animation: none !important;
    background-position: 40% 50%;
  }
  .btn-gold::after { display: none; }
}

/* ============================================================
   판매자 테스트 (커밍순 잠금을 이 브라우저에서만 해제)
   ============================================================ */
.foot-copy-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.foot-copy-row .foot-copy { margin-top: 12px; }
.foot-copy-row .seller-test-link {
  font: inherit; color: var(--muted-2); background: none; border: 0; padding: 0 0 0 10px;
  margin: 0; cursor: pointer; text-decoration: none;
  border-left: 1px solid var(--line); opacity: .85; font-size: 11.2px;
}
.foot-copy-row .seller-test-link:hover,
.foot-copy-row .seller-test-link:focus-visible { opacity: 1; color: var(--gold-2, #B8860B); }
.foot-copy-row .seller-test-link:focus-visible { outline: 2px solid var(--line-gold); outline-offset: 2px; border-radius: 3px; }

.seller-badge {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: max-content; max-width: calc(100vw - 32px); margin: 8px auto 0;
  padding: 5px 7px 5px 12px; border-radius: 999px;
  background: #FFFDF7; border: 1px solid var(--line-gold, #E6D3A3);
  font-size: 11.4px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.seller-badge[hidden] { display: none; }
.seller-badge span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seller-badge button {
  font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-gold, #E6D3A3); background: #fff; color: var(--ink);
}
.seller-badge button:hover { background: var(--ivory); }
@media (max-width: 520px) {
  .seller-badge { font-size: 10.4px; padding: 4px 5px 4px 10px; gap: 6px; }
  .seller-badge span { max-width: 60vw; }
}

.seller-test-modal .seller-setup {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
}
.seller-test-modal .seller-setup summary {
  cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted);
}
.seller-test-modal .seller-setup summary:hover { color: var(--ink); }
.seller-test-modal .seller-setup .field { margin-top: 10px; }
.sg-error.ok { color: #2f7a43; }

/* ============================================================
   🛡️ 판매자 2중 방어막 (admin.html — 팝업 · 보안 탭)
   ============================================================ */
.admin-tabs { display: flex; gap: 6px; margin: 2px 0 16px; flex-wrap: wrap; }
.admin-tab {
  font: inherit; font-size: 12.6px; font-weight: 800; letter-spacing: -.01em;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
}
.admin-tab:hover { color: var(--ink); border-color: var(--line-gold); }
.admin-tab.is-on {
  color: #5c3d05; border-color: var(--line-gold);
  background: linear-gradient(180deg, #fffdf4, #fbf1d4);
  box-shadow: var(--shadow-sm);
}

/* 방어막 팝업 — 승인되지 않은 접근이면 관리자 화면 위를 완전히 덮습니다. */
.shield-veil {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 18px;
  background: rgba(20, 15, 4, .62);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.shield-veil[hidden] { display: none; }
.shield-box {
  width: 100%; max-width: 430px; max-height: calc(100vh - 36px); overflow-y: auto;
  padding: 26px 24px 20px; border-radius: 22px;
  border: 1px solid var(--line-gold); background: #fffdf7;
  box-shadow: 0 30px 70px -30px rgba(20, 12, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.shield-top { display: flex; gap: 12px; align-items: center; }
.shield-crest {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 23px; background-image: var(--bevel-gold); color: #fff8dc;
  box-shadow: inset 0 1px 0 rgba(255, 248, 222, .9), inset 0 -2px 0 rgba(96, 66, 4, .5),
    0 12px 20px -14px rgba(120, 84, 10, .95);
}
.shield-kicker { font-size: 9.8px; letter-spacing: .18em; font-weight: 800; color: var(--gold-800); }
.shield-box h2 { margin: 2px 0 0; font-size: 21px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.shield-sub { margin: 12px 0 0; font-size: 12.4px; line-height: 1.68; color: var(--muted); }
.shield-steps { list-style: none; margin: 16px 0 14px; padding: 0; display: flex; gap: 6px; }
.shield-steps li {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px;
  padding: 8px 8px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  font-size: 11.2px; font-weight: 750; color: var(--muted-2); line-height: 1.3;
}
.shield-steps li b {
  width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.6px; background: var(--ivory); color: var(--muted); flex: 0 0 auto;
}
.shield-steps li.is-on { border-color: var(--line-gold); background: #fffdf4; color: #6d4708; }
.shield-steps li.is-on b { background-image: var(--bevel-gold); color: #fff; }
.shield-steps li.is-done b { background: #2f7a43; color: #fff; }
.shield-panel { display: grid; gap: 9px; }
.shield-panel[hidden] { display: none; }
.shield-panel input[type="password"],
.shield-panel input[type="text"],
.shield-panel .otp-input,
.shield-card input[type="text"],
.shield-card input[type="email"] {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; font-family: inherit; color: var(--ink);
}
.shield-panel .otp-input, .shield-card #sh-otp-confirm, .shield-card #sh-act-code {
  letter-spacing: .34em; text-align: center; font-weight: 800; font-size: 19px;
}
.shield-panel input:focus, .shield-card input:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 175, 55, .16);
}
.shield-hint { margin: 0 0 2px; font-size: 12.4px; line-height: 1.6; color: var(--body); }
.shield-err { min-height: 15px; margin: 2px 0 0; font-size: 11.8px; color: var(--danger); }
.shield-err:empty { display: none; }
.shield-count { margin: 0; font-size: 11.4px; font-weight: 700; color: #8a5a12; }
.shield-count:empty { display: none; }
.shield-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.shield-row input { flex: 1 1 130px; min-width: 0; }
.shield-foot {
  margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 10.8px; line-height: 1.6; color: var(--muted-2);
}
.shield-veil.is-locked .shield-crest { background-image: linear-gradient(180deg, #e26a5e, #b3261e); }

/* 보안 탭 카드 */
.shield-card {
  background: var(--white); border: 1px solid var(--line-gold); border-radius: 18px;
  padding: 18px 18px 16px; margin: 0 0 18px; box-shadow: var(--shadow-sm);
}
.shield-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.shield-step-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 13px 12px;
  background: linear-gradient(180deg, #fff, #fdfbf5); display: grid; gap: 8px; align-content: start;
}
.shield-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shield-card-head h3 { margin: 0; font-size: 13px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.shield-card-note { margin: 0; font-size: 11.2px; line-height: 1.62; color: var(--muted); }
.shield-qr { display: grid; gap: 8px; justify-items: center; padding-top: 4px; }
.shield-qr[hidden] { display: none; }
.shield-qr img { width: 168px; height: 168px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.shield-key-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; font-size: 11px; color: var(--muted); }
.shield-key-row code {
  font-family: var(--mono); font-size: 11.4px; font-weight: 700; letter-spacing: .06em;
  color: var(--gold-800); background: var(--gold-50); padding: 3px 7px; border-radius: 6px; word-break: break-all;
}
.shield-sub { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.shield-sub h3 { margin: 0 0 6px; font-size: 13px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.shield-chan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 8px 0; }
.shield-chan-grid label { display: grid; gap: 4px; font-size: 11px; font-weight: 750; color: var(--muted); }
.shield-check { display: inline-flex; align-items: center; gap: 6px; font-size: 11.8px; font-weight: 700; color: var(--muted); }
.shield-test-out {
  margin-top: 8px; padding: 10px 12px; border-radius: 11px;
  background: #f3faf6; border: 1px solid #cfe7db; font-size: 11.6px; line-height: 1.6; color: #245c33;
}
.shield-test-out[hidden] { display: none; }
.shield-events { display: grid; gap: 5px; }
.shield-ev {
  display: grid; grid-template-columns: 118px 92px minmax(0, 1fr); gap: 8px;
  padding: 8px 10px; border-radius: 10px; background: var(--ivory); border: 1px solid var(--line);
  font-size: 11.2px; color: var(--muted);
}
.shield-ev b { color: var(--ink); font-weight: 800; }
.shield-ev.bad { background: #fdf3f1; border-color: #ecd6d2; }
.shield-ev.bad b { color: var(--danger); }
@media (max-width: 900px) {
  .shield-grid { grid-template-columns: 1fr; }
  .shield-chan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shield-box { padding: 20px 16px 16px; border-radius: 18px; }
  .shield-steps li { flex-direction: column; align-items: flex-start; }
  .shield-ev { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------- ⚡ 원클릭 자동 설치 — 운영체제 탭 (#oneclick) */
.oc-os {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: -6px 0 2px; padding: 6px; border-radius: 14px;
  background: rgba(255, 255, 255, .82); border: 1px solid var(--line-gold);
}
.oc-os-tab {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 12.2px; font-weight: 800; letter-spacing: -.01em;
  padding: 9px 13px 9px 11px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: var(--muted);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.oc-os-tab svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: .75; }
.oc-os-tab:hover { color: var(--ink); background: #fff; border-color: var(--line); }
.oc-os-tab.is-on {
  color: #5c3d05; background: linear-gradient(180deg, #fffdf4, #fbf1d4);
  border-color: var(--line-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 16px -14px rgba(120, 84, 10, .9);
}
.oc-os-tab.is-on svg { opacity: 1; }
.oc-os-tab:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.oc-os-badge {
  position: absolute; top: -7px; right: -4px;
  font-style: normal; font-size: 8.6px; font-weight: 900; letter-spacing: .02em;
  padding: 2px 5px; border-radius: 999px; color: #fff;
  background-image: var(--bevel-gold);
  box-shadow: 0 4px 8px -6px rgba(90, 60, 0, .9);
}
.oc-os-badge[hidden] { display: none; }
.oc-os-auto {
  margin-left: auto; padding: 0 8px;
  font-size: 11.2px; font-weight: 700; color: var(--gold-800);
}
.oc-file {
  margin: 2px 0 0; font-family: var(--mono); font-size: 11.2px; font-weight: 700;
  color: #7a5a14; word-break: break-all;
}
.oc-btn.is-off { opacity: .92; }
@media (max-width: 620px) {
  .oc-os { gap: 4px; padding: 5px; }
  .oc-os-tab { font-size: 11.2px; padding: 8px 9px; gap: 5px; flex: 1 1 auto; justify-content: center; }
  .oc-os-tab svg { width: 13px; height: 13px; }
  .oc-os-auto { flex: 1 1 100%; margin: 4px 2px 0; text-align: center; }
  .oc-file { font-size: 10.4px; }
}

/* =========================================================================
   회원가입 — 본인인증 수단 선택 (2026-12-01)
   아이디(이메일·휴대폰 번호·영문 아이디)와 인증 영역을 분리하고,
   이메일 인증 / 카카오톡 인증(채널 심사 중)을 라디오로 고르게 합니다.
   화이트 · 샴페인 골드 톤 유지.
   ========================================================================= */
.su-auth {
  margin: 2px 0 10px; padding: 11px 12px 12px;
  border: 1px solid var(--line-gold); border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 72%);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px -24px rgba(150, 110, 20, 0.7);
}
.su-auth-title {
  margin: 0 0 8px; font-size: 11.8px; font-weight: 800; letter-spacing: 0.01em;
  color: var(--gold-900);
}
.su-auth-methods { display: grid; gap: 7px; }
.su-auth-method {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 38px;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--white); cursor: pointer;
  font-size: 12.4px; font-weight: 800; color: var(--ink-2);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.su-auth-method:hover { border-color: var(--line-gold); background: #fffdf7; }
.su-auth-method.on {
  border-color: var(--gold-500); background: var(--gold-50);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}
.su-auth-method input[type="radio"] {
  flex: 0 0 auto; width: 17px; height: 17px; margin: 0; padding: 0;
  accent-color: var(--gold-700); cursor: pointer;
}
.su-auth-label { line-height: 1.35; }
.su-auth-tag {
  margin-left: auto; padding: 2px 7px; border-radius: 999px; white-space: nowrap;
  font-size: 9.6px; font-weight: 800; letter-spacing: 0.01em;
  color: var(--gold-900); background: var(--gold-100); border: 1px solid var(--line-gold);
}
.su-auth-tag.soon { color: var(--warn); background: #fff6e6; border-color: #f0dcb4; }
.su-auth-panel { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-gold); }
.su-auth-panel[hidden] { display: none; }
.su-auth-panel .field { margin-bottom: 8px; }
.su-auth-panel .field:last-child { margin-bottom: 0; }
.su-auth-panel input[readonly] { background: var(--ivory-2); color: var(--ink-2); cursor: default; }
.su-auth-note {
  margin: 0 0 9px; padding: 8px 10px; border-radius: 10px;
  font-size: 11.4px; line-height: 1.55; color: var(--warn);
  background: #fff8ea; border: 1px dashed #ecd2a0;
}
#su-phone-field[hidden] { display: none; }
@media (max-width: 640px) {
  .su-auth { padding: 10px 10px 11px; border-radius: 12px; }
  .su-auth-method { padding: 7px 9px; font-size: 12px; }
  .su-auth-panel { margin-top: 8px; padding-top: 8px; }
}

/* =========================================================================
   📱 아이폰 · 아이패드 10초 설치 가이드 (2026-12-01)
   · 결제창·요금제·다운로드 안내의 작은 링크 → 3단계 그림 팝업(#ios-guide)
   · 화이트 + 샴페인 골드. 단계마다 일러스트(SVG)로 그림만 보고 따라 할 수 있게.
   ========================================================================= */
.iosg-overlay { z-index: 130; }
.iosg-modal {
  position: relative; max-width: 830px; padding: 26px 28px 22px;
  background: linear-gradient(180deg, #fffdf7 0%, var(--white) 34%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 46px 100px -48px rgba(90, 68, 14, 0.5);
}
.iosg-modal h2 { font-size: 23px; }
.iosg-modal .modal-head { margin-bottom: 4px; }
.iosg-lead {
  margin: 4px 0 14px; font-size: 14.6px; line-height: 1.55;
  color: var(--ink-2); font-weight: 620; letter-spacing: -0.01em;
}
.iosg-lead b {
  font-weight: 900; letter-spacing: -0.02em;
  background: var(--metal-foil-deep); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-900);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .iosg-lead b { background: none; color: var(--gold-800); }
}
.iosg-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; padding: 0;
}
.iosg-badges li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-gold);
  font-size: 12px; font-weight: 750; color: var(--ink-2); white-space: nowrap;
}
.iosg-badges li svg { width: 14px; height: 14px; flex: 0 0 auto; }

.iosg-steps {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px;
}
.iosg-step {
  position: relative; padding: 14px 14px 15px; border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf3 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.iosg-num {
  position: absolute; top: 11px; right: 11px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--metal-foil); color: #fff;
  font-size: 12.4px; font-weight: 900; line-height: 1;
  box-shadow: 0 7px 14px -8px rgba(120, 88, 10, 0.95);
}
.iosg-art {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; padding: 8px 6px 4px; border-radius: 12px;
  background: radial-gradient(120% 130% at 50% 0%, #fffefb 0%, #f8f2e6 100%);
  border: 1px solid var(--line-soft);
}
.iosg-art svg { display: block; width: 100%; height: auto; max-height: 132px; }
.iosg-step > b {
  display: block; margin-bottom: 5px; font-size: 14px; font-weight: 850;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.35;
}
.iosg-step > p {
  margin: 0; font-size: 12.4px; line-height: 1.62; color: var(--body);
}
.iosg-urlrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px !important;
}
.iosg-url {
  padding: 5px 8px; border-radius: 8px; font-family: var(--mono); font-size: 11px;
  color: var(--gold-900); background: var(--gold-50); border: 1px solid var(--line-gold);
  overflow-wrap: anywhere;
}
.iosg-copy {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  padding: 5px 9px; border-radius: 8px; font-family: inherit;
  font-size: 11.2px; font-weight: 800; color: var(--gold-800);
  background: var(--white); border: 1px solid var(--line-gold);
}
.iosg-copy svg { width: 13px; height: 13px; }
.iosg-copy:hover { background: var(--gold-50); border-color: var(--gold-500); }

.iosg-apphint {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.6; color: var(--ink-2);
  background: #fbfaf6; border: 1px dashed var(--line-gold);
}
.iosg-note {
  margin: 0 0 16px; font-size: 11.6px; line-height: 1.62; color: var(--muted);
}
.iosg-cta { margin-bottom: 8px; }

/* 작은 진입 링크 — 결제창 · 요금제 · 지원 기기 · 다운로드 안내 공통 */
.iosg-link {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font-family: inherit;
  font-size: 12.4px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--gold-800); background: var(--gold-50); border: 1px solid var(--line-gold);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.iosg-link:hover { background: var(--white); border-color: var(--gold-500); transform: translateY(-1px); }
.iosg-link:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.iosg-link .igar { font-size: 13px; line-height: 1; }
.iosg-link.sm { padding: 6px 11px; font-size: 11.6px; }
.iosg-callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: -6px 0 16px;
}
.iosg-link-sub { font-size: 11.4px; font-weight: 650; color: var(--muted); }
.iosg-price-row { margin: 10px 0 12px; text-align: center; }
.iosg-dev-row { margin: 10px 0 0; }
.oc-cta .iosg-link { padding: 9px 14px; }

@media (max-width: 760px) {
  .iosg-modal { padding: 20px 16px 16px; max-width: 100%; }
  .iosg-modal h2 { font-size: 19.5px; }
  .iosg-lead { font-size: 13.4px; }
  .iosg-steps { grid-template-columns: 1fr; gap: 10px; }
  .iosg-step { padding: 13px 13px 14px; }
  .iosg-art svg { max-height: 124px; }
  .iosg-badges li { font-size: 11.4px; }
  .iosg-price-row { text-align: left; }
}

/* 다운로드 안내 모달 — 금색 실행 버튼은 흰 글자, 긴 안내 배지는 카드 안에서 줄바꿈 (2026-12-01) */
.rdl-cta.btn-gold { color: #fff; }
.rdl-cta.is-muted { white-space: normal; text-align: center; max-width: 54%; line-height: 1.35; }
.rdl-plat .iosg-link { margin-top: 10px; }
@media (max-width: 560px) {
  .oc-cta .iosg-link { align-self: center; }
}
