.mkt-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 42px;
  background: radial-gradient(900px 360px at 82% -20%, rgba(151,119,64,.07), transparent 62%), var(--paper);
}
.mkt-hero .ihq-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: end; }
.mkt-hero .ihq-kicker { margin-bottom: 22px; }
.mkt-hero h1 { font-size: 50px; line-height: 1.12; letter-spacing: -.045em; font-weight: 700; margin: 0 0 22px; color: #0e1620; }
.mkt-hero h1 span { color: var(--blue); }
.mkt-hero .ihq-lede { max-width: 33em; margin-bottom: 26px; }

.mkt-stats { border-top: 1px solid var(--gold); padding-top: 14px; }
.mkt-stats > div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mkt-stats b { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--blue); min-width: 34px; }
.mkt-stats span { font-size: 11px; letter-spacing: .05em; color: #5f6975; }
.mkt-stats p { font-size: 9.5px; line-height: 1.8; color: #9aa3ad; margin: 14px 0 0; letter-spacing: .02em; }

.mkt-board { padding: 38px 0 56px; border-top: 1px solid var(--line); }
.mkt-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.mkt-tabs { display: flex; gap: 28px; }
.mkt-tab {
  border: 0; background: transparent; color: #66707b; cursor: pointer;
  font-size: 12.5px; letter-spacing: .04em; padding: 0 0 12px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.mkt-tab b { font-size: 9px; font-weight: 500; letter-spacing: .06em; color: #9aa3ad; margin-left: 6px; vertical-align: 1px; }
.mkt-tab:hover { color: var(--blue); }
.mkt-tab.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.mkt-tab.is-on b { color: var(--blue); }

.mkt-search {
  display: flex; align-items: center; gap: 8px; width: 288px; height: 36px;
  border: 1px solid #d9d3c7; background: #fff; padding: 0 11px; margin-bottom: 8px;
}
.mkt-search svg { width: 15px; height: 15px; stroke: #8a939e; fill: none; stroke-width: 1.6; flex: none; }
.mkt-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11.5px; color: var(--ink); }
.mkt-search input::placeholder { color: #a5adb6; }

.mkt-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.mkt-result-line { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 20px 0 14px; font-size: 9.5px; letter-spacing: .03em; color: #9aa3ad; }
.mkt-result-line span:first-child { color: #4f5a66; }

.mkt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mkt-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6e1d6; border-left: 3px solid var(--gold);
  padding: 20px 22px 16px; min-height: 248px; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mkt-card[data-track="lishang"] { border-left-color: var(--blue); }
.mkt-card:hover { transform: translateY(-2px); border-color: #b9c4d2; box-shadow: 0 12px 26px rgba(20,35,55,.08); }
.mkt-card:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(0,72,157,.28); }

.mkt-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mkt-track { font-size: 9px; letter-spacing: .14em; color: var(--gold); }
.mkt-track.lishang { color: var(--blue); }
.mkt-status { font-size: 9px; letter-spacing: .04em; color: #4f5a66; }
.mkt-status.is-closed { color: #9aa3ad; }

.mkt-card-project { font-size: 10px; letter-spacing: .05em; color: #8a939e; margin: 13px 0 8px; }
.mkt-card-q { font-family: var(--font-serif); font-size: 18.5px; line-height: 1.72; letter-spacing: -.01em; color: #1b2835; margin: 0 0 11px; }
.mkt-card-mentor { font-size: 10.5px; line-height: 1.75; color: #6b7480; margin: 0 0 6px; }
.mkt-card-mentor b { color: #39434e; font-weight: 600; }
.mkt-card-task { font-size: 10px; line-height: 1.7; color: #6b7480; margin: 0 0 14px; }
.mkt-card-task b { font-size: 9px; letter-spacing: .06em; font-weight: 500; color: var(--gold); margin-right: 6px; }
.mkt-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto;
  padding-top: 12px; border-top: 1px solid #f0ece3; font-size: 9.5px; color: #8a939e;
}
.mkt-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 11px; }
.mkt-card-fields { display: flex; flex-wrap: wrap; gap: 5px; }
.mkt-card-fields span { font-size: 9px; color: #6f7883; background: #f6f3ec; border: 1px solid #e9e3d7; padding: 2px 7px; }
.mkt-card-cta { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--blue); white-space: nowrap; }
.mkt-card.is-closed .mkt-card-cta { color: #8a939e; }
.mkt-empty { padding: 42px 0; font-size: 12px; color: #8a939e; }

.mkt-how { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0 46px; }
.mkt-how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; }
.mkt-how-head .ihq-kicker { margin-bottom: 12px; }
.mkt-how-head p { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: #1b2835; margin: 0; }
.mkt-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e8e1d4; border: 1px solid #e8e1d4; }
.mkt-how-grid > div { background: var(--cream); padding: 20px 20px 22px; }
.mkt-how-grid b { display: block; font-size: 9px; letter-spacing: .14em; color: var(--gold); margin-bottom: 8px; }
.mkt-how-grid h3 { font-size: 15px; font-weight: 600; color: #1b2835; margin: 0 0 8px; }
.mkt-how-grid p { font-size: 11px; line-height: 1.8; color: #66707b; margin: 0; }
.mkt-how-foot { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.mkt-how-foot p { font-size: 10.5px; line-height: 1.8; color: #6b7480; margin: 0; max-width: 60em; }
.mkt-how-foot b { color: #39434e; font-weight: 600; }
.mkt-how-foot .ihq-textlink { white-space: nowrap; }

.mkt-sheet {
  position: relative; width: 100%; max-width: 820px; max-height: 90vh; overflow-y: auto;
  background: #fff; padding: 34px 40px 30px; box-shadow: 0 24px 70px rgba(5,15,30,.26);
  border-top: 3px solid var(--blue); outline: none;
}
.mkt-sheet[data-track="liyun"] { border-top-color: var(--gold); }
.mkt-sheet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-right: 28px; }
.mkt-sheet h2 { font-family: var(--font-serif); font-size: 27px; line-height: 1.58; font-weight: 600; letter-spacing: -.01em; color: #172431; margin: 14px 0 8px; }
.mkt-sheet-project { font-size: 10.5px; letter-spacing: .04em; color: #8a939e; margin: 0 0 20px; }

.mkt-mentor { display: flex; align-items: flex-start; gap: 16px; background: #fffdf8; border: 1px solid #e5ddcc; padding: 16px 18px; }
.mkt-mentor-mark {
  width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid #d8d1c3; font-family: var(--font-serif); font-size: 22px; color: var(--gold);
}
.mkt-mentor-name { font-size: 13px; font-weight: 600; color: #1b2835; }
.mkt-mentor-meta { font-size: 10.5px; line-height: 1.8; color: #6b7480; margin-top: 4px; }

.mkt-section { margin-top: 26px; }
.mkt-section > p { font-size: 12px; line-height: 2; color: #4f5a66; margin: 0; }
.mkt-tasklist { list-style: none; margin: 0; padding: 0; counter-reset: mkt-task; }
.mkt-tasklist li {
  position: relative; padding: 0 0 12px 34px; counter-increment: mkt-task;
  font-size: 11.5px; line-height: 1.85; color: #4f5a66;
}
.mkt-tasklist li::before {
  content: counter(mkt-task, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #e3d3b8; color: var(--gold); font-size: 8.5px; letter-spacing: .04em;
}
.mkt-reqtags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.mkt-reqtags span { font-size: 9px; letter-spacing: .04em; color: var(--blue); background: #f8fbff; border: 1px solid #ccd9e8; padding: 2px 7px; }
.mkt-reqlist { margin: 0; padding-left: 16px; font-size: 11.5px; line-height: 1.9; color: #4f5a66; }
.mkt-schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e8e1d4; border: 1px solid #e8e1d4; }
.mkt-schedule > div { background: #fffdf8; padding: 14px 14px 15px; }
.mkt-schedule b { display: block; font-size: 9px; letter-spacing: .1em; color: var(--gold); margin-bottom: 6px; }
.mkt-schedule span { display: block; font-size: 10.5px; line-height: 1.7; color: #4f5a66; }

.mkt-funding { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; padding: 16px 18px; background: #fffdf8; border-left: 3px solid var(--gold); }
.mkt-funding b { display: block; font-size: 13px; color: #1b2835; margin-bottom: 4px; }
.mkt-funding span { font-size: 10px; line-height: 1.7; color: #6b7480; }
.mkt-sheet-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid #efebe2; }
.mkt-sheet-cta p { font-size: 10px; line-height: 1.7; color: #8a939e; margin: 0; max-width: 40em; }
.mkt-sheet-cta .ihq-btn:disabled { background: #c2c8d0; cursor: not-allowed; }

.mkt-modal { z-index: 95; }
.mkt-modal + .ihq-modal { z-index: 100; }
.ihq-footer-admin { color: var(--blue); border-bottom: 1px solid rgba(0,72,157,.3); }
.ihq-footer-admin:hover { color: var(--blue-deep); }

@media (max-width: 1000px) {
  .mkt-hero .ihq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .mkt-hero h1 { font-size: 44px; }
  .mkt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 4px; }
  .mkt-stats > div { border-bottom: 0; border-top: 1px solid var(--gold); }
  .mkt-stats p { grid-column: 1 / -1; margin-top: 10px; }
  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-how-grid { grid-template-columns: 1fr; }
  .mkt-search { width: 100%; }
  .mkt-toolbar { align-items: stretch; }
}

@media (max-width: 640px) {
  .mkt-hero { padding: 38px 0 34px; }
  .mkt-hero h1 { font-size: 34px; }
  .mkt-hero .ihq-lede { font-size: 13.5px; }
  .mkt-stats { grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
  .mkt-stats b { font-size: 24px; }
  .mkt-tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .mkt-tabs::-webkit-scrollbar { display: none; }
  .mkt-tab { font-size: 11.5px; white-space: nowrap; }
  .mkt-board { padding-top: 32px; padding-bottom: 40px; }
  .mkt-card { padding: 18px 18px 14px; min-height: 0; }
  .mkt-card-q { font-size: 16.5px; }
  .mkt-how { padding: 36px 0 38px; }
  .mkt-how-head p { font-size: 18px; }
  .mkt-sheet { padding: 26px 20px 22px; }
  .mkt-sheet h2 { font-size: 22px; }
  .mkt-schedule { grid-template-columns: 1fr; }
  .mkt-funding { grid-template-columns: 1fr; gap: 12px; }
  .mkt-sheet-cta { align-items: flex-start; }
  .mkt-sheet-cta .ihq-btn { width: 100%; }
}
