/* 중고장터 (archive-fwd_market / single-fwd_market / page-market-write) */
.mk {
  --ink: #16191d; --text: #1d2125; --muted: #646b74; --faint: #9aa0a8;
  --line: #e3e5e8; --soft: #eff0f2; --bg: #f5f6f7; --card: #fff;
  --brand: #f08a00; --brand-hover: #ff9d1f; --brand-tint: #fff4e6; --brand-text: #c46f00;
  --red: #c62828; --red-bg: #fdecec; --green: #2e7d4f; --green-bg: #e8f5ee; --blue: #1f5fa8; --blue-bg: #eaf2fb;
  --head-h: 56px;
  color: var(--text); line-height: 1.5;
}
.mk-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mk a { color: inherit; }
.mk button, .mk input, .mk select, .mk textarea { font-family: inherit; }

/* 버튼 */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: .875rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; text-decoration: none; }
.mk-btn:hover { border-color: #c5c9ce; }
.mk-btn-brand { background: var(--brand); border-color: var(--brand); color: #111; }
.mk-btn-brand:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.mk-btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-btn-dark:hover { background: #2a2f36; }
.mk-btn-danger { color: var(--red); }
.mk-btn-danger:hover { border-color: var(--red); }
.mk-btn-lg { height: 48px; padding: 0 22px; font-size: .95rem; }
.mk-btn-block { width: 100%; }

/* 알림 */
.mk-alert { padding: 12px 16px; border-radius: 8px; font-size: .875rem; margin-bottom: 16px; border: 1px solid; }
.mk-alert.ok { background: var(--green-bg); border-color: #bfe1cd; color: #1d5c39; }
.mk-alert.err { background: var(--red-bg); border-color: #f3c4c4; color: #8e1c1c; }

/* ── 목록 ── */
.mk-head { background: var(--card); border-bottom: 1px solid var(--line); }
.mk-head .mk-wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 32px; padding-bottom: 20px; flex-wrap: wrap; }
.mk-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--brand-text); text-transform: uppercase; margin-bottom: 6px; }
.mk-head h1 { font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.mk-head p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.mk-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.mk-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 4px; }
.mk-cats::-webkit-scrollbar { display: none; }
.mk-cat { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .84rem; font-weight: 600; color: #3d434a; text-decoration: none; }
.mk-cat:hover { border-color: #c5c9ce; }
.mk-cat.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.mk-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 0 18px; }
.mk-search { position: relative; flex: 1 1 260px; }
.mk-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.mk-search input { width: 100%; height: 40px; padding: 0 12px 0 38px; }
.mk-input, .mk-search input, .mk-select { height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: .875rem; color: var(--text); padding: 0 12px; outline: none; }
.mk-input:focus, .mk-search input:focus, .mk-select:focus, .mk-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.mk-region { width: 130px; }
.mk-check { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #3d434a; cursor: pointer; white-space: nowrap; user-select: none; }
.mk-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.mk-result { font-size: .82rem; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mk-tabs { display: flex; gap: 4px; }
.mk-tabs a { font-size: .82rem; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 6px; text-decoration: none; }
.mk-tabs a.on, .mk-tabs a:hover { background: var(--soft); color: var(--ink); }

.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.mk-card { display: block; text-decoration: none; color: inherit; }
.mk-thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); border: 1px solid var(--soft); }
.mk-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.mk-card:hover .mk-thumb img { transform: scale(1.03); }
.mk-card.is-sold .mk-thumb img { filter: grayscale(.6); opacity: .55; }
.mk-flag { position: absolute; left: 8px; top: 8px; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.mk-flag-reserved { background: var(--green); color: #fff; }
.mk-flag-sold { background: var(--ink); color: #fff; }
.mk-photo-n { position: absolute; right: 8px; bottom: 8px; font-size: .7rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 2px 7px; border-radius: 10px; }
.mk-card-body { padding: 10px 2px 0; }
.mk-card-title { font-size: .92rem; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
.mk-card-meta { font-size: .78rem; color: var(--faint); margin-top: 3px; }
.mk-card-price { font-size: 1rem; font-weight: 800; color: var(--ink); margin-top: 3px; font-variant-numeric: tabular-nums; }
.mk-card-price.is-free { color: var(--brand-text); }
.mk-card.is-sold .mk-card-price { color: var(--faint); }
.mk-card-stats { display: flex; gap: 10px; font-size: .76rem; color: var(--faint); margin-top: 4px; min-height: 1em; }
.mk-card-stats .on { color: var(--red); }

.mk-empty { text-align: center; padding: 72px 16px; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 12px; }
.mk-empty b { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.mk-empty .mk-btn { margin-top: 18px; }
.mk-pager { display: flex; justify-content: center; gap: 4px; margin: 40px 0 8px; flex-wrap: wrap; }
.mk-pager .page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: .85rem; color: #3d434a; text-decoration: none; }
.mk-pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-pager .dots { border: none; background: none; }
.mk-footnote { font-size: .8rem; color: var(--faint); margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.mk-footnote a { color: var(--brand-text); font-weight: 600; text-decoration: none; }

/* ── 상세 ── */
.mk-crumb { font-size: .82rem; color: var(--faint); padding: 18px 0 14px; }
.mk-crumb a { color: var(--muted); text-decoration: none; }
.mk-crumb a:hover { color: var(--ink); }
.mk-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.mk-gallery { position: sticky; top: calc(var(--head-h) + 16px); }
.mk-main-img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.mk-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mk-slides::-webkit-scrollbar { display: none; }
.mk-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; background: #0f1113; cursor: zoom-in; }
.mk-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; font-size: 1.1rem; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mk-nav-btn.prev { left: 12px; } .mk-nav-btn.next { right: 12px; }
.mk-counter { position: absolute; right: 12px; bottom: 12px; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 3px 9px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.mk-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.mk-thumbs button { flex: 0 0 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--soft); }
.mk-thumbs button.on { border-color: var(--brand); }
.mk-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.mk-info-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mk-badge { font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.mk-badge.selling { background: var(--brand-tint); color: var(--brand-text); }
.mk-badge.reserved { background: var(--green-bg); color: var(--green); }
.mk-badge.sold { background: var(--soft); color: var(--muted); }
.mk-info-cat { font-size: .82rem; color: var(--muted); text-decoration: none; }
.mk-info h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.35; word-break: break-all; }
.mk-info-sub { font-size: .82rem; color: var(--faint); margin-top: 6px; }
.mk-price { font-size: 1.9rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.mk-price.is-free { color: var(--brand-text); }
.mk-price small { font-size: .82rem; font-weight: 600; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.mk-spec { display: grid; grid-template-columns: 84px 1fr; gap: 10px 12px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; }
.mk-spec dt { color: var(--faint); }
.mk-spec dd { color: var(--ink); font-weight: 600; }
.mk-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.mk-like { min-width: 92px; }
.mk-like.on { color: var(--red); border-color: #f0b4b4; background: var(--red-bg); }
.mk-like .heart { font-size: 1rem; }
.mk-contact { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--bg); font-size: .85rem; color: #3d434a; word-break: break-all; }
.mk-contact b { color: var(--ink); }
.mk-contact a { color: var(--blue); }

.mk-owner { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mk-owner-title { font-size: .78rem; font-weight: 700; color: var(--faint); letter-spacing: .04em; margin-bottom: 10px; }
.mk-status-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg); padding: 4px; border-radius: 8px; margin-bottom: 10px; }
.mk-status-seg button { height: 34px; border: none; background: none; border-radius: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.mk-status-seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.mk-owner-row { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-owner-row form { display: contents; }
.mk-owner-row .mk-btn { flex: 1; height: 36px; font-size: .82rem; padding: 0 10px; }

.mk-seller { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; }
.mk-seller-av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.mk-seller-av img { width: 100%; height: 100%; object-fit: cover; }
.mk-seller-name { font-size: .95rem; font-weight: 700; color: var(--ink); }
.mk-seller-meta { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.mk-seller-rank { font-size: .7rem; font-weight: 700; color: var(--brand-text); background: var(--brand-tint); padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }

.mk-section { margin-top: 40px; }
.mk-section-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; justify-content: space-between; }
.mk-section-title small { font-size: .82rem; font-weight: 600; color: var(--muted); }
.mk-section-title a { font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.mk-desc { font-size: .95rem; line-height: 1.8; color: #2a2f36; white-space: pre-wrap; word-break: break-word; }
.mk-desc-foot { font-size: .8rem; color: var(--faint); margin-top: 16px; }
.mk-desc-foot button { background: none; border: none; color: var(--faint); text-decoration: underline; cursor: pointer; font-size: .8rem; padding: 0; }
.mk-safety { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #fff8ec; border: 1px solid #f3dcb3; font-size: .82rem; line-height: 1.65; color: #6b4300; }
.mk-safety b { display: block; margin-bottom: 2px; color: #5a3800; }
.mk-safety ul { margin: 4px 0 0 18px; }

.mk-report { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mk-report[hidden] { display: none; }
.mk-report .mk-select, .mk-report .mk-textarea { width: 100%; margin-bottom: 8px; }

/* 문의 댓글 */
.mk-qna { display: flex; flex-direction: column; gap: 2px; }
.mk-q { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--soft); }
.mk-q.is-reply { padding-left: 44px; }
.mk-q-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; font-weight: 800; }
.mk-q-av img { width: 100%; height: 100%; object-fit: cover; }
.mk-q-main { flex: 1; min-width: 0; }
.mk-q-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--faint); }
.mk-q-head b { font-size: .86rem; color: var(--ink); }
.mk-q-seller { font-size: .68rem; font-weight: 700; color: #fff; background: var(--brand); padding: 1px 6px; border-radius: 4px; }
.mk-q-lock { font-size: .7rem; font-weight: 700; color: var(--muted); background: var(--soft); padding: 1px 6px; border-radius: 4px; }
.mk-q-text { font-size: .9rem; color: #2a2f36; margin-top: 4px; line-height: 1.65; word-break: break-word; }
.mk-q-text p { margin: 0; }
.mk-q-text.is-hidden { color: var(--faint); }
.mk-q-reply { background: none; border: none; color: var(--muted); font-size: .78rem; cursor: pointer; padding: 0; margin-top: 4px; }
.mk-qform { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mk-qform textarea { width: 100%; min-height: 84px; resize: vertical; }
.mk-qform-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mk-reply-to { font-size: .8rem; color: var(--brand-text); margin-bottom: 8px; }
.mk-reply-to[hidden] { display: none; }
.mk-reply-to button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .8rem; }
.mk-login-note { padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; font-size: .88rem; color: var(--muted); margin-top: 12px; }
.mk-login-note a { color: var(--brand-text); font-weight: 700; text-decoration: none; }

.mk-grid-sm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 14px; }

/* 사진 확대 */
.mk-lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.mk-lightbox[hidden] { display: none; }
.mk-lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.mk-lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ── 쓰기 ── */
.mk-form-wrap { max-width: 760px; margin: 0 auto; padding: 28px 0 0; }
.mk-form-wrap h1 { font-size: 1.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.mk-form-wrap > p { font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.mk-fieldset { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.mk-fieldset h2 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.mk-field { margin-bottom: 16px; }
.mk-field:last-child { margin-bottom: 0; }
.mk-label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mk-label em { font-style: normal; color: var(--red); margin-left: 2px; }
.mk-label small { font-weight: 500; color: var(--faint); margin-left: 6px; }
.mk-field .mk-input, .mk-field .mk-select { width: 100%; height: 44px; font-size: .92rem; }
.mk-textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: .92rem; line-height: 1.7; color: var(--text); background: var(--card); outline: none; resize: vertical; }
.mk-help { font-size: .78rem; color: var(--faint); margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
.mk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-price-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mk-price-input { position: relative; flex: 1 1 220px; }
.mk-price-input input { padding-right: 34px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.mk-price-input span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.mk-choice { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-choice label { cursor: pointer; }
.mk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.mk-choice span { display: inline-block; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: #3d434a; background: var(--card); }
.mk-choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.mk-choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-tint); }

.mk-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mk-photo, .mk-photo-add { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.mk-photo { background: var(--soft); border: 1px solid var(--line); }
.mk-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-photo .x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(0,0,0,.65); color: #fff; font-size: .9rem; line-height: 1; cursor: pointer; }
.mk-photo .cover { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(22,25,29,.8); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; padding: 3px 0; }
.mk-photo .left { position: absolute; left: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); font-size: .8rem; cursor: pointer; }
.mk-photo-add { border: 1.5px dashed #c5c9ce; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--muted); font-size: .8rem; font-weight: 600; }
.mk-photo-add:hover { border-color: var(--brand); color: var(--brand-text); }
.mk-photo-add b { font-size: 1.5rem; line-height: 1; font-weight: 400; }
.mk-photo-add input { display: none; }
.mk-submit-bar { position: sticky; bottom: 0; background: rgba(245,246,247,.96); backdrop-filter: blur(8px); padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 8px; }
.mk-submit-bar .mk-btn { min-width: 120px; }

@media (max-width: 960px) {
  .mk-grid { grid-template-columns: repeat(3, 1fr); }
  .mk-detail { grid-template-columns: 1fr; gap: 20px; }
  .mk-gallery { position: static; }
}
@media (max-width: 640px) {
  .mk-wrap { padding: 0 16px; }
  .mk-head .mk-wrap { padding-top: 22px; padding-bottom: 14px; }
  .mk-head h1 { font-size: 1.4rem; }
  .mk-grid, .mk-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .mk-region { width: auto; flex: 1 1 110px; }
  .mk-toolbar .mk-select { flex: 1 1 110px; }
  .mk-main-img { border-radius: 0; margin: 0 -16px; }
  .mk-nav-btn { display: none; }
  .mk-price { font-size: 1.6rem; }
  .mk-row2 { grid-template-columns: 1fr; }
  .mk-fieldset { padding: 18px 16px; }
  .mk-submit-bar .mk-btn { flex: 1; }
}
@media (max-width: 480px) { .mk { --head-h: 52px; } }

/* ── 구해요 ── */
.mk-kind-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-top: 6px; }
.mk-kind-tabs a { padding: 12px 18px 10px; font-size: .95rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mk-kind-tabs a:hover { color: var(--ink); }
.mk-kind-tabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.mk-kind-tabs a small { font-size: .78rem; font-weight: 600; color: var(--faint); margin-left: 4px; }
.mk-flag-buy { left: auto; right: 8px; background: var(--blue); color: #fff; }
.mk-wanted { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #eaf2fb, #dde9f7); color: var(--blue); font-size: .8rem; font-weight: 600; }
.mk-wanted b { font-size: 1.25rem; font-weight: 900; letter-spacing: -.02em; }
.mk-card-price small { font-size: .74rem; font-weight: 600; color: var(--muted); }
.mk-badge.buy { background: var(--blue-bg); color: var(--blue); }
.mk-wanted-box { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #eaf2fb, #dde9f7); color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px; }
.mk-wanted-box b { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; }
.mk-wanted-box span { font-size: .9rem; color: #3a6597; }
.mk-kind-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mk-kind-switch a { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; }
.mk-kind-switch a b { display: block; font-size: 1rem; color: var(--ink); }
.mk-kind-switch a span { font-size: .8rem; color: var(--muted); }
.mk-kind-switch a.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--soft); }
@media (max-width: 960px) { .mk-wanted-box { aspect-ratio: auto; min-height: 180px; } }
/* 우선순위 보정: .mk a { color: inherit } 와 공통 입력칸 padding 보다 앞서도록 */
.mk a.mk-btn-dark, .mk .mk-btn-dark { color: #fff; }
.mk a.mk-btn-brand { color: #111; }
.mk .mk-search input { padding-left: 38px; }
