:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.72);
  --muted2: rgba(11, 18, 32, 0.58);
  --border: rgba(15, 23, 42, 0.12);
  --border2: rgba(15, 23, 42, 0.08);
  --primary: #2563eb;
  --primary2: #1d4ed8;
  --green: #16a34a;
  --danger: #e11d2e;
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.12);
  --shadow2: 0 10px 28px rgba(2, 6, 23, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-pill: 999px;

  --headerMax: 1700px;
  --pageMax: 1180px;
  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.container.wide {
  max-width: var(--headerMax);
}
.container.page {
  max-width: var(--pageMax);
}
.container.wrap {
  max-width: var(--wrap);
}

.caption {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.64);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}

.topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar .row {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 0;
}

.btn {
  border: 0;
  background: transparent;
  padding: 6px 2px;
  font-weight: 900;
  cursor: pointer;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 18, 32, 0.18);
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover {
  color: rgba(11, 18, 32, 0.98);
  border-bottom-color: rgba(11, 18, 32, 0.35);
  transform: translateY(-1px);
}

.navwrap {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navrow {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}

.brand-left {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  padding: 6px 10px;
}
.brand-left img {
  height: 86px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(2, 6, 23, 0.14));
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  min-width: 0;
}

.navrow a.link,
.drop-toggle {
  color: rgba(11, 18, 32, 0.78);
  text-decoration: none;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  user-select: none;
}
.navrow a.link:hover,
.drop-toggle:hover {
  color: rgba(11, 18, 32, 0.98);
}
.navrow a.link.active {
  color: rgba(11, 18, 32, 0.98);
  font-weight: 1000;
}
.navrow a.link.active::after {
  content: none !important;
  display: none !important;
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 140%;
  left: 0;
  width: 190px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.14);
  padding: 10px 0;
  z-index: 1100;
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(11, 18, 32, 0.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(37, 99, 235, 0.08);
  color: rgba(11, 18, 32, 0.98);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 5;
}
.burger span {
  width: 26px;
  height: 3px;
  background: rgba(11, 18, 32, 0.82);
  border-radius: 3px;
}

@media (max-width: 980px) {
  .topbar {
    display: none !important;
  }
  .navrow {
    min-height: 86px;
    padding: 14px 0;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
    padding-right: 8px;
  }
  .brand-left img {
    height: 64px !important;
    max-width: 240px !important;
  }
}

@media (min-width: 981px) {
  .navrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .brand-left {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 6px;
  }
  .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    white-space: nowrap;
  }
  .burger {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(255, 255, 255, 0.88);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
  text-align: center;
  z-index: 9999;
  padding: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-overlay.active {
  display: flex;
}
.mobile-overlay a {
  color: rgba(11, 18, 32, 0.92);
  text-decoration: none;
  font-size: 1.06rem;
  display: block;
  padding: 8px 0;
  font-weight: 900;
}
.mobile-divider {
  width: min(360px, 86vw);
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(340px, 82vw);
}
.mobile-actions .mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.02);
  border: 1px solid var(--border);
  font-weight: 900;
  border-radius: var(--r-lg);
  color: rgba(11, 18, 32, 0.9);
  text-decoration: none;
  cursor: pointer;
}
.mobile-actions .mbtn.primary {
  background: var(--danger);
  border-color: rgba(225, 29, 46, 0.24);
  color: #fff;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.96)
    ),
    url("/assets/img/ss1.jpg") center 55% / cover no-repeat;
}
.sub-hero .inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 18px 34px;
  text-align: left;
}
.sub-hero .ttl {
  margin: 0 0 10px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  font-size: clamp(26px, 3vw, 34px);
}
.sub-hero .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(11, 18, 32, 0.66);
  font-weight: 900;
  font-size: 12px;
}
.sub-hero .crumb .sep {
  opacity: 0.35;
}

main.section {
  padding: 18px 0 46px;
}
main.section .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  gap: 14px;
}

.panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--r-xl);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.06);
  overflow: hidden;
}

