/* =====================================================================
   오미에그 체험단 — 디자인 시스템
   따뜻한 크림 바탕 + 노른자 오렌지 포인트. 브랜드 색은 관리자 설정(brand_color)으로 교체 가능.
   ===================================================================== */
:root {
  --bg: #fbf9f4;
  --bg-2: #f3efe6;
  --card: #ffffff;
  --ink: #1b1a17;
  --ink-2: #3f3b33;
  --sub: #7a7466;
  --line: #ebe6da;
  --line-2: #dcd5c5;

  --brand: #f28c1e;
  --brand-dark: #d97612;
  --brand-soft: #fff1e0;
  --brand-rgb: 242, 140, 30;
  --green: #1f9d6a;
  --green-soft: #e4f6ee;
  --blue: #2f6fed;
  --blue-soft: #e8efff;
  --violet: #7c5cff;
  --violet-soft: #efeaff;
  --red: #d63b3b;
  --red-soft: #fdecec;
  --amber: #e0a100;
  --amber-soft: #fff6d6;

  --hero-bg: #1c1712;
  --hero-ink: #fbf7f0;
  --hero-sub: #b9b1a3;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27,26,23,.04), 0 8px 24px rgba(27,26,23,.06);
  --shadow-lg: 0 20px 60px rgba(27,26,23,.16);
  --maxw: 1120px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1.25; margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251,249,244,.85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(0,0,0,.05); }
