:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: rgba(16, 24, 40, 0.08);
  --text: #243044;
  --muted: #66758a;
  --heading: #121a26;
  --accent: #12b3a4;
  --ink: #04221e;
  --input: #f8fafc;
  --nav: #3d4b5c;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  overflow-x: hidden;
  color-scheme: light;
}
a { color: var(--accent); text-decoration: none; }
.sound_only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ps-wrap {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
.aurora-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(980px 560px at 6% -12%, rgba(61, 214, 198, 0.1), transparent 62%),
    radial-gradient(860px 500px at 100% -4%, rgba(226, 234, 244, 0.55), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 42%, #f3f6fa 100%);
}
.aurora-blob {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
}
.aurora-blob--a { background: #ffffff; top: -22%; left: 22%; }
.aurora-blob--b { background: #eef8f6; bottom: -20%; right: -10%; opacity: 0.4; }
.aurora-blob--c { background: #f2f4f8; top: 42%; left: -14%; width: 34vw; height: 34vw; opacity: 0.45; }

.ps-top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.ps-top-left,
.ps-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ps-ham {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--heading);
  cursor: pointer;
}
.ps-ham svg { display: block; margin: 0 auto; }
.ps-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--heading);
  white-space: nowrap;
  font-size: 16px;
}
.ps-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
}
.ps-lang {
  appearance: none;
  background-color: #fff;
  color: var(--heading);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 28px 6px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 3.5L5 6.5 8 3.5' fill='none' stroke='%2366758a' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.ps-lang option { color: #111; }

.ps-overlay {
  display: none;
  position: fixed;
  inset: 48px 0 0 0;
  background: rgba(16, 24, 40, 0.28);
  z-index: 28;
}
.ps-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 1;
}
.ps-side {
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
  padding: 8px 0 28px;
  overflow-y: auto;
  backdrop-filter: blur(18px);
}
.ps-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ps-s-login,
.ps-s-user {
  padding: 18px 18px 8px;
}
.ps-s-login h3,
.ps-s-user-id {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
}
.ps-s-user-acts { font-size: 13px; }
.ps-s-user-acts a { color: var(--accent); }
.ps-s-user-acts .sep,
.ps-s-login-links .sep {
  margin: 0 8px;
  color: rgba(16, 24, 40, 0.22);
}
.ps-s-label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.ps-s-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--heading);
  font-size: 13px;
}
.ps-s-login-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.ps-s-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
}
.ps-s-google:hover { background: var(--input); }
.ps-s-google img { display: block; }
.ps-s-login-links {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  font-size: 12px;
}
.ps-s-login-links a { color: var(--muted); }
.ps-s-nav { padding: 12px; }
.ps-s-item,
.ps-s-smt,
.ps-s-si {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--nav);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ps-s-item:hover,
.ps-s-smt:hover,
.ps-s-si:hover { background: rgba(16, 24, 40, 0.04); color: var(--heading); }
.ps-s-item.is-on,
.ps-s-si.is-on {
  background: rgba(18, 179, 164, 0.12);
  color: #0f766e;
}
.ps-s-item svg,
.ps-s-smt svg,
.ps-s-si svg {
  flex-shrink: 0;
  color: currentColor;
}
.ps-s-smw { margin: 0; }
.ps-s-smt {
  list-style: none;
  color: var(--muted);
}
.ps-s-smt::-webkit-details-marker { display: none; }
.ps-s-smt::marker { content: ""; }
.ps-s-chevron {
  margin-left: auto;
  display: inline-flex;
  transition: transform 0.15s ease;
}
.ps-s-smw[open] .ps-s-chevron { transform: rotate(180deg); }
.ps-s-sm { padding: 0 0 4px; }
.ps-s-si {
  padding: 9px 12px 9px 24px;
  color: var(--muted);
  font-size: 14px;
}

