@font-face {
  font-family: 'Aggravo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Aggravo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroM.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Aggravo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* ==================== Reset ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ==================== Tokens ==================== */
:root {
  --black: #080706;
  --black-soft: #0d0b09;
  --panel: #131110;
  --panel-2: #19160f;
  --panel-border: rgba(212, 175, 55, 0.16);
  --panel-border-strong: rgba(212, 175, 55, 0.4);
  --gold: #d4af37;
  --gold-light: #f3dc86;
  --gold-pale: #f8ecc4;
  --gold-deep: #9c7a24;
  --text: #f4efe2;
  --text-dim: #ab9f88;
  --text-faint: #6d6353;
  --line: rgba(244, 239, 226, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
  --radius: 18px;
  --radius-sm: 10px;
  --ff-kr: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
  --ff-display: "Aggravo", "Pretendard", sans-serif;
  --ff-serif: "Aggravo", serif;
  --container: 1180px;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--ff-kr);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #100d08; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--gold)); border-radius: 10px; }

/* ==================== Background texture ==================== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 600px at 100% 20%, rgba(212, 175, 55, 0.05), transparent 55%),
    radial-gradient(ellipse 700px 600px at 0% 60%, rgba(212, 175, 55, 0.05), transparent 55%);
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(212,175,55,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

section { position: relative; z-index: 2; }

/* ==================== Eyebrow / labels ==================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.015);
  padding: 4px 24px;
  transition: border-color .25s ease;
}
.faq-item:hover { border-color: var(--panel-border-strong); }
.faq-item[open] { border-color: rgba(212,175,55,0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--gold); font-weight: 800; margin-right: 10px; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-answer { padding: 0 0 22px; color: var(--text-dim); font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) {
  .faq-item { padding: 2px 16px; }
  .faq-item summary { font-size: 14px; padding: 14px 26px 14px 0; }
}
.gold-text {
  background: linear-gradient(135deg, var(--gold-pale), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==================== Buttons ==================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1px solid var(--panel-border-strong);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color .35s, background .35s, color .35s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #14110a;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 46px rgba(212,175,55,0.32); }
.btn-ghost { background: rgba(244,239,226,0.03); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ==================== Header / Nav ==================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(8,7,6,0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--panel-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 0 14px rgba(212,175,55,0.35)); transition: height .4s ease; }
.site-header.scrolled .brand img { height: 34px; }
.brand-word { font-family: var(--ff-display); font-size: 21px; letter-spacing: 0.12em; font-weight: 700; }
.brand-sub { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--text-dim); margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a {
  position: relative; font-size: 14.5px; font-weight: 600; color: var(--text-dim);
  padding: 6px 0; transition: color .3s; white-space: nowrap;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-light); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-menu .has-dropdown { position: relative; padding-bottom: 22px; margin-bottom: -22px; }
.nav-menu .has-dropdown > a::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; margin-bottom: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  opacity: .6; transition: transform .25s;
}
.nav-menu .has-dropdown:hover > a::before { transform: rotate(225deg); }
.nav-menu .dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  min-width: 190px; background: var(--panel-2); border: 1px solid var(--panel-border-strong); border-radius: 12px;
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  box-shadow: var(--shadow-lg); z-index: 60;
}
.nav-menu .has-dropdown:hover .dropdown,
.nav-menu .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-menu .dropdown a {
  display: block; padding: 11px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: var(--text-dim); white-space: nowrap;
}
.nav-menu .dropdown a::after { display: none; }
.nav-menu .dropdown a:hover { background: rgba(212,175,55,0.08); color: var(--gold-light); }


.header-actions { display: flex; align-items: center; gap: 14px; }
.header-auth-links { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-dim); font-weight: 600; }
.header-auth-links a { transition: color .3s; }
.header-auth-links a:hover { color: var(--gold-light); }
.header-auth-links .sep { width: 1px; height: 11px; background: var(--panel-border-strong); }
.tel-chip {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-size: 14px; letter-spacing: 0.03em; color: var(--gold-light);
  border: 1px solid var(--panel-border); padding: 9px 18px; border-radius: 100px;
  transition: border-color .3s, background .3s;
}
.tel-chip:hover { border-color: var(--gold); background: rgba(212,175,55,0.06); }
.tel-chip svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--panel-border); background: rgba(255,255,255,0.02);
  position: relative; flex-shrink: 0;
}
/* 가운데 막대는 버튼을 기준으로, 위·아래 막대(::before/::after)는 가운데 막대를 기준으로 놓인다.
   셋을 한 규칙으로 묶어 left를 주면 위·아래 막대만 그만큼 더 밀려서 버튼 밖으로 삐져나간다.
   가운데 막대를 버튼 정중앙에 두고, 위·아래는 거기에 맞춰 붙인다(버튼 크기가 바뀌어도 안 어긋남). */
.nav-toggle span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 1.5px; background: var(--gold-light);
  transition: background .3s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%;
  background: var(--gold-light);
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,7,6,0.98); backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  overflow-y: auto; padding-top: 78px;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

.mmenu-scroll { flex: 1; overflow-y: auto; padding: 6px 0 10px; }

.mmenu-item-solo {
  display: block; padding: 19px 26px; font-family: var(--ff-display); font-size: 16.5px; letter-spacing: 0.03em;
  color: var(--text); border-bottom: 1px solid var(--panel-border); transition: color .25s;
}
.mmenu-item-solo:hover, .mmenu-item-solo.active { color: var(--gold-light); }

.mmenu-accordion { border-bottom: 1px solid var(--panel-border); }
.mmenu-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 19px 26px; background: transparent; border: none; font-family: inherit;
  font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer; transition: color .25s;
}
.mmenu-acc-head:hover { color: var(--gold-light); }
.mmenu-acc-head .chev { width: 15px; height: 15px; stroke: var(--text-faint); flex-shrink: 0; transition: transform .3s ease, stroke .3s ease; }
.mmenu-acc-head.open { color: var(--gold-light); }
.mmenu-acc-head.open .chev { transform: rotate(180deg); stroke: var(--gold-light); }

.mmenu-acc-panel { max-height: 0; overflow: hidden; background: rgba(212,175,55,0.03); transition: max-height .35s ease; }
.mmenu-acc-panel.open { max-height: 320px; }
.mmenu-acc-panel a {
  display: block; padding: 14px 26px 14px 42px; font-size: 14.5px; color: var(--text-dim); transition: color .25s;
}
.mmenu-acc-panel a:hover, .mmenu-acc-panel a.active { color: var(--gold-light); }

.mmenu-footer { display: flex; gap: 10px; padding: 20px 26px; border-top: 1px solid var(--panel-border); }
.mmenu-footer .btn { flex: 1; }

