:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --ink: #191b20;
  --muted: #5f6672;
  --soft: #343a44;
  --blue: #2563eb;
  --blue2: #1d4ed8;
  --accent: #2563eb;
  --panel: #ffffff;
  --panel2: #f1f4f8;
  --line: #e3e7ed;
  --line-strong: #c6cdd7;
  --danger: #dc2626;
  --success: #15803d;
  --grid-line: rgba(25, 27, 32, .028);
  --warm-glow: rgba(249, 115, 22, .06);
  --primary-bg: linear-gradient(135deg, #1f2329, #343a44);
  --primary-ink: #f6f7f9;
  --shadow: 0 18px 48px rgba(25, 27, 32, .08);
  --radius: 20px;
  font-family: "Inter", "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141311;
  --ink: #f0eee7;
  --muted: #a6a298;
  --soft: #e9e7e0;
  --blue: #7aa7f9;
  --blue2: #8fb6ff;
  --accent: #7aa7f9;
  --panel: #1d1c19;
  --panel2: #232220;
  --line: #383631;
  --line-strong: #4a473f;
  --danger: #ff7a7a;
  --success: #7edc94;
  --grid-line: rgba(255, 255, 255, .035);
  --warm-glow: rgba(249, 115, 22, .08);
  --primary-bg: linear-gradient(135deg, #e9e7e0, #f5f4ef);
  --primary-ink: #141311;
  --shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #141311;
    --ink: #f0eee7;
    --muted: #a6a298;
    --soft: #e9e7e0;
    --blue: #7aa7f9;
    --blue2: #8fb6ff;
    --accent: #7aa7f9;
    --panel: #1d1c19;
    --panel2: #232220;
    --line: #383631;
    --line-strong: #4a473f;
    --danger: #ff7a7a;
    --success: #7edc94;
    --grid-line: rgba(255, 255, 255, .035);
    --warm-glow: rgba(249, 115, 22, .08);
    --primary-bg: linear-gradient(135deg, #e9e7e0, #f5f4ef);
    --primary-ink: #141311;
    --shadow: 0 18px 48px rgba(0, 0, 0, .42);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(37, 99, 235, .10), transparent 34rem),
    radial-gradient(circle at 88% 16%, var(--warm-glow), transparent 28rem),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.70), transparent 76%);
}

a { color: inherit; }
h1, h2, h3, p { word-break: keep-all; }
h1 {
  max-width: 1000px;
  margin: 22px auto 14px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.075em;
}
h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
h3 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: -.035em;
}

.wrap { width: min(1180px, calc(100% - 44px)); margin: 0 auto; position: relative; }
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav-shell.scrolled { border-color: var(--line); }
.site-top { padding: 0; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}
.nav.wrap {
  width: auto;
  max-width: 1100px;
  padding: 14px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.brand b {
  display: block;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.5px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.top-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all .15s ease;
}
.pill:hover {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}
.pill.cta {
  border-color: transparent;
  background: var(--primary-bg);
  color: var(--primary-ink);
}
.pill.cta:hover {
  border-color: transparent;
  background: var(--primary-bg);
  color: var(--primary-ink);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  color: var(--blue);
}
.theme-toggle-sun { display: none; }
.theme-toggle-moon { display: inline; }
:root[data-theme-resolved="dark"] .theme-toggle-sun { display: inline; }
:root[data-theme-resolved="dark"] .theme-toggle-moon { display: none; }

.account-hero {
  padding: 58px 0 26px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--blue2);
  background: var(--panel);
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.lead {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--danger);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 26px;
}
.process-strip article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.process-strip article.featured {
  border-color: var(--line);
  background: var(--panel2);
}
.process-strip strong {
  display: block;
  color: var(--soft);
  font-size: 15px;
}
.process-strip span {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.035em;
}
.process-strip small {
  margin-left: 6px;
  color: var(--success);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  vertical-align: middle;
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 12px 0 18px;
}
.purchase-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}
.purchase-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(37,99,235,.10), var(--panel));
}
.purchase-card h2 {
  margin: 0;
  font-size: 28px;
}
.purchase-card strong {
  color: var(--soft);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
}
.price-original {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.discount-note {
  color: var(--blue) !important;
  font-weight: 900;
}
.purchase-plan-points {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}
.purchase-plan-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.purchase-plan-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  flex: 0 0 auto;
}
.purchase-card p,
.purchase-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.purchase-action {
  margin-top: 18px;
}
.purchase-dialog {
  width: min(430px, calc(100vw - 32px));
  border: 0;
  border-radius: 22px;
  padding: 0;
  color: var(--ink);
  background: transparent;
}
.purchase-dialog::backdrop {
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(5px);
}
.purchase-dialog-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.purchase-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.purchase-dialog-head strong {
  display: block;
  font-size: 20px;
}
.purchase-dialog-head p {
  margin: 5px 0 0;
  color: var(--muted);
}
.purchase-dialog-actions {
  display: grid;
  gap: 10px;
}
.dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel2);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.hint.error {
  color: #dc2626;
}
.payment-flow-lead {
  max-width: 860px;
  margin-bottom: 14px !important;
}
.billing-note {
  margin-top: 14px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 86%, var(--blue) 14%);
  font-weight: 900;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .6fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 44px;
}
.auth-split-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(360px, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.auth-brand-panel {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 24%, rgba(37,99,235,.10), transparent 22rem),
    radial-gradient(circle at 82% 76%, rgba(249,115,22,.07), transparent 22rem),
    var(--panel2);
}
.auth-brand-glow {
  position: absolute;
  inset: auto -120px -160px auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
  filter: blur(26px);
  pointer-events: none;
}
.auth-brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.auth-brand-panel h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  letter-spacing: -.07em;
}
.auth-brand-panel p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.auth-brand-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-brand-list li {
  position: relative;
  padding-left: 22px;
}
.auth-brand-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .10);
}
.auth-brand-list a {
  color: var(--blue2);
  font-weight: 900;
}
.auth-form-panel {
  display: grid;
  align-content: start;
  gap: 0;
  padding: clamp(22px, 3.4vw, 42px);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: clamp(18px, 2vw, 24px);
}
.auth-split-panel.panel {
  padding: 0;
}
.panel-heading { margin-bottom: 18px; }
.auth-login-heading { margin-bottom: 16px; }
.account-note { align-self: start; }
.account-note ol {
  margin: 12px 0 0;
  padding-left: 21px;
  color: var(--muted);
  line-height: 1.9;
}