.ps-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}
.ps-hero { padding: 8px 0 16px; }
.ps-hero-banner {
  background: linear-gradient(160deg, #ffffff 0%, #f7fbfa 52%, #f5f8fc 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.ps-hero h1 { font-size: 34px; line-height: 1.28; margin: 8px 0 14px; max-width: 18em; color: var(--heading); }
.ps-kicker { margin: 0; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; }
.ps-hero-desc { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 40em; }
.ps-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ps-cta-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.ps-btn { background: var(--accent); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.ps-btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--heading); }
.ps-trust {
  list-style: none;
  margin: 8px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.ps-trust li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  box-shadow: var(--shadow);
}
.ps-block { margin: 36px 0; }
.ps-block > h2 { font-size: 24px; margin: 0 0 12px; color: var(--heading); }
.ps-block > h3 { font-size: 18px; margin: 20px 0 8px; color: var(--heading); }
.ps-block > p { line-height: 1.7; color: var(--muted); }
.ps-muted { color: var(--muted); font-size: 14px; line-height: 1.65; }
.ps-lead { color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.ps-grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ps-grid-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .ps-grid-products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ps-grid-products { grid-template-columns: repeat(4, 1fr); }
}
.ps-grid article, .ps-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.ps-grid article h3 { margin: 0 0 8px; font-size: 20px; color: var(--heading); }
.ps-panel h1 { margin: 0 0 12px; font-size: 24px; color: var(--heading); }
.ps-steps { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.ps-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 56px;
  position: relative;
  box-shadow: var(--shadow);
}
.ps-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 28px;
}
.ps-steps strong { display: block; margin-bottom: 4px; color: var(--heading); }
.ps-steps p { margin: 0; color: var(--muted); }
.ps-ov-list { padding-left: 22px; line-height: 1.75; color: var(--muted); }
.ps-table-wrap { overflow-x: auto; margin: 12px 0; }
.ps-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ps-kpis div { background: var(--input); border-radius: 12px; padding: 12px; }
.ps-kpis span { display: block; color: var(--muted); font-size: 12px; }
.ps-kpis strong { color: var(--heading); }
.ps-table { width: 100%; border-collapse: collapse; }
.ps-table th, .ps-table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; font-size: 14px; color: var(--text); }
.ps-copy { width: 100%; background: var(--input); color: var(--heading); border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin: 6px 0 12px; }
.ps-form label { display: block; margin: 10px 0; color: var(--text); }
.ps-form input, .ps-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--heading);
}
.ps-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
}
.ps-form button { margin-top: 8px; background: var(--accent); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; color: #fff; }
.ps-app-nav { display: none; }
.ps-foot { position: relative; z-index: 1; padding: 24px; text-align: center; color: var(--muted); }
.ps-foot a { margin: 0 10px; color: var(--muted); }
.ps-foot a:hover { color: var(--accent); }
.ps-tree { margin: 8px 0 0 16px; }
.ps-faq dt { font-weight: 700; margin-top: 18px; color: var(--heading); }
.ps-faq dd { margin: 6px 0 0; color: var(--muted); line-height: 1.65; }
.ps-plain { line-height: 1.75; color: var(--muted); }
.ps-hero-end { padding-top: 8px; padding-bottom: 8px; }
.ps-login-need { color: var(--accent); margin: 0 0 14px; font-weight: 600; }
.ps-note { color: var(--muted); }

body .mbskin,
body #mb_login,
body #find_info,
body #reg_result {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin: 28px auto;
  background: var(--card) !important;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  text-align: left;
  box-shadow: var(--shadow);
}
body .mbskin:before,
body .mbskin:after {
  display: none !important;
}
body .mbskin h1,
body #find_info h1,
body #reg_result h2 {
  margin: 0 0 16px !important;
  font-size: 1.55rem;
  color: var(--heading) !important;
  text-align: left;
}
body .mbskin label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
}
body .mbskin input[type="text"],
body .mbskin input[type="email"],
body .mbskin input[type="password"],
body .mbskin .frm_input,
body .frm_input {
  width: 100% !important;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--heading) !important;
}
body .mbskin input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0;
  flex-shrink: 0;
}
body .mbskin label.ps-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
body .mbskin .btn_submit,
body .btn_submit {
  width: 100%;
  margin-top: 8px;
  background: var(--accent) !important;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  font-weight: 800;
  color: #fff !important;
  height: auto;
}
body .mbskin p,
body #find_info p,
body #reg_result p {
  color: var(--muted);
  line-height: 1.6;
}

.ps-agree-doc {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input);
}
.ps-agree-doc h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--heading);
}
.ps-agree-scroll {
  max-height: 180px;
  overflow: auto;
  padding: 8px 4px 12px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}
.ps-agree-scroll h3 {
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--heading);
}
.ps-agree-scroll p { margin: 0 0 8px; }

