@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700;900&display=swap');

:root {
  --ink: #171B1F;
  --ink-soft: #2B3138;
  --concrete: #E7E4DC;
  --concrete-deep: #D8D4C8;
  --paper: #F6F4EF;
  --yellow: #F4B400;
  --yellow-deep: #C68F00;
  --steel: #3A5068;
  --steel-light: #6C8299;
  --line: rgba(23, 27, 31, 0.12);
  --radius: 4px;
  --font-display: 'Noto Sans KR', sans-serif;
  --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Util bar (domain strip) ---------- */
.util-bar {
  background: var(--ink-soft);
  color: #9CA3AA;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.util-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  gap: 12px;
  flex-wrap: wrap;
}
.util-bar-label { letter-spacing: .04em; }
.util-domains { display: flex; align-items: center; gap: 8px; color: #C9CDD2; font-weight: 600; }
.util-domains strong { color: var(--yellow); font-weight: 800; }
.util-domains .sep { color: #565D64; }
@media (max-width: 640px) {
  .util-bar-label { display: none; }
  .util-bar-inner { justify-content: center; height: auto; padding: 6px 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--yellow);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span {
  color: var(--yellow);
}
.nav-main {
  display: flex;
  gap: 30px;
}
.nav-main a {
  color: #C9CDD2;
  font-size: 14.5px;
  font-weight: 600;
  transition: color .15s;
}
.nav-main a:hover { color: #fff; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-username {
  color: #C9CDD2;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #9CA3AA;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: color .15s, background .15s;
}
.nav-logout-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-logout-btn svg { width: 15px; height: 15px; display: block; }
.nav-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #C9CDD2;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.nav-logout-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.32);
}

/* 모바일 햄버거 메뉴 버튼 (데스크톱에서는 숨김) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 4px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}
.btn-primary:hover { background: #ffc633; }
.btn-outline {
  background: transparent;
  border-color: #4A525A;
  color: #E7E4DC;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-soft); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-ghost-steel {
  background: transparent;
  border-color: var(--steel);
  color: var(--steel);
}
.btn-ghost-steel:hover { background: var(--steel); color: #fff; }
/* 밝은(흰색/콘크리트) 배경 위에서 쓰는 아웃라인 버튼 — .btn-outline은 어두운 헤더 전용이라
   흰 카드 위에 그대로 쓰면 글자가 거의 안 보이는 문제가 있어 별도로 분리 */
.btn-outline-dark {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--steel); color: var(--steel); }
.btn-danger {
  background: #fff;
  border-color: #E3B0A6;
  color: #C4442E;
}
.btn-danger:hover { background: #FBEDEA; }

/* ---------- Policy document (이용약관 등) ---------- */
.policy-doc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
}
.policy-doc h1 { font-size: 24px; margin: 0 0 6px; }
.policy-doc .policy-meta { color: #8A9099; font-size: 13px; margin-bottom: 30px; }
.policy-doc h2 {
  font-size: 17px;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.policy-doc h3 { font-size: 15px; margin: 26px 0 8px; color: var(--steel); }
.policy-doc p { margin: 0 0 12px; }
.policy-doc ol, .policy-doc ul { margin: 0 0 14px; padding-left: 22px; }
.policy-doc li { margin-bottom: 6px; }
.policy-doc hr { border: none; border-top: 1px solid var(--line); margin: 30px 0; }
.policy-doc .policy-note {
  background: var(--concrete);
  border-left: 3px solid var(--yellow);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.policy-doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 13.5px; }
.policy-doc table th, .policy-doc table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(23,27,31,.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 300; padding: 20px;
}
.modal-box {
  background: #fff; border-radius: 8px; width: 100%; max-width: 420px;
  padding: 24px; max-height: 88vh; overflow-y: auto;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 480px;
  height: 480px;
  background: repeating-linear-gradient(135deg, rgba(244,180,0,.08) 0 14px, transparent 14px 28px);
  border-radius: 50%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .06em;
  margin-bottom: 18px;
  border: 1px solid rgba(244,180,0,.4);
  padding: 6px 12px;
  border-radius: 100px;
}
.hero-eyebrow::before { content: "●"; font-size: 8px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 720px;
  position: relative;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero p.lead {
  font-size: 17px;
  color: #C9CDD2;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
}

/* Nameplate stat cards - signature element */
.plate-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.plate {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 20px 22px;
  position: relative;
}
.plate::before, .plate::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #565D64;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
}
.plate::before { top: 10px; left: 10px; }
.plate::after { top: 10px; right: 10px; }
.plate-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  color: var(--yellow);
  letter-spacing: -.01em;
}
.plate-label {
  font-size: 12.5px;
  color: #9CA3AA;
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- Section ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--concrete); }
.section-head { margin-bottom: 42px; max-width: 640px; }
.section-head .eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--steel);
  letter-spacing: .06em;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-head p { color: var(--ink-soft); font-size: 15px; }

/* Process steps - real sequence */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}
.process-step {
  padding: 26px 20px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .step-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--yellow-deep);
  background: var(--ink);
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 16.5px; margin: 0 0 8px; }
.process-step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* Role-based usage flow (회원별 이용 절차 안내) */
.role-flow { display: flex; flex-direction: column; gap: 22px; }
.role-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.role-row.is-equip { background: #fff; }
.role-intro {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
}
.role-row:nth-child(1) .role-intro { background: #F1F4F7; }
.role-row:nth-child(2) .role-intro { background: #FFF8E8; }
.role-icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.role-row:nth-child(1) .role-icon-badge { background: var(--steel); }
.role-row:nth-child(2) .role-icon-badge { background: var(--yellow-deep); }
.role-icon-badge svg { width: 26px; height: 26px; }
.role-intro h3 { font-family: var(--font-display); font-weight: 900; font-size: 18px; margin: 0; line-height: 1.3; }
.role-intro h3 span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-top: 2px; }
.role-intro p { font-size: 12.8px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.role-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.role-step {
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.role-step:last-child { border-right: none; }
.role-step-top { display: flex; align-items: center; gap: 9px; }
.role-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12.5px;
  color: #fff;
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.role-row:nth-child(1) .role-step-num { background: var(--steel); }
.role-row:nth-child(2) .role-step-num { background: var(--yellow-deep); }
.role-step h4 { font-size: 14.5px; margin: 0; }
.role-illustration {
  width: 100%;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.role-row:nth-child(1) .role-illustration { background: #F7F9FA; }
.role-row:nth-child(2) .role-illustration { background: #FFFBF0; }
.role-illustration svg { width: 100%; height: 100%; }
.role-step p { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.role-step-arrow {
  position: absolute;
  right: -11px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  z-index: 2;
  font-size: 12px;
}

@media (max-width: 880px) {
  .role-row { grid-template-columns: 1fr; }
  .role-intro { border-right: none; border-bottom: 1px solid var(--line); flex-direction: row; }
  .role-steps { grid-template-columns: 1fr 1fr; }
  .role-step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .role-step:nth-child(2n) { border-right: none; }
  .role-step-arrow { display: none; }
}


/* Card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 13.8px; color: var(--ink-soft); margin: 0; }
.card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.tag-general { background: rgba(58,80,104,.12); color: var(--steel); }
.tag-equip { background: rgba(244,180,0,.18); color: var(--yellow-deep); }

/* CTA band */
.cta-band {
  background: var(--yellow);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--ink);
}
.cta-band p { color: var(--ink-soft); margin: 0 0 24px; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #9CA3AA;
  padding: 44px 0 30px;
  font-size: 13px;
}
.site-footer .logo { margin-bottom: 14px; }
.footer-meta { line-height: 1.9; }
.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Auth / Form pages ---------- */
.auth-shell {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--concrete);
  padding: 60px 20px;
}
.auth-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 36px;
}
.auth-box h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  margin: 0 0 6px;
}
.auth-box .sub { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field .hint {
  font-size: 12px;
  color: #8A9099;
  margin-top: 6px;
}
.field .hint.err { color: #C4442E; }
.field .hint.ok { color: #2E8B57; }
.input-row { display: flex; gap: 8px; }
input[type=text], input[type=password], input[type=tel], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: #fff;
}
.form-note {
  background: var(--concrete);
  border-left: 3px solid var(--steel);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-radius: 0 4px 4px 0;
  margin-bottom: 22px;
}
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.auth-switch a { color: var(--steel); font-weight: 700; }

/* ---------- Mypage ---------- */
.page-shell { padding: 40px 0 90px; min-height: calc(100vh - 68px); }
.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.page-title-row h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 100px;
}
.badge-general { background: rgba(58,80,104,.12); color: var(--steel); }
.badge-equip { background: rgba(244,180,0,.2); color: var(--yellow-deep); }
.badge-pending { background: #F1E4D0; color: #9A6A1B; }
.badge-open { background: #DCEFE1; color: #226C3A; }
.badge-done { background: #E5E5E5; color: #55585C; }

.mypage-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.side-nav {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.side-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.side-nav a.active { background: var(--ink); color: #fff; }
.side-nav a:hover:not(.active) { background: var(--concrete); }

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th {
  text-align: left;
  width: 150px;
  padding: 16px 10px;
  font-size: 13.5px;
  color: #8A9099;
  font-weight: 600;
}
.info-table td { padding: 16px 10px; font-size: 14.5px; }

table.list-table { width: 100%; border-collapse: collapse; font-size: 13.8px; }
table.list-table thead th {
  text-align: left;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 12.5px;
}
table.list-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
table.list-table tbody tr:hover { background: var(--concrete); }

.tabs { display: flex; gap: 6px; margin-bottom: 20px; border-bottom: 2px solid var(--line); }
.tabs button {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #8A9099;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tabs button.active { color: var(--ink); border-bottom-color: var(--yellow); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }

/* ---------- Auction cards (진행중인 역경매 — honestfund형 카드) ---------- */
.auction-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.auction-toolbar select, .auction-toolbar input[type=text] {
  width: auto;
  min-width: 160px;
}
.auction-count { margin-left: auto; font-size: 13px; color: #8A9099; font-weight: 600; }

.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.auction-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s, transform .15s;
}
.auction-card:hover { border-color: var(--steel); transform: translateY(-2px); }
.auction-card::before, .auction-card::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--concrete-deep);
  top: 9px;
}
.auction-card::before { left: 9px; }
.auction-card::after { right: 9px; }

.auction-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.auction-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(58,80,104,.12);
  color: var(--steel);
  letter-spacing: .01em;
}
.auction-tag-dday {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12.5px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--yellow);
}
.auction-tag-dday.urgent { background: #C4442E; color: #fff; }

.auction-card h3 {
  font-size: 17px;
  margin: 0;
  line-height: 1.35;
}
.auction-card .auction-meta {
  font-size: 12.8px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auction-card .auction-meta b { color: var(--ink); font-weight: 700; }

/* 마감까지 남은시간 게이지 (progress) */
.gauge { margin-top: 2px; }
.gauge-track {
  height: 6px;
  border-radius: 100px;
  background: var(--concrete);
  overflow: hidden;
}
.gauge-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 100px;
}
.gauge-fill.urgent { background: #C4442E; }
.gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #8A9099;
  margin-top: 6px;
  font-weight: 600;
}

.auction-stat-row {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 2px;
}
.auction-stat {
  flex: 1;
}
.auction-stat + .auction-stat { border-left: 1px solid var(--line); padding-left: 12px; margin-left: 12px; }
.auction-stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--ink);
}
.auction-stat .num.accent { color: var(--yellow-deep); }
.auction-stat .lbl { font-size: 11px; color: #8A9099; font-weight: 600; margin-top: 2px; }

.auction-card .btn { margin-top: 2px; }
.auction-empty {
  text-align: center;
  padding: 70px 20px;
  color: #8A9099;
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: 14px;
}

/* ---------- Auction detail ---------- */
.detail-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 30px 26px;
  margin-bottom: 28px;
}
.detail-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.detail-info-grid .di {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--line);
}
.detail-info-grid .di:last-child { border-right: none; }
.detail-info-grid .di .lbl { font-size: 11.5px; color: #8A9099; font-weight: 700; margin-bottom: 4px; }
.detail-info-grid .di .val { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.detail-info-grid .di .val.muted { color: #8A9099; font-weight: 500; font-size: 13px; }

.bid-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.bid-section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  margin: 0;
}
.bid-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.bid-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
}
.bid-row.is-lowest { border-color: var(--yellow); background: #FFFBF0; }
.bid-row.is-matched { border-color: #226C3A; background: #F2FAF4; }
.bid-rank {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
}
.bid-row.is-lowest .bid-rank { background: var(--yellow); color: var(--ink); }
.bid-equip { font-size: 14px; font-weight: 700; }
.bid-equip .sub { display: block; font-size: 12px; font-weight: 500; color: #8A9099; margin-top: 2px; }
.bid-price { font-family: var(--font-display); font-weight: 900; font-size: 17px; color: var(--ink); text-align: right; white-space: nowrap; }
.bid-date { font-size: 12.5px; color: #8A9099; text-align: right; white-space: nowrap; }
.bid-empty { color: #8A9099; font-size: 13.5px; padding: 26px 0; text-align: center; border: 1px dashed var(--line); border-radius: 6px; }

.bid-form {
  background: var(--concrete);
  border-radius: 6px;
  padding: 22px;
}
.bid-form h3 { margin: 0 0 14px; font-size: 15.5px; }

@media (max-width: 880px) {
  .auction-grid { grid-template-columns: 1fr; }
  .detail-info-grid { grid-template-columns: 1fr 1fr; }
  .detail-info-grid .di { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 4px; }
  .bid-row { grid-template-columns: 32px 1fr; grid-template-areas: "rank equip" "rank price" "rank date"; row-gap: 4px; }
  .bid-price, .bid-date { text-align: left; }
}

@media (max-width: 880px) {
  .plate-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .grid-3, .grid-2, .field-grid { grid-template-columns: 1fr; }
  .mypage-grid { grid-template-columns: 1fr; }
  .side-nav { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 12px; display: flex; overflow-x: auto; gap: 6px; }
  .side-nav a { white-space: nowrap; margin-bottom: 0; }

  /* 햄버거 메뉴: 기본은 숨김, .open일 때만 헤더 아래로 드롭다운 */
  .nav-toggle { display: flex; }
  .site-header .wrap { flex-wrap: wrap; height: auto; min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
  .nav-main {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 3;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 14px;
    padding-top: 10px;
  }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
}