.panel-head {
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.02);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.panel-title {
  font-weight: 1000;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.92);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
}
.tbl th,
.tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.82);
  vertical-align: middle;
}
.tbl th {
  width: 190px;
  background: rgba(2, 6, 23, 0.02);
  color: rgba(11, 18, 32, 0.74);
  font-weight: 1000;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}
.tbl tr:last-child th,
.tbl tr:last-child td {
  border-bottom: 0;
}

.in {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(11, 18, 32, 0.92);
  font-weight: 900;
  outline: none;
}
.in::placeholder {
  color: rgba(11, 18, 32, 0.42);
}
.in[disabled] {
  opacity: 0.85;
  cursor: not-allowed;
  background: rgba(2, 6, 23, 0.02);
}

.row-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.pbtn {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(2, 6, 23, 0.02);
  color: rgba(11, 18, 32, 0.92);
  font-weight: 1000;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease;
  white-space: nowrap;
  font-size: 12px;
}
.pbtn:hover {
  transform: translateY(-1px);
}
.pbtn.red {
  background: var(--danger);
  border-color: rgba(225, 29, 46, 0.24);
  color: #fff;
}
.pbtn.gray {
  background: rgba(2, 6, 23, 0.03);
}
.pbtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.help {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.62);
  font-weight: 900;
  line-height: 1.6;
  margin-top: 8px;
  padding: 0 14px 14px;
}

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(2, 6, 23, 0.02);
}
.agree-row label {
  font-size: 12px;
  font-weight: 1000;
  color: rgba(11, 18, 32, 0.86);
  line-height: 1.4;
  cursor: pointer;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.terms-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.terms-card .terms-head {
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.02);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 1000;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.92);
}
.terms-card .terms-body {
  padding: 12px 14px;
  max-height: 320px;
  overflow: auto;
  color: rgba(11, 18, 32, 0.74);
  font-weight: 900;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
  background: rgba(255, 255, 255, 0.92);
}

.footer-note {
  padding: 12px 14px;
  color: rgba(11, 18, 32, 0.62);
  font-weight: 900;
  font-size: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(2, 6, 23, 0.48);
  z-index: 99999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 16px;
}
.modal.show {
  display: grid;
}
.modal-card {
  width: min(420px, 92vw);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.22);
  overflow: hidden;
}
.modal-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
}
.modal-head h3 {
  margin: 0;
  font-weight: 1000;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.94);
}
.xbtn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(2, 6, 23, 0.02);
  color: rgba(11, 18, 32, 0.92);
  cursor: pointer;
  font-weight: 1000;
}
.modal-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}
.ref-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.ref-in {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(11, 18, 32, 0.92);
  font-weight: 900;
  outline: none;
}
.ref-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(225, 29, 46, 0.24);
  background: var(--danger);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  white-space: nowrap;
}
.big-red {
  width: 100%;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid rgba(225, 29, 46, 0.24);
  background: var(--danger);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
}
.login-link {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.62);
}
.login-link a {
  color: rgba(37, 99, 235, 0.95);
  text-decoration: none;
  font-weight: 1000;
}
.login-link a:hover {
  text-decoration: underline;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(11, 18, 32, 0.92);
  padding: 12px 16px;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18);
  display: none;
  z-index: 999999;
  font-weight: 1000;
  text-align: center;
  max-width: min(520px, 92vw);
}
.toast.show {
  display: block;
}

