/* ══════════════════════════════════════════════════════════════
   eBOSS VPN — 시안 F v2
   가독성 우선 타입 스케일: 본문 16px · 보조 14px · 최소 13px
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Pretendard";
  src: url("assets/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-50: #E8F4FE;
  --blue-100: #CFE8FD;
  --blue-400: #58B4FA;
  --blue-500: #2E9AF2;
  --blue-600: #1F86DE;
  --green-50: #EAF7EE;
  --green-500: #3E9E67;
  --amber-50: #FEF7DF;
  --amber-500: #C98F1B;
  --violet-50: #F3ECFD;
  --violet-500: #7C4DEB;
  --red-500: #D94848;
  --ink: #1B2433;
  --ink-2: #33465C;
  --muted: #5A6E86;
  --muted-2: #7C8FA6;
  --line: #E3ECF6;
  --bg: #F5F9FE;
  --card-shadow: 0 10px 30px rgba(23, 52, 84, .07);
  --r-lg: 24px;
  --r-md: 16px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* 서브셋(약 180KB)에 없는 글자는 OS 한글 폰트로 자연스럽게 넘긴다 */
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR",
    "Noto Sans CJK KR", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
input, select, textarea { font: inherit; color: inherit; }
s { color: var(--muted-2); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

:focus-visible {
  outline: 3px solid rgba(46, 154, 242, .45);
  outline-offset: 2px;
  border-radius: 10px;
}

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

/* ───────── Sidebar ───────── */
.app { min-height: 100%; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  background: linear-gradient(178deg, #43B2FE 0%, #2E9AF2 52%, #2C90EC 100%);
  overflow-y: auto;
  z-index: 40;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: radial-gradient(120% 80% at 20% 100%, rgba(255, 255, 255, .22), transparent 70%);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 6px;
  position: relative;
  z-index: 1;
}
.brand-mark { width: 46px; height: 46px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-text strong em { font-style: normal; font-weight: 600; opacity: .9; }
.brand-text small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 500;
}

.nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .95);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  transition: background .18s, color .18s, transform .18s;
}
.nav-item .ic { width: 21px; height: 21px; stroke-width: 1.9; opacity: .95; }
.nav-item:hover { background: rgba(255, 255, 255, .17); }
.nav-item.is-active {
  background: #fff;
  color: #1E86DC;
  box-shadow: 0 8px 20px rgba(11, 67, 120, .22);
}
.nav-item.is-active .ic { opacity: 1; stroke-width: 2; }