/* ==================== Hero ==================== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  padding: 160px 0 100px;
}
.hero-wolf {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: min(920px, 130vw); opacity: 0.05; z-index: 0; filter: blur(0.5px);
}
.hero-glow {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.20), transparent 65%);
  z-index: 0; pointer-events: none;
}
.hero-moon {
  position: absolute; top: 90px; right: 8%; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, var(--gold-pale), var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 0 90px rgba(212,175,55,0.45), 0 0 200px rgba(212,175,55,0.15);
  opacity: 0.85; z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero h1 small {
  display: block; font-family: var(--ff-kr); font-weight: 800;
  font-size: clamp(18px, 2.4vw, 26px); letter-spacing: 0.06em; color: var(--text);
  margin-top: 22px;
}
.hero p.lead {
  max-width: 620px; margin: 30px auto 44px; color: var(--text-dim); font-size: 17px;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  margin-top: 64px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.badge-pill {
  font-size: 12px; letter-spacing: 0.04em; color: var(--text-dim);
  border: 1px solid var(--panel-border); padding: 8px 16px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
}
.badge-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-cue span { font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint); }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: var(--gold-light);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -20px; } 100% { top: 46px; } }

/* ==================== Marquee strip ==================== */
.marquee-strip { border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); background: var(--black-soft); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 60px; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--ff-display); font-size: 14px; letter-spacing: 0.18em; color: var(--text-faint);
  display: flex; align-items: center; gap: 60px; white-space: nowrap;
}
.marquee-track span::after { content: "◆"; color: var(--gold); font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== Cards / Panels ==================== */
.panel {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s, box-shadow .45s;
}
.panel:hover { transform: translateY(-6px); border-color: var(--panel-border-strong); box-shadow: var(--shadow-lg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.16,.8,.24,1), transform .9s cubic-bezier(.16,.8,.24,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ==================== Divider ==================== */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto; width: fit-content; }
.divider .diamond { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.divider .bar { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--panel-border-strong), transparent); }

/* ==================== Footer ==================== */
.site-footer { background: var(--black-soft); border-top: 1px solid var(--panel-border); padding: 76px 0 0; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 20px; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 12px; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center; transition: border-color .3s, color .3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-legal {
  border-top: 1px solid var(--panel-border); padding: 28px 0 30px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between;
}
.footer-legal-info { font-size: 12.5px; line-height: 2; color: var(--text-faint); }
.footer-legal-info b { color: var(--text-dim); font-weight: 600; }
.footer-legal-info .sep { margin: 0 8px; color: var(--panel-border-strong); }
.footer-copy { font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.footer-age {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-faint);
  border: 1px solid var(--panel-border); border-radius: 100px; padding: 6px 14px; margin-top: 18px;
}
.footer-age b { color: var(--gold-deep); }

/* ==================== Page hero (inner pages) ==================== */
.page-hero {
  padding: 176px 0 90px; text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
}
.page-hero::before {
  content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.14), transparent 68%); z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--ff-display); font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; margin-bottom: 18px; }
.page-hero p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }
.breadcrumb { margin-top: 26px; font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.04em; }
.breadcrumb .gold-text { font-weight: 700; }

/* 성인인증 전에 사진·연락처 자리에 뜨는 안내 */
.jd-gallery-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
  background: linear-gradient(160deg, rgba(25,22,15,0.96), rgba(8,7,6,0.98));
}
.jd-lock-badge {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 2px;
}
.jd-lock-title { font-size: 15px; font-weight: 700; color: var(--gold-pale); }
.jd-lock-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }
.jd-lock-btn {
  margin-top: 8px; padding: 11px 22px; border-radius: 100px;
  background: var(--gold); color: #1a1400; font-size: 13.5px; font-weight: 700;
}
.jd-lock-btn:hover { background: var(--gold-light); }
.jd-locked-link { color: var(--gold-light) !important; font-size: 14px !important; }

.jd-body-section { padding: 20px 0 130px; }

@media (max-width: 640px) {
  .jd-page-hero { display: none; }
  /* 위 히어로가 숨겨지면 고정 헤더 아래를 받쳐주는 것이 없어져서 본문 윗부분이
     헤더에 가려진다(사진 상단·좋아요 버튼이 햄버거와 겹쳐 보이던 원인). 헤더 높이만큼 띄운다. */
  .jd-body-section { padding-top: 104px; }
}

/* ===== 글 상세 아래 '이 게시판의 다른 글' ===== */
.post-nearby-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 2px; border-bottom: 1px solid var(--line); transition: color .2s;
}
.post-nearby-item:last-child { border-bottom: none; }
.post-nearby-item:hover .post-nearby-title { color: var(--gold-light); }
.post-nearby-title {
  font-size: 14px; color: var(--text); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.post-nearby-meta { font-size: 12px; color: var(--text-faint); white-space: nowrap; flex-shrink: 0; }
.comment-edit-input {
  width: 100%; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border); color: var(--text); font-size: 13.5px; font-family: inherit;
}
@media (max-width: 640px) {
  .post-nearby-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .post-nearby-title { white-space: normal; }
}

/* ===== 게시판 비회원 입력칸 (이름·비밀번호) ===== */
#comment-guest { display: flex; gap: 8px; margin-bottom: 10px; }
#comment-guest input { flex: 1; min-width: 0; }
@media (max-width: 640px) {
  #comment-guest { flex-direction: column; gap: 6px; }
}

/* ==================== 약관·개인정보처리방침 ==================== */
.legal-doc { margin-bottom: 44px; }
.legal-doc h2 {
  font-size: 19px; color: var(--gold-pale); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--panel-border);
}
/* 원문의 줄바꿈을 그대로 살린다 (조문 구분이 무너지면 읽기 어렵다) */
.legal-body {
  white-space: pre-line;
  font-size: 14px; line-height: 1.95; color: var(--text-dim);
}
.legal-updated {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-faint);
}
@media (max-width: 640px) {
  .legal-doc h2 { font-size: 17px; }
  .legal-body { font-size: 13.5px; line-height: 1.9; }
}

/* ==================== Utility ==================== */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.stack-gap { display: flex; flex-direction: column; gap: 16px; }

/* ==================== Generic responsive grids ==================== */
.grid-auto-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-auto-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-auto-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-form { display: grid; grid-template-columns: 1.5fr 1fr; }

/* ==================== Job filter & cards ==================== */
.region-toggle-wrap { text-align: center; margin-bottom: 20px; }
.region-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 100px; border: 1px solid var(--panel-border-strong);
  background: rgba(255,255,255,0.02); color: var(--text); font-size: 14px; font-weight: 700;
  transition: all .3s ease;
}
.region-toggle:hover { border-color: var(--gold); color: var(--gold-light); }
.region-toggle svg { transition: transform .3s ease; flex-shrink: 0; }
.region-toggle.open svg { transform: rotate(180deg); }
.region-toggle.open { border-color: var(--gold); color: var(--gold-light); }