.site-footer {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border2);
}
.footer-toplinks {
  padding: 18px 0 12px;
}
.footer-toplinks .inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-toplinks a {
  color: rgba(11, 18, 32, 0.9);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.footer-toplinks .sep {
  width: 1px;
  height: 12px;
  background: rgba(15, 23, 42, 0.18);
  display: inline-block;
}
.footer-line {
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}
.footer-main {
  padding: 18px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 360px 1fr 320px;
  gap: 18px;
  align-items: center;
}
.f-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.f-brand .logo {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.f-brand .logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.f-brand .bname {
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 22px;
  margin: 0;
  line-height: 1.1;
}
.f-brand .bmeta {
  margin: 6px 0 0;
  color: rgba(11, 18, 32, 0.62);
  font-weight: 900;
  font-size: 12px;
}
.f-info {
  display: grid;
  gap: 6px;
  color: rgba(11, 18, 32, 0.78);
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1.6;
}
.f-info .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.f-info .k {
  color: rgba(11, 18, 32, 0.92);
}
.f-info a {
  color: rgba(11, 18, 32, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 18, 32, 0.18);
}
.f-contact {
  justify-self: end;
  text-align: left;
  display: grid;
  gap: 10px;
}
.f-contact .ctitle {
  font-weight: 1000;
  letter-spacing: -0.01em;
  font-size: 16px;
  margin: 0;
}
.f-contact .cmeta {
  display: grid;
  gap: 4px;
  color: rgba(11, 18, 32, 0.78);
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1.6;
}
.f-contact .cmeta b {
  color: rgba(11, 18, 32, 0.92);
}
.social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sbtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.sbtn:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.04);
  border-color: rgba(15, 23, 42, 0.18);
}
.sbtn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .f-contact {
    justify-self: start;
  }
}

html,
body {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}

body:has(#mobileMenu.active) {
  overflow: hidden !important;
  height: 100vh !important;
}

#mobileMenu.mobile-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  transform: none !important;

  display: none !important;
  z-index: 99999 !important;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-sizing: border-box;
  padding: 26px 0 !important;

  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  gap: 14px !important;
}

#mobileMenu.mobile-overlay.active {
  display: flex !important;
}

#mobileMenu.mobile-overlay::before {
  content: "";
  display: block;
  width: min(300px, 78vw);
  height: 88px;
  margin: 0 auto 10px;

  background: url("/assets/img/logo1.png") center / contain no-repeat;
  filter: drop-shadow(0 14px 22px rgba(2, 6, 23, 0.18));
  pointer-events: none;
}

#mobileMenu.mobile-overlay > a,
#mobileMenu.mobile-overlay .mobile-divider,
#mobileMenu.mobile-overlay .mobile-actions {
  width: min(360px, 86vw);
  margin: 0 auto;
  text-align: center;
}

#mobileMenu.mobile-overlay > a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 14px 0 !important;
  font-size: 1.06rem !important;
  line-height: 1.2 !important;
  font-weight: 900;
}

#mobileMenu.mobile-overlay > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}

#mobileMenu.mobile-overlay > a:last-of-type::after {
  display: none;
}

#mobileMenu.mobile-overlay .mobile-divider {
  height: 1px;
  margin: 14px auto !important;
  background: rgba(15, 23, 42, 0.14) !important;
}

#mobileMenu.mobile-overlay #mWelcome {
  margin-bottom: 10px !important;
  font-size: 1.05rem;
}

#mobileMenu.mobile-overlay .mobile-actions {
  margin-top: 8px !important;
  gap: 10px !important;
  width: min(340px, 82vw);
}

#mobileMenu.mobile-overlay .mobile-actions .mbtn {
  width: 100%;
  padding: 14px 14px !important;
  border-radius: 18px;
}

#mobileMenu.mobile-overlay .mobile-actions .mbtn.primary,
#mobileMenu.mobile-overlay #mLogout.mbtn.primary {
  background: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  color: #fff !important;
}

.pbtn.red,
.ref-btn,
.big-red {
  background: var(--primary);
  border-color: rgba(37, 99, 235, 0.35);
  color: #fff;
}

@media (max-width: 560px) {
  .tbl tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .tbl th,
  .tbl td {
    display: block;
    width: 100% !important;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
  }

  .tbl th {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 1000;
    color: rgba(11, 18, 32, 0.9);
    text-align: left;
  }

  .tbl td {
    padding: 0;
  }

  .in {
    height: 40px;
  }
}