.message {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(21, 128, 61, .28);
  border-radius: 18px;
  background: rgba(21, 128, 61, .08);
  color: var(--success);
  font-weight: 800;
}
.message.error {
  border-color: rgba(220, 38, 38, .30);
  background: rgba(220, 38, 38, .07);
  color: var(--danger);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.tab {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #9fb2c9;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tab.active {
  background: rgba(255,255,255,.10);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 2px;
}
.remember-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.remember-checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}
.hint-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.auth-join-row {
  display: flex;
  justify-content: center;
  margin: 12px 0 2px;
}
.auth-sub-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-text-link {
  border: 0;
  background: transparent;
  color: var(--blue2);
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}
.auth-text-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-text-link.join {
  color: var(--blue);
  font-size: 14px;
}
.auth-mode-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.auth-mode-title h3 { margin: 0; }
.auth-policy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.auth-policy-note a {
  color: var(--blue2);
  text-decoration: none;
}
.auth-policy-note a:hover { text-decoration: underline; }

.auth-form,
.stack-form {
  display: grid;
  gap: 13px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  padding: 13px 14px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  outline: none;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79,179,255,.12);
}
select option { background: var(--panel); color: var(--ink); }


.social-login {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}
.social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.social-divider::before,
.social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.social-login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.social-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(172,215,255,.18);
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}
.social-button:hover {
    transform: translateY(-1px);
    border-color: rgba(172,215,255,.36);
  }
.social-button:active { transform: translateY(1px) scale(.99); }
.social-button:disabled,
.social-button.disabled {
    cursor: not-allowed;
    opacity: .55;
    filter: grayscale(.25);
    transform: none;
    box-shadow: none;
  }
.social-button:disabled:hover,
.social-button.disabled:hover {
    transform: none;
    border-color: rgba(172,215,255,.18);
  }