.filter-bar { display: none; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 54px; }
.filter-bar.open { display: flex; }
.filter-bar button {
  padding: 10px 22px; border-radius: 100px; border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.02); color: var(--text-dim); font-size: 13.5px; font-weight: 600;
  transition: all .3s ease;
}
.filter-bar button:hover { border-color: var(--panel-border-strong); color: var(--text); }
.filter-bar button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #14110a; border-color: transparent;
}

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.job-card { position: relative; padding: 30px; display: flex; flex-direction: column; }
.job-tier {
  display: inline-flex; align-self: flex-start; font-family: var(--ff-display); font-size: 10.5px;
  letter-spacing: 0.14em; padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
}
.job-tier.premium_top { color: #14110a; background: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 0 16px rgba(212,175,55,0.45); }
.job-tier.prime { color: #14110a; background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); }
.job-tier.gold { color: #14110a; background: linear-gradient(135deg, #ecc667, #b8842c); }
.job-tier.silver { color: #14110a; background: linear-gradient(135deg, #dcdce4, #9a9aa8); }
.job-tier.bronze { color: #f2e6d3; background: linear-gradient(135deg, #a67c4e, #6f5230); }
.job-region { font-size: 12.5px; color: var(--text-faint); margin-bottom: 6px; }
.job-title { font-size: 18.5px; font-weight: 700; margin-bottom: 12px; }
.job-company { font-size: 12.5px; color: var(--text-faint); margin: -6px 0 14px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.job-tags .tag { font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--panel-border); padding: 5px 11px; border-radius: 100px; }
.job-pay { font-family: var(--ff-display); color: var(--gold-light); font-size: 20px; margin-bottom: 22px; }
.job-pay small { font-size: 12px; color: var(--text-faint); font-family: var(--ff-kr); }
.job-actions { display: flex; gap: 10px; margin-top: auto; }
.job-actions .btn { flex: 1; }
.job-note {
  text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 50px;
  border-top: 1px solid var(--panel-border); padding-top: 30px;
}

.job-like-btn {
  position: absolute; bottom: 14px; right: 14px; z-index: 8;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(8, 7, 6, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.job-like-btn:hover { border-color: #ff5673; transform: scale(1.08); }
.job-like-btn svg { width: 17px; height: 17px; fill: none; stroke: #f4efe2; stroke-width: 2; transition: all .2s ease; }
.job-like-btn.liked { background: rgba(8, 7, 6, 0.7); border-color: #ff5673; }
.job-like-btn.liked svg { fill: #ff5673; stroke: #ff5673; }
.job-card--silver .job-like-btn, .job-card--gold .job-like-btn { width: 30px; height: 30px; bottom: 10px; right: 10px; }
.job-card--silver .job-like-btn svg, .job-card--gold .job-like-btn svg { width: 15px; height: 15px; }

.ad-carousel-slide .job-like-btn { top: 18px; right: 18px; bottom: auto; z-index: 4; }

.job-row { position: relative; }
.job-row .job-like-btn { position: static; width: 30px; height: 30px; flex-shrink: 0; background: rgba(255,255,255,0.03); }
.job-row .job-like-btn svg { width: 15px; height: 15px; }

/* ---- Ad tier sections: size scales with what advertisers pay for ---- */
.ad-tier-section { margin-bottom: 64px; }
.ad-tier-section:last-of-type { margin-bottom: 0; }
.ad-tier-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.ad-tier-head .job-tier { margin-bottom: 0; font-size: 12px; padding: 7px 18px; }
.ad-tier-head .ad-tier-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--panel-border-strong), transparent); }
.ad-tier-head .ad-tier-desc { font-size: 12px; color: var(--text-faint); white-space: nowrap; }

.job-grid.tier-prime { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.job-grid.tier-gold { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.job-grid.tier-silver { grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* PRIME — video/image fills the whole card, text sits in a small legible box at the bottom */
.job-card--prime { position: relative; padding: 0; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.job-card--prime .job-banner {
  position: absolute; inset: 0; height: auto; margin-bottom: 0; overflow: hidden;
  background: linear-gradient(120deg, #2a2214, #1b1710 30%, #241d10 60%, #2a2214);
  background-size: 240% 240%;
  animation: bannerDrift 9s ease-in-out infinite;
}
.job-card--prime .job-banner img, .job-card--prime .job-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.job-card--prime .job-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,7,0.55) 0%, transparent 24%, transparent 55%, rgba(10,9,7,0.55) 100%);
}
.job-card--prime .job-banner .job-tier { position: absolute; top: 14px; left: 14px; z-index: 2; margin-bottom: 0; }
@keyframes bannerDrift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.job-card--prime .job-body {
  position: relative; z-index: 2; display: flex; flex-direction: column; flex: none;
  margin: 0 16px 16px; padding: 14px 18px;
  background: rgba(10,9,7,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,0.18); border-radius: 14px;
}
.job-card--prime .job-tier { display: none; }
.job-card--prime .job-banner .job-tier { display: inline-flex; }
.job-card--prime .job-title { font-size: 17px; margin-bottom: 4px; }
.job-card--prime .job-company { margin: -2px 0 8px; }
.job-card--prime .job-tags { display: none; }
.job-card--prime .job-pay { font-size: 19px; margin-bottom: 0; }
.job-card--prime .job-pay small { display: none; }

/* GOLD — photo fills the card like PRIME, scaled down a notch to read as the tier below it */
.job-card--gold { position: relative; padding: 0; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.job-card--gold .job-banner {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(120deg, #2a2214, #1b1710 30%, #241d10 60%, #2a2214);
  background-size: 240% 240%;
  animation: bannerDrift 9s ease-in-out infinite;
}
.job-card--gold .job-banner img, .job-card--gold .job-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.job-card--gold .job-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,7,0.5) 0%, transparent 26%, transparent 52%, rgba(10,9,7,0.6) 100%);
}
.job-card--gold .job-banner .job-tier { position: absolute; top: 12px; left: 12px; z-index: 2; margin-bottom: 0; font-size: 9.5px; padding: 4px 10px; }
.job-card--gold .job-tier { display: none; }
.job-card--gold .job-banner .job-tier { display: inline-flex; }
.job-card--gold .job-body {
  position: relative; z-index: 2; display: flex; flex-direction: column; flex: none;
  margin: 0 12px 12px; padding: 12px 14px;
  background: rgba(10,9,7,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,0.16); border-radius: 12px;
}
.job-card--gold .job-region { font-size: 11px; margin-bottom: 4px; }
.job-card--gold .job-title { font-size: 15.5px; margin-bottom: 4px; }
.job-card--gold .job-company { font-size: 11px; margin: -2px 0 8px; }
.job-card--gold .job-tags { display: none; }
.job-card--gold .job-pay { font-size: 16px; margin-bottom: 0; }
.job-card--gold .job-pay small { display: none; }

/* SILVER — no photo; quieter flat card, differentiated with a plain divider instead of a media box */
.job-card--silver { padding: 20px 18px; }
.job-card--silver .job-tier { font-size: 9px; padding: 3px 9px; margin-bottom: 12px; }
.job-card--silver .job-title { font-size: 14px; margin-bottom: 6px; }
.job-card--silver .job-company { font-size: 11px; margin: -2px 0 10px; }
.job-card--silver .job-tags { display: none; }
.job-card--silver .job-pay { font-size: 14.5px; margin-bottom: 0; padding-top: 12px; border-top: 1px solid var(--panel-border); }
.job-card--silver .job-pay small { display: none; }

.job-preview-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.job-preview-side { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 980px) {
  .job-preview-grid { grid-template-columns: 1fr; }
}

/* BRONZE — one line each */
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 20px; border-radius: var(--radius-sm);
  transition: border-color .3s, transform .3s;
}
.job-row:hover { transform: translateX(4px); border-color: var(--panel-border-strong); }
.job-row .job-tier { margin-bottom: 0; flex-shrink: 0; font-size: 10px; padding: 4px 10px; }
.job-row-main { flex: 1 1 260px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.job-row-title { font-weight: 700; font-size: 14px; }
.job-row-region, .job-row-company { font-size: 11.5px; color: var(--text-faint); }
.job-row-pay { font-family: var(--ff-display); color: var(--gold-light); font-size: 14px; white-space: nowrap; }
.job-row .btn { flex-shrink: 0; }

/* ---- Premium Top rotating banner carousel ---- */
.ad-carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--panel-border-strong); box-shadow: var(--shadow-lg);
  height: min(52vw, 420px); min-height: 220px;
}
.ad-carousel-track { position: relative; width: 100%; height: 100%; }
.ad-carousel-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  opacity: 0; visibility: hidden; transition: opacity .8s ease;
  background: linear-gradient(135deg, #211b10, #171310 45%, #201a10);
}
.ad-carousel-slide.active { opacity: 1; visibility: visible; }
.ad-carousel-slide img, .ad-carousel-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-carousel-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,7,6,0.5), transparent 32%);
}
.ad-carousel-slide-content {
  position: relative; z-index: 2; width: auto; max-width: min(300px, 78%);
  margin: 0 0 18px 18px; padding: 14px 18px;
  background: rgba(10,9,7,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,0.18); border-radius: 14px;
}
.ad-carousel-slide-content .job-tier { margin-bottom: 8px; }
.ad-carousel-slide-content h3 { font-size: clamp(15px, 1.8vw, 20px); font-weight: 800; margin-bottom: 4px; }
.ad-carousel-slide-content p { color: var(--text-dim); font-size: 12px; margin-bottom: 0; }
.ad-carousel-meta { position: absolute; bottom: 18px; right: 24px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.ad-carousel-dots { display: flex; gap: 8px; }
.ad-carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(244,239,226,0.3); border: none; padding: 0;
  transition: all .3s;
}
.ad-carousel-dots button.active { background: var(--gold); width: 22px; border-radius: 5px; }
.ad-carousel-countdown {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(244,239,226,0.3); background: rgba(8,7,6,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 10.5px; color: var(--text-dim);
}
.ad-carousel-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-faint); font-size: 13px; }

@media (max-width: 980px) {
  .job-grid.tier-prime { grid-template-columns: 1fr 1fr; }
  .job-grid.tier-gold { grid-template-columns: 1fr 1fr; }
  .job-grid.tier-silver { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .job-grid.tier-prime { grid-template-columns: 1fr 1fr; gap: 12px; }
  .job-grid.tier-gold { grid-template-columns: 1fr 1fr; gap: 10px; }
  .job-grid.tier-silver { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  /* BRONZE 줄광고 — 가로 배치용 gap(18px)을 그대로 둔 채 세로로 쌓아버려서
     항목 4개 사이가 18px씩 벌어져 줄광고가 카드만큼 높아졌다(215px).
     등급·급여·좋아요를 첫 줄에 모으고 제목 묶음만 아래로 내려 두 줄로 만든다. */
  .job-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; }
  .job-row .job-tier { order: 1; }
  .job-row-pay { order: 2; margin-left: auto; }
  .job-row .job-like-btn { order: 3; }
  .job-row-main { order: 4; flex: 0 0 100%; width: 100%; row-gap: 2px; }
  .job-row .btn { width: 100%; }
  .ad-carousel { height: 62vw; }
  .ad-carousel-slide-content { padding: 10px 14px; margin: 0 0 12px 12px; }
}

/* ==================== Pricing cards (광고신청) ==================== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pricing-grid .span-full { grid-column: 1 / -1; }

.price-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.price-event-ribbon {
  text-align: center; padding: 9px 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.03em;
  color: #14110a; background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
}
.price-card.span-full { position: relative; }
.price-card.span-full .price-event-ribbon { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.price-card.span-full:has(.price-event-ribbon) .price-card-left { padding-top: 38px; }
.price-card-head { padding: 30px 32px 18px; border-bottom: 1px solid var(--panel-border); position: relative; }
.price-card-head::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.price-card--premium_top .price-card-head::before { background: linear-gradient(90deg, var(--gold-pale), var(--gold), var(--gold-deep)); }
.price-card--prime .price-card-head::before { background: linear-gradient(90deg, var(--gold-light), var(--gold-deep)); }
.price-card--gold .price-card-head::before { background: linear-gradient(90deg, #ecc667, #b8842c); }
.price-card--silver .price-card-head::before { background: linear-gradient(90deg, #dcdce4, #9a9aa8); }
.price-card--bronze .price-card-head::before { background: linear-gradient(90deg, #a67c4e, #6f5230); }

.price-card-head .tier-name { font-family: var(--ff-display); font-size: 21px; letter-spacing: 0.04em; margin-bottom: 6px; }
.price-card-head .tier-tagline { font-size: 12.5px; color: var(--text-faint); line-height: 1.6; }

.price-features { padding: 22px 32px 4px; margin: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-features li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-dim); align-items: flex-start; line-height: 1.5; }
.price-features li::before { content: "✓"; color: var(--gold-light); font-weight: 700; flex-shrink: 0; }

.price-recommend {
  margin: 18px 32px 0; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(212,175,55,0.06); border: 1px solid var(--panel-border);
  font-size: 12px; color: var(--text-faint);
}

.price-body { padding: 22px 32px 32px; margin-top: 14px; }
.price-amount { font-family: var(--ff-display); font-size: 32px; color: var(--gold-light); margin-bottom: 16px; }
.price-amount small { font-size: 13px; color: var(--text-faint); font-family: var(--ff-kr); font-weight: 400; }
.price-duration-row { margin-bottom: 12px; }
.price-duration {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); color: var(--text);
  font-size: 13.5px; transition: border-color .3s, background .3s;
}
.price-duration:focus { outline: none; border-color: var(--panel-border-strong); background: rgba(255,255,255,0.05); }
.price-duration option { background: var(--panel-2); color: var(--text); }
.price-total { text-align: right; font-size: 13px; color: var(--text-faint); margin-bottom: 18px; }
.price-total b { color: var(--gold-light); font-size: 17px; font-family: var(--ff-display); margin-left: 6px; }
.price-cta { width: 100%; }

.pricing-note {
  margin-top: 30px; padding: 24px 28px; border-radius: var(--radius); background: rgba(212,175,55,0.05);
  border: 1px solid var(--panel-border); font-size: 12.5px; color: var(--text-faint); line-height: 2;
}

.price-card.span-full { flex-direction: row; align-items: stretch; }
.price-card.span-full .price-card-left { flex: 1.4; display: flex; flex-direction: column; }
.price-card.span-full .price-card-head { border-bottom: none; }
.price-card.span-full .price-features { flex: 1; padding-top: 4px; }
.price-card.span-full .price-recommend { margin-bottom: 22px; }
.price-card.span-full .price-body {
  flex: 1; margin-top: 0; border-left: 1px solid var(--panel-border);
  display: flex; flex-direction: column; justify-content: center;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.span-full { flex-direction: column; }
  .price-card.span-full .price-body { border-left: none; border-top: 1px solid var(--panel-border); }
}

/* ==================== Contact page ==================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-method { padding: 38px 30px; text-align: center; }
.contact-method .icon-circ {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--panel-border-strong);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.contact-method h3 { font-size: 17px; margin-bottom: 10px; }
.contact-method p { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 10px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); color: var(--text);
  transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--panel-border-strong); background: rgba(255,255,255,0.05);
}
select option {
  background: var(--panel); color: var(--text);
}
select option:checked, select option:hover {
  background: var(--gold);
  color: #14110a;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.field-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.form-status {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(212,175,55,0.08); border: 1px solid var(--panel-border-strong); color: var(--gold-light); font-size: 13.5px;
}
.form-status.show { display: block; }
.form-status.error { background: rgba(200, 80, 60, 0.1); border-color: rgba(200, 80, 60, 0.4); color: #e8a48f; }

[data-inquiry-type].active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #14110a; border-color: transparent;
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--panel-border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 16px 4px; font-size: 14.5px; }
.info-table td:first-child { color: var(--text-faint); width: 130px; }
.info-table td:last-child { color: var(--text); font-weight: 600; text-align: right; }

.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); filter: grayscale(1) invert(1) contrast(0.85) brightness(0.92); }

/* ==================== Admin ==================== */
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; z-index: 2; }
.login-card { width: 100%; max-width: 420px; padding: 48px 40px; text-align: center; }
.login-card .brand { justify-content: center; margin-bottom: 30px; }
.login-card h1 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.login-card p.sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 30px; }
.login-card form { text-align: left; }
.login-error {
  display: none; background: rgba(200, 80, 60, 0.1); border: 1px solid rgba(200, 80, 60, 0.4);
  color: #e8a48f; font-size: 13px; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px;
}
.login-error.show { display: block; }

/* ==================== Signup form ==================== */
.form-section-title {
  font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.12em; color: var(--gold-light);
  text-transform: uppercase; margin: 40px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--panel-border);
}
.form-section-title:first-of-type { margin-top: 0; }
.field-inline { display: flex; gap: 10px; }
.field-inline input { flex: 1; min-width: 0; }
.field-inline .btn { flex-shrink: 0; white-space: nowrap; }
.field-msg { font-size: 12px; margin-top: 8px; min-height: 15px; }
.field-msg.ok { color: #7cc48a; }
.field-msg.err { color: #e8a48f; }
.field-note { font-size: 12px; color: var(--text-faint); margin-top: 8px; line-height: 1.6; }
.field-warn { font-size: 11.5px; color: var(--text-faint); margin-top: 6px; }

.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-btn {
  padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.02); text-align: left; transition: all .25s;
}
.role-btn strong { display: block; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.role-btn span { font-size: 12.5px; color: var(--text-faint); }
.role-btn.active { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.role-btn.active strong { color: var(--gold-light); }

.agree-all {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-sm); margin-bottom: 6px; font-weight: 700; font-size: 14.5px;
}
.agree-all input { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.agree-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 4px; font-size: 13.5px; color: var(--text-dim); border-bottom: 1px solid var(--panel-border); }
.agree-row:last-child { border-bottom: none; }
.agree-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.agree-row input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }
.agree-row .req { color: var(--gold); font-weight: 700; margin-right: 2px; }
.agree-row .opt { color: var(--text-faint); font-weight: 700; margin-right: 2px; }
.agree-row .view-doc { font-size: 12px; color: var(--text-faint); text-decoration: underline; background: none; border: none; flex-shrink: 0; }
.agree-row .view-doc:hover { color: var(--gold-light); }

.doc-modal-backdrop {
  position: fixed; inset: 0; background: rgba(8,7,6,0.85); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.doc-modal-backdrop.show { display: flex; }
.doc-modal { width: 100%; max-width: 600px; max-height: 82vh; display: flex; flex-direction: column; padding: 0; }
.doc-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--panel-border); }
.doc-modal-head h3 { font-size: 16px; }
.doc-modal-close {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--panel-border);
  background: transparent; color: var(--text-dim); flex-shrink: 0;
}
.doc-modal-close:hover { color: var(--gold-light); border-color: var(--panel-border-strong); }
.doc-modal-body { padding: 22px 26px; overflow-y: auto; font-size: 13px; color: var(--text-dim); line-height: 1.85; white-space: pre-line; }