@media (max-width: 560px) {
  .panel {
    overflow: visible;
  }

  .tbl {
    display: block;
    border-collapse: separate;
    border-spacing: 0;
  }

  .tbl tr {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
  .tbl tr:last-child {
    border-bottom: 0;
  }

  .tbl th,
  .tbl td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .tbl th {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 1000;
    color: rgba(11, 18, 32, 0.78);
    letter-spacing: -0.01em;
    text-align: left;
  }

  .in {
    height: 44px;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 14px;
  }

  .tbl td > div[style*="display: flex"] {
    gap: 10px !important;
    align-items: stretch !important;
  }

  #btnCheckId {
    height: 44px !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    background: var(--primary) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
    color: #fff !important;
    white-space: nowrap;
  }

  #goTerms.pbtn.red {
    background: var(--primary) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
    color: #fff !important;
    border-radius: 14px !important;
    height: 40px !important;
    padding: 0 14px !important;
  }
}

@media (min-width: 981px) {
  .brand-left img {
    height: 56px !important;
    max-width: 220px !important;
  }

  .navrow {
    min-height: 72px !important;
    padding: 10px 0 !important;
  }
}

@media (max-width: 980px) {
  .brand-left img {
    height: 40px !important;
    max-width: 170px !important;
  }

  .navrow {
    min-height: 64px !important;
    padding: 10px 0 !important;
  }

  #mobileMenu.mobile-overlay::before {
    height: 60px !important;
    width: min(220px, 72vw) !important;
  }
}

@media (min-width: 981px) {
  .brand-left img {
    height: 40px !important;
    max-width: 160px !important;
  }
}

@media (max-width: 980px) {
  .brand-left img {
    height: 28px !important;
    max-width: 120px !important;
  }
}

.ft-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: rgba(11, 18, 32, 0.9);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(11, 18, 32, 0.18);
  transition:
    transform 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.ft-link:hover {
  color: rgba(11, 18, 32, 0.98);
  border-bottom-color: rgba(11, 18, 32, 0.35);
  transform: translateY(-1px);
}

.rt-modal-ov {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(2, 6, 23, 0.52);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rt-modal-ov.show {
  display: flex;
}

.rt-modal {
  width: min(860px, 92vw);
  max-height: min(760px, 86vh);
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.32);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.rt-modal-head {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rt-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: rgba(11, 18, 32, 0.92);
}
.rt-modal-close {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.02);
  color: rgba(11, 18, 32, 0.92);
  font-weight: 1000;
  padding: 8px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    background 0.15s var(--ease);
}
.rt-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.04);
}

.rt-modal-body {
  padding: 14px 18px 18px;
  overflow: auto;
}

.rt-modal-text {
  color: rgba(11, 18, 32, 0.74);
  font-weight: 800;
  line-height: 1.85;
  font-size: 13.5px;
  white-space: pre-line;
}

.rt-modal-foot {
  padding: 14px 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: flex-end;
}
.rt-modal-ok {
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 1000;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    filter 0.15s var(--ease);
}
.rt-modal-ok:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

#rtPolicyModal.rt-modal-ov {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#rtPolicyModal .rt-modal {
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

#rtPolicyModal .rt-modal-body,
#rtPolicyModal .rt-modal-text {
  overflow-x: hidden !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 980px) {
  #rtPolicyModal.rt-modal-ov {
    padding: 12px !important;
  }
  #rtPolicyModal .rt-modal {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    border-radius: 18px !important;
  }

  /* 하단 버튼도 가로 꽉 */
  #rtPolicyModal .rt-modal-ok {
    width: 100% !important;
  }
}
@media (min-width: 981px) {
  .brand-left img {
    height: 78px !important;
    max-width: 320px !important;
  }
}

@media (max-width: 980px) {
  .brand-left img {
    height: 54px !important;
    max-width: 220px !important;
  }
}

@media (min-width: 981px) {
  .mypage-ico {
    border-color: rgba(11, 18, 32, 0.28);
  }
  .mypage-ico:hover {
    border-color: rgba(11, 18, 32, 0.42);
  }
}

.social .sbtn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 34px !important;
  height: 34px !important;
}

#kakaoLink svg,
#youtubeLink svg {
  display: none !important;
}