.social-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-button.google {
  border-color: #747775;
  background: #fff;
  color: #1f1f1f;
  font-family: "Inter", "Roboto", "Noto Sans KR", ui-sans-serif, system-ui, sans-serif;
}
.social-button.kakao {
  border-color: #fee500;
  border-radius: 12px;
  background: #fee500;
  color: rgba(0,0,0,.85);
}
.social-button.naver {
  border-color: #03a94d;
  background: #03a94d;
  color: #fff;
}
.social-provider-status {
  border: 1px solid rgba(172,215,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  padding: 10px 12px;
}
.social-provider-status.warning {
  border-color: rgba(180, 120, 10, .35);
  background: rgba(255,193,7,.09);
  color: #92400e;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin: 2px 0 14px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(172,215,255,.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}
.button.primary {
  background: var(--primary-bg);
  color: var(--primary-ink);
  box-shadow: var(--shadow);
}
.button.ghost { background: var(--panel2); color: var(--soft); }
.button.danger {
  border-color: rgba(220, 38, 38, .30);
  background: rgba(220, 38, 38, .08);
  color: #b91c1c;
}
.button.full { width: 100%; }
.button.compact {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 13px;
}
.button.small {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  line-height: 1.55;
}
.checkbox input { width: auto; }
.consent-box {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(79,179,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.consent-box strong { color: var(--ink); }
.consent-box a {
  color: var(--accent);
  font-weight: 900;
}

.dashboard {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}
.dashboard[hidden],
.auth-panel[hidden],
.auth-form[hidden],
.login-only-content[hidden],
.message[hidden],
.empty[hidden] {
  display: none !important;
}
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel2);
  padding: 20px 22px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.wide { overflow: hidden; }
.danger-zone {
  border-color: rgba(255, 130, 130, .22);
  background: linear-gradient(180deg, rgba(255, 89, 89, .08), rgba(255,255,255,.05));
}
.trial-box { display: grid; gap: 11px; }
.trial-key {
  min-height: 120px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}
.empty {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel2);
  color: var(--muted);
  line-height: 1.6;
}

.payment-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}
.payment-method-button {
  min-height: 66px;
  flex-direction: column;
  gap: 6px;
  line-height: 1.12;
  justify-content: center;
  padding: 10px 14px;
}
.payment-brand-logo {
  display: block;
  max-width: min(200px, 100%);
  width: auto;
  object-fit: contain;
}
.kakaopay-logo {
  height: 42px;
}
.naverpay-logo {
  height: 39px;
}
.payment-method-caption {
  font-size: 12px;
  font-weight: 800;
  opacity: .78;
}
.button.kakao-pay {
  border-color: #FFEB00;
  background: #FFEB00;
  color: rgba(0,0,0,.85);
  box-shadow: 0 18px 42px rgba(255,235,0,.16);
}
.button.naver-pay {
  border-color: #00DE5A;
  background: #00DE5A;
  color: #111;
  box-shadow: 0 18px 42px rgba(0,222,90,.18);
}
.payment-method-button.recommended {
  outline: 3px solid rgba(79,179,255,.26);
  outline-offset: 3px;
}
.payment-method-note {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.naverpay-registration-note {
  padding-left: 2px;
}
.button.disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
  filter: grayscale(.22);
  pointer-events: none;
}
.payment-instructions {
  display: grid;
  gap: 11px;
  margin: 13px 0 14px;
  padding: 14px;
  border: 1px solid rgba(79,179,255,.18);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(79,179,255,.11), rgba(255,255,255,.045));
}
.payment-plan-select {
  margin-bottom: 2px;
}
.payment-flow-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.payment-flow-cards article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel2);
}
.payment-flow-cards article.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,179,255,.12);
}
.payment-flow-cards strong {
  color: var(--ink);
  font-size: 14px;
}
.payment-flow-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.account-payment-flow {
  margin-top: 2px;
}
.issued-license-key {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}
.subscription-summary {
  display: grid;
  gap: 10px;
  margin: 10px 0 14px;
}
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.subscription-grid div {
  padding: 12px;
  border: 1px solid rgba(79,179,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.subscription-grid strong,
.subscription-grid span {
  display: block;
}
.subscription-grid strong {
  color: var(--ink);
  font-size: 16px;
}
.subscription-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}
.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--soft);
}
.payment-summary strong {
  color: var(--ink);
  font-size: 15px;
}
.payment-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.payment-lines {
  display: grid;
  gap: 8px;
  margin: 0;
}
.payment-lines div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel2);
}
.payment-lines dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.payment-lines dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  word-break: break-all;
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
th {
  color: var(--blue2);
  font-size: 12px;
  letter-spacing: .02em;
}

.site-footer { padding: 18px 0 46px; color: var(--muted); font-size: 13px; }
.footer-line {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 6px;
}
.business-footer {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}
.business-footer span {
  display: block;
  margin-right: 0;
}
.business-footer a {
  color: var(--soft);
  font-weight: 800;
}
.business-footer strong {
  color: var(--soft);
}

@media (max-width: 980px) {
  .account-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .auth-split-panel {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(190,224,255,.13);
  }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 24px, 1180px); }
  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav { row-gap: 8px; }
  .top-links { gap: 8px; }
  .account-hero { padding-top: 40px; }
  .process-strip,
  .purchase-grid,
  .payment-action-grid,
  .payment-flow-cards,
  .form-grid,
  .tabs {
    grid-template-columns: 1fr;
  }

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

.single-panel {
  grid-column: 1 / -1;
}
.naverpay-button {
  display: block;
  width: min(100%, 200px);
  height: 45px;
  margin: 2px auto 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 18px 36px rgba(3, 199, 90, .22);
  cursor: pointer;
}
.naverpay-button img {
  display: block;
  width: 100%;
  height: 100%;
}
.naverpay-button:disabled,
.naverpay-button[aria-busy="true"] {
  cursor: progress;
  box-shadow: none;
}
.naverpay-button:disabled img,
.naverpay-button[aria-busy="true"] img {
  content: url("./naverpay/btn_deactivated_buy.svg");
}
.error-box {
  border-color: rgba(220, 38, 38, .30);
  background: rgba(220, 38, 38, .07);
  color: var(--danger);
}