.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 32px;
  border-bottom: 1px solid var(--panel-border); background: var(--black-soft); position: sticky; top: 0; z-index: 50;
}
.admin-topbar .brand img { height: 32px; }
.admin-user { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-dim); }
.admin-user b { color: var(--gold-light); }
.admin-main { max-width: 1180px; margin: 0 auto; padding: 44px 28px 110px; position: relative; z-index: 2; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }

.tab-bar { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid var(--panel-border); }
.tab-bar button { padding: 14px 22px; color: var(--text-dim); font-weight: 700; font-size: 14.5px; background: none; border: none; border-bottom: 2px solid transparent; }
.tab-bar button.active { color: var(--gold-light); border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.job-form-panel { padding: 34px; margin-bottom: 30px; display: none; }
.job-form-panel.open { display: block; }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--panel-border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.data-table th {
  text-align: left; padding: 14px; color: var(--text-faint); font-weight: 600; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--panel-border-strong); white-space: nowrap; background: var(--panel);
}
.data-table td { padding: 14px; border-bottom: 1px solid var(--panel-border); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(212, 175, 55, 0.035); }
.data-table .muted { color: var(--text-faint); font-size: 12px; }

.status-badge { display: inline-flex; padding: 4px 11px; border-radius: 100px; font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; }
.status-badge.on { background: rgba(212, 175, 55, 0.12); color: var(--gold-light); border: 1px solid var(--panel-border-strong); }
.status-badge.off { background: rgba(255, 255, 255, 0.03); color: var(--text-faint); border: 1px solid var(--panel-border); }
.status-badge.unread { background: rgba(212, 175, 55, 0.18); color: var(--gold-light); border: 1px solid var(--panel-border-strong); }