#kakaoLink {
  background: url("../assets/img/kakao.png") center/32px 32px no-repeat !important;
}
#youtubeLink {
  background: url("../assets/img/youtube.png") center/32px 32px no-repeat !important;
}

#kakaoLink,
#youtubeLink {
  filter: contrast(1.15) saturate(1.1);
}

.social .sbtn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate !important;
}

#kakaoLink svg,
#youtubeLink svg {
  display: none !important;
}

#kakaoLink,
#youtubeLink {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

#kakaoLink {
  background-image: url("../assets/img/kakao.png") !important;
  background-size: 34px 34px !important;
}

#youtubeLink {
  background-image: url("../assets/img/youtube.png") !important;
  background-size: 34px 34px !important;
}

.social {
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

#mSocial.m-social {
  margin-top: auto;
  width: min(360px, 86vw);
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px 0 6px;
}

#mSocial .m-sbtn {
  width: 44px;
  height: 44px;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

#mKakaoLink svg,
#mYoutubeLink svg {
  display: none !important;
}

#mKakaoLink {
  background: url("../assets/img/kakao.png") center/34px 34px no-repeat !important;
}
#mYoutubeLink {
  background: url("../assets/img/youtube.png") center/34px 34px no-repeat !important;
}

#mobileMenu.mobile-overlay .mobile-actions .mbtn.primary,
#mobileMenu.mobile-overlay #mLogout.mbtn.primary {
  background: #f97316 !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: #fff !important;
}

#mobileMenu.mobile-overlay .mobile-actions .mbtn.primary,
#mobileMenu.mobile-overlay #mLogout.mbtn.primary {
  background: #f97316 !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: #fff !important;
}

#mobileMenu .mobile-actions #mLogout.mbtn.primary,
#mobileMenu .mobile-actions a.mbtn.primary,
#mobileMenu .mobile-actions button.mbtn.primary {
  background: #f97316 !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: #fff !important;
}

#mobileMenu .mobile-actions a.btn.primary {
  background: #f97316 !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: #fff !important;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  touch-action: pan-y;
}

*,
*::before,
*::after {
  max-width: 100%;
  box-sizing: border-box;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
  height: auto;
}

iframe {
  display: block;
}

.banner,
.site-header,
.navwrap,
section,
footer {
  overflow-x: clip;
}

.notice-bubble,
.rs-pop-ov,
.rt-modal-ov,
#mobileMenu {
  left: 0;
  right: 0;
  max-width: 100%;
}

#mobileMenu {
  width: 100%;
}

@media (max-width: 980px) {
  #mobileMenu.active {
    padding-bottom: 140px !important;
  }

  #mobileMenu.active #mSocial.m-social {
    position: absolute !important;
    left: 50% !important;
    bottom: 22px !important;
    transform: translateX(-50%) !important;

    width: min(360px, 86vw) !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;

    z-index: 100000 !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  #mobileMenu.active #mSocial .m-sbtn {
    width: 62px !important;
    height: 62px !important;
    border-radius: 999px !important;

    background-color: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    box-shadow:
      0 18px 44px rgba(2, 6, 23, 0.18),
      0 2px 10px rgba(2, 6, 23, 0.08) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    transition:
      transform 0.15s ease,
      filter 0.15s ease !important;
  }

  #mobileMenu.active #mSocial .m-sbtn:active {
    transform: scale(0.96) !important;
    filter: brightness(0.98) !important;
  }

  #mobileMenu.active #mKakaoLink {
    background-size: 40px 40px !important;
  }

  #mobileMenu.active #mYoutubeLink {
    background-size: 40px 40px !important;
  }
}

@media (max-width: 980px) {
  body:has(#mobileMenu.active) {
    height: 100dvh !important;
    overflow: hidden !important;
  }

  #mobileMenu.mobile-overlay {
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    justify-content: flex-start !important;
  }
}

#mobileMenu .mobile-actions a.mbtn.primary[href="./signup.html"] {
  background: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  color: #fff !important;
}

@media (max-width: 560px) {
  input,
  select,
  textarea,
  .in,
  .ref-in {
    font-size: 16px !important;
  }
}