.site-header.on-dark { background: rgba(28,23,18,.85); border-bottom-color: rgba(255,255,255,.06); color: var(--hero-ink); }
.site-header .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #ffb347); display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900; box-shadow: 0 4px 12px rgba(var(--brand-rgb),.35); overflow: hidden; }
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand small { font-weight: 600; color: var(--sub); font-size: 13px; margin-left: 2px; }
.on-dark .brand small { color: var(--hero-sub); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 10px; color: var(--ink); }
.on-dark .nav a { color: #fff; }
.nav a:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.on-dark .nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav .cta { background: var(--ink); color: #fff; margin-left: 6px; padding: 9px 16px; font-weight: 800; }
.nav .cta:hover { background: #000; color: #fff; }
.on-dark .nav .cta { background: #ffb347; color: var(--ink); }
.on-dark .nav .cta:hover { background: #ffc46b; color: var(--ink); }
@media (max-width: 720px) { .nav a:not(.cta):not(.keep) { display: none; } }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); margin-top: -64px; padding-top: 64px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.hero::before { width: 640px; height: 640px; left: -180px; top: -220px; background: radial-gradient(circle, var(--brand) 0%, transparent 65%); }
.hero::after  { width: 520px; height: 520px; right: -140px; bottom: -260px; background: radial-gradient(circle, #ffd27a 0%, transparent 65%); opacity: .3; }
.hero .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #f1ebe0; }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,106,.25); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(31,157,106,.25);} 50% { box-shadow: 0 0 0 7px rgba(31,157,106,.08);} }
.hero h1 { font-size: 50px; font-weight: 800; margin: 22px 0 18px; letter-spacing: -.045em; line-height: 1.12; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb347, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--hero-sub); margin: 0 0 30px; max-width: 520px; line-height: 1.7; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.hero .stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.hero .stat span { font-size: 13px; color: var(--hero-sub); }

/* 히어로 우측: 대표 캠페인 카드 */
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-card { width: min(380px, 100%); background: #fff; color: var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-2.5deg); animation: float 6s ease-in-out infinite; }
.hero-card .img { aspect-ratio: 4 / 3; background: var(--bg-2) center / cover no-repeat; position: relative; }
.hero-card .img .type { position: absolute; top: 14px; left: 14px; }
.hero-card .body { padding: 18px 20px 20px; }
.hero-card .title { font-weight: 800; font-size: 18px; margin: 6px 0 4px; }
.hero-card .provide { color: var(--sub); font-size: 13.5px; }
.hero-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--sub); }
.hero-card .foot b { color: var(--ink); }
.hero-card.empty { display: grid; place-items: center; min-height: 300px; color: var(--sub); font-size: 14px; }
.chip { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: float 5s ease-in-out infinite; z-index: 2; }
.chip .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
.chip small { display: block; font-weight: 500; color: var(--sub); font-size: 11px; margin-top: -1px; }
.chip.c1 { top: 24px; left: -10px; animation-delay: 0s; }
.chip.c2 { bottom: 30px; right: -6px; animation-delay: 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); } }
.hero-card { --rot: -2.5deg; }
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; padding: 56px 24px 60px; }
  .hero h1 { font-size: 38px; }
  .hero-visual { min-height: 0; margin-top: 10px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; }
}
@media (max-width: 480px) { .hero h1 { font-size: 32px; } .hero .stats { gap: 18px; } .hero .stat b { font-size: 22px; } .chip { display: none; } }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: none; border-radius: 14px; padding: 15px 22px; font-size: 15px; font-weight: 700; cursor: pointer; line-height: 1; transition: background .15s ease, transform .1s ease, box-shadow .15s ease; box-shadow: 0 6px 18px rgba(var(--brand-rgb),.28); white-space: nowrap; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { background: #cfcbc0; box-shadow: none; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.btn.lg { padding: 18px 28px; font-size: 16px; border-radius: 16px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--bg-2); }
.btn.dark { background: var(--ink); box-shadow: none; }
.btn.dark:hover { background: #000; }
.btn.glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.btn.glass:hover { background: rgba(255,255,255,.16); }
.btn.small { padding: 9px 14px; font-size: 13px; border-radius: 10px; box-shadow: none; }
.btn.green { background: var(--green); box-shadow: none; } .btn.green:hover { background: #17805a; }
.btn.danger { background: var(--red); box-shadow: none; } .btn.danger:hover { background: #b52f2f; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 52px 0; }
.section-head { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-dark); letter-spacing: .02em; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 800; }
.section-head p { color: var(--sub); margin: 10px 0 0; font-size: 16px; }
@media (max-width: 720px) { .section { padding: 52px 0; } .section-head h2 { font-size: 26px; } }

/* ---------- 필 · 뱃지 ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill.type-delivery { background: var(--blue-soft); color: var(--blue); }
.pill.type-visit { background: var(--green-soft); color: var(--green); }
.pill.type-press { background: var(--violet-soft); color: var(--violet); }
.pill.type-purchase { background: var(--amber-soft); color: #9a6b00; }
.pill.cat { background: var(--bg-2); color: var(--ink-2); }
.pill.st { position: relative; }
.pill.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.st-recruiting { background: var(--brand-soft); color: var(--brand-dark); }
.pill.st-selecting { background: var(--amber-soft); color: #9a6b00; }
.pill.st-reviewing { background: var(--blue-soft); color: var(--blue); }
.pill.st-closed, .pill.st-draft { background: #eeece5; color: var(--sub); }
.pill.dday { background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
.pill.dday.urgent { background: var(--red); }
.pill.dday.over { background: #9a958a; }
.pill.mode-all { background: var(--red-soft); color: var(--red); }
.pill.mode-any { background: var(--bg-2); color: var(--sub); }
.chan-links { display: grid; gap: 4px; }
.chan-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 12.5px; padding: 4px 8px 4px 4px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.chan-link:hover { border-color: var(--blue); color: var(--blue); }
.chan-link .cl-name { flex: none; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--bg-2); }
.chan-link.blog .cl-name, .chan-link.place .cl-name { background: #e6f4e6; color: #1e7a3a; }
.chan-link.instagram .cl-name, .chan-link.reels .cl-name { background: #fde8f3; color: #b8236f; }
.chan-link.youtube .cl-name, .chan-link.shorts .cl-name { background: #fde8e8; color: #c11d1d; }
.chan-link.tiktok .cl-name { background: #e9e9ee; color: #111; }
.chan-link .cl-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--blue); font-weight: 600; }
.chan-link .cl-f { flex: none; color: var(--sub); font-size: 11.5px; }
.chan-link .cl-go { flex: none; color: var(--sub); font-size: 11px; }
.chan-rows { display: grid; gap: 10px; }
.chan-row { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); }
.chan-row.off { opacity: .55; }
.chan-row .head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.chan-row .head input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); }
.chan-row .head .req { font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 2px 7px; border-radius: 999px; }
.chan-row .inputs { display: grid; grid-template-columns: 1fr 110px; gap: 8px; }
.chan-row .inputs input { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; }
.chan-row .inputs input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
@media (max-width: 420px) { .chan-row .inputs { grid-template-columns: 1fr; } }
.pen-badge { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; }
.chans { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.chans span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); }
.chans span.blog { background: #e6f4e6; color: #1e7a3a; }
.chans span.instagram, .chans span.reels { background: #fde8f3; color: #b8236f; }
.chans span.youtube, .chans span.shorts { background: #fde8e8; color: #c11d1d; }
.chans span.tiktok { background: #e9e9ee; color: #111; }
.chans span.place { background: #e6f4e6; color: #1e7a3a; }

/* ---------- 필터 ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .sep { width: 1px; background: var(--line-2); margin: 4px 4px; }

/* ---------- 캠페인 카드 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.cc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; position: relative; }
.cc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cc .thumb { aspect-ratio: 4 / 3; background: var(--bg-2) center / cover no-repeat; position: relative; display: grid; place-items: center; color: var(--sub); font-size: 13px; }
.cc .thumb .badge-l { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.cc .thumb .badge-r { position: absolute; top: 12px; right: 12px; }
.cc .thumb .dim { position: absolute; inset: 0; background: rgba(27,26,23,.55); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.cc .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc .brandline { font-size: 12px; color: var(--sub); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cc .title { font-weight: 800; font-size: 17px; line-height: 1.35; }
.cc .provide { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: flex-start; }
.cc .provide::before { content: "🎁"; flex: none; }
.cc .foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--sub); }
.cc .foot b { color: var(--ink); font-weight: 800; }
.cc .foot .rate { color: var(--brand-dark); font-weight: 800; }

/* ---------- 진행 방식 / FAQ / 밴드 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px 22px; }
.step .n { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.step p { margin: 0; color: var(--sub); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow); }
.value .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.value h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.value p { color: var(--sub); font-size: 14px; margin: 0; line-height: 1.65; }
.ico.orange { background: var(--brand-soft); } .ico.green { background: var(--green-soft); } .ico.blue { background: var(--blue-soft); } .ico.violet { background: var(--violet-soft); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--sub); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--ink-2); font-size: 14px; padding: 0 0 18px; line-height: 1.7; white-space: pre-line; }
.band { background: var(--hero-bg); color: #fff; border-radius: 28px; padding: 52px 40px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb),.5), transparent 65%); filter: blur(60px); left: -120px; top: -200px; }
.band h2 { font-size: 30px; font-weight: 800; position: relative; }
.band p { color: var(--hero-sub); margin: 10px 0 24px; position: relative; }
.band .btn { position: relative; }
.empty { text-align: center; color: var(--sub); padding: 60px 20px; background: var(--card); border: 1px dashed var(--line-2); border-radius: 22px; }

/* ---------- 캠페인 상세 ---------- */
.crumb { font-size: 13px; color: var(--sub); padding: 20px 0 6px; display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--ink); }
.cd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; padding-bottom: 80px; }
.cd-main { min-width: 0; }
.cd-cover { border-radius: 24px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); aspect-ratio: 16 / 9; position: relative; }
.cd-cover img { width: 100%; height: 100%; object-fit: cover; }
.cd-cover .badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.cd-cover.empty { display: grid; place-items: center; color: var(--sub); font-size: 13px; }
.cd-head { padding: 24px 4px 0; }
.cd-head .brandline { font-size: 13px; color: var(--sub); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cd-head h1 { font-size: 30px; font-weight: 800; }
.cd-head .sub { color: var(--sub); font-size: 16px; margin: 8px 0 0; }
.cd-head .chans { margin-top: 14px; }
.cd-section { padding: 34px 4px 4px; scroll-margin-top: 90px; }
.cd-section h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cd-section h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--brand); }
.cd-desc { white-space: pre-wrap; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.info-item small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; margin-bottom: 4px; }
.info-item b { font-size: 15px; }
.info-item.wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }
.mission { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mission li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mission li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.kw { display: flex; gap: 8px; flex-wrap: wrap; }
.kw span { background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px; }
.kw span::before { content: "#"; opacity: .6; margin-right: 2px; }
.notice { background: var(--amber-soft); border: 1px solid #f5e2a5; border-radius: 16px; padding: 18px 20px; font-size: 14px; color: #6b4a00; white-space: pre-line; line-height: 1.75; }
.sched { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sched .s { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; text-align: center; position: relative; }
.sched .s small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; margin-bottom: 4px; }
.sched .s b { font-size: 14px; }
.sched .s.now { border-color: var(--brand); background: var(--brand-soft); }
.sched .s.now::after { content: "진행 중"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
@media (max-width: 560px) { .sched { grid-template-columns: 1fr 1fr; } }
.detail-images { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.detail-images .stack { max-width: 640px; margin: 0 auto; display: grid; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.detail-images .stack img { width: 100%; }
.media-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.media-video.vertical { aspect-ratio: 9 / 16; }
.media-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-file video { width: 100%; display: block; background: #000; }

/* 지원 카드 (우측 고정) */
.apply { position: sticky; top: 84px; }
.apply-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lg); }
.apply-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.apply-card .provide-box { background: var(--brand-soft); border-radius: 16px; padding: 14px 16px; }
.apply-card .provide-box small { display: block; font-size: 12px; font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.apply-card .provide-box b { font-size: 16px; line-height: 1.4; display: block; }
.apply-card .provide-box .val { font-size: 12.5px; color: var(--sub); margin-top: 4px; }
.apply-card .gauge { margin-top: 16px; }
.gauge .bar { height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.gauge .fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #ffb347); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.gauge .meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--sub); }
.gauge .meta b { color: var(--ink); font-weight: 800; }
.apply-card .rows { margin-top: 14px; border-top: 1px dashed var(--line-2); padding-top: 10px; font-size: 13px; }
.apply-card .rows .row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-2); gap: 10px; }
.apply-card .rows .row span:first-child { color: var(--sub); flex: none; }
.apply-card .btn { margin-top: 16px; }
.apply-card .trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; font-size: 12.5px; color: var(--sub); }
.apply-card .trust li { display: flex; gap: 8px; align-items: flex-start; }
.apply-card .trust li::before { content: "●"; font-size: 7px; color: var(--green); margin-top: 7px; }
.share { margin-top: 10px; text-align: center; }
.share button { background: none; border: none; color: var(--sub); font-size: 13px; cursor: pointer; font-weight: 600; }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .cd { grid-template-columns: 1fr; gap: 0; padding-bottom: 110px; }
  .apply { position: static; margin-top: 28px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .mobile-bar .p { flex: 1; min-width: 0; }
  .mobile-bar .p .g { font-size: 15px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar .p .l { font-size: 12px; color: var(--sub); }
  .mobile-bar .btn { flex: none; width: auto; padding: 14px 22px; }
  .cd-head h1 { font-size: 25px; }
}

/* ---------- 폼 / 모달 ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.field .hint { font-size: 12px; color: var(--sub); margin-top: 5px; line-height: 1.5; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
@media (max-width: 480px) { .field-row { flex-direction: column; gap: 0; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.check a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; }
.chan-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.chan-pick label { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; cursor: pointer; background: #fff; }
.chan-pick input { display: none; }
.chan-pick input:checked + span { color: #fff; }
.chan-pick label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-back { position: fixed; inset: 0; background: rgba(28,23,18,.55); z-index: 50; backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; }
.modal { background: #fff; border-radius: 24px; max-width: 480px; width: 100%; padding: 28px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; }
.modal h3 { margin: 0 0 4px; font-size: 21px; font-weight: 800; }
.modal .sub { color: var(--sub); font-size: 13.5px; margin: 0 0 18px; }
.modal .summary { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal .summary b { color: var(--brand-dark); }
.modal.wide { max-width: 760px; }
.modal.xwide { max-width: 1100px; }
.msg { padding: 11px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.msg.err { background: var(--red-soft); color: #b91c1c; }
.msg.ok  { background: var(--green-soft); color: #047857; }
.done-screen { text-align: center; }
.done-screen .check-ico { width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 32px; margin: 0 auto 14px; }
.info-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); margin-top: 14px; text-align: left; }
.info-box .row { display: flex; justify-content: space-between; padding: 4px 0; gap: 10px; }
.info-box .row span:first-child { color: var(--sub); flex: none; }
.link-box { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 8px 8px 12px; margin-top: 10px; font-size: 13px; }
.link-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, monospace; color: var(--ink-2); }
.link-box button { flex: none; border: none; background: var(--ink); color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- 상태 (지원 건) ---------- */
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-applied { background: #eeece5; color: var(--sub); }
.st-selected { background: var(--brand-soft); color: var(--brand-dark); }
.st-rejected { background: #f3f2ee; color: #9a958a; }
.st-shipped { background: var(--blue-soft); color: var(--blue); }
.st-submitted { background: var(--violet-soft); color: var(--violet); }
.st-rework { background: var(--red-soft); color: var(--red); }
.st-approved { background: var(--green-soft); color: var(--green); }
.st-cancelled { background: #f3f2ee; color: #9a958a; text-decoration: line-through; }

/* ---------- 내 지원 조회 ---------- */
.my-wrap { max-width: 680px; margin: 0 auto; padding: 32px 20px 90px; }
.my-wrap h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.my-wrap .lead { color: var(--sub); margin: 0 0 22px; font-size: 15px; }
.my-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.my-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); margin-top: 16px; }
.my-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.my-card h2 { font-size: 19px; font-weight: 800; }
.my-card .meta { font-size: 13px; color: var(--sub); margin-top: 4px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 18px 0 6px; }
.tl { text-align: center; font-size: 11.5px; color: var(--sub); position: relative; padding-top: 22px; }
.tl::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); z-index: 1; }
.tl::after { content: ""; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: var(--line-2); }
.tl:last-child::after { display: none; }
.tl.done { color: var(--ink); font-weight: 700; }
.tl.done::before { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.tl.done::after { background: var(--green); }
.tl.now { color: var(--brand-dark); font-weight: 800; }
.tl.now::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.2); animation: pulse 1.6s infinite; }
.tl.off { opacity: .45; }
.my-rows { margin-top: 14px; font-size: 14px; display: grid; gap: 6px; }
.my-rows .row { display: flex; justify-content: space-between; gap: 10px; }
.my-rows .row span:first-child { color: var(--sub); flex: none; }
.my-rows .row b { text-align: right; word-break: break-all; }
.my-rows .row.stack { flex-direction: column; gap: 6px; }
.my-rows .row.stack b { text-align: left; }
.my-rows .row.stack .chan-links { display: flex; flex-wrap: wrap; gap: 6px; }
.note-box { border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-top: 14px; line-height: 1.6; white-space: pre-line; }
.note-box.ok { background: var(--green-soft); color: #0b6b4a; }
.note-box.warn { background: var(--amber-soft); color: #7a4b00; }
.note-box.err { background: var(--red-soft); color: #b91c1c; }
.note-box.info { background: var(--blue-soft); color: #1e4db7; }
.note-box b { font-weight: 800; }
.review-form { margin-top: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.review-form h4 { font-size: 15px; margin-bottom: 10px; }
.mini-list { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.mini-list li { margin: 2px 0; }

/* ---------- 푸터 ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--sub); font-size: 13px; }
footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .links { display: flex; gap: 14px; flex-wrap: wrap; }
footer .links a { font-weight: 600; color: var(--ink-2); }
footer .links a:hover { color: var(--brand-dark); }

/* ---------- 관리자 ---------- */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 24px 80px; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 22px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.tile small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; }
.tile b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.tile.hot { border-color: var(--brand); background: var(--brand-soft); }
.tile.hot b { color: var(--brand-dark); }
.tile.warn { border-color: #f0c66a; background: var(--amber-soft); } .tile.warn b { color: #9a6b00; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { background: var(--bg); font-size: 12px; color: var(--sub); font-weight: 700; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.sel td { background: var(--brand-soft); }
.admin-table .sub { color: var(--sub); font-size: 12px; }
.admin-table a.ext { color: var(--blue); font-weight: 600; word-break: break-all; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.code { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--sub); font-family: ui-monospace, monospace; }
.table-scroll { overflow-x: auto; }
.fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 4px; margin-bottom: 16px; }
.fieldset > legend { font-size: 12px; font-weight: 800; color: var(--sub); padding: 0 6px; letter-spacing: .04em; }
.mini { display: flex; gap: 4px; flex-wrap: wrap; }
.mini button { font-size: 12px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 700; white-space: nowrap; }
.mini button.ok { background: var(--green); color: #fff; border-color: var(--green); }
.mini button.pri { background: var(--brand); color: #fff; border-color: var(--brand); }
.mini button.warn { background: var(--red-soft); color: var(--red); border-color: #f3c3c3; }
.mini button:hover { filter: brightness(.96); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs button i { font-style: normal; opacity: .7; margin-left: 4px; }
.bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; font-size: 13px; }
.bulk b { color: var(--brand-dark); }
.upload-row { display: flex; gap: 14px; align-items: flex-start; }
.thumb-box { width: 120px; height: 90px; flex: none; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--line-2); overflow: hidden; display: grid; place-items: center; color: var(--sub); font-size: 11px; }
.thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.detail-list { display: grid; gap: 8px; }
.detail-empty { padding: 16px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--sub); font-size: 13px; text-align: center; background: var(--bg); }
.detail-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; min-width: 0; }
.detail-thumb { width: 56px; height: 56px; flex: none; border-radius: 8px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--sub); }
.detail-info b { color: var(--ink); font-size: 13px; }
.detail-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-info .kind { flex: none; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); }
.detail-btns { display: flex; gap: 4px; }
.detail-btns button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 12px; }
.detail-btns button:disabled { opacity: .35; cursor: default; }
.embed-code { background: #1c1712; color: #f1ebe0; border-radius: 12px; padding: 14px; font-family: ui-monospace, monospace; font-size: 12px; white-space: pre-wrap; word-break: break-all; line-height: 1.5; }