.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions button {
  font-size: 12px; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--panel-border);
  color: var(--text-dim); background: transparent; transition: all .25s;
}
.row-actions button:hover { border-color: var(--panel-border-strong); color: var(--text); }
.row-actions button.danger:hover { border-color: #c8503c; color: #e8a48f; }

.empty-row td { text-align: center; color: var(--text-faint); padding: 50px 14px; }

/* ===== 관리자 화면 모바일 =====
   탭이 12개라 좁은 화면에서 flex가 버튼을 짓눌러 글자가 한 자씩 세로로 쪼개졌다.
   줄바꿈 대신 가로 스크롤로 넘기고, 표·폼도 손가락으로 쓸 수 있는 크기로 줄인다. */
@media (max-width: 768px) {
  .admin-topbar { padding: 12px 16px; gap: 10px; }
  .admin-topbar .brand img { height: 26px; }
  .admin-user { gap: 8px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .admin-user .btn-sm { padding: 6px 10px; font-size: 11.5px; }
  .admin-main { padding: 22px 14px 90px; }

  .tab-bar {
    flex-wrap: nowrap; overflow-x: auto; margin-bottom: 22px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-bar button { flex: 0 0 auto; white-space: nowrap; padding: 12px 13px; font-size: 13px; }

  .admin-toolbar { align-items: stretch; }
  .admin-toolbar h2 { font-size: 17px !important; }
  .admin-toolbar > .btn { width: 100%; }

  .job-form-panel { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr !important; }

  .data-table { font-size: 12.5px; min-width: 560px; }
  .data-table th, .data-table td { padding: 10px 9px; }
  /* 관리 버튼이 세로로 쌓이면 행 높이가 화면을 다 잡아먹는다 */
  .row-actions { flex-wrap: nowrap; gap: 5px; }
  .row-actions button { padding: 6px 10px; font-size: 11.5px; white-space: nowrap; }

  .doc-modal { max-width: calc(100vw - 24px) !important; }
  .doc-modal-body { padding: 16px; }
}

.pricing-admin-row { display: flex; align-items: center; gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--panel-border); flex-wrap: wrap; }
.pricing-admin-row:last-child { border-bottom: none; }
.pricing-admin-tier { width: 190px; flex-shrink: 0; }
.pricing-admin-tier .job-tier { margin-bottom: 8px; }
.pricing-admin-tier .note { font-size: 11.5px; color: var(--text-faint); line-height: 1.5; }
.pricing-admin-input { width: 190px; flex-shrink: 0; }
.pricing-admin-input label { display: block; font-size: 11.5px; color: var(--text-faint); margin-bottom: 8px; }
.pricing-admin-input .input-row { display: flex; align-items: center; gap: 8px; }
.pricing-admin-input input {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: 8px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border); color: var(--text); font-family: var(--ff-display); font-size: 14px;
}
.pricing-admin-input input:focus { outline: none; border-color: var(--panel-border-strong); background: rgba(255,255,255,0.05); }
.pricing-admin-input .unit { font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.pricing-admin-preview { flex: 1; min-width: 220px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-dim); }
.pricing-admin-preview b { color: var(--gold-light); font-weight: 700; }
.pricing-admin-preview .disc { color: #7cc48a; font-size: 11px; margin-left: 3px; }

/* ==================== Business verification (사업자등록관리) ==================== */
.biz-tabs { display: flex; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 34px; }
.biz-tab { flex: 1; text-align: center; padding: 18px 12px; font-size: 14px; font-weight: 700; color: var(--text-dim); background: transparent; border-right: 1px solid var(--panel-border); transition: all .25s; }
.biz-tab:last-child { border-right: none; }
.biz-tab .count { margin-left: 4px; color: var(--text-faint); font-weight: 600; }
.biz-tab.active { color: var(--gold-light); background: rgba(212, 175, 55, 0.06); }
.biz-tab.active .count { color: var(--gold-light); }

.biz-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px 44px; flex-wrap: wrap; }
.biz-intro-text h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.biz-intro-text p { font-size: 13.5px; color: var(--text-dim); line-height: 1.8; margin-bottom: 4px; }
.biz-intro-text .biz-hours { margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.biz-intro-text .biz-hours-note { font-size: 12.5px; color: var(--text-faint); font-weight: 400; margin-top: 4px; line-height: 1.7; }
.biz-intro-cta { flex-shrink: 0; }

.biz-list { margin-top: 28px; }
.biz-card { display: flex; gap: 20px; padding: 24px 26px; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); margin-bottom: 14px; align-items: flex-start; flex-wrap: wrap; }
.biz-card-thumbs { display: flex; gap: 10px; flex-shrink: 0; }
.biz-card-thumbs a { width: 74px; height: 74px; border-radius: 8px; overflow: hidden; border: 1px solid var(--panel-border); display: block; }
.biz-card-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.biz-card-body { flex: 1; min-width: 200px; }
.biz-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.biz-card-date { font-size: 12px; color: var(--text-faint); }
.biz-card-label { font-size: 14.5px; font-weight: 700; color: var(--gold-light); margin: 8px 0 6px; }
.biz-card-reason { margin-top: 10px; font-size: 13px; color: #e8a48f; background: rgba(200, 80, 60, 0.08); border: 1px solid rgba(200, 80, 60, 0.25); border-radius: 8px; padding: 10px 14px; line-height: 1.6; }

.biz-modal-backdrop { position: fixed; inset: 0; background: rgba(8, 7, 6, 0.85); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.biz-modal-backdrop.show { display: flex; }
.biz-modal { width: 100%; max-width: 600px; max-height: 88vh; display: flex; flex-direction: column; padding: 0; }
.biz-modal-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 28px 18px; border-bottom: 1px solid var(--panel-border); }
.biz-modal-head h3 { font-size: 18px; font-weight: 800; }
.biz-modal-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--panel-border); background: transparent; color: var(--text-dim); flex-shrink: 0; }
.biz-modal-close:hover { color: var(--gold-light); border-color: var(--panel-border-strong); }
.biz-modal-body { padding: 24px 28px; overflow-y: auto; }
.biz-modal-legal { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--text-dim); line-height: 1.7; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--panel-border); }
.biz-modal-legal svg { flex-shrink: 0; margin-top: 2px; }
.biz-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.biz-upload-box { aspect-ratio: 1 / 1; border: 1.5px dashed var(--panel-border-strong); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: pointer; position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.02); transition: all .25s; }
.biz-upload-box:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.04); }
.biz-upload-box.filled { border-style: solid; }
.biz-upload-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-upload-box .icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--panel-border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.biz-upload-box .label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.biz-upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.biz-rules { list-style: none; font-size: 12.5px; color: var(--text-faint); line-height: 1.9; }
.biz-rules li { position: relative; padding-left: 14px; }
.biz-rules li::before { content: "·"; position: absolute; left: 0; color: var(--text-faint); }
.biz-modal-foot { padding: 20px 28px; border-top: 1px solid var(--panel-border); }