.nav-sep {
  height: 1px;
  margin: 18px 12px 10px;
  background: rgba(255, 255, 255, .28);
  position: relative;
  z-index: 1;
}
.nav-admin { position: relative; z-index: 1; }
.nav-tag {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.nav-item.is-active .nav-tag { background: #E6F4FF; color: #1E7FD2; }

.side-bottom {
  margin-top: auto;
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

.side-banner {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 18px;
  padding: 16px 15px 13px;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(2px);
}
.side-banner-ico {
  width: 40px; height: 40px; margin: 0 auto 8px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .24);
}
.side-banner-ico .ic { width: 22px; height: 22px; }
.side-banner-title { font-size: 14px; font-weight: 700; }
.side-banner-title b { font-size: 16px; font-weight: 800; }
.side-banner-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}
.side-banner-btn {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 10px;
  border-radius: 11px;
  background: #fff;
  color: #1B7FD4;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(11, 67, 120, .2);
  transition: transform .18s;
}
.side-banner-btn:hover { transform: translateY(-1px); }
.side-banner-btn .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.side-banner-sub {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 4px 0;
  color: rgba(255, 255, 255, .95);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.side-legal {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 30, 50, .42);
  z-index: 38;
  border: 0;
}
.scrim[hidden] { display: none; }

/* ───────── Main ───────── */
.main {
  margin-left: 280px;
  padding: 24px 34px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.hello h1 {
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.hello p {
  margin-top: 5px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 52, 84, .08);
  font-size: 14px;
  font-weight: 700;
  color: #2C4A36;
  white-space: nowrap;
}
.status-chip .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #38C46E;
  box-shadow: 0 0 0 0 rgba(56, 196, 110, .55);
  animation: pulse 2.4s infinite;
}
.status-chip .dot.is-off { background: #E0A72E; animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 196, 110, .5); }
  70% { box-shadow: 0 0 0 7px rgba(56, 196, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 196, 110, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 13px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}
.btn-primary {
  background: linear-gradient(135deg, #45B2FB, #2E9AF2);
  color: #fff;
  box-shadow: 0 8px 18px rgba(46, 154, 242, .34);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(46, 154, 242, .4); }
.btn-ghost {
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(23, 52, 84, .05);
}
.btn-ghost:hover { border-color: #BFD8EF; }
.btn-block { width: 100%; }
.btn-danger { background: #FDECEC; color: #B33535; border: 1px solid #F6D4D4; }
.btn-danger:hover { background: #FBE0E0; }

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(23, 52, 84, .06);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  max-width: 260px;
}
.account-chip:hover { border-color: #BFD8EF; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #6FC4FF, #2E9AF2);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  flex: 0 0 auto;
}
.avatar.lg { width: 46px; height: 46px; font-size: 19px; }
.account-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.icon-btn:hover { background: #F3F8FE; }
.icon-btn .ic { width: 18px; height: 18px; }
.menu-btn { display: none; }
.btn-logout { color: #7A8EA6; }

.notice-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #FFFDF3;
  border: 1px solid #F3E7BE;
  font-size: 14.5px;
  color: #6B5A22;
}
.notice-strip[hidden] { display: none; }
.notice-strip-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #F7E9B4; color: #8A6412; flex: 0 0 auto; }
.notice-strip-ico .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.notice-strip-label { font-weight: 800; color: #A1791B; flex: 0 0 auto; white-space: nowrap; }
.notice-strip b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-strip .link-btn { margin-left: auto; }

/* ───────── Cards / 공통 ───────── */
.view { display: flex; flex-direction: column; gap: 16px; }

.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
  padding: 24px 26px 20px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.card-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card-head h2 .ic { width: 22px; height: 22px; color: #2E9AF2; }
.emo-chip {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  font-size: 19px;
  line-height: 1;
}
.emo-chip.h-ico .ic { width: 22px; height: 22px; color: #2E9AF2; stroke-width: 1.9; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #1F86DE;
  white-space: nowrap;
}
.link-btn .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

.card-sub { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.55; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  background: #EEF4FB;
  color: #536A84;
}
.pill.ok { background: #E8F7EE; color: #22794A; }
.pill.warn { background: #FFF4DA; color: #8A6412; }
.pill.muted { background: #F0F4FA; color: #62748B; }

.m-eyebrow {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: #EEF7FF;
  color: #1D78C8;
  font-size: 13px;
  font-weight: 800;
}
.m-title {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.m-sub { margin-top: 7px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.m-note {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #FFF9E8;
  border: 1px solid #F4E7BF;
  font-size: 14px;
  color: #6E5719;
  line-height: 1.55;
}
.m-note b { font-weight: 800; }
.m-foot { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.m-foot a { color: #1F86DE; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.demo-note {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #EAF4FF;
  border: 1px dashed #A9D2F6;
  font-size: 14px;
  font-weight: 700;
  color: #1B6DAE;
  text-align: center;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

.page-hero { padding: 6px 4px 2px; }
.page-hero h2 {
  margin-top: 10px;
  font-size: clamp(25px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}
.page-hero p { margin-top: 7px; font-size: 15.5px; color: var(--muted); max-width: 760px; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* ───────── Setup steps ───────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step {
  --bubble: #E7F4FE;
  --badge: #2E9AF2;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 17px 15px;
  border-radius: 20px;
  background: var(--bubble);
}
.step-blue { --bubble: #E7F4FE; --badge: #2E9AF2; }
.step-green { --bubble: #EDF8E6; --badge: #46A96B; }
.step-amber { --bubble: #FEF6DB; --badge: #C9971F; }
.step-violet { --bubble: #F4EDFD; --badge: #7C4DEB; }

.step-badge {
  position: absolute;
  top: 16px; left: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--badge);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(23, 52, 84, .16);
}
.step-violet .step-badge { font-size: 15px; }

.step-copy {
  padding-left: 40px;
  padding-right: 0;
  position: relative;
  z-index: 1;
}
.step-copy p { padding-right: 44px; }
.step-copy h3 {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #17222F;
}
.step-copy p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4E6278;
  font-weight: 500;
}

.step-art {
  position: absolute;
  right: 6px;
  top: 52px;
  width: 62px;
  height: 54px;
  z-index: 1;
  pointer-events: none;
}
.step-art svg { width: 100%; height: 100%; display: block; }

.step-control {
  margin-top: auto;
  padding-top: 16px;
  position: relative;
  z-index: 3;
}
.step-control-row { display: flex; gap: 7px; }

.step-meta {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #71859C;
  position: relative;
  z-index: 1;
}
.step-meta .ic { width: 13px; height: 13px; stroke-width: 2.6; color: #55A973; }

/* select */
.select { position: relative; }
.select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 4px 12px rgba(23, 52, 84, .07);
  font-size: 15px;
  font-weight: 700;
  color: #22303F;
  text-align: left;
}
.select-btn:hover { box-shadow: 0 6px 16px rgba(23, 52, 84, .11); }
.select-ico { display: grid; place-items: center; color: #3E5468; }
.select-ico .ic { width: 17px; height: 17px; }
.select-label { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select-chev { width: 15px; height: 15px; color: #8397AE; stroke-width: 2.2; }

.select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 13px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18, 42, 72, .18);
  padding: 6px;
  z-index: 30;
  animation: pop .14s ease-out;
}
.select-menu[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.select-menu li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 10px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: #3B4C61;
  cursor: pointer;
}
.select-menu li .ic { width: 16px; height: 16px; color: #7A8EA6; }
.select-menu li:hover { background: #F3F9FF; }
.select-menu li[aria-selected="true"] { background: #E8F4FE; color: #1E7FD2; font-weight: 800; }
.select-menu li[aria-selected="true"] .ic { color: #2E9AF2; }

/* app chips */
.app-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.app-chip {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 9px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 4px 12px rgba(23, 52, 84, .07);
  font-size: 14px;
  font-weight: 800;
  color: #22303F;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.app-chip:hover { transform: translateY(-1px); border-color: #BFE3C9; box-shadow: 0 8px 18px rgba(35, 110, 70, .16); }
.app-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-chip .ic { width: 12px; height: 12px; color: #8CA0B6; stroke-width: 2.2; }

.btn-solid {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #2E9AF2;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(46, 154, 242, .3);
}
.btn-solid:hover { background: #228FE8; }
.btn-solid .ic { width: 14px; height: 14px; stroke-width: 2.2; }

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #DEE9F5;
  box-shadow: 0 3px 9px rgba(23, 52, 84, .05);
  font-size: 13.5px;
  font-weight: 700;
  color: #33465C;
  white-space: nowrap;
}
.btn-mini:hover { border-color: #BFD8EF; background: #F7FBFF; }
.btn-mini .ic { width: 14px; height: 14px; }
.btn-mini.danger { color: #B33535; border-color: #F2D6D6; background: #FFF7F7; }

.btn-violet {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #A175F8, #7C4DEB);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(124, 77, 235, .3);
}
.btn-violet:hover { filter: brightness(1.04); }

/* ───────── Lower ───────── */
.lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 16px;
  align-items: start;
}

/* 내 구독 */
.sub-card { display: flex; flex-direction: column; }
.sub-tip {
  margin-top: 18px;
  padding-top: 0;
}
.sub-tip b { display: block; font-size: 14px; font-weight: 800; color: #3E5468; margin-bottom: 6px; }
.sub-tip ul { display: grid; gap: 5px; border-top: 1px dashed #E7EFF8; padding-top: 12px; }
.sub-tip li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.sub-tip li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3E9E67;
  font-weight: 800;
  font-size: 13px;
}
.lock-panel {
  margin-top: 16px;
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #F4FAFF, #EEF7FF);
  border: 1px dashed #B7D9F6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lock-ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: #2E9AF2;
  box-shadow: 0 8px 20px rgba(46, 154, 242, .16);
  margin-bottom: 12px;
}
.lock-ico .ic { width: 25px; height: 25px; stroke-width: 2; }
.lock-panel b { font-size: 17.5px; font-weight: 800; color: #1B3148; line-height: 1.4; }
.lock-panel p { margin-top: 6px; font-size: 14.5px; color: var(--muted); max-width: 380px; }
.lock-panel .btn-row { justify-content: center; }

.locked-preview {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  align-items: center;
  opacity: .55;
  filter: blur(.4px);
  user-select: none;
}
.fake-line {
  padding: 12px 13px;
  border-radius: 12px;
  background: #F5F9FD;
  border: 1px solid #E9F1FA;
  margin-bottom: 8px;
}
.fake-line span { display: block; font-size: 13px; color: var(--muted-2); font-weight: 700; }
.fake-line code { display: block; margin-top: 4px; font-size: 13.5px; letter-spacing: .12em; color: #8FA1B6; }
.fake-qr {
  width: 92px; height: 92px;
  border-radius: 14px;
  background: repeating-linear-gradient(45deg, #EDF3FA, #EDF3FA 6px, #F8FBFF 6px, #F8FBFF 12px);
  border: 1px solid #E3ECF6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  color: #8FA1B6;
  font-size: 13px;
  font-weight: 800;
}
.fake-qr .ic { width: 22px; height: 22px; }

.sub-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #F7FAFE;
  border: 1px solid #E9F1FA;
}
.sub-account-copy { min-width: 0; flex: 1; }
.sub-account-copy b { display: block; font-size: 15.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.sub-account-copy span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

.sub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.sub-stats > div {
  padding: 11px 12px;
  border-radius: 13px;
  background: #F7FAFE;
  border: 1px solid #EBF2FA;
}
.sub-stats span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.sub-stats b { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; color: #22303F; }
.sub-stats em { font-style: normal; font-size: 13px; color: #2E8B58; font-weight: 800; }
.sub-stats em.warn { color: #C07615; }

.traffic {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: #EAF1F9;
  overflow: hidden;
}
.traffic span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6FC4FF, #2E9AF2); }

.sub-tabs {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  margin-top: 16px;
  padding: 4px;
  border-radius: 12px;
  background: #F2F6FB;
}
.sub-tab {
  padding: 8px 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #687C93;
}
.sub-tab.is-active { background: #fff; color: #1E7FD2; box-shadow: 0 2px 6px rgba(23, 52, 84, .1); }

.sub-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  margin-top: 12px;
  align-items: start;
}
.url-row {
  padding: 12px 13px;
  border-radius: 12px;
  background: #F7FAFD;
  border: 1px solid #E9F1FA;
}
.url-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.url-row-head span { font-size: 13.5px; font-weight: 700; color: #5A6E86; }
.url-text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #2E4157;
  letter-spacing: -0.02em;
  word-break: break-all;
  line-height: 1.5;
}
.url-hint { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.qr-panel { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.qr-frame {
  position: relative;
  padding: 9px;
  background: #fff;
  border: 1px solid #E4EEF9;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(23, 52, 84, .07);
}
.qr-box {
  width: 132px; height: 132px;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 6px;
}
.qr-box img, .qr-box canvas { width: 132px !important; height: 132px !important; display: block; }
.qr-sun {
  position: absolute;
  top: -10px; right: -8px;
  font-size: 18px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .08));
}
.qr-caption { font-size: 13px; color: #71859C; font-weight: 600; }
.sub-actions { margin-top: 14px; }

/* 요금제 카드 */
.plans-card { display: flex; flex-direction: column; }
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.plan-top .card-sub { margin: 0; }

.seg {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: #F2F6FB;
  flex: 0 0 auto;
}
.seg-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #687C93;
  white-space: nowrap;
}
.seg-btn.is-active { background: #fff; color: #1E7FD2; box-shadow: 0 2px 6px rgba(23, 52, 84, .1); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}
.plan-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.plan-card {
  --tint: #EBF6FE;
  --accent: #3D9BF0;
  --accent-deep: #1B76C6;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 15px 14px;
  border-radius: 17px;
  background: var(--tint);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.plan-card:nth-child(2) { --tint: #E9F9EF; --accent: #46A96B; --accent-deep: #2C8A55; }
.plan-card:nth-child(3) { --tint: #FEF8E3; --accent: #D6A22F; --accent-deep: #96690A; }
.plan-card:nth-child(4) { --tint: #F7EDFD; --accent: #8B5CF6; --accent-deep: #6B39CE; }
.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 28px rgba(23, 52, 84, .12);
}
.plan-badge {
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #3E9E67;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(46, 150, 100, .28);
}
.plan-name { font-size: 20px; font-weight: 800; color: var(--accent-deep); letter-spacing: -0.03em; line-height: 1.2; }
.plan-sub { margin-top: 3px; font-size: 13.5px; font-weight: 600; color: #54687F; }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; color: #202E3E; flex-wrap: wrap; }
.plan-price b { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 13.5px; font-weight: 700; color: #54687F; }
.plan-price s { font-size: 13px; }
.plan-krw { margin-top: 4px; font-size: 14px; font-weight: 700; color: #44586F; }
.plan-feats { display: grid; gap: 3px; margin-top: 10px; font-size: 14px; font-weight: 600; color: #4C6079; }
.plan-feats li { display: flex; align-items: center; gap: 4px; }
.plan-feats li::before { content: "✓"; color: var(--accent); font-weight: 800; font-size: 13px; }
.plan-btn {
  margin-top: 12px;
  padding: 9px 8px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 5px 12px rgba(23, 52, 84, .12);
}
.plan-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* 빠른 메뉴 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.quick-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform .16s, box-shadow .16s;
}
.quick-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(23, 52, 84, .1); }
.quick-ico {
  grid-row: 1 / span 2;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
}
.quick-ico .ic { width: 22px; height: 22px; }
.quick-ico.gift { background: #FDF0F5; color: #C4517C; }
.quick-ico.file { background: #EAF4FF; color: #2179C9; }
.quick-ico.headset { background: #EAF7EE; color: #2C8A55; }
.quick-card b { font-size: 16.5px; font-weight: 800; }
.quick-card > span:not(.quick-ico) { grid-column: 2; font-size: 13.5px; color: var(--muted); }
.quick-arrow { grid-row: 1 / span 2; grid-column: 3; width: 18px; height: 18px; color: #A3B6CB; }

/* 상태바 */
.statusbar {
  display: grid;
  grid-template-columns: 1fr .92fr 1.3fr;
  align-items: center;
  padding: 14px 10px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
}
.status-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  min-width: 0;
}
.status-item + .status-item::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: #EAF0F8;
}
.status-item .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #38C46E;
  box-shadow: 0 0 0 4px rgba(56, 196, 110, .14);
  flex: 0 0 auto;
}
.status-item b { display: block; font-size: 14.5px; font-weight: 800; color: #22303F; }
.status-item span:not(.dot):not(.tip-ico) {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node-dots { display: flex; flex-wrap: wrap; gap: 3px; width: 32px; flex: 0 0 auto; }
.node-dots i { width: 6px; height: 6px; border-radius: 50%; background: #55C883; }
.tip-ico { font-size: 17px; flex: 0 0 auto; }
.status-tip { padding-right: 10px; }
.status-more {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: #93A7BE;
}
.status-more:hover { background: #F2F8FF; color: #2E9AF2; }
.status-more .ic { width: 15px; height: 15px; stroke-width: 2.4; }

.foot {
  margin-top: auto;
  padding: 20px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: #8496AB;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; }
.foot-links button { font-size: 13px; font-weight: 700; color: #5A7390; padding: 2px 0; }
.foot-links button:hover { color: #1F86DE; text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { color: #9AABBE; }

/* ───────── 친구 초대 ───────── */
.ref-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 16px;
  background: #F0F9F3;
  border: 1px solid #CBE8D5;
  color: #235E3B;
  font-size: 14.5px;
}
.ref-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #3E9E67;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.ref-banner p { flex: 1; }
.ref-banner .icon-btn { width: 32px; height: 32px; border: 0; background: transparent; }

.invite-hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 20px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #2E9AF2, #57B7FB 55%, #7FC8FD);
  color: #fff;
  box-shadow: 0 16px 34px rgba(46, 154, 242, .3);
}
.invite-label { font-size: 14px; font-weight: 700; opacity: .92; }
.invite-code {
  margin-top: 6px;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
}
.invite-hero p { margin-top: 8px; font-size: 14px; opacity: .95; }
.invite-link-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.invite-link-row code {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13.5px;
  word-break: break-all;
  line-height: 1.5;
}
.invite-link-row .btn-row { margin-top: 0; }
.invite-link-row .btn-primary { background: #fff; color: #1B76C6; box-shadow: 0 6px 16px rgba(9, 55, 95, .18); }
.invite-link-row .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
}
.stat span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.stat b { display: block; margin-top: 3px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefit {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
}
.benefit-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #FDF1F6;
  color: #C4517C;
  font-size: 21px;
  margin-bottom: 10px;
}
.benefit:nth-child(2) .benefit-ico { background: #EAF4FF; color: #2179C9; }
.benefit:nth-child(3) .benefit-ico { background: #EAF7EE; color: #2C8A55; }
.benefit-ico .ic { width: 22px; height: 22px; }
.benefit b { font-size: 16.5px; font-weight: 800; }
.benefit p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.benefit p b { font-size: 15px; color: #2C8A55; }

.inline-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.inline-form input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #F9FBFE;
  font-size: 15px;
}
.form-error { margin-top: 8px; font-size: 13.5px; color: #B33535; font-weight: 700; }

.mini-list { margin-top: 14px; display: grid; gap: 8px; }
.mini-list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #3D5068; }
.mini-list .ic { width: 16px; height: 16px; color: #3E9E67; stroke-width: 2.4; }

/* ───────── 공지·약관 ───────── */
.notice-list { margin-top: 14px; display: grid; gap: 10px; }
.notice-item {
  border: 1px solid #E9F0F9;
  border-radius: 15px;
  overflow: hidden;
  background: #FCFDFF;
}
.notice-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  flex-wrap: wrap;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary::after { content: "＋"; margin-left: auto; color: #8FA1B7; font-weight: 700; }
.notice-item[open] summary::after { content: "－"; }
.notice-cat {
  padding: 3px 9px;
  border-radius: 999px;
  background: #EEF5FD;
  color: #2A6FA8;
  font-size: 13px;
  font-weight: 800;
}
.notice-item summary b { font-size: 15.5px; font-weight: 700; }
.notice-date { font-size: 13px; color: var(--muted); }
.notice-body {
  padding: 0 16px 16px;
  font-size: 14.5px;
  color: #45596F;
  line-height: 1.75;
  border-top: 1px solid #EFF4FA;
  padding-top: 14px;
  margin: 0 0 4px;
}

.doc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.doc-grid-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform .16s, box-shadow .16s;
}
.doc-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(23, 52, 84, .1); }
.doc-ico {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #EAF4FF;
  color: #2179C9;
  margin-bottom: 4px;
}
.doc-card b { font-size: 16px; font-weight: 800; }
.doc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.doc-link { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 800; color: #1F86DE; display: flex; align-items: center; gap: 2px; }
.doc-link .ic { width: 14px; height: 14px; }

/* ───────── 고객센터 ───────── */
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
}
.channel > div { min-width: 0; flex: 1; }
.channel b { display: block; font-size: 16px; font-weight: 800; }
.channel code { display: block; margin-top: 2px; font-size: 14px; color: #1F6FAE; word-break: break-all; }
.channel p { font-size: 13px; color: var(--muted); }
.channel .btn { padding: 9px 14px; font-size: 14px; }
.chat-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 17px;
  font-weight: 900;
  flex: 0 0 auto;
}
.chat-logo.wechat { background: #2BB741; color: #fff; }
.chat-logo.kakaotalk { background: #FEE500; color: #3A1D1D; }
.chat-logo.mail { background: #EAF1F9; color: #3D5A78; }

/* FAQ */
.faq-list { margin-top: 12px; display: grid; gap: 9px; }
.faq-item { border: 1px solid #E9F0F9; border-radius: 13px; overflow: hidden; }
.faq-item summary {
  padding: 14px 15px;
  font-size: 15px;
  font-weight: 700;
  color: #2C3B4D;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: #8FA1B7; font-weight: 700; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 15px 15px; font-size: 14.5px; color: #4E6278; line-height: 1.7; }

/* 폼 */
.form { margin-top: 14px; display: grid; gap: 12px; }
.field { display: block; }
.field > span { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 700; color: #40546C; }
.field input, .field select, .field textarea, .inline-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FAFCFF;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus {
  outline: none;
  border-color: #7CC0F5;
  box-shadow: 0 0 0 3px rgba(46, 154, 242, .16);
  background: #fff;
}
.check-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: 14px; color: #40546C; cursor: pointer; }
.check-row input { width: 19px; height: 19px; margin-top: 2px; accent-color: #2E9AF2; flex: 0 0 auto; }

.demo-box {
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 14px;
  background: #F4F9FF;
  border: 1px solid #DFEDFB;
}
.demo-box b { font-size: 14.5px; font-weight: 800; color: #1F6FAE; }
.demo-box p { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.demo-box .btn { margin-top: 10px; }

/* ───────── 테이블 ───────── */
.tbl-wrap { margin-top: 14px; border-radius: 15px; border: 1px solid #E9F0F9; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #EFF4FA; vertical-align: middle; }
.tbl th { background: #F7FAFE; font-weight: 800; color: #50657D; font-size: 13.5px; white-space: nowrap; }
.tbl td { color: #33475E; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #FBFDFF; }
.cell-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); font-style: normal; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl code { font-size: 13.5px; color: #3B5876; }
.compare th:not(:first-child) { text-align: center; }
.compare td:not(:first-child) { text-align: center; }

/* ───────── 모달 ───────── */
.modal-root { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; }
.modal-root[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(14, 30, 50, .46); backdrop-filter: blur(2px); }
.modal {
  position: relative;
  width: min(640px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 28px 26px 22px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 34px 80px rgba(8, 22, 40, .34);
  animation: pop .18s ease-out;
}
.modal-lg { width: min(900px, 100%); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 0;
  background: #F4F8FD;
  color: #7E90A7;
}
.modal-close .ic { width: 15px; height: 15px; }

.m-price-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 15px;
  background: #F6FAFF;
  border: 1px solid #E8F1FB;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.m-price { display: flex; align-items: baseline; gap: 5px; }
.m-price b { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.m-price span { font-size: 14px; color: #647A92; font-weight: 600; }
.m-price small { font-size: 13.5px; color: #8395AA; }
.m-permonth { font-size: 14px; color: #456B95; font-weight: 700; }
.m-pay { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #2A7D55; }
.m-pay .ic { width: 17px; height: 17px; }

.m-list { margin-top: 15px; display: grid; gap: 7px; }
.m-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: #3D5068; }
.m-list li::before { content: "✓"; color: #3E9E67; font-weight: 800; }

.m-actions { margin-top: 18px; display: flex; gap: 9px; flex-wrap: wrap; }
.m-actions .btn { flex: 1; min-width: 140px; }

/* 결제 */
.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 40px; }
.pg-logo { font-size: 19px; font-weight: 900; letter-spacing: -0.04em; color: #1B2433; }
.pg-logo::first-letter { color: #FF6B35; }
.pay-label { margin-top: 18px; font-size: 14px; font-weight: 800; color: #40546C; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 8px; }
.method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 13px;
  border-radius: 14px;
  background: #FAFCFF;
  border: 1.5px solid #E6EEF8;
  text-align: left;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.method:hover { border-color: #BFDCF5; }
.method.is-active { border-color: #2E9AF2; background: #F2F9FF; box-shadow: 0 0 0 3px rgba(46, 154, 242, .13); }
.method-ico {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E4EDF7;
  font-size: 15px;
  font-weight: 900;
  color: #2E9AF2;
  margin-bottom: 4px;
}
.method b { font-size: 14.5px; font-weight: 800; }
.method small { font-size: 13px; color: var(--muted); }
.pay-btn { margin-top: 16px; padding: 15px 18px; font-size: 17px; }
.pay-btn:disabled { background: #DCE9F7; color: #6E88A6; cursor: not-allowed; box-shadow: none; }

.receipt-box { margin-top: 16px; border: 1px solid #E9F0F9; border-radius: 14px; overflow: hidden; }
.receipt-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #E9F0F9;
  border-radius: 14px;
  overflow: hidden;
}
.receipt-grid > div { padding: 10px 14px; border-bottom: 1px solid #EFF4FA; border-right: 1px solid #EFF4FA; min-width: 0; }
.receipt-grid > div:nth-child(2n) { border-right: 0; }
.receipt-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.receipt-grid span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.receipt-grid b { display: block; margin-top: 1px; font-size: 14.5px; font-weight: 800; overflow-wrap: anywhere; }
.receipt-grid b em { font-style: normal; font-weight: 600; color: var(--muted); }
.sub-line {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 14px;
  border-radius: 12px;
  background: #F7FAFE;
  border: 1px solid #EAF1F9;
}
.sub-line b { font-size: 15px; font-weight: 800; }
.sub-line span { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.receipt-box > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border-bottom: 1px solid #EFF4FA; font-size: 14.5px; }
.receipt-box > div:last-child { border-bottom: 0; }
.receipt-box span { color: var(--muted); font-weight: 600; }
.receipt-box b { font-weight: 800; text-align: right; }
.receipt-box b em { font-style: normal; font-weight: 600; color: var(--muted); }

.cred-box { margin-top: 14px; padding: 16px; border-radius: 14px; background: #F1FBF5; border: 1px solid #CDEBD9; }
.cred-box > b { display: block; font-size: 15px; color: #22643E; margin-bottom: 8px; }
.cred-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cred-row span { flex: 0 0 68px; font-size: 13.5px; color: #3E6B50; font-weight: 700; }
.cred-row input { flex: 1; min-width: 0; padding: 9px 11px; border-radius: 9px; border: 1px solid #C9E6D6; background: #fff; font-size: 14.5px; }
.cred-box .m-foot { color: #4A7A5D; }

.sub-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sub-mini > div { padding: 12px 14px; border-radius: 12px; background: #F7FAFE; border: 1px solid #EAF1F9; }
.sub-mini span { display: block; font-size: 13px; color: var(--muted); }
.sub-mini b { font-size: 15px; font-weight: 800; }

.processing { padding: 46px 10px; text-align: center; }
.processing b { display: block; margin-top: 16px; font-size: 18px; font-weight: 800; }
.processing p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.spinner {
  display: inline-block;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 4px solid #D9ECFC;
  border-top-color: #2E9AF2;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.done-head { display: flex; align-items: center; gap: 10px; }
.done-check {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #E8F7EE;
  color: #2C8A55;
}
.done-check .ic { width: 22px; height: 22px; stroke-width: 2.6; }

.qr-modal { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.qr-modal .qr-frame { padding: 14px; }
.qr-modal .qr-box, .qr-modal .qr-box img, .qr-modal .qr-box canvas { width: 200px !important; height: 200px !important; }
.qr-modal .url-text { text-align: center; }

.diag { margin-top: 14px; display: grid; gap: 8px; }
.diag-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #F7FAFE; border: 1px solid #EAF1F9; font-size: 14px; }
.diag-row b { font-weight: 800; }
.diag-row span { color: var(--muted); }
.diag-row.ok { border-left: 4px solid #46A96B; }
.diag-row.warn { border-left: 4px solid #D6A22F; background: #FFFCF3; }

.doc-body { margin-top: 16px; display: grid; gap: 14px; max-height: 56vh; overflow: auto; padding-right: 4px; }
.doc-body h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.doc-body p { font-size: 14.5px; color: #45596F; line-height: 1.75; }

/* ───────── 관리자 ───────── */
.view-admin { gap: 14px; }
.admin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: #1C3050;
  color: #fff;
  flex-wrap: wrap;
}
.admin-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; }
.admin-badge .ic { width: 18px; height: 18px; }
.admin-mail { font-size: 13.5px; opacity: .8; }
.admin-bar .btn { margin-left: auto; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }

.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #5A6E86;
  white-space: nowrap;
}
.admin-tab.is-active { background: #E8F4FE; color: #1B76C6; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(224, 234, 246, .95);
  box-shadow: var(--card-shadow);
}
.kpi span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.kpi b { display: block; margin-top: 4px; font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.kpi em { display: block; margin-top: 2px; font-size: 13px; font-style: normal; color: #2C8A55; font-weight: 700; }
.kpi.warn b { color: #B9771A; }
.kpi.warn em { color: #A9791F; }

.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.node-list { margin-top: 12px; display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.node-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: #F8FBFE; font-size: 14px; }
.node-row b { font-weight: 700; }
.node-row span:nth-of-type(1) { color: var(--muted); }
.node-row .pill { margin-left: auto; }
.node-dot { width: 9px; height: 9px; border-radius: 50%; background: #46A96B; flex: 0 0 auto; }
.node-dot.warn { background: #D6A22F; }
.node-dot.down { background: #D94848; }

.mini-table { margin-top: 10px; display: grid; gap: 4px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #F0F5FB; font-size: 14px; }
.mini-row:last-child { border-bottom: 0; }
.mini-row b { display: block; font-weight: 700; }
.mini-row span { display: block; font-size: 13px; color: var(--muted); }
.mini-right { text-align: right; flex: 0 0 auto; }
.mini-right b { font-weight: 800; }
.mini-right em { display: block; font-style: normal; font-size: 13px; color: var(--muted-2); }

.filter-bar { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.filter-bar select {
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #FAFCFF;
  font-size: 14px;
}
.search {
  position: relative;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
}
.search input {
  width: 100%;
  padding: 11px 40px 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #FAFCFF;
  font-size: 14.5px;
}
.search .ic { position: absolute; right: 13px; width: 18px; height: 18px; color: #93A7BE; }
.admin-hint { margin-top: 12px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.admin-hint .ic { width: 15px; height: 15px; }

.flow-card .flow { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow li { display: flex; gap: 11px; padding: 15px; border-radius: 14px; background: #F7FAFE; border: 1px solid #EAF1F9; }
.flow li > span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #2E9AF2;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.flow b { font-size: 15px; font-weight: 800; }
.flow p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.flow-card .demo-note { margin-top: 16px; }

/* ───────── QR/결제 공통 보강 ───────── */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 15px;
  background: #F8FBFE;
  border: 1px solid #E9F1FA;
  flex-wrap: wrap;
}
.app-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid #E4EDF7; color: #3E5468; }
.app-card > div:not(.app-logo) { flex: 1; min-width: 0; }
.app-card b { font-size: 15.5px; font-weight: 800; }
.app-card p { font-size: 13px; color: var(--muted); }
.app-card .btn { padding: 9px 12px; font-size: 13.5px; }

.guide-tabs { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 10px;
  background: #F4F8FD;
  font-size: 14px;
  font-weight: 700;
  color: #5B7089;
}
.guide-tab .ic { width: 15px; height: 15px; }
.guide-tab.is-active { background: #E8F4FE; color: #1E7FD2; }
.guide-tabs.large .guide-tab { padding: 11px 16px; font-size: 15px; }
.guide-steps { margin-top: 14px; display: grid; gap: 10px; }
.guide-step { display: flex; gap: 12px; padding: 13px 14px; border-radius: 13px; background: #F8FBFF; border: 1px solid #EDF4FC; }
.guide-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #2E9AF2;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.guide-step b { display: block; font-size: 15px; font-weight: 800; }
.guide-step p { margin-top: 3px; font-size: 14px; color: #4E6278; line-height: 1.6; }

/* ───────── Chat ───────── */
.chat-wrap { position: fixed; right: 24px; bottom: 22px; z-index: 60; transition: opacity .2s; }
.chat-wrap.is-hidden { opacity: 0; pointer-events: none; }
body.is-admin .chat-wrap { display: none; }
.chat-fab {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CB4FB, #2E9AF2);
  color: #fff;
  display: grid; place-items: center;
  border: 3px solid #fff;
  box-shadow: 0 12px 26px rgba(37, 130, 210, .4);
  transition: transform .18s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.03); }
.chat-fab .ic { width: 27px; height: 27px; stroke-width: 1.9; }
.chat-fab-dot { position: absolute; top: 3px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #FF5A5A; border: 2px solid #fff; }
.chat-pop {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 300px;
  padding: 16px 17px 14px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #EEF4FB;
  box-shadow: 0 24px 54px rgba(16, 40, 70, .22);
  animation: pop .16s ease-out;
}
.chat-pop[hidden] { display: none; }
.chat-pop-head { position: relative; padding-right: 30px; }
.chat-pop-head b { display: block; font-size: 17px; font-weight: 800; }
.chat-pop-head span { display: block; margin-top: 2px; font-size: 13px; color: #7C8FA6; }
.chat-close { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border: 0; background: transparent; color: #9AABC0; }
.chat-close .ic { width: 15px; height: 15px; }
.chat-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid #F1F5FA; }
.chat-row:first-of-type { margin-top: 12px; }
.chat-row b { display: block; font-size: 14.5px; font-weight: 800; }
.chat-row small { display: block; font-size: 13px; color: #71859C; }
.chat-row .btn-mini { margin-left: auto; }
.chat-note { margin-top: 2px; font-size: 13px; color: #7C8FA6; }
.chat-more { margin-top: 10px; width: 100%; padding: 11px; font-size: 14.5px; }

/* ───────── Toast ───────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  z-index: 100;
  padding: 13px 20px;
  border-radius: 999px;
  background: #18293D;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(10, 25, 45, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ───────── 반응형 ───────── */
@media (max-width: 1400px) {
  .main { padding: 22px 26px 18px; }
  .plan-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1240px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lower { grid-template-columns: minmax(0, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invite-hero { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .node-list { grid-template-columns: minmax(0, 1fr); }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row { gap: 10px; }
  .flow-card .flow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .sidebar {
    width: 300px;
    transform: translateX(-102%);
    transition: transform .26s cubic-bezier(.3, .8, .3, 1);
    border-radius: 0 22px 22px 0;
    box-shadow: 0 0 60px rgba(10, 30, 50, .3);
  }
  .sidebar.is-open { transform: none; }
  .main { margin-left: 0; padding: 16px 16px 90px; }
  .menu-btn { display: grid; }
  .topbar { flex-wrap: wrap; gap: 10px; }
  .hello { flex: 1 1 auto; min-width: 0; }
  .hello h1 { font-size: 24px; }
  .hello p { font-size: 14px; }
  .top-actions { width: 100%; margin-left: 0; gap: 8px; flex-wrap: nowrap; }
  .top-actions .status-chip { margin-right: 0; }
  .top-actions .btn { padding: 10px 14px; font-size: 14.5px; }
  .top-free { display: none; }
  .status-chip { flex: 0 0 auto; }
  .account-chip { flex: 1 1 auto; min-width: 0; max-width: none; order: 1; padding: 5px 10px 5px 5px; gap: 7px; font-size: 13.5px; }
  .account-chip .avatar { width: 30px; height: 30px; font-size: 14px; }
  .account-mail { max-width: none; }
  .top-actions .btn-logout { order: 2; }
  .top-actions .btn-ghost[data-action="login"] { order: 1; margin-left: auto; }
  .account-mail { max-width: 170px; }
  .status-chip { padding: 9px 12px; }
  .notice-strip { font-size: 13.5px; padding: 11px 14px; }
  .notice-strip b { white-space: normal; }
  .steps { gap: 14px; }
  .step-copy { padding-right: 66px; }
  .qr-box, .qr-box img, .qr-box canvas { width: 116px; height: 116px; }
  .sub-body { grid-template-columns: minmax(0, 1fr); }
  .qr-panel { flex-direction: row; align-items: center; gap: 12px; }
  .statusbar { grid-template-columns: minmax(0, 1fr); padding: 6px 8px; }
  .status-item { padding: 11px 12px; }
  .status-item + .status-item::before { left: 12px; right: 12px; top: 0; bottom: auto; width: auto; height: 1px; }
  .status-item span:not(.dot):not(.tip-ico) { white-space: normal; }
  .chat-wrap { right: 14px; bottom: 16px; }
  .chat-fab { width: 52px; height: 52px; }
  .chat-pop { width: min(300px, calc(100vw - 28px)); bottom: 64px; }
  .toast { bottom: 86px; }
  .quick-grid { grid-template-columns: minmax(0, 1fr); }
  .foot { font-size: 13px; }
}

@media (max-width: 720px) {
  .main { padding: 14px 12px 88px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-copy { padding-right: 82px; }
  .step-art { top: 10px; width: 66px; height: 58px; }
  .step { padding: 16px 15px 14px; }
  .step-copy h3 { font-size: 18px; }
  .step-copy p { font-size: 14.5px; }
  .card { padding: 18px 16px 16px; border-radius: 20px; }
  .card-head h2 { font-size: 19px; }
  .plan-grid, .plan-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .plan-card { padding: 16px 15px 14px; }
  .plan-feats { grid-template-columns: 1fr 1fr; }
  .plan-top { align-items: flex-start; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; text-align: center; padding: 9px 8px; }
  .sub-stats { grid-template-columns: 1fr 1fr; }
  .sub-stats > div:last-child { grid-column: 1 / -1; }
  .sub-account { flex-wrap: wrap; }
  .sub-account-copy { flex: 1 1 200px; }
  .sub-account .btn-mini { margin-left: 58px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .channel-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 14px 16px; }
  .stat b { font-size: 23px; }
  .kpi-grid { gap: 10px; }
  .kpi { padding: 15px 16px; }
  .kpi b { font-size: 22px; }
  .invite-hero { padding: 20px; }
  .invite-code { font-size: 30px; }
  .page-hero h2 { font-size: 25px; }
  .page-hero p { font-size: 14.5px; }
  .m-title { font-size: 22px; }
  .m-sub { font-size: 14.5px; }
  .modal { padding: 24px 18px 18px; border-radius: 20px; max-height: 92vh; }
  .modal-close { top: 10px; right: 10px; }
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .method { flex-direction: row; align-items: center; gap: 9px; padding: 12px 13px; }
  .method-ico { margin-bottom: 0; }
  .method small { margin-left: auto; }
  .sub-mini { grid-template-columns: minmax(0, 1fr); }
  .m-actions .btn { min-width: 100%; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .tbl-wrap { overflow: visible; border: 0; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr {
    border: 1px solid #E7EFF8;
    border-radius: 15px;
    padding: 10px 13px;
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(23, 52, 84, .04);
  }
  .tbl td { border: 0; padding: 5px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; text-align: right; }
  .tbl td::before { content: attr(data-label); font-size: 13px; font-weight: 700; color: var(--muted); text-align: left; flex: 0 0 auto; }
  .tbl td > b { text-align: right; }
  .tbl td:empty { display: none; }
  .tbl .cell-sub { text-align: right; }
  #memberTable td:nth-child(5) { display: none; }
  .nodes-table tr { display: flex; align-items: center; gap: 8px; padding: 11px 12px; margin-bottom: 7px; }
  .nodes-table td { display: block; width: auto; padding: 0; text-align: left; }
  .nodes-table td::before { display: none; }
  .nodes-table td:nth-child(1) { flex: 1 1 auto; }
  .nodes-table td:nth-child(2), .nodes-table td:nth-child(4), .nodes-table td:nth-child(6) { display: none; }
  .nodes-table td:nth-child(3) { flex: 0 0 auto; color: var(--muted); }
  .nodes-table td:nth-child(5) { flex: 0 0 auto; }
  .nodes-table td:nth-child(7) { flex: 0 0 auto; }
  .nodes-table td:nth-child(7) .btn-mini { padding: 7px 11px; }
  .row-actions { justify-content: flex-end; }
  .mini-row { font-size: 13.5px; }
  .admin-bar { padding: 10px 13px; }
  .admin-mail { display: none; }
  .admin-bar .btn { margin-left: auto; }
  .admin-tab { padding: 9px 12px; font-size: 14px; }
  .filter-bar select { flex: 1; }
  .foot-links { gap: 10px; }
  .foot { font-size: 13px; }
  .notice-item summary b { flex: 1 1 100%; order: 3; font-size: 15px; }
  .notice-item summary::after { order: 4; }
}

@media (max-width: 400px) {
  .main { padding: 12px 10px 86px; }
  .hello h1 { font-size: 22px; }
  .top-actions .btn { font-size: 14px; padding: 10px 11px; }
  .status-chip { font-size: 13px; }
  .card { padding: 16px 14px 14px; }
  .card-head h2 { font-size: 18px; }
  .step-copy { padding-right: 70px; }
  .step-art { width: 58px; height: 52px; }
  .plan-name { font-size: 19px; }
  .plan-price b { font-size: 25px; }
  .btn { padding: 10px 15px; font-size: 14.5px; }
  .btn-mini { padding: 8px 10px; font-size: 13px; }
  .lock-panel { padding: 18px 14px; }
  .lock-panel b { font-size: 16.5px; }
  .invite-code { font-size: 26px; }
  .qr-box, .qr-box img, .qr-box canvas { width: 104px; height: 104px; }
  .modal { padding: 22px 15px 16px; }
  .m-price b { font-size: 28px; }
  .sub-stats { grid-template-columns: minmax(0, 1fr); }
  .sub-stats > div:last-child { grid-column: auto; }
  .m-actions { flex-direction: column; }
}

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

/* ══════════════════════════════════════════════════════════════
   v1.2.28 — 새 로고 · 메인 히어로 개편
   ══════════════════════════════════════════════════════════════ */

/* ───────── 브랜드 로고 ───────── */
.brand { flex-direction: column; align-items: flex-start; gap: 7px; }
.brand-logo { width: 168px; height: auto; display: block; }
.brand-tag {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
}
.topbar-brand { display: none; }
.topbar-brand img { width: 118px; height: auto; display: block; }
.pg-brand { width: 126px; height: auto; display: block; }
.pg-head-right { display: flex; align-items: center; gap: 10px; }

/* ───────── 히어로 ───────── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 26px;
  padding: 34px 38px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(120% 120% at 88% 8%, rgba(46, 154, 242, .55) 0%, rgba(46, 154, 242, 0) 55%),
    linear-gradient(118deg, #071A38 0%, #0B2450 38%, #12409B 72%, #1D6BE0 100%);
  box-shadow: 0 26px 64px rgba(9, 30, 66, .3);
  color: #fff;
  margin-bottom: 18px;
}
.hero-glow {
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 560px;
  height: 460px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(96, 186, 255, .5), transparent 72%);
  filter: blur(6px);
  z-index: -1;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(75% 85% at 78% 18%, #000 24%, transparent 74%);
  mask-image: radial-gradient(75% 85% at 78% 18%, #000 24%, transparent 74%);
  z-index: -1;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.hero-eyebrow b { color: #8FCBFF; font-weight: 800; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35E08A;
  box-shadow: 0 0 0 4px rgba(53, 224, 138, .22);
  display: inline-block;
  flex: 0 0 auto;
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(53, 224, 138, .25); }
  50% { box-shadow: 0 0 0 7px rgba(53, 224, 138, .08); }
}
.hero-logo { width: 248px; height: auto; display: block; margin: 20px 0 12px; }
.hero h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
  color: #fff;
}
.hero-hl {
  background: linear-gradient(100deg, #8FD4FF 0%, #4FA8FF 60%, #7CE7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 13px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .84);
  max-width: 48ch;
}
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btn-hero {
  background: linear-gradient(118deg, #43ACFF 0%, #1D6BE0 100%);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 13px;
  box-shadow: 0 12px 26px rgba(20, 92, 200, .38);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}
.btn-hero:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-hero .ic { width: 17px; height: 17px; }
.btn-hero-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 13px;
  cursor: pointer;
  transition: background .16s ease;
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .2); }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
}
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 15px; height: 15px; color: #7CE7FF; }

.hero-art { position: relative; z-index: 1; display: flex; justify-content: center; padding: 12px 0; }
.hero-card {
  width: min(320px, 100%);
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(4, 18, 42, .28);
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}
.hero-card-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #35E08A;
  box-shadow: 0 0 0 4px rgba(53, 224, 138, .2);
}
.hero-card-row { display: flex; align-items: baseline; gap: 7px; margin: 10px 0 6px; }
.hero-card-row b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero-card-row span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero-bars { display: flex; align-items: flex-end; gap: 6px; height: 62px; margin: 12px 0 10px; }
.hero-bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #7CE7FF 0%, #2E9AF2 100%);
  opacity: .92;
  min-height: 8px;
}
.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .68);
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 10px;
}
.hero-card-foot em { color: #35E08A; font-style: normal; font-weight: 700; }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0B2450;
  background: #fff;
  box-shadow: 0 12px 26px rgba(4, 18, 42, .24);
}
.hero-chip .ic { width: 14px; height: 14px; color: #1D6BE0; }
.hero-chip-a { top: -6px; right: -10px; }
.hero-chip-b { bottom: -8px; left: -12px; }

@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 30px 30px 28px; }
  .hero-art { display: none; }
}
@media (max-width: 900px) {
  .topbar-brand { display: block; }
  .is-home .topbar { margin-bottom: 10px; }
  .is-home .topbar-brand img { width: 106px; }
  .hero { border-radius: 22px; padding: 26px 22px 24px; }
  .hero-logo { width: 204px; margin: 16px 0 10px; }
  .hero-sub { font-size: 14.5px; }
  .hero-cta .btn-hero, .hero-cta .btn-hero-ghost { flex: 1 1 auto; justify-content: center; }
  .hero-points { gap: 7px 14px; font-size: 12.5px; }
}
@media (max-width: 420px) {
  .hero { padding: 22px 18px 20px; }
  .hero-logo { width: 182px; }
  .hero h2 { font-size: 25px; }
}
