/* 회원딜(공동구매) · 광고 영업인 — biz.js (curator.css 의 .rcu 틀 위에) */
.rbz .rcu-head h2 svg { color: var(--gold); }
.rbz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, #fff7e6, #fff); border: 1px solid #f7dfaa; }
.rbz-top > div { flex: 1; display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #5c4510; }
.rbz-top > div svg { width: 28px; height: 28px; color: #c98400; }
.rbz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.rbz-card { display: flex; flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.rbz-card:hover, .rbz-card:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 42, 92, .12); outline: none; }
.rbz-card .ph { position: relative; aspect-ratio: 4 / 3; background: #eef2f8; display: grid; place-items: center; color: #9aa7ba; }
.rbz-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.rbz-card .ph > svg { width: 46px; height: 46px; }
.ph-b { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: #e8effb; color: var(--blue); }
.rbz-card .ph-b { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.ph-b.ready { background: #eef1f5; color: #46556b; } .ph-b.ok { background: #1d7a50; color: #fff; } .ph-b.fail { background: #fde8e8; color: var(--red); } .ph-b.wait { background: #fff3da; color: #a46a00; }
.ph-b.open { background: var(--blue); color: #fff; }
.rbz-card .off { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 8px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; }
.rbz-card .cnt { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11.5px; }
.rbz-card .bd { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.rbz-card .t { font-size: 15.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rbz-card .sm { font-size: 12.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pr s { font-size: 12.5px; color: #98a3b3; }
.pr strong { font-size: 18px; font-weight: 800; color: var(--ink); }
.pr strong.nego { font-size: 15px; color: var(--sub); }
.pr small { font-size: 12px; color: var(--sub); }
.pr em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--red); }
.bar { height: 8px; border-radius: 4px; background: #e8edf4; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), #f08c00); }
.bar.big { height: 12px; border-radius: 6px; }
.ppl { font-size: 12.5px; color: var(--sub); }
.ppl b { color: var(--ink); }
.ppl .okt { color: var(--ok); font-weight: 800; }
.rbz-card .ft { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--sub); margin-top: 2px; }
.rbz-card .ft span { display: inline-flex; align-items: center; gap: 4px; }
.rbz-card .ft .me { color: var(--ok); font-weight: 700; }
.rbz-card .host, .rbz-info .host { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--sub); }
.rbz-card .host .rcu-av { width: 26px; height: 26px; border-radius: 9px; font-size: 12px; }

/* 상세 */
.rbz-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rbz-gal .main { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #eef2f8; }
.rbz-gal .main img { width: 100%; height: 100%; object-fit: cover; }
.rbz-gal .th { display: flex; gap: 6px; margin-top: 8px; }
.rbz-gal .th button { width: 62px; height: 62px; border-radius: 12px; overflow: hidden; border: 2px solid transparent !important; padding: 0; }
.rbz-gal .th button.on { border-color: var(--blue) !important; }
.rbz-gal .th img { width: 100%; height: 100%; object-fit: cover; }
.rbz-view:not(:has(.rbz-gal)) { grid-template-columns: minmax(0, 1fr); }
.rbz-info { display: flex; flex-direction: column; gap: 8px; }
.rbz-info h2 { margin: 2px 0 0; font-size: 22px; font-weight: 800; line-height: 1.3; }
.rbz-info .sm { margin: 0; color: var(--sub); font-size: 14px; }
.rbz-info .pr strong { font-size: 26px; }
.rbz-linkbtn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #c9d6ec; color: var(--navy); text-decoration: none; font-weight: 700; }
.rbz-linkbtn svg { width: 22px; height: 22px; color: var(--blue); }
.rbz-linkbtn span { flex: 1; min-width: 0; }
.rbz-linkbtn small { display: block; font-size: 12px; font-weight: 500; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbz-linkbtn:hover { background: #f2f6fd; }
.rbz-dl { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rbz-dl > div { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.rbz-dl svg { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.rbz-dl dt { width: 70px; flex-shrink: 0; color: var(--sub); }
.rbz-dl dd { margin: 0; flex: 1; }
.rbz-info .host { margin: 0; border: 0; padding: 4px 0; font-size: 13px; }
.rbz-info .host span { flex: 1; }
.rbz-info .host b { color: var(--ink); }
.rbz-info .host small { display: block; }
.rbz-join { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: #fff7e6; border: 1px solid #f7dfaa; }
.rbz-join .q { display: flex; align-items: center; gap: 6px; }
.rbz-join .q > span { font-weight: 700; font-size: 14px; margin-right: 4px; }
.rbz-join .q button { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid #e3c98e !important; font-size: 18px; font-weight: 700; }
.rbz-join .q input { width: 58px; height: 36px; text-align: center; border: 1px solid #e3c98e; border-radius: 10px; font: inherit; font-weight: 700; }
.rbz-join .q em { font-style: normal; font-size: 13px; color: var(--sub); }
.rbz-join .q .sum { margin-left: auto; font-size: 17px; }
.rbz-join > input { padding: 10px 12px; border: 1px solid #e3c98e; border-radius: 10px; font: inherit; font-size: 13.5px; background: #fff; }
.rbz-join .b { display: flex; gap: 6px; }
.rbz-join .b .rcu-btn { flex: 1; }
.rbz-join small { font-size: 11.5px; color: #7a6230; }
.rbz-join .rcu-btn.lg { background: var(--gold) !important; color: #1a1a1a !important; font-size: 16.5px; }
.rbz-join .rcu-btn.lg:hover { background: #ec9a00 !important; }
.rbz-wait { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 13.5px; color: var(--sub); }
.rbz-wait svg { width: 30px; height: 30px; color: #c98400; }
.rbz-wait b { color: var(--ink); font-size: 15px; }
.rbz-wait.done svg { color: var(--sub); }
.rbz-host-box { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: #eef4fd; border: 1px solid #c9d6ec; }
.rbz-host-box > span { font-size: 13px; color: var(--sub); }
.rbz-host-box .b { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rbz-body { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; white-space: pre-wrap; }
.rbz-joins { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.rbz-joins > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex-wrap: wrap; }
.rbz-joins .rcu-av { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
.rbz-joins span { flex: 1; min-width: 0; font-size: 13.5px; }
.rbz-joins small { display: block; font-size: 11.5px; color: var(--sub); }
.rbz-joins i { display: block; font-style: normal; font-size: 12px; color: #7a6230; }
.rbz-joins em { font-style: normal; font-weight: 800; color: var(--blue); }
.rbz-joins a { width: 100%; font-size: 12.5px; color: var(--blue); text-decoration: none; padding-left: 42px; }

/* 올리기 폼 */
.rbz-tip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #eef6f1; color: #24543b; font-size: 13px; margin-bottom: 8px; }
.rbz-tip > svg { width: 22px; height: 22px; }
.rbz-tip span { flex: 1; }
.rbz-tip.warn { background: #fdeeee; color: var(--red); }
.rbz-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.rbz-imgs .it { position: relative; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: #eef2f8; }
.rbz-imgs .it img { width: 100%; height: 100%; object-fit: cover; }
.rbz-imgs .it:first-child::after { content: '대표'; position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; }
.rbz-imgs .it button { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff !important; font-size: 16px; line-height: 1; }
.rbz-imgs .add { width: 92px; height: 92px; border-radius: 14px; border: 2px dashed #c3cede; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--sub); font-size: 12px; cursor: pointer; margin: 0 !important; }
.rbz-imgs .add svg { width: 24px; height: 24px; }
.rbz-imgs .add input { display: none; }
.rbz-form input[type=datetime-local], .rbz-form input[type=number], .rbz-form input[type=date], .rbz-form select, .rbz .rcu-form select, .rbz .rcu-form input[type=date] { width: 100%; padding: 11px 12px; border: 1px solid #d5dce7; border-radius: 12px; font: inherit; font-size: 14.5px; background: #fff; }
.rbz-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rbz-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rbz-row4 > div, .rbz-row3 > div { display: flex; flex-direction: column; gap: 6px; }
.rbz-row4 label, .rbz-row3 label { margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.rbz-row4 input, .rbz-row3 input { width: 100%; padding: 11px 12px; border: 1px solid #d5dce7; border-radius: 12px; font: inherit; font-size: 14.5px; background: #fff; }

/* 홈 */
.rbz-home .hb { display: flex; gap: 8px; }
.rbz-grid.home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rbz-empty-home { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px; border-radius: 20px; background: #fff; border: 2px dashed #e3d3a8 !important; color: var(--sub); font-size: 13.5px; }
.rbz-empty-home svg { width: 36px; height: 36px; color: #c98400; }
.rbz-empty-home b { color: var(--ink); font-size: 16px; }

/* 광고 영업인 */
.rbz-ad-hero { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #1f4f9a); color: #fff; margin-bottom: 12px; }
.rbz-ad-hero > svg { width: 44px; height: 44px; color: var(--gold); flex-shrink: 0; }
.rbz-ad-hero b { display: block; font-size: 18px; margin-bottom: 4px; }
.rbz-ad-hero span { font-size: 13.5px; opacity: .9; }
.rbz-steps { list-style: none; counter-reset: s; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rbz-steps li { counter-increment: s; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--sub); }
.rbz-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 50%; background: var(--gold); color: #1a1a1a; font-weight: 800; font-size: 12px; }
.rbz-steps b { display: block; color: var(--ink); font-size: 14px; }
.rbz-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rbz-media > div { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rbz-media ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: #3a4860; }
.rbz-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.rbz-kpi > div { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.rbz-kpi span { display: block; font-size: 12.5px; color: var(--sub); }
.rbz-kpi b { display: block; font-size: 19px; font-weight: 800; margin-top: 2px; }
.rbz-kpi small { font-size: 11.5px; color: var(--sub); }
.rbz-kpi .hl { background: #fff7e6; border-color: #f7dfaa; }
.rbz-kpi .hl b { color: #a46a00; }
.rbz-orders { display: flex; flex-direction: column; gap: 8px; }
.rbz-orders .o { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rbz-orders .l { flex: 1; min-width: 0; }
.rbz-orders .l b { font-size: 15px; }
.rbz-orders .l small { display: block; font-size: 12px; color: var(--sub); }
.rbz-orders .l i { display: block; font-style: normal; font-size: 12px; color: #7a6230; }
.rbz-orders .k { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 800; background: #e8effb; color: var(--blue); }
.rbz-orders .k.external { background: #efeafb; color: #5b45b0; }
.rbz-orders .r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12.5px; color: var(--sub); }
.rbz-orders .r b { font-size: 14.5px; color: var(--ink); }
.stt.report { background: #fff3da; color: #a46a00; } .stt.confirmed { background: #e8effb; color: var(--blue); } .stt.paid { background: #e0f2f7; color: #0b6e86; } .stt.settled { background: #e3f5ea; color: var(--ok); } .stt.canceled { background: #eef1f5; color: var(--sub); }
.stt.ok { background: #e3f5ea; color: var(--ok); } .stt.ready { background: #eef1f5; color: #46556b; } .stt.fail { background: #fde8e8; color: var(--red); } .stt.open { background: #e8effb; color: var(--blue); }
.rcu-row .fic img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.rbz-calc { padding: 10px 14px; border-radius: 12px; background: #fff7e6; font-size: 14px; color: #7a6230; }
.rbz-calc b { color: #a46a00; font-size: 16px; }

@media (max-width: 860px) { .rbz-grid.home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .rbz-view { grid-template-columns: minmax(0, 1fr); }
  .rbz-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbz-row3 { grid-template-columns: minmax(0, 1fr); }
  .rbz-top { flex-direction: column; align-items: stretch; }
  .rbz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rbz-card .bd { padding: 10px; }
  .rbz-card .host { display: none; }
  .rbz-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbz-steps, .rbz-media { grid-template-columns: 1fr 1fr; }
  .rbz-home .rcu-home-head { flex-direction: column; align-items: flex-start; }
}
.rbz-info .host span { flex: none; }
.rbz-info .host > span:not(.rcu-av) { flex: 1; min-width: 0; }
.rbz-info .host .rcu-av { width: 40px; height: 40px; border-radius: 13px; font-size: 16px; }
.rbz-ad-hero b { display: inline; font-size: inherit; margin: 0; color: var(--gold); }
.rbz-ad-hero > div > b:first-child { display: block; font-size: 18px; margin-bottom: 4px; color: #fff; }
.rbz-gal .main { aspect-ratio: 4 / 3; }
.rbz-info .ph-b { align-self: flex-start; }