/* ==================== Job application form (partner/apply-form.html) ==================== */
.jobapp-summary {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 20px 26px; border-radius: var(--radius-sm); background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--panel-border-strong); margin-bottom: 30px;
}
.jobapp-summary-text { font-size: 14px; color: var(--text-dim); }
.jobapp-summary-text b { color: var(--gold-light); font-weight: 800; }

.jobapp-band {
  background: var(--panel-2); border: 1px solid var(--panel-border); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 16px 22px; font-size: 15px; font-weight: 800; color: var(--text); margin-top: 36px;
  display: flex; justify-content: space-between; align-items: center;
}
.jobapp-band:first-child { margin-top: 0; }
.jobapp-band .hint { font-size: 12px; color: #e8604a; font-weight: 600; }
.jobapp-body { border: 1px solid var(--panel-border); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 6px 22px; }

.jobapp-field { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--panel-border); flex-wrap: wrap; }
.jobapp-field:last-child { border-bottom: none; }
.jobapp-field-label { width: 140px; flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; padding-top: 12px; }
.jobapp-field-body { flex: 1; min-width: 240px; }
.jobapp-field-body input[type="text"], .jobapp-field-body input[type="tel"], .jobapp-field-body select, .jobapp-field-body textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border); color: var(--text); font-size: 14px; transition: border-color .3s, background .3s;
}
.jobapp-field-body input:focus, .jobapp-field-body select:focus, .jobapp-field-body textarea:focus {
  outline: none; border-color: var(--panel-border-strong); background: rgba(255,255,255,0.05);
}
.jobapp-field-body textarea { resize: vertical; min-height: 90px; }
.jobapp-required { color: #e8604a; font-size: 12px; margin-top: 8px; }
.jobapp-counter { text-align: right; font-size: 11px; color: var(--text-faint); margin-top: 6px; }

.jobapp-row2 { display: flex; gap: 12px; align-items: center; }
.jobapp-row2 select, .jobapp-row2 input { flex: 1; min-width: 0; }
.jobapp-row2 .sep { color: var(--text-faint); flex-shrink: 0; }

.jobapp-combo { display: flex; gap: 10px; margin-bottom: 10px; }
.jobapp-combo:last-child { margin-bottom: 0; }
.jobapp-combo select { width: 150px; flex-shrink: 0; }
.jobapp-combo input { flex: 1; min-width: 0; }

.jobapp-radio-group, .jobapp-check-group { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 12px; }
.jobapp-radio, .jobapp-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.jobapp-radio input, .jobapp-check input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }

.jobapp-tip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
  border-radius: 50%; border: 1px solid var(--text-faint); color: var(--text-faint); font-size: 11px; cursor: help; flex-shrink: 0;
}
.jobapp-tip-bubble {
  display: none; position: absolute; bottom: 130%; left: 0; width: 260px; background: var(--panel-2);
  border: 1px solid var(--panel-border-strong); border-radius: 10px; padding: 13px 15px; font-size: 12px;
  line-height: 1.65; color: var(--text-dim); box-shadow: var(--shadow-lg); z-index: 30; font-weight: 400;
}
.jobapp-tip:hover .jobapp-tip-bubble { display: block; }

.jobapp-guide { font-size: 12px; color: var(--text-faint); line-height: 1.8; margin-bottom: 12px; }
.jobapp-select-note { font-size: 11.5px; color: var(--text-faint); margin-top: 6px; }
.jobapp-store-empty { font-size: 12.5px; color: #e8604a; margin-top: 8px; }
.jobapp-store-empty a { text-decoration: underline; color: var(--gold-light); }

.jobapp-upload-row { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--text); }
.jobapp-upload-box { width: 130px; aspect-ratio: 1 / 1; }

.jobapp-photo-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.jobapp-photo-thumb { position: relative; width: 90px; height: 90px; border-radius: 10px; overflow: hidden; border: 1px solid var(--panel-border); flex-shrink: 0; }
.jobapp-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jobapp-photo-thumb .rm {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(8, 7, 6, 0.75); color: var(--text); border: 1px solid var(--panel-border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1;
}
.jobapp-photo-thumb .rm:hover { background: rgba(200, 80, 60, 0.7); }
.jobapp-photo-add {
  width: 90px; height: 90px; border-radius: 10px; border: 1.5px dashed var(--panel-border-strong); flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  color: var(--text-faint); font-size: 11px; position: relative; background: rgba(255, 255, 255, 0.02); transition: all .25s;
}
.jobapp-photo-add:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 55, 0.04); }
.jobapp-photo-add.disabled { display: none; }
.jobapp-photo-add input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.media-upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.media-upload-preview {
  width: 150px; height: 92px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.02); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
}
.media-upload-preview img, .media-upload-preview video { width: 100%; height: 100%; object-fit: cover; }
.media-upload-empty { font-size: 11px; color: var(--text-faint); text-align: center; padding: 0 10px; line-height: 1.6; }
.media-upload-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.media-upload-actions .btn[disabled] { opacity: .5; pointer-events: none; }

.jobapp-submit-bar { display: flex; justify-content: center; padding: 46px 0 10px; }
.jobapp-submit-bar .btn { min-width: 260px; }

