/* ===== 디자인 토큰 ===== */
:root {
  --pink: #ec2a7a;
  --pink-dark: #c8125f;
  --pink-light: #ff6fae;
  --pink-50: #fff2f7;
  --pink-100: #ffe0ec;
  --plum: #2a1030;
  --plum-2: #3d1846;
  --purple: #7a2bd1;
  --orange: #ff7a1a;
  --gold: #ffc93c;
  --blue: #2457c5;
  --red: #e3061b;
  --card-border: #d6dff0;
  --card-foot: #f5f8fe;
  --line: #e7e9f0;
  --text: #222;
  --muted: #80818a;
  --bg: #fff;
  --bg-soft: #f7f7fa;
  --wrap: 1000px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 10, 40, .06);
  --shadow-md: 0 6px 18px rgba(236, 42, 122, .16);
  --font: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 13px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.2px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h2, p { margin: 0; }
button, input, select { font: inherit; letter-spacing: inherit; }
input, select { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 12px; }

/* ===== 상단 유틸 바 ===== */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 11.5px; color: #666; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.topbar__left, .topbar__right { display: flex; gap: 12px; align-items: center; }
.topbar a:hover { color: var(--pink); }
.topbar__right a + a::before { content: ""; display: inline-block; width: 1px; height: 9px; background: #ccc; margin-right: 12px; vertical-align: middle; }
.chip { border: 1px solid #d8d8de; border-radius: 20px; padding: 0 9px; line-height: 19px; background: #fff; }

/* ===== 헤더 ===== */
.header { background: radial-gradient(600px 120px at 50% 0, var(--pink-50), transparent 70%); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 12px 14px; }
.header__left { display: flex; gap: 6px; }
.ghost { border: 1px solid var(--line); border-radius: 20px; padding: 4px 11px; font-weight: 700; font-size: 12px; color: #555; background: #fff; transition: border-color .15s, color .15s; }
.ghost:hover { border-color: var(--pink-light); color: var(--pink); }
.ghost--pink { color: var(--pink-dark); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__cat { width: 54px; height: 48px; filter: drop-shadow(0 3px 4px rgba(236, 42, 122, .3)); transition: transform .3s; }
.logo:hover .logo__cat { transform: rotate(-6deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text small { font-size: 9px; color: #b0a3b2; letter-spacing: 2px; font-weight: 700; margin-bottom: 3px; }
.logo__text strong { font-size: 36px; font-weight: 900; color: var(--pink); letter-spacing: -2.5px; }
.logo__text em { font-style: normal; color: var(--plum); }
.logo__slogan { font-size: 10.5px; color: var(--muted); margin-top: 4px; letter-spacing: -.3px; }
.header__search {
  justify-self: end; display: flex; align-items: center; width: 230px;
  border: 2px solid var(--pink); border-radius: 30px; overflow: hidden; background: #fff;
  transition: box-shadow .15s;
}
.header__search:focus-within { box-shadow: 0 0 0 4px var(--pink-100); }
.header__search input { border: 0; padding: 7px 14px; flex: 1; min-width: 0; outline: none; background: transparent; }
.header__search button { border: 0; background: var(--pink); color: #fff; width: 40px; height: 34px; cursor: pointer; display: grid; place-items: center; }
.header__search button:hover { background: var(--pink-dark); }

/* ===== 메인 내비 ===== */
.gnb {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #ff4c95, var(--pink) 60%, #d91a6b);
  box-shadow: 0 2px 0 #a50d4e, 0 4px 14px rgba(200, 18, 95, .25);
}
.gnb__inner { display: flex; align-items: center; height: 54px; gap: 8px; }
.gnb__reg {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 5px;
  background: #fff; border-radius: 30px; color: #333; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
  transition: transform .15s;
}
.gnb__reg:hover { transform: translateY(-1px); }
.gnb__reg-icon { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--gold), var(--orange)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.gnb__reg b { display: block; color: var(--pink-dark); font-size: 13.5px; line-height: 1.2; }
.gnb__reg small { font-size: 10px; color: var(--muted); }
.gnb__menu { display: flex; flex: 1; justify-content: space-around; }
.gnb__menu a {
  position: relative; display: block; padding: 0 12px; color: #fff; font-size: 15.5px; font-weight: 700;
  line-height: 54px; text-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.gnb__menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.gnb__menu a:hover::after { transform: scaleX(1); }
.gnb__btns { display: flex; gap: 6px; }
.pill {
  background: #fff; color: var(--pink-dark); font-weight: 700; font-size: 12.5px;
  border-radius: 30px; padding: 7px 13px; white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); transition: transform .15s;
}
.pill:hover { transform: translateY(-1px); }
.pill--dark { background: var(--plum); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.3); }
.gnb__toggle {
  display: none; margin-left: auto; background: rgba(255,255,255,.15); border: 0; border-radius: 8px;
  width: 42px; height: 38px; cursor: pointer; padding: 10px 10px; flex-direction: column; justify-content: space-between;
}
.gnb__toggle span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.gnb__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.gnb__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gnb__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* ===== 서브 검색 줄 ===== */
.subbar { border-bottom: 1px solid var(--line); background: #fff; }
.subbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; }
.subbar__hot { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.kw { color: var(--blue); font-size: 12px; padding: 2px 8px; border-radius: 20px; background: #f0f4ff; transition: background .15s; }
.kw:hover { background: #dfe8ff; }
.tag { background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-right: 2px; }
.subbar__search { display: flex; border: 1px solid #d5d6dc; border-radius: 6px; overflow: hidden; }
.subbar__search:focus-within { border-color: var(--pink); }
.subbar__search select, .subbar__search input { border: 0; height: 30px; padding: 0 8px; outline: none; background: #fff; }
.subbar__search select { border-right: 1px solid #e3e3e8; background: var(--bg-soft); }
.subbar__search input { width: 250px; }
.subbar__search button { background: var(--plum); color: #fff; border: 0; padding: 0 18px; cursor: pointer; font-weight: 700; }
.subbar__search button:hover { background: var(--plum-2); }
.subbar__rank { color: var(--plum); font-weight: 700; white-space: nowrap; font-size: 12.5px; }
.subbar__rank:hover { color: var(--pink); }

/* ===== 플로팅 배너 ===== */
.side { position: absolute; top: 220px; display: flex; flex-direction: column; gap: 8px; width: 82px; z-index: 10; }
.side--left { left: calc(50% - var(--wrap) / 2 - 94px); }
.side--right { right: calc(50% - var(--wrap) / 2 - 94px); }
.side { transition: opacity .25s; }
.side.is-fixed { position: fixed; top: 66px; }
.side.is-hidden { opacity: 0; pointer-events: none; }
.side__ad {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  height: 156px; border-radius: 8px; font-size: 18px; font-weight: 900; line-height: 1.2;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; transition: transform .15s;
}
.side__ad:hover { transform: translateY(-2px); }
.side__ad small { position: absolute; top: 6px; font-size: 9px; letter-spacing: 1px; opacity: .6; font-weight: 700; }
.side__ad b { display: block; margin-top: 2px; }
.side__ad--cream { background: linear-gradient(#fffbe8, #ffeeb0); color: #5a3a00; }
.side__ad--red { background: linear-gradient(#ff3b3b, #c4001a); color: #fff36b; }
.side__ad--sky { background: linear-gradient(#cdeeff, #fff); color: #1162a8; }
.side__ad--dark { background: linear-gradient(#2a1030, #0d0410); color: var(--gold); height: 240px; }
.blink { animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ===== 상단 3단 ===== */
.main { padding-top: 16px; padding-bottom: 40px; }
.hero { display: grid; grid-template-columns: 186px 1fr 236px; gap: 12px; }

.login { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.login__title { background: var(--plum); color: #f4dce8; font-size: 11px; letter-spacing: 1.5px; text-align: center; padding: 6px 0; font-weight: 500; }
.login__title b { color: var(--gold); font-weight: 900; }
.login__form { display: flex; flex-direction: column; gap: 5px; padding: 10px; }
.login__form input[type=text], .login__form input[type=password] {
  border: 1px solid #dcdde3; border-radius: 4px; height: 30px; padding: 0 9px; outline: none; transition: border-color .15s;
}
.login__form input:focus { border-color: var(--pink); }
.login__form button { height: 32px; border: 0; border-radius: 4px; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; }
.login__form button:hover { background: var(--pink-dark); }
.login__save { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: #666; }
.login__save input { accent-color: var(--pink); margin: 0; }
.login__links { display: flex; justify-content: space-between; font-size: 11.5px; color: #666; border-top: 1px dashed var(--line); padding-top: 5px; }
.login__links a:hover { color: var(--pink); }

.banners { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 150px; box-shadow: var(--shadow-sm); }
.banner-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.banner {
  position: relative; overflow: hidden; flex: 0 0 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14px; color: #fff; border-right: 3px solid #fff;
}
.banner::before, .banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.banner::before { width: 160px; height: 160px; top: -60px; right: -40px; }
.banner::after { width: 90px; height: 90px; bottom: -30px; left: -20px; }
.banner > * { position: relative; }
.banner small { font-size: 11.5px; opacity: .85; letter-spacing: .5px; }
.banner strong { font-size: 27px; font-weight: 900; line-height: 1.18; margin: 3px 0 6px; text-shadow: 0 2px 6px rgba(0,0,0,.25); }
.banner strong em { font-style: normal; color: var(--gold); }
.banner span { background: #fff; color: var(--plum); padding: 2px 12px; border-radius: 20px; font-weight: 700; font-size: 12px; }
.banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.3); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.banners:hover .banner-nav, .banner-nav:focus-visible { opacity: 1; }
.banner-nav--prev { left: 6px; }
.banner-nav--next { right: 6px; }
.banner-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.banner-dots button { width: 7px; height: 7px; border-radius: 4px; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; transition: width .2s; }
.banner-dots button.on { background: #fff; width: 18px; }

.notice { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.notice__head { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.notice__tab { flex: 1; border: 0; background: none; padding: 8px 0; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.notice__tab.on { color: var(--pink-dark); background: #fff; border-bottom-color: var(--pink); }
.notice__more { width: 34px; display: grid; place-items: center; color: var(--muted); font-size: 15px; border-left: 1px solid var(--line); }
.notice__more:hover { color: var(--pink); }
.notice__list { padding: 6px 10px; }
.notice__list li { display: flex; gap: 5px; align-items: center; padding: 3px 0; white-space: nowrap; }
.notice__list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.notice__list a:hover { color: var(--pink); text-decoration: underline; }
.notice__list time { color: #aaa; font-size: 11px; }
.new { background: var(--orange); color: #fff; font-size: 9px; font-weight: 900; width: 14px; height: 14px; border-radius: 3px; flex: none; display: grid; place-items: center; }

/* ===== 섹션 공통 ===== */
.section { margin-top: 30px; scroll-margin-top: 66px; }
.section__head {
  display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; margin-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--purple) 60%, transparent) 1;
}
.section__head h2 { display: flex; align-items: center; gap: 7px; font-size: 18px; font-weight: 900; color: #2b2b33; letter-spacing: -.8px; }
.section__head h2 em { font-style: normal; color: var(--pink); }
.sec-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--pink-100); display: grid; place-items: center; font-size: 14px; }
.sec-ico--gold { background: #fff3cc; color: #e6a100; }
.sec-ico--plum { background: #efe3f6; }
.count { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--bg-soft); border-radius: 20px; padding: 1px 8px; letter-spacing: 0; }
.section__tools { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }
.link-more:hover { color: var(--pink); }
.link-more::before { content: "+ "; }
.btn-sm { border-radius: 4px; padding: 4px 12px; color: #fff; background: var(--plum); font-weight: 700; font-size: 12px; }
.btn-sm::after { content: " ›"; }
.btn-sm:hover { background: var(--pink); }

/* ===== 박스알바 (로고 카드) ===== */
.box-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.box {
  position: relative; border: 1px solid var(--card-border); border-radius: var(--radius); background: #fff;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--pink-light); }
.box__top { display: flex; align-items: center; gap: 7px; padding: 8px 8px 6px; }
.box__logo {
  --c1: #ff5fa2; --c2: #c2185b;
  flex: 0 0 82px; height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 2px;
  font-weight: 900; font-size: 15px; letter-spacing: -1px; white-space: nowrap; overflow: hidden; position: relative;
}
/* 로고 스타일 5종: 같은 색이라도 다른 광고처럼 보이게 */
.lg-0 { background: linear-gradient(var(--c1), var(--c2)); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.lg-0::after { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0)); }
.lg-1 { background: #16101c; color: var(--c1); text-shadow: 0 0 6px var(--c1); box-shadow: inset 0 0 0 2px var(--c1); }
.lg-2 { background: #fff; color: var(--c2); box-shadow: inset 0 0 0 2px var(--c1); font-size: 16px; }
.lg-3 { background: repeating-linear-gradient(-45deg, var(--c1) 0 8px, var(--c2) 8px 16px); color: #fff; -webkit-text-stroke: .4px rgba(0,0,0,.4); text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.lg-4 { background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; border-radius: 20px; }
.lg-img { background: #f3f3f6; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.box__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.box__meta b { font-size: 12px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box__meta small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box__title { padding: 0 8px 7px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.t-blue { color: var(--blue); }
.t-red { color: var(--red); }
.t-purple { color: var(--purple); }
.box__pay {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--card-foot); border-top: 1px solid #e6ecf7; font-size: 12px; color: #444; font-weight: 700; padding: 4px;
  white-space: nowrap;
}
.box__pay small { font-weight: 400; color: var(--muted); font-size: 11px; }
.ribbon {
  position: absolute; top: 0; right: 0; font-size: 9.5px; font-weight: 900; color: #fff; padding: 1px 6px 2px;
  border-bottom-left-radius: 6px; letter-spacing: .3px; z-index: 1;
}
.ribbon--hot { background: var(--red); }
.ribbon--urgent { background: var(--orange); }
.ribbon--new { background: var(--purple); }
.ribbon--sample, .row__new--sample { background: #8b8d98; }

/* 급여 태그 (박스/추천/리스트 공용) */
.pay-tag { flex: none; font-size: 10px; font-weight: 700; color: #fff; border-radius: 3px; padding: 0 5px; line-height: 17px; }
.pay-tc { background: var(--pink); }
.pay-hour { background: var(--purple); }
.pay-day { background: var(--blue); }
.pay-nego { background: #8b8d98; }

/* ===== 추천알바 (텍스트 카드) ===== */
.text-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tcard {
  --accent: var(--pink);
  position: relative; border: 1px solid var(--card-border); border-top: 3px solid var(--accent); border-radius: var(--radius);
  text-align: center; background: #fff; padding: 9px 8px 8px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s;
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tcard__name { font-weight: 900; font-size: 14.5px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.5px; }
.tcard__title { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
.tcard__meta { margin-top: 6px; display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* ===== 전체알바 (리스트) ===== */
.list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.row { min-width: 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f0f1f5; height: 34px; padding: 0 6px; border-radius: 4px; transition: background .12s; }
.row:hover { background: var(--pink-50); }
.row__region { flex: 0 0 82px; color: #666; font-size: 12px; white-space: nowrap; }
.row__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__title:hover { text-decoration: underline; }
.row__title.hl { color: var(--blue); font-weight: 700; }
.row__title.hot { color: var(--red); font-weight: 700; }
.row__pay { flex: none; font-size: 12px; color: #555; font-weight: 500; }
.row__new { flex: none; color: #fff; background: var(--pink); font-size: 9px; font-weight: 900; border-radius: 3px; padding: 0 4px; line-height: 15px; }
.list__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.region-filter { display: flex; gap: 6px; align-items: center; }
.region-filter select { border: 1px solid #d5d6dc; border-radius: 4px; height: 26px; padding: 0 6px; background: #fff; }

.pager { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.pager button { min-width: 32px; height: 32px; border: 1px solid #dcdde3; background: #fff; cursor: pointer; border-radius: 6px; color: #555; transition: border-color .15s; }
.pager button:hover { border-color: var(--pink); color: var(--pink); }
.pager button.on { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }

/* ===== 푸터 ===== */
.footer { margin-top: 40px; background: var(--plum); color: #b9a8bf; font-size: 12px; }
.footer__links { border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.footer__links .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 12px; }
.footer__links a { color: #d9cbe0; }
.footer__links a:hover { color: #fff; }
.footer__links a.hl { color: var(--pink-light); font-weight: 700; }
.footer__links a.strong { color: #fff; font-weight: 700; }
.footer__body { display: grid; grid-template-columns: 150px 170px 1fr 200px; gap: 20px; padding: 24px 12px 32px; align-items: start; }
.footer__brand strong { display: block; font-size: 26px; font-weight: 900; color: var(--pink-light); letter-spacing: -1.5px; line-height: 1.1; }
.footer__brand em { font-style: normal; color: #fff; }
.footer__brand small { font-size: 11px; }
.footer__cs p, .footer__info p { margin: 0 0 3px; }
.footer__cs .label { font-weight: 700; color: #fff; font-size: 12px; }
.footer__cs .tel { font-size: 24px; font-weight: 900; color: var(--gold); letter-spacing: -.5px; line-height: 1.2; }
.footer__info i { font-style: normal; color: rgba(255,255,255,.2); margin: 0 4px; }
.footer__info .copy { margin-top: 8px; color: #7d6a84; }
.footer__youth { display: flex; gap: 10px; align-items: flex-start; background: rgba(0,0,0,.2); border-radius: 8px; padding: 10px; }
.age { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #ff4b5c; color: #ff4b5c; background: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.footer__youth p { margin: 0; font-size: 11px; line-height: 1.5; }

.to-top {
  position: fixed; right: 18px; bottom: 82px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--plum); color: #fff; border: 2px solid #fff; font-size: 10.5px; font-weight: 900; letter-spacing: .5px;
  cursor: pointer; box-shadow: 0 4px 12px rgba(42,16,48,.35); opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .2s, transform .2s, background .15s; z-index: 60;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--pink); }

/* ===== 무료광고 신청 페이지 (apply.html) ===== */
.apply-page { background: var(--bg-soft); }
.apply-page .header { background: #fff; border-bottom: 1px solid var(--line); }
.apply-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px; }
.apply-header .ghost { justify-self: start; }

.apply-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 38px 0 34px;
  background: radial-gradient(500px 200px at 15% 0, rgba(255,255,255,.15), transparent 70%), linear-gradient(135deg, var(--plum), #7a1450 55%, var(--pink));
}
.apply-hero__eyebrow { font-size: 11px; letter-spacing: 3px; color: var(--gold); font-weight: 700; }
.apply-hero h1 { margin: 6px 0 8px; font-size: 32px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.25; }
.apply-hero h1 em { font-style: normal; color: var(--gold); }
.apply-hero__desc { opacity: .85; }
.apply-hero__points { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.apply-hero__points li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 10px 18px; min-width: 150px; }
.apply-hero__points b { display: block; font-size: 20px; font-weight: 900; color: #fff; }
.apply-hero__points li > span { font-size: 12px; opacity: .8; }

.apply-main { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; padding-top: 20px; padding-bottom: 40px; }
.apply-form, .apply-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.apply-form { padding: 22px 24px 26px; }
.apply-form__title { font-size: 19px; font-weight: 900; letter-spacing: -.8px; display: flex; justify-content: space-between; align-items: baseline; }
.apply-form__title small, .field small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.apply-form b, .field b { color: var(--pink); }
.apply-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 18px 0 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.apply-form legend { font-weight: 900; font-size: 14px; color: var(--plum); padding: 0 8px 0 0; }
.apply-form legend small { font-weight: 400; color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-weight: 700; font-size: 12.5px; color: #444; display: flex; align-items: center; gap: 4px; }
.counter { margin-left: auto; }
.field input:not([type=radio]):not([type=file]), .field select, .field textarea {
  border: 1px solid #d5d6dc; border-radius: 6px; padding: 0 11px; height: 40px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 10px 11px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-100); }
.field input[type=file] { font-size: 12px; }
.field__hint { color: var(--muted); }
p.field__hint { font-size: 12px; margin: 0; }
.field input[readonly] { background: var(--bg-soft); color: #666; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1000; transform: translate(-50%, 20px); width: max-content; max-width: calc(100% - 32px);
  background: var(--plum); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 700; line-height: 1.5;
  box-shadow: 0 10px 30px rgba(42,16,48,.35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #fff6f6; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1.5px solid #d5d6dc; border-radius: 8px; padding: 9px 10px; text-align: center; font-size: 11.5px; color: var(--muted); transition: border-color .15s, background .15s; }
.choice span b { display: block; font-size: 13.5px; color: #333; }
.choice input:checked + span { border-color: var(--pink); background: var(--pink-50); }
.choice input:checked + span b { color: var(--pink-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #444; cursor: pointer; line-height: 1.5; }
.check input { accent-color: var(--pink); margin: 3px 0 0; flex: none; width: 15px; height: 15px; }
.check b { color: var(--text); }
.check:first-of-type { padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.check.is-invalid { color: var(--red); }
.privacy { font-size: 12px; color: var(--muted); background: var(--bg-soft); border-radius: 6px; padding: 8px 12px; }
.privacy summary { cursor: pointer; font-weight: 700; }
.privacy p { margin-top: 6px; line-height: 1.7; }
.form-error { margin-top: 16px; background: #fff1f1; color: var(--red); border: 1px solid #ffd0d0; border-radius: 6px; padding: 9px 12px; font-weight: 700; font-size: 12.5px; }
.apply-submit {
  margin-top: 18px; width: 100%; height: 52px; border: 0; border-radius: 8px; cursor: pointer; color: #fff; font-size: 16px; font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 6px 16px rgba(236,42,122,.3); transition: transform .15s, box-shadow .15s;
}
.apply-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(236,42,122,.4); }

.apply-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.apply-card { padding: 16px; }
.apply-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 900; color: var(--plum); }
.apply-card__desc { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.preview { background: var(--bg-soft); border-radius: 8px; padding: 14px; }
.preview .box, .preview .tcard { max-width: 200px; margin: 0 auto; }
.preview .box:hover, .preview .tcard:hover { transform: none; }
.list--single { grid-template-columns: 1fr; background: #fff; border-radius: 6px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 12px 36px; display: flex; flex-direction: column; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--pink-100); color: var(--pink-dark); font-weight: 900; font-size: 12px; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: 26px; bottom: 2px; width: 1px; background: var(--line); }
.steps b { font-size: 13px; }
.steps span { font-size: 12px; color: var(--muted); }
.apply-card--cs .tel { font-size: 22px; font-weight: 900; color: var(--plum); }
.apply-card--cs a { color: var(--blue); }

.done { border: 0; border-radius: 14px; padding: 26px; width: min(440px, calc(100% - 32px)); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.done::backdrop { background: rgba(42,16,48,.55); }
.done__icon { font-size: 40px; }
.done h2 { font-size: 20px; font-weight: 900; margin: 4px 0 8px; }
.done p { color: #555; margin-bottom: 6px; }
.done__sub { font-size: 12px; color: var(--muted) !important; }
.done textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 10px; font: 12px/1.6 var(--font); resize: none; background: var(--bg-soft); }
.done__btns { display: flex; gap: 8px; margin-top: 12px; }
.done__btns button { flex: 1; height: 42px; border-radius: 8px; border: 0; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; }
.done__btns .ghost-btn { background: #fff; color: #555; border: 1px solid var(--line); }

.footer--slim { margin-top: 0; }

/* ===== 404 ===== */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; }
.notfound .notfound__code { font-size: 52px; font-weight: 900; color: var(--pink); letter-spacing: -2px; line-height: 1; margin-top: 10px; }
.notfound h1 { font-size: 22px; font-weight: 900; margin: 8px 0 6px; }
.notfound p { color: var(--muted); }
.notfound__btns { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.notfound .apply-submit { margin: 0; width: auto; height: 44px; padding: 0 22px; display: inline-flex; align-items: center; font-size: 14px; }
.footer--slim .footer__body { grid-template-columns: 150px 1fr; }

@media (max-width: 860px) {
  .apply-main { grid-template-columns: 1fr; }
  .apply-side { position: static; }
}
@media (max-width: 640px) {
  .apply-header { grid-template-columns: auto 1fr; }
  .apply-header__spacer { display: none; }
  .apply-header .logo { justify-self: end; }
  .apply-header .logo__cat { width: 40px; height: 36px; }
  .apply-header .logo__text strong { font-size: 26px; }
  .apply-hero { padding: 28px 0 24px; }
  .apply-hero h1 { font-size: 24px; }
  .apply-hero__points li { min-width: 0; flex: 1; padding: 8px 6px; }
  .apply-hero__points b { font-size: 16px; }
  .apply-form { padding: 18px 16px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .choice-row { grid-template-columns: 1fr; }
  .footer--slim .footer__body { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== 반응형 ===== */
@media (max-width: 1220px) {
  .side { display: none; }
}

@media (max-width: 900px) {
  .gnb__btns, .subbar__rank, .header__left { display: none; }
  .header__inner { grid-template-columns: auto 1fr; gap: 16px; }
  .hero { grid-template-columns: 186px 1fr; }
  .notice { grid-column: 1 / -1; }
  .box-grid, .text-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 13.5px; }
  .wrap { padding: 0 12px; }
  .topbar__left { display: none; }
  .topbar__inner { justify-content: flex-end; }

  .header__inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 14px 12px; }
  .logo__slogan { display: none; }
  .header__search { justify-self: stretch; width: auto; }

  .gnb__inner { flex-wrap: wrap; height: auto; min-height: 54px; padding: 7px 12px; }
  .gnb__toggle { display: flex; }
  .gnb__menu { display: none; flex-basis: 100%; flex-direction: column; margin-top: 6px; }
  .gnb__menu.open { display: flex; }
  .gnb__menu a { line-height: 44px; border-top: 1px solid rgba(255,255,255,.18); }
  .gnb__menu a::after { display: none; }

  .subbar__inner { height: auto; flex-direction: column; align-items: stretch; padding: 10px 12px; gap: 8px; }
  .subbar__hot { overflow-x: auto; scrollbar-width: none; }
  .subbar__search input { width: auto; flex: 1; min-width: 0; }
  .subbar__search select, .subbar__search input { height: 36px; }

  .hero { grid-template-columns: 1fr; }
  .banners { min-height: 140px; }
  .banner { flex-basis: 100%; border-right: 0; }
  .banner-nav { opacity: 1; }

  .section__head { flex-wrap: wrap; gap: 6px; }
  .box-grid, .text-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .box__logo { flex-basis: 70px; font-size: 13.5px; }
  .list { grid-template-columns: 1fr; }
  .row { height: 42px; }
  .row__region { flex-basis: 74px; }

  .footer__body { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 회원가입 창 ===== */
.signup { border: 0; border-radius: 14px; padding: 0; width: min(400px, calc(100% - 32px)); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.signup::backdrop { background: rgba(42,16,48,.55); }
.signup__x { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; background: none; font-size: 24px; line-height: 1; color: #999; cursor: pointer; }
.signup__x:hover { color: var(--pink); }
.signup__form, .signup__done { padding: 26px 26px 22px; }
.signup__form[hidden], .signup__done[hidden] { display: none; }
.signup__eyebrow { margin: 0; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.signup__eyebrow b { color: var(--pink); font-weight: 900; }
.signup h2 { font-size: 20px; font-weight: 900; margin: 2px 0 16px; }
.signup .field { display: block; margin-bottom: 8px; }
.signup .field > span { display: block; font-size: 12px; font-weight: 700; color: #444; margin-bottom: 4px; }
.signup .field input { width: 100%; height: 40px; border: 1px solid #dcdde3; border-radius: 6px; padding: 0 12px; font: inherit; font-size: 14px; outline: none; transition: border-color .15s; }
.signup .field input:focus { border-color: var(--pink); }
.signup .field.is-error input { border-color: var(--red); }
.signup .field.is-ok input { border-color: #2fa86a; }
.signup .field__msg { display: block; min-height: 16px; font-size: 11.5px; margin-top: 2px; color: var(--red); }
.signup .field.is-ok .field__msg { color: #2fa86a; }
.signup__agree { background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: #555; }
.signup__agree label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.signup__agree label:first-child { border-bottom: 1px dashed var(--line); padding-bottom: 6px; color: var(--text); }
.signup__agree input { accent-color: var(--pink); margin: 0; }
.signup__agree .field__msg { min-height: 0; margin: 0; }
.signup__submit { width: 100%; height: 44px; margin-top: 14px; border: 0; border-radius: 8px; background: var(--pink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.signup__submit:hover { background: var(--pink-dark); }
.signup__done { text-align: center; }
.signup__done .done__icon { font-size: 40px; }
.signup__done h2 { margin: 6px 0 4px; }
.signup__done h2 b { color: var(--pink); }
.signup__done p { color: #555; margin: 0; }

/* ===== 공용 팝업 (광고 상세 · 공지 · 신고 · 문의 · 안내) ===== */
.modal { border: 0; border-radius: 14px; padding: 0; width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(42,16,48,.55); }
.modal__x { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; background: none; font-size: 24px; line-height: 1; color: #999; cursor: pointer; z-index: 1; }
.modal__x:hover { color: var(--pink); }
.modal__body { padding: 26px 26px 24px; }
.modal__eyebrow { font-size: 11px; letter-spacing: 1.5px; color: var(--pink); font-weight: 700; }
.modal h2 { font-size: 20px; font-weight: 900; margin: 2px 0 12px; padding-right: 26px; letter-spacing: -.6px; }
.modal__sub { font-size: 13px; margin: 14px 0 4px; color: var(--plum); }
.modal__text { background: var(--bg-soft); border-radius: 8px; padding: 14px; line-height: 1.75; color: #444; }
.modal__note { font-size: 12px; color: var(--muted); margin: 8px 0; }
.modal__steps { margin: 12px 0; padding-left: 18px; line-height: 1.9; color: #444; }
.modal__btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.modal__form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.modal__list { margin-top: 4px; }
.list.modal__list { grid-template-columns: 1fr; }
.notice__list.modal__list { padding: 0; }
.check[hidden] { display: none; }

.btn-primary, .btn-ghost {
  flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 14px;
  border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--pink); color: #fff; border: 0; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-ghost { background: #fff; color: #444; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-block { width: 100%; margin-top: 4px; }

.ad-detail__head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.ad-detail__head h2 { margin: 0; }
.ad-detail__head .box__logo { flex: 0 0 100px; height: 50px; font-size: 17px; }
.ad-detail__title { font-weight: 900; font-size: 15.5px; color: var(--blue); margin: 8px 0 12px; }
.ad-detail__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.ad-detail__info div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ad-detail__info dt { font-size: 11px; color: var(--muted); }
.ad-detail__info dd { margin: 2px 0 0; font-weight: 700; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.copy-row { display: flex; gap: 6px; }
.copy-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--bg-soft); }
.copy-row .btn-primary { flex: none; }
.mail-done { text-align: center; }
.mail-done textarea { width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 10px; font: 12px/1.6 var(--font); resize: none; background: var(--bg-soft); text-align: left; }

.row__rank { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.row:nth-child(-n+3) .row__rank { background: var(--pink); }
.search-result .section__head h2 em, .search-result #searchTitle { color: var(--pink); }

@media (max-width: 640px) {
  .modal__body { padding: 22px 18px 20px; }
  .ad-detail__info { grid-template-columns: 1fr; }
}

/* ===== 이력서 등록 (resume.html) ===== */
.apply-hero--resume { background: radial-gradient(500px 200px at 85% 0, rgba(255,255,255,.15), transparent 70%), linear-gradient(135deg, #14234d, var(--purple) 60%, var(--pink)); }
img.logo__cat { object-fit: contain; }
.choice-row--2 { grid-template-columns: repeat(2, 1fr); }
.tag-check { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-check label { cursor: pointer; }
.tag-check input { position: absolute; opacity: 0; }
.tag-check span { display: inline-block; border: 1.5px solid #d5d6dc; border-radius: 20px; padding: 6px 13px; font-size: 12.5px; color: #555; transition: border-color .15s, background .15s; }
.tag-check input:checked + span { border-color: var(--pink); background: var(--pink-50); color: var(--pink-dark); font-weight: 700; }
.tag-check input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.safe-list { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: #555; }
.safe-list li::before { content: "✓ "; color: #2fa86a; font-weight: 900; }

/* ===== 약관 · 정책 (policy.html) ===== */
.policy-tabs { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.policy-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; }
.policy-tabs a { padding: 12px 14px; font-weight: 700; color: #555; white-space: nowrap; border-bottom: 2px solid transparent; }
.policy-tabs a:hover { color: var(--pink); border-bottom-color: var(--pink); }
.policy { max-width: 820px; padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.policy__doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; scroll-margin-top: 60px; line-height: 1.8; color: #333; }
.policy__doc h1 { font-size: 22px; font-weight: 900; margin: 0; letter-spacing: -.8px; }
.policy__date { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.policy__doc h2 { font-size: 15px; font-weight: 900; color: var(--plum); margin: 20px 0 6px; }
.policy__doc ol { margin: 4px 0; padding-left: 20px; }
.policy__table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0; }
.policy__table th, .policy__table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.policy__table th { background: var(--bg-soft); }
.policy__box { background: var(--pink-50); border-radius: 8px; padding: 10px 14px; font-weight: 700; }
@media (max-width: 640px) {
  .policy__doc { padding: 20px 18px; }
}

/* ===== 로그인 상태 ===== */
[hidden] { display: none !important; } /* display 를 지정한 요소도 hidden 이면 확실히 숨김 */
.login__msg { margin: 0; font-size: 11.5px; color: var(--red); line-height: 1.4; }
.login__opts { display: flex; justify-content: space-between; gap: 4px; }
.login__form button:disabled, .signup__submit:disabled { opacity: .6; cursor: wait; }
.login__me { padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.login__hello { margin: 0; font-size: 13.5px; line-height: 1.5; color: #444; }
.login__hello b { color: var(--pink); font-size: 16px; font-weight: 900; }
.login__quick { display: grid; gap: 6px; }
.login__quick a { border: 1px solid var(--line); border-radius: 6px; padding: 7px 4px; font-size: 12px; font-weight: 700; color: #444; transition: border-color .15s, color .15s; }
.login__quick a:hover { border-color: var(--pink); color: var(--pink); }
.login__logout { height: 32px; border: 0; border-radius: 4px; background: var(--bg-soft); color: #666; font-weight: 700; cursor: pointer; }
.login__logout:hover { background: var(--pink-100); color: var(--pink-dark); }
.topbar .me-name { color: var(--pink-dark); }

/* ===== 관리자 (admin.html) ===== */
.admin-page { background: var(--bg-soft); }
.admin-top { background: var(--plum); color: #e9dcef; }
.admin-top__inner { display: flex; justify-content: space-between; align-items: center; height: 54px; gap: 12px; }
.admin-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; font-size: 17px; }
.admin-brand b { color: var(--gold); font-weight: 900; }
.admin-top__right { display: flex; align-items: center; gap: 14px; font-size: 12.5px; }
.admin-top__right .me-name { color: #fff; }
.admin-top__right a:hover { color: #fff; }
.admin-top__right button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; cursor: pointer; font: inherit; }
.admin-top__right button:hover { background: var(--pink); }
.admin-main { padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.admin-loading { text-align: center; color: var(--muted); padding: 60px 0; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.admin-gate { display: flex; justify-content: center; padding-top: 30px; }
.admin-login { width: min(380px, 100%); display: flex; flex-direction: column; gap: 10px; }
.admin-login h1 { font-size: 20px; font-weight: 900; margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.admin-stat span { font-size: 12px; color: var(--muted); font-weight: 700; }
.admin-stat b { font-size: 28px; font-weight: 900; color: var(--plum); line-height: 1.2; }
.admin-stat small { font-size: 11px; color: #aaa; }
.admin-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-card__head h2 { font-size: 17px; font-weight: 900; margin: 0; display: flex; align-items: center; gap: 8px; }
.admin-search { display: flex; border: 1px solid #d5d6dc; border-radius: 6px; overflow: hidden; }
.admin-search input { border: 0; height: 34px; padding: 0 10px; width: 220px; outline: none; }
.admin-search button { border: 0; background: var(--plum); color: #fff; padding: 0 14px; cursor: pointer; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
.admin-table th { background: var(--bg-soft); color: #555; font-weight: 700; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid #f0f1f5; }
.admin-table tbody tr:hover { background: var(--pink-50); }
.admin-table a { color: var(--blue); }
.admin-empty { text-align: center; color: var(--muted); padding: 30px 0 !important; }
.admin-me { background: var(--pink); color: #fff; border-radius: 3px; padding: 0 4px; font-size: 10px; font-weight: 700; }
.role { border-radius: 10px; padding: 1px 8px; font-size: 11px; font-weight: 700; background: #eef0f5; color: #555; }
.role--admin { background: #fff3cc; color: #9a6a00; }
.admin-actions { display: flex; gap: 4px; }
.admin-actions button { border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 4px 8px; font: inherit; font-size: 11.5px; cursor: pointer; color: #444; }
.admin-actions button:hover { border-color: var(--plum); color: var(--plum); }
.admin-actions button.danger:hover { border-color: var(--red); color: var(--red); }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #b00014; }
.admin-note { font-size: 12px; color: var(--muted); text-align: center; }
.admin-hint { font-size: 12px; color: var(--muted); }
.admin-ad-title { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; color: #555; }
.admin-expired { color: var(--red); font-weight: 700; }
@media (max-width: 720px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-search { width: 100%; }
  .admin-search input { flex: 1; width: auto; }
  .admin-top__right a { display: none; }
}

/* ===== 지역별 알바 페이지 (daegu/*.html) ===== */
.region-crumb { font-size: 12px; color: var(--muted); padding: 12px 0 0; }
.region-crumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.region-crumb li + li::before { content: "›"; margin-right: 4px; color: #bbb; }
.region-crumb a:hover { color: var(--pink); }
.region-hero { padding: 30px 0 26px; }
.region-hero h1 { font-size: 28px; }
.region-hero__desc { max-width: 640px; margin: 0 auto; line-height: 1.7; }
.region-subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.region-subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; }
.region-subnav a { flex: none; border: 1px solid var(--line); border-radius: 20px; padding: 5px 13px; font-weight: 700; font-size: 12.5px; color: #555; background: #fff; }
.region-subnav a:hover { border-color: var(--pink-light); color: var(--pink); }
.region-subnav a[aria-current="page"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.region { max-width: 980px; padding-top: 16px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.region-card .section__head { margin-top: 0; }
.region-card .list { margin-top: 4px; }
.region-empty { text-align: center; padding: 26px 12px; color: var(--muted); line-height: 1.8; }
.region-empty b { color: var(--plum); font-size: 15px; }
.region-empty .btn-primary { margin-top: 10px; }
.region-doc { line-height: 1.85; color: #333; }
.region-doc h2 { font-size: 18px; font-weight: 900; color: var(--plum); margin: 0 0 8px; letter-spacing: -.6px; }
.region-doc h3 { font-size: 15px; font-weight: 900; color: var(--pink-dark); margin: 18px 0 4px; }
.region-doc p { margin: 0 0 8px; }
.region-doc ul { margin: 4px 0 8px; padding-left: 20px; }
.region-doc a { color: var(--blue); text-decoration: underline; }
.region-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.region-areas a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.region-areas a:hover { border-color: var(--pink-light); transform: translateY(-2px); }
.region-areas b { display: block; color: var(--pink-dark); font-size: 15px; }
.region-areas span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.region-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.region-faq details:last-child { border-bottom: 0; }
.region-faq summary { cursor: pointer; font-weight: 700; color: #2b2b33; list-style: none; display: flex; gap: 8px; }
.region-faq summary::before { content: "Q"; color: var(--pink); font-weight: 900; }
.region-faq summary::-webkit-details-marker { display: none; }
.region-faq details p { margin: 8px 0 0 20px; color: #555; line-height: 1.75; }
.region-safety { background: var(--pink-50); border-color: var(--pink-100); }
.region-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.region-cta .apply-submit { margin: 0; width: auto; height: 48px; padding: 0 26px; display: inline-flex; align-items: center; font-size: 15px; }
.region-cta .ghost { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; font-size: 14px; }
.footer__regions { color: #9a879f; }
.footer__regions a { color: #d9cbe0; }
@media (max-width: 640px) {
  .region-hero h1 { font-size: 23px; }
  .region-card { padding: 18px 16px; }
  .region-areas { grid-template-columns: 1fr; }
}

/* ===== 성인인증 창 (gate.js) ===== */
.gate-on, .gate-on body { overflow: hidden; }
.gate-on body > :not(.adult-gate) { visibility: hidden; }
.adult-gate {
  position: fixed; inset: 0; z-index: 9999; overflow-y: auto; padding: 24px 16px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 0%, #6e0a3f 0%, #2a1030 55%, #14061a 100%);
}
.adult-gate__box {
  width: 100%; max-width: 400px; margin: auto; background: #fff; border-radius: 16px; padding: 28px 22px 20px;
  text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.adult-gate__19 {
  width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; border: 6px solid #e60023;
  display: flex; align-items: center; justify-content: center; color: #e60023; font-size: 30px; font-weight: 900; letter-spacing: -1px;
}
.adult-gate h1 { font-size: 21px; font-weight: 900; margin: 0 0 10px; color: var(--plum); }
.adult-gate__law { font-size: 12.5px; line-height: 1.65; color: #555; background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; margin: 0 0 16px; text-align: left; }
.adult-gate__law b { color: #e60023; }
.adult-gate__form { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.adult-gate__form label { font-size: 12.5px; font-weight: 700; color: #444; }
.adult-gate__form input {
  height: 46px; border: 1px solid #d5d6dc; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 16px; outline: none;
}
.adult-gate__form input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-100); }
.adult-gate__ok {
  height: 48px; border: 0; border-radius: 8px; cursor: pointer; color: #fff; font: inherit; font-size: 15px; font-weight: 900;
  background: linear-gradient(90deg, #ec2a7a, #7a2bd1);
}
.adult-gate__ok:disabled { opacity: .6; }
.adult-gate__err { margin: 0; font-size: 12.5px; color: var(--red); font-weight: 700; }
.adult-gate__toggle { margin: 14px 0 4px; border: 0; background: none; color: var(--plum); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
#gateLogin { margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.adult-gate__exit { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--muted); text-decoration: underline; }

/* ===== AI 상담 채팅 (chat.js) ===== */
.chat-fab {
  position: fixed; right: 16px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 6px;
  height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 26px; cursor: pointer; color: #fff; font: inherit;
  background: linear-gradient(135deg, #ec2a7a, #7a2bd1); box-shadow: 0 8px 24px rgba(122,43,209,.4);
}
.chat-fab span { font-size: 22px; line-height: 1; }
.chat-fab b { font-size: 14px; font-weight: 900; }
.chat {
  position: fixed; right: 16px; bottom: 18px; z-index: 80; width: 370px; height: min(580px, calc(100dvh - 36px));
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(42,16,48,.35);
}
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #2a1030, #6e0a3f); }
.chat__head b { display: block; font-size: 15px; font-weight: 900; }
.chat__head small { font-size: 11.5px; opacity: .8; }
.chat__x { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-soft); }
.chat__msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; word-break: break-word; }
.chat__msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.chat__msg--assistant { align-self: flex-start; background: #fff; color: #333; border: 1px solid var(--line); border-top-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--pink); color: #fff; border-top-right-radius: 4px; }
.chat__msg--error { background: #fff6f6; border-color: #ffc9cf; color: var(--red); }
.chat__typing { display: flex; gap: 4px; padding: 13px 14px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #bbb; animation: chatDot 1s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--bg-soft); }
.chat__quick:empty { display: none; }
.chat__quick button { border: 1px solid var(--pink); background: #fff; color: var(--pink-dark); border-radius: 16px; padding: 6px 11px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat__form textarea {
  flex: 1; resize: none; border: 1px solid #d5d6dc; border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 16px;
  line-height: 1.4; max-height: 96px; outline: none;
}
.chat__form textarea:focus { border-color: var(--pink); }
.chat__form button { flex: none; border: 0; border-radius: 10px; padding: 0 14px; background: var(--pink); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.chat__form button:disabled { opacity: .5; }
.chat__note { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--muted); text-align: center; }
.chat__note a { color: var(--muted); font-weight: 700; }
@media (max-width: 640px) {
  .chat { inset: 0; width: auto; height: 100dvh; border-radius: 0; }
  .chat-open, .chat-open body { overflow: hidden; }
  .chat-fab { right: 12px; bottom: 14px; height: 48px; padding: 0 15px 0 12px; }
}