.policy-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  margin: 12px 0 40px;
  align-items: start;
}
.policy-sidebar { position: sticky; top: 16px; }
.policy-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding: 0 4px 8px;
}
.policy-sidebar-nav {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.policy-sidebar-nav a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.policy-sidebar-nav a:last-child { border-bottom: none; }
.policy-sidebar-nav a:hover { background: var(--input); }
.policy-sidebar-nav a.active { background: rgba(18, 179, 164, 0.12); color: var(--accent); }
.policy-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  color: var(--text);
  line-height: 1.75;
  box-shadow: var(--shadow);
}
.policy-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 0 0 16px;
}
.policy-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin: 22px 0 8px;
}
.policy-content p {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--text);
}
.policy-updated { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

#captcha,
fieldset#captcha {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--input);
}
#captcha legend {
  position: static !important;
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  color: var(--heading) !important;
  font-weight: 600;
}
#captcha legend label,
#captcha label,
#captcha_info {
  color: var(--text) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
}
#captcha #captcha_img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}
#captcha #captcha_key,
#captcha_key {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  background: #fff !important;
  color: var(--heading) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
#captcha #captcha_mp3,
#captcha #captcha_reload,
#captcha button {
  width: auto !important;
  height: auto !important;
  min-height: 38px;
  margin: 0 8px 0 0 !important;
  padding: 8px 14px !important;
  background: #fff !important;
  color: var(--heading) !important;
  text-indent: 0 !important;
  overflow: visible !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
}
#captcha #captcha_mp3 span,
#captcha #captcha_reload span {
  display: none;
}

body .new_win,
body .new_win_con {
  background: transparent;
  color: var(--text);
}
body .btn_close { display: none; }

@media (min-width: 901px) {
  .ps-side {
    position: sticky;
    top: 48px;
    height: calc(100vh - 48px);
  }
  .ps-wrap.is-guest .ps-hero-banner .ps-btn-ghost { display: none; }
}
@media (max-width: 900px) {
  .ps-ham {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ps-shell { grid-template-columns: 1fr; }
  .ps-side {
    position: fixed;
    top: 48px;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 86vw;
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
  }
  .ps-wrap.is-side-open .ps-side { transform: none; }
  .ps-wrap.is-side-open .ps-overlay { display: block; }
  .ps-main { padding: 16px 16px 40px; }
  .ps-hero-banner { padding: 20px 16px; }
  .ps-top { padding: 0 12px; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; }
}
@media (max-width: 640px) {
  .ps-hero h1 { font-size: 26px; }
  .ps-hero-desc { font-size: 15px; }
  .policy-content { padding: 20px 16px; }
  body .mbskin { padding: 22px 16px; }
}

/* Kupid partners dashboard */
.ps-title { font-size: 22px; color: var(--heading); margin: 4px 0 16px; }
.ps-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; margin: 0 0 14px; }
.ps-card h2 { font-size: 16px; color: var(--heading); margin: 0 0 8px; }
.ps-hint { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 10px; }
.ps-copyrow { display: flex; gap: 8px; }
.ps-copyrow input { flex: 1; min-width: 0; background: var(--input); color: var(--heading); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.ps-copyrow button, .ps-convert button { background: var(--accent); color: var(--ink); border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 600; cursor: pointer; }
.ps-convert #ps-all { background: var(--input); color: var(--text); border: 1px solid var(--line); }
.ps-convert { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ps-convert label { width: 100%; font-size: 13px; color: var(--muted); }
.ps-convert input { flex: 1; min-width: 120px; background: var(--input); color: var(--heading); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.ps-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ps-rules li { display: grid; gap: 2px; }
.ps-rules strong { color: var(--heading); font-size: 14px; }
.ps-rules span { color: var(--text); font-size: 14px; }
.ps-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ps-stats div { background: var(--input); border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.ps-stats span { color: var(--muted); font-size: 12px; }
.ps-stats strong { color: var(--heading); font-size: 18px; }
.ps-howto, .ps-notes { margin: 0; padding-left: 20px; color: var(--text); font-size: 14px; line-height: 1.8; }
.ps-table td.pos { color: #0f8f5f; }
.ps-table td.neg { color: #c0392b; }
[dir="rtl"] .ps-table th, [dir="rtl"] .ps-table td { text-align: right; }
