/* MONAR 시제품 — 딥 네이비 + 골드, 모바일 우선. 시안 색감 참고, 레이아웃은 새로 구성 */
:root {
  --navy: #071E45;
  --navy-2: #0F2B5B;
  --blue: #0B3B8C;
  --gold: #C9A227;
  --gold-soft: #F6EFD8;
  --paper: #F3F5F9;
  --card: #FFFFFF;
  --ink: #101A2E;
  --muted: #6A7387;
  --line: #E2E7EF;
  --green: #1F8A4C;
  --green-soft: #E5F4EB;
  --red: #B83A2E;
  --red-soft: #FBEAE7;
  --amber: #B5641A;
  --amber-soft: #FCEFE1;
  --serif: "Cormorant Garamond", "AppleMyungjo", serif;
  --sans: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #E6EAF1; color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.num { font-family: var(--serif); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }

/* 시제품 모드 바 */
#proto-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #0B1220; color: #C9D2E3; font-size: 12px; padding: 8px 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
#proto-bar .label { color: #8592AB; margin-right: 4px; }
#proto-bar .seg { display: inline-flex; background: #1A2336; border-radius: 999px; padding: 3px; }
#proto-bar .seg button { padding: 5px 12px; border-radius: 999px; color: #C9D2E3; }
#proto-bar .seg button.on { background: var(--gold); color: #1A1406; font-weight: 700; }
#proto-bar select { background: #1A2336; border: 0; border-radius: 6px; padding: 5px 8px; color: #E7ECF5; }
#proto-bar .reset { color: #8592AB; text-decoration: underline; padding: 4px 6px; }

/* 화면 프레임 */
.phone { max-width: 430px; margin: 0 auto; min-height: calc(100vh - 44px); background: var(--paper); position: relative; padding-bottom: 88px; box-shadow: 0 0 0 1px #d8dee8; }
.wide { max-width: 1120px; margin: 0 auto; padding: 24px 20px 64px; }

/* 헤더 */
.topbar { background: var(--navy); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .18em; }
.logo small { font-family: var(--sans); font-size: 10px; letter-spacing: .08em; color: var(--gold); display: block; margin-top: -2px; }
.topbar .title { font-weight: 700; font-size: 16px; }
.icon-btn { color: #fff; font-size: 20px; padding: 2px 6px; }

/* 히어로 */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 8px 20px 28px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.hero h1 { font-size: 28px; line-height: 1.3; margin: 10px 0 10px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { margin: 0 0 16px; color: #C3CEE3; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(201,162,39,.6); color: #F1DFA6; }

/* 섹션 */
.section { padding: 20px 16px 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.sec-head h2 { font-size: 16px; margin: 0; font-weight: 800; }
.card { background: var(--card); border-radius: 14px; border: 1px solid var(--line); }
.card.pad { padding: 16px; }
.stack { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* 실시간 리스트 */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E2574C; margin-right: 6px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.item-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.item-row + .item-row { border-top: 1px solid var(--line); }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #EDE4CC, #CDB98A); display: grid; place-items: center; font-size: 22px; flex: none; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grade { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; font-family: var(--serif); font-weight: 700; font-size: 14px; background: #EAF0FA; color: var(--blue); padding: 0 4px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12.5px; color: var(--amber); background: var(--amber-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }

/* 배지·상태 */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.b-gold { background: var(--gold); color: #1A1406; }
.b-goldsoft { background: var(--gold-soft); color: #7A5E0C; }
.b-green { background: var(--green-soft); color: var(--green); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-blue { background: #E7EEFA; color: var(--blue); }
.b-gray { background: #EEF1F5; color: var(--muted); }
.b-amber { background: var(--amber-soft); color: var(--amber); }

/* 이용 방법 */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step3 { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; }
.step3 .ico { font-size: 22px; }
.step3 b { display: block; margin-top: 6px; font-size: 13px; }
.step3 span { font-size: 11px; color: var(--muted); }

/* 회원사 카드 */
.dealer-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.dealer-card { flex: 0 0 210px; scroll-snap-align: start; padding: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: 16px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.metric { background: var(--paper); border-radius: 8px; padding: 6px; text-align: center; }
.metric b { display: block; font-size: 13px; }
.metric span { font-size: 10.5px; color: var(--muted); }

/* 후기 */
.review { padding: 14px; }
.review + .review { border-top: 1px solid var(--line); }
.gain { color: var(--green); font-weight: 700; }

/* 하단 CTA, 탭바 */
.cta-fixed { position: fixed; left: 50%; transform: translateX(-50%); bottom: 64px; width: min(430px, 100%); padding: 0 16px; z-index: 20; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 13px 18px; font-weight: 800; font-size: 15px; width: 100%; }
.btn-gold { background: linear-gradient(180deg, #D8B23A, var(--gold)); color: #1A1406; box-shadow: 0 6px 16px rgba(201,162,39,.35); }
.btn-navy { background: var(--blue); color: #fff; }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; width: auto; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(430px, 100%); background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(var(--tabs, 3), 1fr); z-index: 30; padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar a { text-align: center; padding: 8px 0 10px; font-size: 11px; color: var(--muted); }
.tabbar a .ti { display: block; font-size: 19px; line-height: 1.3; }
.tabbar a.on { color: var(--navy); font-weight: 800; }
.tabbar a .count { background: var(--red); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; margin-left: 2px; }

/* 폼 */
.form { padding: 16px; display: grid; gap: 18px; }
.field label, .flabel { font-weight: 800; font-size: 14px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.flabel span, .field label span { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
textarea.input { min-height: 72px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-slot { aspect-ratio: 4 / 3; border: 1.5px dashed #C4CCDA; border-radius: 12px; background: #fff; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--muted); position: relative; overflow: hidden; }
.photo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.done { border: 1.5px solid var(--green); }
.photo-slot .tag { position: absolute; left: 6px; bottom: 6px; background: rgba(7,30,69,.75); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 999px; z-index: 1; }
.choice3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 6px; text-align: center; }
.choice b { font-family: var(--serif); font-size: 22px; display: block; color: var(--blue); }
.choice span { font-size: 11px; color: var(--muted); }
.choice.on { border: 2px solid var(--blue); background: #EEF3FC; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; }
.chip.on { border-color: var(--gold); background: var(--gold-soft); color: #6E540B; font-weight: 700; }
.ai-box { background: #F7F9FD; border: 1px solid #DCE5F5; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; display: grid; gap: 4px; }
.ok { color: var(--green); font-weight: 700; }
.ng { color: var(--red); font-weight: 700; }

/* 거래 상세 */
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 14px 16px 4px; }
.progress div { text-align: center; font-size: 10.5px; color: #9AA3B5; }
.progress div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: #DCE2EC; margin-bottom: 6px; }
.progress div.done { color: var(--navy); font-weight: 700; }
.progress div.done::before { background: var(--gold); }
.range { position: relative; height: 6px; background: #E4E9F2; border-radius: 6px; margin: 14px 4px 6px; }
.range .tick { position: absolute; top: -5px; width: 2px; height: 16px; border-radius: 2px; }
.bid { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bid.top { border: 2px solid var(--gold); background: #FFFCF2; }
.rank { width: 26px; height: 26px; border-radius: 8px; background: #EEF2F8; color: var(--blue); font-weight: 800; display: grid; place-items: center; flex: none; }
.bid.top .rank { background: var(--gold); color: #1A1406; }
.amount { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--blue); white-space: nowrap; }
.amount small { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.notice { background: #FFF8E6; border: 1px solid #F0DFA8; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #6B520B; }
.notice.red { background: var(--red-soft); border-color: #F1C7C1; color: #7A2219; }
.notice.green { background: var(--green-soft); border-color: #BFE3CD; color: #175F35; }
.done-card { background: linear-gradient(160deg, #0E3A26, #1F8A4C); color: #fff; border-radius: 16px; padding: 20px; }
.done-card .num { font-size: 34px; }
.demo { border: 1px dashed #B8C2D6; border-radius: 12px; padding: 10px 12px; background: #F8FAFD; font-size: 12px; color: var(--muted); display: grid; gap: 8px; }
.demo b { color: var(--ink); }
.demo .row { flex-wrap: wrap; }

/* 모달 */
.modal-wrap { position: fixed; inset: 0; background: rgba(7,15,30,.55); z-index: 80; display: grid; place-items: end center; }
.modal { background: #fff; width: min(430px, 100%); border-radius: 18px 18px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 88vh; overflow: auto; display: grid; gap: 14px; }
.modal h3 { margin: 0; font-size: 18px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }
#toast { position: fixed; left: 50%; bottom: 140px; transform: translateX(-50%); background: #101A2E; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 90; font-size: 13px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* 별점 입력 */
.star-input { display: flex; gap: 2px; }
.star-input button { font-size: 24px; color: #D5DBE6; padding: 0 2px; }
.star-input button.on { color: var(--gold); }

/* 관리자 */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { margin: 4px 0 0; font-size: 24px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { padding: 16px; }
.kpi b { display: block; font-size: 26px; margin-top: 4px; color: var(--navy); }
.kpi span { font-size: 12px; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-grid > .full { grid-column: 1 / -1; }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.panel-h { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.panel-h h3 { margin: 0; font-size: 15px; }
.empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .admin-grid { grid-template-columns: 1fr; } }

/* ---------- 2차: 로그인·채팅·안내·관리자 메뉴 ---------- */
.auth { padding: 28px 20px; display: grid; gap: 16px; }
.auth h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.auth .lead { color: var(--muted); margin: -8px 0 0; }
.demo-hint { font-size: 12px; color: var(--amber); background: var(--amber-soft); border-radius: 8px; padding: 8px 10px; }
.agree-box { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; display: grid; gap: 10px; }
.agree-box .all { font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.agree-box .check a { color: var(--muted); text-decoration: underline; margin-left: auto; font-size: 11.5px; }
.menu-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.menu-list a, .menu-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; text-align: left; }
.menu-list > * + * { border-top: 1px solid var(--line); }
.toggle { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #CDD4E0; position: relative; cursor: pointer; flex: none; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle:checked { background: var(--blue); }
.toggle:checked::after { left: 21px; }

/* 시세 티커 */
.ticker { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.tick-card { flex: 0 0 168px; scroll-snap-align: start; padding: 12px; }
.tick-card .amount { font-size: 20px; }

/* 랭킹 */
.seg-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; }
.seg-tabs button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; }
.seg-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.rank-row + .rank-row { border-top: 1px solid var(--line); }
.rank-no { width: 22px; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--gold); text-align: center; }

/* 채팅 */
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; min-height: 52vh; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; word-break: break-word; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.sys { align-self: center; background: #E9EDF4; color: var(--muted); font-size: 12px; border-radius: 999px; padding: 5px 12px; }
.bubble time { display: block; font-size: 10.5px; opacity: .7; margin-top: 2px; }
.chat-input { position: sticky; bottom: 64px; display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; }
.thread-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.thread-row + .thread-row { border-top: 1px solid var(--line); }
.unread { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

/* 안내·FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::after { content: "+"; color: var(--muted); }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0 0 14px; color: #3A4458; font-size: 13px; }
.guide-step { display: flex; gap: 12px; padding: 14px; }
.guide-step + .guide-step { border-top: 1px solid var(--line); }
.guide-step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 13px; }

/* 회원사 공개 프로필 */
.cover { height: 120px; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; }
.cover .avatar { position: absolute; left: 16px; bottom: -28px; border: 3px solid #fff; }
.store-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.store-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* 단계 폼 */
.stepper { display: flex; gap: 6px; padding: 14px 16px 0; }
.stepper div { flex: 1; height: 4px; border-radius: 4px; background: #DCE2EC; }
.stepper div.on { background: var(--gold); }
.upload-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; position: relative; }
.upload-row input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-row .st { margin-left: auto; font-size: 12px; }

/* 관리자 메뉴 */
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-nav a { padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-nav a.on { color: var(--navy); border-bottom-color: var(--gold); }
.admin-nav .count { background: var(--red); color: #fff; border-radius: 999px; font-size: 10.5px; padding: 0 6px; margin-left: 4px; }
.admin-login { max-width: 380px; margin: 60px auto; padding: 28px; display: grid; gap: 14px; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #F7F9FD; }

/* ---------- 3차: 디자인 다듬기 ---------- */
body { background: #E9EDF3; }
.phone { background: #F5F6F9; }
.card { border-radius: 16px; border-color: #E5E9F0; box-shadow: 0 1px 2px rgba(7,30,69,.04), 0 6px 18px -12px rgba(7,30,69,.18); }
.menu-list { border-radius: 16px; border-color: #E5E9F0; box-shadow: 0 1px 2px rgba(7,30,69,.04); }
.ic { display: inline-block; vertical-align: -0.2em; flex: none; }
.sec-head h2 { font-size: 17px; letter-spacing: -.02em; }
.section { padding: 24px 16px 4px; }
.link { color: var(--blue); font-weight: 700; }
.link::after { content: " →"; }

/* 헤더 */
.topbar { padding: 14px 18px; min-height: 56px; }
.topbar .title { font-size: 16px; letter-spacing: -.01em; }
.logo { font-size: 21px; letter-spacing: .22em; }
.logo small { letter-spacing: .14em; font-size: 9.5px; margin-top: 1px; }

/* 히어로 */
.hero { padding: 12px 20px 26px; background: radial-gradient(120% 90% at 100% 0%, #1A3A73 0%, rgba(26,58,115,0) 60%), linear-gradient(180deg, var(--navy), #0C2756); }
.hero h1 { font-size: 30px; line-height: 1.28; margin: 12px 0 10px; }
.hero p { color: #BFCBE2; line-height: 1.6; }
.pill { border-color: rgba(201,162,39,.45); background: rgba(201,162,39,.08); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats div + div { border-left: 1px solid rgba(255,255,255,.12); padding-left: 14px; }
.hero-stats b { font-size: 24px; color: #fff; }
.hero-stats span { font-size: 11.5px; color: #9FB0CF; }

/* 상품 썸네일: 브랜드 타일 */
.thumb { border-radius: 12px; }
.thumb.mono { background: linear-gradient(150deg, var(--tone), color-mix(in srgb, var(--tone) 70%, #000)); color: #F4EBD3; padding: 4px; text-align: center; }
.thumb.mono span { font-family: var(--serif); font-weight: 700; font-size: 9.5px; letter-spacing: .1em; line-height: 1.15; }
.tick-card .thumb.mono { width: 100%; height: 72px; }
.tick-card .thumb.mono span { font-size: 12px; }

/* 이용 방법 */
.step3 { border-radius: 16px; padding: 16px 8px 14px; box-shadow: 0 1px 2px rgba(7,30,69,.04); border-color: #E5E9F0; }
.step3 .ico { width: 42px; height: 42px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.step3 b { margin-top: 8px; }

/* 버튼 */
.btn { border-radius: 14px; letter-spacing: -.01em; transition: transform .08s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: #0C2A5C; }
.btn-gold { background: linear-gradient(180deg, #DDBA4C, #C29A22); color: #17120A; box-shadow: 0 8px 20px -8px rgba(194,154,34,.7); }
.btn-line { border-color: #DCE2EC; }
.btn-sm { border-radius: 10px; }
.btn-sm .ic { margin-right: 2px; }

/* 탭바 */
.tabbar { border-top: 1px solid #E5E9F0; box-shadow: 0 -6px 18px -14px rgba(7,30,69,.35); }
.tabbar a { padding: 8px 0 10px; font-size: 10.5px; position: relative; }
.tabbar a .ti { display: grid; place-items: center; height: 26px; }
.tabbar a.on { color: var(--navy); }
.tabbar a.on .ti { color: var(--navy); }
.tabbar a.on::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 2px; margin-left: -11px; background: var(--gold); border-radius: 0 0 2px 2px; }
.tabbar a .count { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; }

/* 사진 슬롯 */
.photo-slot { border-radius: 14px; border-color: #C9D2E1; background: #FBFCFE; }
.slot-empty { color: #8A94A8; display: inline-grid; justify-items: center; gap: 4px; }

/* 상태 아이콘 */
.state-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: var(--amber-soft); color: var(--amber); }
.state-ic.rejected, .state-ic.suspended { background: var(--red-soft); color: var(--red); }

/* 입찰 카드 */
.bid { padding: 14px; }
.bid.top { box-shadow: 0 10px 24px -14px rgba(194,154,34,.8); }
.amount { letter-spacing: .01em; }

/* 폼 */
.input, select.input, textarea.input { border-radius: 12px; border-color: #DCE2EC; padding: 12px 13px; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,59,140,.12); }
.notice { border-radius: 14px; line-height: 1.55; }
.chip { padding: 7px 13px; }

/* ---------- 4차: 회원사 업무 화면 ---------- */
.thumb-wrap { position: relative; flex: none; }
.thumb-wrap .thumb { width: 76px; height: 76px; }
.thumb-wrap .ov { position: absolute; left: 4px; top: 4px; font-size: 10px; padding: 1px 6px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tag-sm { font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: #4A5468; background: #fff; }
.grade.g-N { background: #FDE8E6; color: #B83A2E; }
.grade.g-S { background: #FDEEDC; color: #B5641A; }
.grade.g-A { background: #E4EEFB; color: #0B3B8C; }
.grade.g-B { background: #E3F4EA; color: #1F8A4C; }
.dtabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.dtabs > * { padding: 13px 0 11px; text-align: center; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; }
.dtabs > .on { color: var(--navy); border-bottom-color: var(--navy); }
.dtabs span { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.search { position: relative; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 38px; background: #EEF2F7; border-color: transparent; }
.icon-box { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; flex: none; color: var(--ink); }
.icon-box.on { border-color: var(--navy); color: var(--navy); }
.icon-box .count { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }
select.sort { border: 0; background: none; font-weight: 700; font-size: 13px; color: var(--ink); }
.gallery-wrap { position: relative; background: #111; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; color: #fff; background: rgba(0,0,0,.45); font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.g-count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.kvs { display: grid; gap: 10px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.kv span { color: var(--muted); flex: none; }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.memo-box { background: #F3F5F9; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13.5px; white-space: pre-wrap; line-height: 1.6; }
.bidbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 64px; width: min(430px, 100%); background: #fff; border-top: 1px solid var(--line); padding: 10px 14px; display: flex; align-items: center; gap: 8px; z-index: 25; box-shadow: 0 -8px 20px -16px rgba(7,30,69,.4); }
.bidbar .btn { width: auto; }
.ship-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; font-size: 12px; background: #fff; }
.bell { color: #fff; position: relative; display: grid; place-items: center; }
.bell .count { position: absolute; top: -4px; right: -6px; background: var(--red); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }
.cal-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 0; text-align: center; display: grid; gap: 1px; position: relative; }
.cal-day span { font-size: 10.5px; color: var(--muted); }
.cal-day b { font-size: 15px; }
.cal-day.today { border-color: var(--navy); background: #EEF3FC; }
.cal-day i { font-style: normal; position: absolute; top: 3px; right: 4px; background: var(--gold); color: #17120A; font-size: 9.5px; font-weight: 800; border-radius: 999px; padding: 0 4px; }
.extra-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.xp { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; position: relative; background: #fff; border: 1px solid var(--line); }
.xp img { width: 100%; height: 100%; object-fit: cover; }
.xp button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 1; }
.xp.add { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--muted); font-size: 10.5px; border-style: dashed; cursor: pointer; }
.xp.add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tick-comp { margin-top: 8px; font-size: 13px; color: var(--muted); }
.tick-comp b { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-right: 2px; }
.tick-card .gain b { font-weight: 800; }
.btn-kakao { background: #FEE500; color: #191600; }
.btn-naver { background: #03C75A; color: #fff; }
.btn-apple { background: #000; color: #fff; }
.btn-kakao svg, .btn-naver svg, .btn-apple svg { margin-right: 4px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth .logo { color: var(--navy); font-size: 26px; }
.social-badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto; }
.social-badge svg { width: 30px; height: 30px; }
.social-badge.kakao { background: #FEE500; color: #191600; }
.social-badge.naver { background: #03C75A; color: #fff; }
.social-badge.apple { background: #000; color: #fff; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C9D2E3; border-top-color: var(--blue); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.shot #proto-bar, .shot .demo, .shot .demo-hint { display: none !important; }
.shot .phone { min-height: 100vh; }
.shot .phone { max-width: none; box-shadow: none; }
.shot .tabbar, .shot .cta-fixed, .shot .bidbar { width: 100%; }

/* =====================================================================
   B 라운지 확정안 (젠스파크 디자인 결과 적용)
   넓은 여백 · 큰 라운드 · 부드러운 그림자 · 오프화이트 · 세리프 숫자
   ===================================================================== */
@font-face { font-family: 'Pretendard'; font-weight: 45 920; font-display: swap; src: url('fonts/PretendardVariable.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif KR'; font-weight: 600; font-display: swap; src: url('fonts/NotoSerifKR-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2191, U+2193, U+2212; }
@font-face { font-family: 'Noto Serif KR'; font-weight: 600; font-display: swap; src: url('fonts/NotoSerifKR-600.woff2') format('woff2'); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3, U+3000-303F, U+FF00-FFEF; }
@font-face { font-family: 'Noto Serif KR'; font-weight: 700; font-display: swap; src: url('fonts/NotoSerifKR-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2191, U+2193, U+2212; }
@font-face { font-family: 'Noto Serif KR'; font-weight: 700; font-display: swap; src: url('fonts/NotoSerifKR-700.woff2') format('woff2'); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3, U+3000-303F, U+FF00-FFEF; }

:root {
  --navy: #071E45; --navy-2: #0C2A57; --blue: #1B4C8F;
  --gold: #C9A227; --gold-hi: #D9B84C; --gold-ink: #8A6E15; --gold-soft: #F4EEDA;
  --paper: #F7F6F2; --paper-2: #F1EFE9; --card: #FFFFFF;
  --ink: #101826; --muted: #6A6E77; --faint: #9AA0A9; --line: #E6E2D8; --line-2: #F0EEE8;
  --green: #1D6B4F; --green-soft: #E4F0EA; --red: #C4462F; --red-soft: #FBE9E5; --amber: #B4622A; --amber-soft: #FCEFE1;
  --serif: 'Noto Serif KR', 'AppleMyungjo', serif;
  --sans: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --r-card: 20px; --r-img: 14px; --shadow: 0 10px 28px rgba(7,30,69,.07);
}
body { background: #ECEAE4; font-size: 13.5px; letter-spacing: -0.005em; }
.phone { background: var(--paper); box-shadow: 0 0 0 1px #E2DED4; }
.num, .amount, .hero-stats b, .kpi b, .rank-no, .tick-comp b, .grade { font-family: var(--serif); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.gold-ink { color: var(--gold-ink) !important; }

/* 상단 바 */
.topbar { background: var(--navy); color: #F3F0E8; height: 58px; min-height: 58px; padding: 0 16px; }
.topbar .title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.topbar.light { background: transparent; color: var(--navy); height: 64px; padding: 0 24px; }
.logo { font-family: var(--serif); font-weight: 600; letter-spacing: .3em; font-size: 19px; display: inline-flex; align-items: baseline; gap: 8px; }
.logo small { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--gold-hi); margin: 0; display: inline; }
.topbar.light .logo small { color: var(--gold-ink); }

/* 히어로: 라운지 카드 */
.hero-wrap { padding: 4px 16px 0; }
.hero { position: relative; overflow: hidden; background: var(--navy); border-radius: 28px; padding: 24px 22px 22px; color: #F3F0E8; }
.hero .deco { position: absolute; border-radius: 50%; border: 1px solid rgba(201,162,39,.22); pointer-events: none; }
.hero .deco.d1 { right: -30px; top: -30px; width: 150px; height: 150px; }
.hero .deco.d2 { right: 6px; top: 30px; width: 90px; height: 90px; border-color: rgba(201,162,39,.14); }
.hero .eyebrow { color: var(--gold-hi); position: relative; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 29px; line-height: 1.32; letter-spacing: -0.02em; margin: 14px 0 12px; position: relative; }
.hero h1 em { color: var(--gold-hi); }
.hero p { color: rgba(243,240,232,.72); position: relative; }
.pill { border: 1px solid rgba(243,240,232,.22); background: rgba(255,255,255,.06); color: #F3F0E8; height: 30px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 11px; }
.hero-stats { border-top-color: rgba(243,240,232,.16); margin-top: 20px; padding-top: 18px; }
.hero-stats div + div { border-left-color: rgba(243,240,232,.16); }
.hero-stats b { font-weight: 600; font-size: 26px; color: #F3F0E8; }
.hero-stats span { color: rgba(243,240,232,.55); font-size: 11px; }

/* 섹션 · 카드 */
.section { padding: 38px 24px 0; }
.sec-head { margin-bottom: 14px; align-items: flex-end; }
.sec-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.025em; }
.sec-head > span, .sec-head .small { font-size: 11.5px; color: var(--muted); }
.card { border: 0; border-radius: var(--r-card); box-shadow: var(--shadow); background: #fff; }
.menu-list { border: 0; border-radius: var(--r-card); box-shadow: var(--shadow); }
.menu-list > * + * { border-top-color: var(--line-2); }
.item-row { padding: 13px 16px; min-height: 76px; }
.item-row + .item-row { border-top-color: var(--line-2); }
.item-row.hot { background: #FBF8EF; }
.item-name { font-size: 13.5px; font-weight: 600; letter-spacing: -0.015em; }
.review + .review, .thread-row + .thread-row, .rank-row + .rank-row { border-top-color: var(--line-2); }
.link { color: var(--muted); font-weight: 500; }

/* 사진 자리 */
.thumb { width: 50px; height: 50px; border-radius: 15px; background: #fff; }
.thumb.ph { border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #EFECE4 0 6px, #F8F6F1 6px 12px); display: grid; place-items: center; }
.thumb.ph span { font-size: 8.5px; font-weight: 600; letter-spacing: .06em; color: var(--faint); }
.thumb-wrap .thumb { width: 76px; height: 76px; border-radius: var(--r-img); }
.tick-card .thumb { width: 100%; height: 70px; border-radius: 14px; }
.photo-slot { border-radius: var(--r-img); border: 1px dashed #D8D3C6; background: #FBFAF7; }
.photo-slot.done { border: 1px solid var(--line); }

/* 시간 · 등급 · 배지 */
.timer { height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-family: var(--serif); font-weight: 600; font-size: 12.5px; }
.timer.soft { background: var(--paper-2); color: var(--ink); }
.timer.hot { background: var(--navy); color: var(--gold-soft); }
.grade { min-width: 22px; height: 22px; border-radius: 7px; font-size: 11.5px; font-weight: 700; background: #E7EDF7; color: var(--blue); }
.grade.g-S { background: var(--gold-soft); color: var(--gold-ink); }
.grade.g-A { background: #E7EDF7; color: var(--blue); }
.grade.g-B { background: var(--paper-2); color: var(--muted); }
.grade.g-N { background: var(--navy); color: var(--gold-soft); }
.badge { height: 22px; border-radius: 7px; padding: 0 9px; font-size: 11px; font-weight: 600; }
.b-gold { background: var(--gold); color: #fff; }
.b-goldsoft { background: var(--gold-soft); color: var(--gold-ink); }
.b-blue { background: #E7EDF7; color: var(--blue); }
.b-gray { background: var(--paper-2); color: var(--muted); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-amber { background: var(--amber-soft); color: var(--amber); }
.tag-sm { border-color: var(--line); color: var(--muted); border-radius: 7px; }

/* 버튼 */
.btn { height: 56px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: none; padding: 0 20px; }
.btn-navy { background: var(--navy); color: #F3F0E8; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: none; }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-red { background: var(--red); }
.btn-sm { height: 42px; font-size: 13px; padding: 0 16px; border-radius: 999px; }
.btn-cta { background: var(--navy); color: #F3F0E8; justify-content: space-between; padding: 0 9px 0 24px; box-shadow: 0 12px 28px -10px rgba(7,30,69,.55); }
.btn-cta .arr, .arrow-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-hi); color: var(--navy); display: grid; place-items: center; flex: none; }
.arrow-dot { width: 30px; height: 30px; background: var(--paper-2); }

/* VIP 카드 */
.vip-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.vip-ic { width: 44px; height: 44px; border-radius: 15px; background: var(--navy); color: var(--gold-hi); display: grid; place-items: center; flex: none; }
.vip-card b { display: block; font-size: 14.5px; margin-top: 4px; letter-spacing: -0.02em; }

/* 3단계 */
.step3 { border: 0; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px 8px 16px; }
.step3 .ico { width: 46px; height: 46px; background: var(--paper-2); color: var(--navy); }

/* 거래 결과 카드 */
.tick-card { padding: 11px; flex-basis: 150px; }
.tick-comp b { font-size: 24px; color: var(--navy); }
.gain { color: var(--green); }

/* 입력 · 칩 */
.input, select.input, textarea.input { height: 52px; border-radius: 16px; border: 1px solid var(--line); padding: 0 16px; font-size: 13.5px; background: #fff; }
textarea.input { height: auto; min-height: 76px; padding: 14px 16px; line-height: 1.6; }
.input:focus { border-color: var(--gold); box-shadow: none; }
.chip { height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }
.chip.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.choice { border: 1px solid var(--line); border-radius: 16px; }
.choice.on { border: 1.5px solid var(--gold); background: var(--gold-soft); }
.choice b { color: var(--navy); font-family: var(--serif); }
.flabel, .field label { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.notice { background: var(--gold-soft); border: 0; border-radius: 16px; color: #6A5410; font-size: 12px; }
.notice.red { background: var(--red-soft); color: #8A2C1C; }
.notice.green { background: var(--green-soft); color: var(--green); }
.ai-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.agree-box { border-color: var(--line); border-radius: 16px; }
.metric { background: var(--paper-2); border-radius: 12px; }

/* 하단 탭 */
.tabbar { border-top: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -6px 20px rgba(7,30,69,.06); }
.tabbar a { font-size: 10px; color: var(--faint); }
.tabbar a.on, .tabbar a.on .ti { color: var(--navy); }
.tabbar a.on::before { background: var(--gold); height: 2px; border-radius: 0; }
.tabbar a .count { background: var(--red); }

/* 회원사 탭 · 검색 */
.dtabs { border-bottom-color: var(--line); }
.dtabs > .on { color: var(--navy); border-bottom-color: var(--gold); }
.search .input { background: #fff; border: 1px solid var(--line); }
.icon-box { border-color: var(--line); border-radius: 16px; height: 52px; width: 52px; }
.bidbar { border-top-color: var(--line); }
.kv { font-size: 13px; }
.memo-box { background: var(--paper-2); border: 0; border-radius: 16px; }

/* 상세 진행 바 */
.progress div::before { background: var(--line); }
.progress div.done::before { background: var(--gold); }
.bid { border-radius: var(--r-card); }
.bid.top { border: 1.5px solid var(--gold); background: #FFFDF6; box-shadow: var(--shadow); }
.rank { background: var(--paper-2); color: var(--navy); border-radius: 10px; font-family: var(--serif); }
.done-card { background: var(--navy); border-radius: 24px; }
.done-card .num { color: var(--gold-hi); }

/* 관리자 */
.wide { color: var(--ink); }
.kpi { border-radius: 14px; }
.kpi b { color: var(--navy); font-weight: 600; font-size: 23px; }
.admin-nav { border-bottom-color: var(--line); gap: 18px; }
.admin-nav a.on { border-bottom-color: var(--gold); color: var(--navy); font-weight: 700; }
.tbl th { color: var(--faint); letter-spacing: .04em; border-bottom-color: var(--line); }
.tbl td { border-bottom-color: var(--line-2); }
.panel-h { border-bottom-color: var(--line-2); }
.tabbar.pt { border-radius: 0; border-top: 1px solid var(--line); box-shadow: none; }
.amount { color: var(--navy); }

/* ---- 가로 넘김 화살표 (최근 거래 결과) ---- */
.hscroll { position: relative; }
.hs-btn { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--navy); font-size: 22px; line-height: 1; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(7,30,69,.14); cursor: pointer; opacity: 0; transition: opacity .2s; }
.hs-btn.prev { left: 6px; } .hs-btn.next { right: 6px; }
.hscroll:hover .hs-btn, .hs-btn:focus-visible { opacity: 1; }
.hs-btn:hover { background: var(--navy); color: #fff; }
@media (hover: none) { .hs-btn { display: none; } }
a.review:hover { background: var(--paper); }

/* ---- 후기 목록: 왼쪽 상품 사진 ---- */
a.review.rv-photo { display: flex; gap: 12px; align-items: flex-start; color: inherit; }
.rv-thumb { position: relative; flex: none; }
.rv-thumb .thumb { width: 84px; height: 84px; border-radius: 14px; }
.rv-thumb .grade { position: absolute; left: 5px; top: 5px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.rv-photo .rv-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- 남은 시간 · 임박 ---- */
.timer .ic { margin-right: 3px; flex: none; }
.timer.urgent, .timer.hot.urgent, .timer.soft.urgent { background: #FBE9E6; color: #B83A2E; font-family: var(--sans, inherit); font-weight: 700; animation: urgentPulse 1.6s ease-in-out infinite; }
@keyframes urgentPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,58,46,.0); } 50% { box-shadow: 0 0 0 4px rgba(184,58,46,.12); } }
@media (prefers-reduced-motion: reduce) { .timer.urgent { animation: none; } }

/* ---- 견적 받는 시간 선택 ---- */
.quote-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qh { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: grid; gap: 2px; cursor: pointer; }
.qh b { font-size: 15px; color: var(--navy); }
.qh span { font-size: 11.5px; color: var(--muted, #6B7280); }
.qh.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--gold-soft, #F4EEDA); }

/* ---- 좁은 화면 넘침 방지: 긴 상품명은 말줄임 ---- */
.stack { grid-template-columns: minmax(0, 1fr); }
.item-row .grow { min-width: 0; }
.item-row .item-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.item-row .timer { flex: none; }

/* ---- 우수 회원사 · 로고 · 매니저 ---- */
.avatar.logo { border-radius: 14px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.cover .avatar.logo { border-radius: 18px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(7,30,69,.18); }
.mgr-ph { border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; display: block; background: var(--paper-2, #EFECE4); }
.mgr-ph.empty { display: grid; place-items: center; color: var(--faint, #9AA0A6); }
.pro-card { flex: 0 0 262px; scroll-snap-align: start; padding: 16px; display: grid; gap: 10px; color: inherit; }
.pro-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: var(--gold-ink, #8A6E15); margin-bottom: 2px; }
.pro-name { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-tag { margin: 0; font-size: 13px; line-height: 1.45; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pro-mgr { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--paper, #F7F6F2); }
.pro-card .metrics { margin: 0; }
.mgr-list { display: grid; gap: 10px; margin-bottom: 8px; }
.mgr-card { display: flex; gap: 14px; align-items: center; padding: 14px; }
.upload-row.img { display: flex; align-items: center; gap: 12px; }
.up-prev { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; }
.up-prev.sq { border-radius: 12px; }
.up-prev.empty { display: grid; place-items: center; border: 1.5px dashed var(--line); color: var(--faint, #9AA0A6); }

/* ---- 견적 신청: 사진 체크리스트 · TIP · 브랜드 접두 · 필수 동의 ---- */
.photo-check { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper, #F7F6F2); border: 1px solid var(--line); }
.photo-check b { display: flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--navy); }
.photo-check ul { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted, #6B7280); display: grid; gap: 3px; }
.tip-link { width: 100%; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 14px; background: var(--gold-soft, #F4EEDA); color: var(--gold-ink, #8A6E15); font-weight: 800; font-size: 13.5px; border: 0; cursor: pointer; }
.tip-link span { font-size: 18px; }
.input.with-prefix { display: flex; align-items: center; gap: 8px; padding-top: 0; padding-bottom: 0; }
.input.with-prefix .prefix { flex: none; padding: 5px 10px; border-radius: 8px; background: var(--paper-2, #EFECE4); font-size: 13px; font-weight: 700; color: var(--navy); }
.input.with-prefix input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: inherit; padding: 13px 0; }
.sell-agree .check { align-items: flex-start; line-height: 1.55; font-size: 12.5px; }
.sell-agree .check input { margin-top: 3px; flex: none; }
.sell-agree .req { color: var(--navy); }
.sell-agree em { font-style: normal; color: #B83A2E; font-weight: 700; }

/* ---- 거래 결과 상세 ---- */
.result-hero { background: linear-gradient(135deg, #071E45, #0F2B5B); color: #fff; border: 0; }
.result-hero .muted, .result-hero .tiny.muted { color: #AFC0DD; }
.result-hero .gain { color: #E9D79C; }
.result-hero b[style*="navy"] { color: #E9D79C !important; }
.bid-bars { display: grid; gap: 8px; }
.bb { display: grid; grid-template-columns: 34px 1fr 62px; align-items: center; gap: 8px; font-size: 12px; }
.bb-rank { color: var(--muted, #6B7280); font-weight: 700; }
.bb-track { height: 10px; border-radius: 99px; background: var(--paper-2, #EFECE4); overflow: hidden; }
.bb-track i { display: block; height: 100%; border-radius: 99px; background: #B9C3D6; }
.bb-track i.win { background: linear-gradient(90deg, #C9A227, #D9B84C); }
.bb-gap { text-align: right; font-weight: 700; color: var(--navy); }
.tl { display: grid; gap: 0; }
.tl-row { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.tl-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold, #C9A227); margin-top: 5px; flex: none; position: relative; z-index: 1; }
.tl-row:not(:last-child)::before { content: ''; position: absolute; left: 4.5px; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.tl-row:last-child { padding-bottom: 0; }
.pro-card.wide-card { flex: none; }

/* ---- 판매 아이콘 · PREMIUM ---- */
.tg { display: inline-flex; align-items: center; gap: 3px; height: 21px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; vertical-align: middle; }
.tg .ic { flex: none; }
.tg-gold { background: #F4EEDA; color: #8A6E15; }
.tg-navy { background: #E7ECF5; color: #071E45; }
.tg-gray { background: #EFEDE8; color: #555B66; }
.tg-more { background: transparent; border: 1px solid var(--line); color: var(--muted, #6B7280); }
.prem { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 4px; background: linear-gradient(135deg, #C9A227, #E3C766); color: #071E45; font-family: var(--serif, serif); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; margin-right: 6px; vertical-align: middle; cursor: pointer; }
.item-row.is-prem { box-shadow: inset 3px 0 0 #C9A227; background: linear-gradient(90deg, rgba(244,238,218,.55), rgba(255,255,255,0) 60%); }
.item-row.is-prem .prem { margin-bottom: 3px; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat + .feat { padding-top: 10px; border-top: 1px solid var(--line); }
.feat-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.feat.prem-row .prem { margin-top: 4px; }
.ok-ink { color: #1F8A4C; font-weight: 700; }
.proof-th { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.tag-intro { margin-bottom: 10px; background: linear-gradient(135deg, #FBF8EF, #fff); }
.tag-intro-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 8px; align-items: center; }
.quick-tags { display: flex; gap: 6px; align-items: center; overflow-x: auto; margin-bottom: 10px; padding-bottom: 2px; }
.chip.sm { height: 30px; padding: 0 11px; font-size: 12px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.opt-filter { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; }
.opt-filter.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F7F9FD; }
.opt-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.opt-card.on { border-color: #C9A227; background: #FFFDF6; }
.opt-head { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; background: none; border: 0; cursor: pointer; }
.switch { width: 40px; height: 24px; border-radius: 999px; background: #D9D5CB; position: relative; flex: none; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.switch.on { background: #C9A227; } .switch.on i { left: 19px; }
.prem-progress { border: 1px dashed #C9A227; background: #FFFDF6; }
.prem-progress.done { border-style: solid; background: linear-gradient(135deg, #FBF5E1, #fff); }
.pp { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #EFEDE8; color: var(--muted, #6B7280); }
.pp.ok { background: #E6F3EA; color: #1F8A4C; font-weight: 700; }
.lc-box { background: #FBF5E1; border: 1px solid #E3C766; }
.lc-box b { display: inline-flex; gap: 6px; align-items: center; color: #8A6E15; }
.tick-card { min-width: 0; overflow: hidden; display: block; }
.tick-card .item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 택배 발송 · 배송 조회 ---- */
.ship-addr { padding: 12px 14px; border-radius: 12px; background: var(--paper, #F7F6F2); border: 1px solid var(--line); display: grid; gap: 2px; }
.ship-addr .link { justify-self: start; margin-top: 4px; }
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 4px 0 6px; }
.track-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 6px; height: 2px; background: var(--line); }
.ts { display: grid; justify-items: center; gap: 6px; position: relative; font-size: 10.5px; color: var(--faint, #9AA0A6); text-align: center; }
.ts i { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; }
.ts.on { color: var(--navy); font-weight: 700; }
.ts.on i { background: var(--gold, #C9A227); border-color: var(--gold, #C9A227); }
.ts.cur i { box-shadow: 0 0 0 4px rgba(201,162,39,.22); }

/* ---- 아이콘 말풍선 ---- */
.tip-pop { position: absolute; z-index: 9999; max-width: 240px; padding: 9px 12px; border-radius: 10px; background: #071E45; color: #fff; font-size: 12px; line-height: 1.45; box-shadow: 0 8px 22px rgba(7,30,69,.28); pointer-events: none; display: grid; gap: 2px; }
.tip-pop b { color: #E9D79C; font-size: 12px; }
.tip-pop span { color: #DCE3EF; }
.tip-pop::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -5px; width: 10px; height: 10px; background: #071E45; transform: translateX(-50%) rotate(45deg); }
.tip-pop.below::after { bottom: auto; top: -5px; }
.tg, .prem { cursor: help; }

/* ---- 목록 한 줄 정렬: 상품명·아이콘 줄바꿈 없음, 남은 시간 작게 ---- */
.item-row { gap: 12px; }
.item-row .grow { min-width: 0; }
.item-row .item-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; line-height: 1.4; }
.item-row .item-name .prem { margin-right: 5px; transform: translateY(-1px); }
.item-row .grow > .tiny, .item-row .grow > .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-row .grow > .row { flex-wrap: nowrap !important; overflow: hidden; }
.item-row .grow > .row > * { flex: none; }
.item-row .timer { height: 24px; padding: 0 9px; font-size: 11.5px; letter-spacing: -.01em; }
.item-row .timer .ic { width: 10px; height: 10px; }

/* ---- 목록 2단 구성: 상품명은 전체 폭, 아이콘과 남은 시간은 같은 줄 ---- */
.item-row.r2 { align-items: center; }
.tag-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; min-width: 0; }
.tag-line .tags { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; flex: 1; }
.tag-line .tags > * { flex: none; }
.tag-line .tags > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.tag-line .tags .tg:last-child, .tag-line .tags .tg-more:last-child { flex: none; }
.tag-line .timer { flex: none; }
.tag-line .prem { margin-right: 0; }
.thumb-wrap .prem-ov { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); margin: 0; height: 16px; font-size: 8.5px; padding: 0 6px; box-shadow: 0 2px 6px rgba(7,30,69,.2); white-space: nowrap; }
.timer .ic { margin-right: 3px; }
.tag-line .timer { padding: 0 8px; }
@media (max-width: 400px) {
  .item-row.r2 { gap: 10px; }
  .item-row.r2 .thumb-wrap .thumb { width: 66px; height: 66px; }
  .item-row.r2 .tg { padding: 0 6px; }
}
.thumb-wrap.sm .thumb { width: 50px; height: 50px; }
.thumb-wrap.sm .prem-ov { font-size: 7.5px; height: 14px; padding: 0 4px; letter-spacing: .08em; bottom: -5px; }

/* ---- 로고: MONAR (O 골드) + 태그라인 ---- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.logo .wm-row { display: inline-flex; align-items: baseline; gap: 8px; }
.logo .wm { font-family: var(--serif); font-weight: 600; letter-spacing: .3em; }
.logo .wm em { font-style: normal; color: var(--gold, #C9A227); }
.topbar.light .logo .wm { color: var(--navy, #071E45); }
.logo .tagline { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: #6B7280; margin-left: 1px; }
.login-logo { display: flex; justify-content: center; margin: 14px 0 8px; }
.login-logo .logo { align-items: center; gap: 6px; }
.login-logo .logo .wm { font-size: 34px; letter-spacing: .34em; margin-right: -.34em; }
.login-logo .logo .tagline { font-size: 13px; letter-spacing: .3em; margin-right: -.3em; }
.topbar.light .logo .wm { font-size: 23px; }
.topbar.light .logo .tagline { font-size: 10px; letter-spacing: .36em; }

/* ---- 관리자: 우수 회원사 노출 순서 ---- */
.feat-admin { display: grid; }
.fa-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.fa-row + .fa-row { border-top: 1px solid var(--line); }
.fa-no { width: 22px; text-align: center; font-family: var(--serif); font-weight: 700; color: var(--gold-ink, #8A6E15); }
.fa-btns { display: flex; gap: 6px; align-items: center; }
.icon-sq { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 12px; cursor: pointer; }
.icon-sq:disabled { opacity: .3; cursor: default; }
.icon-sq:not(:disabled):hover { background: var(--navy); color: #fff; }

/* ---- 정산 청구 상태 · 제휴사 파트너 센터 ---- */
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; width: auto; display: inline-flex; align-items: center; }
.bulk-bar { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 10px 14px; border-radius: 12px; background: #071E45; color: #fff; }
.bulk-bar .muted { color: #C3CEE3; }
.bulk-bar .btn-sm { width: auto; }
tr.opened > td { background: #F7F9FD; }
tr.bill-detail > td { padding: 0 12px 12px; background: #F7F9FD; }
.tbl.inner { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.tbl.inner th, .tbl.inner td { font-size: 12.5px; }
.bill-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bs { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; display: grid; gap: 4px; justify-items: center; text-align: center; }
.bs b { font-size: 16px; } .bs span:last-child { font-size: 10.5px; color: var(--muted, #6B7280); }
.bs.warn { border-color: #E9B4AC; background: #FBF1EF; }
.funnel { display: grid; gap: 10px; padding: 16px; }
.fn { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 12px; }
.fn-bar { height: 34px; border-radius: 10px; background: linear-gradient(90deg, #0046FF, #4A7BFF); color: #fff; display: flex; align-items: center; padding: 0 12px; }
.wide.partner .admin-nav a.on { border-color: #0046FF; color: #0046FF; }
.tbl.inner td, .tbl.inner th { white-space: nowrap; }
.tbl.inner td a { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.tip-pop[hidden] { display: none; }
.card.bid { cursor: pointer; } .card.bid:hover { box-shadow: 0 0 0 1px var(--gold, #C9A227) inset; }

/* ---- 입찰 카드 2줄 정렬: 윗줄 순위·로고·이름·금액 / 아랫줄 지표·판매하기 ---- */
.card.bid.v2 { display: grid; gap: 10px; align-items: stretch; }
.bid-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bid-top .rank { flex: none; }
.bid-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; }
.bid-name b { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.bid-name .badge { flex: none; }
.bid-top .amount { flex: none; margin-left: auto; }
.bid-bottom { display: flex; align-items: center; gap: 10px; padding-left: 2px; }
.bid-metrics { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--muted, #6B7280); }
.bid-metrics > span { white-space: nowrap; }
.bid-metrics .badge { font-size: 10.5px; }
.bid-bottom .btn { flex: none; }
@media (max-width: 400px) { .bid-metrics .hide-sm { display: none; } }

/* ---- 약속가 지급률 설명 ---- */
.has-tip { cursor: help; }
.has-tip b { font-weight: 800; }
.pay-explain { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: #EEF5F0; color: #1F5E3A; font-size: 12.5px; line-height: 1.55; cursor: help; }
.pay-explain b { color: #1F8A4C; }
.pay-explain .ic { vertical-align: -2px; margin-right: 2px; }

/* ---- 로고 규격 (MONAR_logotype 기본형): 자간 0.30em, 라이트 #071E45 + O #C9A227, 네이비 지면 #F3F0E8 + O #D9B84C ---- */
.logo .wm { letter-spacing: .3em; font-weight: 600; }
.topbar.light .logo .wm, .login-logo .logo .wm { color: #071E45; }
.topbar.light .logo .wm em, .login-logo .logo .wm em { color: #C9A227; }
.topbar:not(.light) .logo .wm { color: #F3F0E8; }
.topbar:not(.light) .logo .wm em { color: #D9B84C; }
.bid-amt { flex: none; margin-left: auto; text-align: right; line-height: 1.15; }
.bid-amt .tiny { margin-top: 2px; }
.feat-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #F4EEDA; color: #8A6E15; font-size: 10px; display: inline-grid; place-items: center; }
.bid-metrics { flex-wrap: nowrap; overflow: hidden; }

/* ---- 로고 정렬: 태그라인을 워드마크 M~R 폭에 양끝 맞춤 ---- */
.logo { flex-direction: row; align-items: flex-start; gap: 8px; }
.logo .wm-block { display: inline-grid; grid-template-columns: max-content; row-gap: 3px; }
.logo .wm { margin-right: -.3em; } /* 마지막 글자(R) 뒤 자간 제거 → 실제 글자 폭 기준 */
.logo .tagline { display: block; width: 100%; margin: 0; letter-spacing: 0; text-align: justify; text-align-last: justify; white-space: nowrap; }
.logo small { align-self: flex-start; margin-top: 6px; margin-left: 6px; }
.login-logo .logo { flex-direction: column; align-items: center; }
.login-logo .logo .wm { margin-right: -.34em; }
.login-logo .logo .tagline { margin: 0; letter-spacing: 0; }
.logo .tagline { display: flex; justify-content: space-between; text-align: left; }
.logo .tagline i { width: 0; }

/* ---- 로고 규정 (시안): 태그라인 남색·볼드, 기본 자간, MONAR 폭의 88%, 가운데 정렬 ---- */
.logo .tagline { display: block; width: auto; justify-self: center; text-align: center; text-align-last: auto; letter-spacing: -.01em; font-family: var(--sans); font-weight: 700; color: #071E45; white-space: nowrap; line-height: 1.2; margin: 0; }
.topbar:not(.light) .logo .tagline { color: #F3F0E8; }
.logo .wm-block { justify-items: center; }
.login-logo .logo .tagline { letter-spacing: -.01em; margin: 2px 0 0; }
.topbar.light .logo .wm { font-size: 29px; }
/* 태그라인을 워드마크에 더 붙임 */
.logo .wm { line-height: 1; }
.logo .wm-block { row-gap: 0; }
.logo .tagline { margin-top: 4px; }
.login-logo .logo .tagline { margin-top: 6px; }
/* 워드마크 자간 축소: 0.30em → 0.20em */
.logo .wm { letter-spacing: .2em; margin-right: -.2em; }
.login-logo .logo .wm { letter-spacing: .2em; margin-right: -.2em; }
.logo .tagline { margin-top: 6px; }
.login-logo .logo .tagline { margin-top: 9px; }

/* ---- 회원사 입구 (고객 로그인 하단) ---- */
.partner-entry { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted, #6B7280); }
.partner-entry a { color: var(--navy, #071E45); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.partner-entry i { font-style: normal; color: var(--line); }

/* ---- 시연 메뉴 숨김 ---- */
.bar-hidden #proto-bar { display: none; }
#bar-toggle { position: fixed; left: 10px; bottom: 10px; z-index: 9000; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(7,30,69,.15); background: rgba(255,255,255,.85); color: #6B7280; font-size: 11px; opacity: .45; cursor: pointer; transition: opacity .2s; }
#bar-toggle:hover { opacity: 1; }
.shot #bar-toggle { display: none; }
@media (max-width: 640px) { #bar-toggle { bottom: 88px; } }

/* ---- 구매 증빙 복수 등록 ---- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.proof-tile { position: relative; aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--line); background: #fff; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--muted, #6B7280); cursor: pointer; overflow: hidden; }
.proof-tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.proof-tile .pt-label { font-size: 11px; font-weight: 700; }
.proof-tile.done { border: 1px solid var(--line); }
.proof-tile.done img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof-tile.done .pt-label { position: absolute; left: 4px; right: 4px; bottom: 4px; background: rgba(31,138,76,.92); color: #fff; border-radius: 6px; padding: 2px 4px; text-align: center; }
.pt-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(7,30,69,.75); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.proof-ths { display: flex; gap: 6px; flex: none; }

/* ---- 감가 절차 ---- */
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.grid3 .btn { padding-left: 6px; padding-right: 6px; font-size: 13px; }
.deadline-box { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #FBF5E1; color: #6B5310; font-size: 12.5px; line-height: 1.5; }
.deadline-box .ic { flex: none; margin-top: 2px; }
.deadline-box b[data-timer] { white-space: nowrap; }
.tl-row i.adm { background: #071E45; }
.tl-row i.cus { background: #1F8A4C; }

a.logo { color: inherit; text-decoration: none; cursor: pointer; }

/* ---- 공통 푸터 ---- */
.site-footer { margin: 28px 0 0; padding: 22px 20px 96px; border-top: 1px solid var(--line); background: #F1EFE9; color: #6B7280; font-size: 11.5px; line-height: 1.6; }
.site-footer .ft-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.site-footer .ft-links a { color: #374151; font-size: 12px; }
.site-footer .ft-links b { font-weight: 800; }
.site-footer .ft-info { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.site-footer .ft-info b { color: #374151; width: 100%; font-size: 12px; }
.site-footer .ft-info span { white-space: nowrap; }
.site-footer .ft-note { margin: 10px 0 0; font-size: 11px; }
.site-footer .ft-copy { margin: 8px 0 0; font-size: 10.5px; color: #9AA0A6; }