/* ==================== Member level badges ==================== */
.name-with-level { display: inline-flex; align-items: center; gap: 6px; }
.level-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; white-space: nowrap;
  font-family: var(--ff-display); font-weight: 700; font-size: 10px; letter-spacing: 0.02em;
  padding: 2px 7px; border-radius: 100px; line-height: 1.7; border: 1px solid transparent;
}
.level-badge.lv1 { color: #ab9f88; background: rgba(171, 159, 136, 0.12); border-color: rgba(171, 159, 136, 0.3); }
.level-badge.lv2 { color: #d1a878; background: rgba(209, 168, 120, 0.14); border-color: rgba(209, 168, 120, 0.35); }
.level-badge.lv3 { color: #dcdce4; background: rgba(220, 220, 228, 0.1); border-color: rgba(220, 220, 228, 0.3); }
.level-badge.lv4 { color: #f2f2f7; background: rgba(242, 242, 247, 0.14); border-color: rgba(242, 242, 247, 0.4); }
.level-badge.lv5 { color: #14110a; background: linear-gradient(135deg, var(--gold-light), var(--gold) 65%); }
.level-badge.lv6 { color: #14110a; background: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 0 6px rgba(212, 175, 55, 0.35); }
.level-badge.lv7 { color: #0c1a20; background: linear-gradient(135deg, #d7f2fb, #7fd4f0 55%, #4fb8dc); box-shadow: 0 0 8px rgba(127, 212, 240, 0.45); }
.level-badge.lv8 { color: #14110a; background: linear-gradient(135deg, #fff6d8, var(--gold-light) 40%, var(--gold) 72%, var(--gold-deep)); box-shadow: 0 0 12px rgba(212, 175, 55, 0.65); }
.level-badge.lv-admin { color: #f4efe2; background: linear-gradient(135deg, #3a3f52, #21232f); border: 1px solid rgba(150, 165, 220, 0.4); }

.mp-points-panel {
  margin-bottom: 24px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--panel-border);
}
.mp-points-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mp-points-label { font-size: 13px; color: var(--text-dim); }
.mp-points-score { font-family: var(--ff-display); font-size: 26px; color: var(--gold-light); margin-bottom: 12px; }
.mp-points-score span:first-child { font-weight: 700; }
.mp-points-bar { height: 8px; border-radius: 100px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 8px; }
.mp-points-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); transition: width .5s ease; }
.mp-points-range { font-size: 12px; color: var(--text-faint); text-align: right; }

/* ==================== Community board ==================== */
#post-like-btn.active, #post-dislike-btn.active { border-color: var(--gold); color: var(--gold-light); }
#post-like-btn[disabled], #post-dislike-btn[disabled] { opacity: .55; cursor: not-allowed; }

.comment-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-item:last-child { border-bottom: none; }
.comment-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-item-date { font-size: 11.5px; color: var(--text-faint); }
.comment-delete-btn { margin-left: auto; font-size: 11.5px; color: var(--text-faint); background: none; border: none; padding: 0; cursor: pointer; }
.comment-delete-btn:hover { color: #e8a48f; }
.comment-item-body { font-size: 14px; line-height: 1.7; color: var(--text-dim); white-space: pre-line; }

.board-list { display: flex; flex-direction: column; gap: 10px; }
.board-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border); background: rgba(255, 255, 255, 0.015);
  transition: border-color .25s ease, transform .25s ease;
}
.board-item:hover { border-color: var(--panel-border-strong); transform: translateX(3px); }
.board-item.pinned { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.05); }
.board-item-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255, 255, 255, 0.03); }
.board-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-item-main { flex: 1; min-width: 0; }
.board-item-title {
  display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--text);
}
.board-item-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-badge {
  flex-shrink: 0; font-family: var(--ff-display); font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 100px;
}
.board-badge.notice { color: #14110a; background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); }
.board-badge.hot { color: #14110a; background: linear-gradient(135deg, #ffb199, #ff7a59); }
.board-item-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11.5px; color: var(--text-faint); flex-wrap: wrap; }
.board-item-meta .sep { opacity: .5; }

.board-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.board-pagination button {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02); color: var(--text-dim); font-size: 13px; transition: all .2s ease;
}
.board-pagination button:hover:not(:disabled) { border-color: var(--panel-border-strong); color: var(--text); }
.board-pagination button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #14110a; border-color: transparent; font-weight: 700;
}
.board-pagination button:disabled { opacity: .35; cursor: default; }

.post-images { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.post-images img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--panel-border); display: block; }

@media (max-width: 640px) {
  .board-item-thumb { width: 44px; height: 44px; }
  .board-item-title { font-size: 13.5px; }
}

@media (max-width: 640px) {
  .jobapp-field { flex-direction: column; gap: 10px; }
  .jobapp-field-label { width: 100%; padding-top: 0; }
  .jobapp-combo { flex-wrap: wrap; }
  .jobapp-combo select { width: 100%; }
  .jobapp-tip-bubble { left: auto; right: 0; width: 220px; }
}

/* ==================== Job detail page (job-detail.html) ==================== */
.jd-wrap {
  display: grid; grid-template-columns: 1fr 1.6fr; grid-template-areas: "side gallery" "side rest";
  gap: 44px; align-items: start;
}

.jd-gallery {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #211b10, #171310 45%, #201a10); border: 1px solid var(--panel-border);
}
.jd-gallery img, .jd-gallery video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.jd-gallery img.active, .jd-gallery video.active { display: block; }
.jd-gallery-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 13px; }
.jd-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  background: rgba(8, 7, 6, 0.55); border: 1px solid var(--panel-border-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.jd-gallery-arrow:hover { background: rgba(8, 7, 6, 0.8); border-color: var(--gold); }
.jd-gallery-arrow.prev { left: 14px; } .jd-gallery-arrow.next { right: 14px; }
.jd-gallery-counter { position: absolute; bottom: 14px; right: 14px; background: rgba(8, 7, 6, 0.6); border: 1px solid var(--panel-border); border-radius: 100px; padding: 4px 12px; font-size: 11.5px; color: var(--text-dim); z-index: 5; }
.jd-gallery-dots { position: absolute; bottom: 16px; left: 14px; display: flex; gap: 6px; z-index: 5; }
.jd-like-btn { top: 14px; right: 14px; bottom: auto; }
.jd-gallery-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); border: none; transition: all .25s; }
.jd-gallery-dots button.active { background: var(--gold-light); width: 18px; border-radius: 4px; }

.jd-badges { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.jd-badge { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(124, 196, 138, 0.06); border: 1px solid rgba(124, 196, 138, 0.25); font-size: 13px; color: #bfe3c6; }
.jd-badge svg { flex-shrink: 0; }
.jd-badge.info { background: rgba(212, 175, 55, 0.05); border-color: var(--panel-border-strong); color: var(--text-dim); }

.jd-tabs { display: flex; margin-top: 34px; border-bottom: 1px solid var(--panel-border); }
.jd-tab { flex: 1; text-align: center; padding: 16px 10px; font-size: 14px; font-weight: 700; color: var(--text-dim); background: none; border: none; border-bottom: 2px solid transparent; }
.jd-tab.active { color: var(--gold-light); border-color: var(--gold); }
.jd-tab-panel { display: none; padding: 30px 4px; font-size: 14px; line-height: 1.9; color: var(--text-dim); white-space: pre-line; }
.jd-tab-panel.active { display: block; }
.jd-tab-empty { color: var(--text-faint); font-size: 13px; text-align: center; padding: 40px 0; }
.jd-tab-block { margin-bottom: 26px; }
.jd-tab-block:last-child { margin-bottom: 0; }
.jd-tab-block h4 { font-size: 13px; color: var(--gold-light); font-weight: 700; margin-bottom: 10px; letter-spacing: 0.02em; }

.jd-info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.jd-info-table td { padding: 12px 6px; border-bottom: 1px solid var(--panel-border); vertical-align: top; }
.jd-info-table td:first-child { width: 120px; color: var(--text-faint); white-space: nowrap; }
.jd-info-table td:last-child { color: var(--text); }

.jd-map { margin-top: 24px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--panel-border); aspect-ratio: 16 / 9; }
.jd-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15) invert(0.92) contrast(0.9); }

.jd-side { grid-area: side; position: sticky; top: 100px; }
.jd-gallery { grid-area: gallery; }
.jd-rest { grid-area: rest; min-width: 0; }
.jd-side-like-btn { top: 14px; right: 14px; bottom: auto; }
.jd-side-eyebrow { font-size: 12px; color: var(--text-faint); letter-spacing: 0.06em; margin-bottom: 10px; text-transform: uppercase; }
.jd-side-region { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.jd-side-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; line-height: 1.35; padding-right: 40px; }
.jd-side-summary { font-size: 13.5px; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--panel-border); }
.jd-manager { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.jd-manager-name { font-size: 14px; font-weight: 700; }
.jd-manager-phone { font-family: var(--ff-display); color: var(--gold-light); font-size: 16px; transition: color .2s; }
.jd-manager-phone:hover { color: var(--gold-pale); text-decoration: underline; }
.jd-safety { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.jd-safety .jobapp-tip { width: auto; height: auto; border-radius: 100px; padding: 8px 14px; font-size: 12px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--panel-border); color: var(--text-dim); }
.jd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.jd-tags .tag { font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--panel-border); padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,0.02); }

@media (max-width: 900px) {
  .jd-wrap { grid-template-columns: 1fr; grid-template-areas: "gallery" "side" "rest"; gap: 24px; }
  .jd-side { position: static; }
}

/* ==================== Mobile bottom navigation ==================== */
.mobile-bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(13, 11, 9, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--panel-border);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 2px; color: var(--text-faint); font-size: 10.5px; font-weight: 600;
  transition: color .2s ease;
}
.mobile-bottom-nav-item svg { width: 21px; height: 21px; flex-shrink: 0; transition: transform .2s ease; }
.mobile-bottom-nav-item.active { color: var(--gold-light); }
.mobile-bottom-nav-item.active svg { transform: translateY(-1px); }
.mobile-bottom-nav-item:active svg { transform: scale(0.9); }

@media (max-width: 980px) {
  .nav-menu, .header-auth-links { display: none; }
  .nav-toggle { display: block; }

  /* 원형 아이콘 버튼 크기 정리.
     기존엔 햄버거 42 / 갤러리 화살표 38 / 하트 34·30 이 뒤섞여 한 화면에 나란히 놓였다.
     화면 위에 단독으로 떠 있는 조작 버튼은 40px, 카드 안에 들어가는 하트는 34px 두 가지로만 쓴다. */
  /* ① 카드 안 하트 — 등급별로 30/34로 갈리던 것을 하나로 */
  .job-like-btn,
  .job-card--silver .job-like-btn,
  .job-card--gold .job-like-btn,
  .job-row .job-like-btn,
  .jd-side-like-btn { width: 34px; height: 34px; }
  .job-card--silver .job-like-btn svg,
  .job-card--gold .job-like-btn svg,
  .job-row .job-like-btn svg { width: 16px; height: 16px; }

  /* ② 화면 위에 단독으로 뜨는 조작 버튼 — 헤더 햄버거와 나란히 보이므로 같은 크기로 */
  .nav-toggle,
  .jd-gallery-arrow,
  .jd-like-btn,
  .footer-social a { width: 40px; height: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .job-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .grid-auto-4, .grid-auto-3 { grid-template-columns: 1fr 1fr; }
  .grid-auto-2, .grid-form { grid-template-columns: 1fr; }

  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .hero-moon { width: 84px; height: 84px; right: 6%; top: 120px; }
  .job-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-auto-4, .grid-auto-3, .grid-auto-2, .grid-form { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
  .hero-badges { margin-top: 40px; }
  .scroll-cue { display: none; }
  .biz-intro { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
  .biz-intro-cta { width: 100%; }
  .biz-intro-cta .btn { width: 100%; }
  .biz-card { flex-direction: column; }
  .biz-tab { font-size: 12.5px; padding: 14px 6px; }
}

/* ==================== Ad management (partner/manage.html) ==================== */
.jump-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.jump-header-credits { font-size: 14px; color: var(--text-dim); }
.jump-header-credits b { color: var(--gold-light); font-size: 19px; font-family: var(--ff-display); margin: 0 2px; }

.manage-tabs { display: flex; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 30px; }
.manage-tabs .manage-tab { flex: 1; padding: 14px 10px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--text-dim); background: rgba(255,255,255,0.02); border-right: 1px solid var(--panel-border); transition: all .25s; }
.manage-tabs .manage-tab:last-child { border-right: none; }
.manage-tabs .manage-tab.active { background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: #14110a; }
.manage-tabs .manage-tab span { margin-left: 4px; opacity: .75; }

.manage-item { padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--panel-border); background: rgba(255,255,255,0.015); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.manage-item-main { flex: 1 1 320px; min-width: 0; }
.manage-item-region { font-size: 12px; color: var(--text-faint); margin-bottom: 4px; }
.manage-item-box { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.manage-item-title { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; }
.manage-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.manage-item-tag { font-size: 11px; color: var(--gold-light); background: rgba(212,175,55,0.08); padding: 3px 9px; border-radius: 100px; }
.manage-item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }

.jump-qty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jump-qty-grid button { padding: 14px 8px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.02); color: var(--text); font-weight: 700; font-size: 14px; text-align: center; transition: all .2s; }
.jump-qty-grid button small { display: block; font-weight: 400; font-size: 11px; color: var(--text-faint); margin-top: 4px; }
.jump-qty-grid button:hover { border-color: var(--gold); color: var(--gold-light); }

@media (max-width: 640px) {
  .manage-item { flex-direction: column; }
  .manage-item-meta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .jump-qty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 사이트 팝업 (관리자 > 팝업 관리) =====
   화면을 어둡게 덮지 않고 카드로 띄운다. 레이어 자체는 클릭을 통과시켜(pointer-events:none)
   팝업이 떠 있어도 뒤쪽 페이지를 그대로 쓸 수 있게 한다. */
.site-popup-layer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }

.site-popup {
  position: fixed;
  --stack: 0;
  max-width: calc(100vw - 32px);
  pointer-events: auto;
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: popupIn 0.25s ease both;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.site-popup.pos-center {
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) translate(calc(var(--stack) * 22px), calc(var(--stack) * 22px));
  animation: none;
}
.site-popup.pos-top-left { left: calc(20px + var(--stack) * 22px); top: calc(20px + var(--stack) * 22px); }
.site-popup.pos-top-right { right: calc(20px + var(--stack) * 22px); top: calc(20px + var(--stack) * 22px); }
.site-popup.pos-bottom-left { left: calc(20px + var(--stack) * 22px); bottom: calc(20px + var(--stack) * 22px); }
.site-popup.pos-bottom-right { right: calc(20px + var(--stack) * 22px); bottom: calc(20px + var(--stack) * 22px); }

.site-popup-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.site-popup-title { font-size: 14px; font-weight: 700; color: var(--gold-pale); }
.site-popup-x {
  background: none; border: 0; color: var(--text-faint); font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.site-popup-x:hover { color: var(--text); }

.site-popup-body { max-height: min(70vh, 620px); overflow-y: auto; }
.site-popup-img { display: block; width: 100%; height: auto; }
.site-popup-text { padding: 16px 16px 18px; font-size: 14px; line-height: 1.75; color: var(--text-dim); }
.site-popup-link { display: block; text-decoration: none; color: inherit; }
.site-popup-link:hover .site-popup-img { opacity: 0.92; }

.site-popup-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--line); background: var(--black-soft);
  font-size: 12.5px; color: var(--text-dim);
}
.site-popup-foot label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.site-popup-foot input { accent-color: var(--gold); cursor: pointer; }
.site-popup-close {
  background: none; border: 1px solid var(--panel-border); border-radius: 6px;
  color: var(--text-dim); font-size: 12.5px; padding: 5px 12px; cursor: pointer;
}
.site-popup-close:hover { color: var(--text); border-color: var(--panel-border-strong); }

/* 모바일에서는 등록된 가로크기와 무관하게 화면에 맞추고, 위치도 상단으로 통일한다 */
@media (max-width: 640px) {
  .site-popup,
  .site-popup.pos-center,
  .site-popup.pos-top-left,
  .site-popup.pos-top-right,
  .site-popup.pos-bottom-left,
  .site-popup.pos-bottom-right {
    left: 16px; right: 16px; top: calc(16px + var(--stack) * 18px);
    bottom: auto; width: auto !important; max-width: none; transform: none;
  }
}
