:root {
  --bg: #eff3ec;
  --paper: #fcfbf7;
  --paper-soft: rgba(255, 253, 249, 0.9);
  --ink: #2d2626;
  --muted: #6b6771;
  --line: rgba(27, 34, 48, 0.14);
  --line-strong: rgba(27, 34, 48, 0.26);
  --salmon: #ef7a5c;
  --teal: #3ca99b;
  --acid: #d8ea4f;
  --sky: #6bb0ff;
  --sand: #f3d8b4;
  --mint: #dceee7;
  --lilac: #cfc9f2;
  --shadow: 0 20px 54px rgba(53, 42, 33, 0.12);
  --shadow-soft: 0 10px 26px rgba(53, 42, 33, 0.08);
  --width: min(1240px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(243, 208, 133, 0.26), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(189, 231, 226, 0.24), transparent 28%),
    radial-gradient(circle at 76% 74%, rgba(219, 230, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f7f1 0%, var(--bg) 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.is-locked { overflow: hidden; }

a { color: inherit; }
a, button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }

.page-wash, .page-grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.page-wash {
  background:
    radial-gradient(circle at 14% 11%, rgba(255, 243, 198, 0.6), transparent 19%),
    radial-gradient(circle at 82% 16%, rgba(221, 245, 239, 0.32), transparent 24%),
    radial-gradient(circle at 72% 82%, rgba(255, 227, 214, 0.2), transparent 22%);
}
.page-grain {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(87, 64, 50, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 64, 50, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
}

.sr, .skip-link {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 99;
  width: auto; height: auto; clip: auto;
  padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 999px;
}

/* ===== topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  width: 100%; padding: 10px max(20px, calc((100vw - var(--width)) / 2));
  background: rgba(250, 249, 244, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 13px; letter-spacing: 0.14em; text-decoration: none;
  padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--acid);
}
.topnav { display: flex; gap: 14px; font-size: 13px; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--ink); }
.stamp {
  margin-left: auto; font-family: "IBM Plex Mono", monospace;
  font-size: 11px; color: var(--muted); white-space: nowrap;
}

main { position: relative; z-index: 1; width: var(--width); margin: 0 auto; padding-bottom: 60px; }

/* ===== hero ===== */
.hero { padding: 34px 0 6px; }
.hero-board {
  position: relative;
  padding: 30px 32px 26px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.hero-board::after {
  content: ""; position: absolute; inset: 8px 8px -8px -8px;
  border: 1.5px dashed var(--line-strong); border-radius: 26px; z-index: -1;
}
.kicker {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px;
  background: var(--mint); border: 1px solid var(--line-strong);
}
.hero h1 {
  margin-top: 12px; font-size: clamp(38px, 6.4vw, 66px);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1;
}
.hero-sub { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 44em; }

.hero-nums { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.num-tile {
  flex: 1 1 130px; min-width: 120px;
  padding: 12px 14px; border-radius: 16px;
  border: 1.5px solid var(--ink); background: var(--paper-soft);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.14);
}
.num-tile b { display: block; font-size: 30px; line-height: 1; font-weight: 900; }
.num-tile span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.num-tile.t-1 { background: #fff6d8; }
.num-tile.t-2 { background: var(--mint); }
.num-tile.t-3 { background: #ffe6dd; }
.num-tile.t-4 { background: #e6edff; }

/* ===== danmu ===== */
.danmu {
  position: relative; margin-top: 16px; overflow: hidden;
  border: 2px solid var(--ink); border-radius: 22px;
  background: var(--ink); padding: 14px 0 32px;
  box-shadow: var(--shadow-soft);
}
.danmu::before, .danmu::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46px; z-index: 2; pointer-events: none;
}
.danmu::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.danmu::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.danmu-lanes { display: grid; gap: 9px; }
.danmu-track {
  display: flex; gap: 12px; width: max-content;
  animation: slide 150s linear infinite;
}
.danmu-track.lane-2 { animation-direction: reverse; }
.danmu-track.lane-3 { animation-delay: -20s; }

/* 三档速度：默认慢（原来 58s 太快，看得眼花） */
.danmu.speed-slow .danmu-track { animation-duration: 210s; }
.danmu.speed-slow .danmu-track.lane-2 { animation-duration: 250s; }
.danmu.speed-slow .danmu-track.lane-3 { animation-duration: 230s; }
.danmu.speed-mid .danmu-track { animation-duration: 130s; }
.danmu.speed-mid .danmu-track.lane-2 { animation-duration: 158s; }
.danmu.speed-mid .danmu-track.lane-3 { animation-duration: 144s; }
.danmu.speed-fast .danmu-track { animation-duration: 72s; }
.danmu.speed-fast .danmu-track.lane-2 { animation-duration: 88s; }
.danmu.speed-fast .danmu-track.lane-3 { animation-duration: 80s; }

.danmu.is-paused .danmu-track,
.danmu.is-hover .danmu-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.danmu-item {
  flex: none; font-size: 14px; color: #fdfcf7;
  padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.danmu-item:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.danmu-item b { font-weight: 700; color: var(--acid); }
.danmu-item:hover b { color: var(--ink); }
.danmu-ctrl {
  position: absolute; right: 10px; bottom: 6px; z-index: 3;
  display: flex; gap: 6px;
}
.danmu-toggle {
  font-size: 11px; padding: 3px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.62); color: #fff;
}
.danmu-toggle:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
@media (prefers-reduced-motion: reduce) {
  .danmu-track { animation: none; }
}

/* ===== blocks ===== */
.block { margin-top: 42px; }
.block-head { margin-bottom: 16px; }
.section-kicker {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase;
}
.block-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; letter-spacing: -0.01em; }
.block-note { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ===== 撮合台 ===== */
.block-match { margin-top: 34px; }
.match-board {
  padding: 24px 26px 22px; border-radius: 22px;
  border: 2px solid var(--ink); background: linear-gradient(180deg, #fffdf2, var(--paper));
  box-shadow: var(--shadow-soft);
}
.match-board .block-head { margin-bottom: 14px; }
.match-form { display: flex; flex-wrap: wrap; gap: 9px; }
.match-input { flex: 1 1 300px; display: flex; }
.match-input input {
  width: 100%; padding: 12px 18px; font-size: 15px;
  border: 1.8px solid var(--ink); border-radius: 999px; background: #fff;
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.12);
}
.match-input input:focus { outline: none; box-shadow: 3px 3px 0 var(--acid); }
.match-go {
  flex: none; padding: 12px 24px; font-size: 15px; font-weight: 700; cursor: pointer;
  border: 1.8px solid var(--ink); border-radius: 999px; background: var(--acid);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.16);
}
.match-go:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(45, 38, 38, 0.18); }
.match-out { margin-top: 16px; }
.match-me {
  padding: 12px 15px; border-radius: 14px;
  border: 1.5px solid var(--ink); background: var(--mint);
}
.match-me b { display: block; font-size: 16px; }
.match-me span { display: block; margin-top: 4px; font-size: 13px; color: #4a4340; }
.match-miss { background: #fff2ec; }
.match-tip { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.reco-list { display: grid; gap: 9px; margin-top: 12px; }
.reco {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left;
  padding: 13px 15px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--paper-soft);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.1);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.reco:hover, .reco:focus-visible {
  transform: translate(-2px, -2px); outline: none;
  box-shadow: 6px 6px 0 rgba(45, 38, 38, 0.14);
}
.reco-rank {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 700;
  border: 1.4px solid var(--ink); border-radius: 999px; background: var(--acid);
}
.reco-body { display: block; flex: 1; min-width: 0; }
.reco-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.reco-top b { font-size: 16px; font-weight: 900; }
.reco-what {
  display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: #4a4340;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.reco-why {
  display: inline-block; margin-top: 7px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: var(--lilac); border: 1.2px solid var(--line-strong);
}
.match-apply { margin: 12px 0 0; }

/* ===== 在招项目一览 ===== */
.proj-list { display: grid; gap: 9px; }
.proj-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 13px 16px; border-radius: 16px;
  border: 1.5px solid var(--ink); background: var(--paper-soft);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.1);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.proj-row:hover, .proj-row:focus-visible {
  transform: translate(-2px, -2px); outline: none;
  box-shadow: 6px 6px 0 rgba(45, 38, 38, 0.14); background: #fffdf2;
}
.proj-main { flex: 1 1 340px; min-width: 0; }
.proj-title { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.proj-title b { font-size: 16px; font-weight: 900; }
.proj-by { font-size: 12px; color: var(--muted); }
.proj-what {
  margin-top: 5px; font-size: 13px; line-height: 1.55; color: #4a4340;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.proj-need { flex: none; display: flex; align-items: center; gap: 7px; }
.proj-more { margin: 12px auto 0; display: block; }

/* ===== gap bars ===== */
.gap-grid { display: grid; gap: 10px; }
.gap-row {
  display: grid; grid-template-columns: 92px 1fr 92px; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  border: 1.5px solid var(--ink); background: var(--paper-soft);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.1);
}
.gap-name { font-weight: 700; font-size: 15px; }
.gap-bars { display: grid; gap: 5px; }
.gap-bar { display: flex; align-items: center; gap: 8px; }
.gap-bar i {
  display: block; height: 15px; border-radius: 4px;
  border: 1.2px solid var(--ink); min-width: 3px;
}
.gap-bar.demand i { background: var(--salmon); }
.gap-bar.supply i { background: var(--teal); }
.gap-bar em {
  font-style: normal; font-family: "IBM Plex Mono", monospace;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.gap-verdict { text-align: right; }
.gap-verdict b {
  display: block; font-size: 20px; font-weight: 900;
  font-family: "IBM Plex Mono", monospace;
}
.gap-verdict span { font-size: 11px; color: var(--muted); }
.gap-row.is-short { background: #fff2ec; }
.gap-row.is-short .gap-verdict b { color: #c8452a; }
.gap-row.is-over { background: #eef7f3; }
.gap-row.is-over .gap-verdict b { color: var(--teal); }
.gap-cta {
  display: inline-flex; margin-top: 4px; font-size: 11px; cursor: pointer;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.7);
}
.gap-cta:hover { background: var(--acid); }
.gap-legend { margin-top: 10px; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; border: 1px solid var(--ink); }
.dot-demand { background: var(--salmon); }
.dot-supply { background: var(--teal); }

/* ===== filters ===== */
/* ⚠️ 别改回 sticky：五组「如果你是…」说明把面板撑到 470px+，
   吸顶会盖掉大半屏组队墙。说明文案是她要的，所以让面板老实待在原位。 */
.filters {
  display: grid; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  border: 1.5px solid var(--ink); background: rgba(252, 251, 247, 0.96);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-soft);
}
.filter-group { display: grid; gap: 6px; }
.filter-group + .filter-group { border-top: 1px dashed var(--line-strong); padding-top: 11px; }
.filter-say {
  margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted);
}
.filter-say b { color: var(--ink); font-weight: 700; }
.filter-say strong { color: var(--ink); }
.filter-hint { color: var(--muted); font-size: 11.5px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-row-main { gap: 12px; }
.seg { display: flex; gap: 0; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg-btn {
  padding: 7px 15px; font-size: 13px; font-weight: 500; cursor: pointer;
  border: 0; background: transparent; border-right: 1.5px solid var(--ink);
}
.seg-btn:last-child { border-right: 0; }
.seg-btn.is-on { background: var(--ink); color: #fff; font-weight: 700; }
.search { flex: 1 1 240px; display: flex; }
.search input {
  width: 100%; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 13px;
}
.search input:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 5px 11px; font-size: 12px; cursor: pointer;
  border: 1.4px solid var(--line-strong); border-radius: 999px; background: #fff;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.chip small { opacity: 0.6; margin-left: 3px; font-family: "IBM Plex Mono", monospace; }
.ghost-btn {
  margin-left: auto; padding: 5px 12px; font-size: 12px; cursor: pointer;
  border: 1.4px solid var(--ink); border-radius: 999px; background: var(--sand);
}
.ghost-btn[aria-pressed="true"] { background: var(--acid); font-weight: 700; }
.ghost-btn-clear { background: #fff; }
.result-line {
  margin: 14px 0 12px; font-size: 13px; color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.result-line b { color: var(--ink); font-size: 15px; }

/* ===== wall (masonry) ===== */
.wall { columns: 3 300px; column-gap: 14px; }
.card {
  break-inside: avoid; margin: 0 0 14px;
  padding: 15px 16px 14px; border-radius: 18px;
  border: 1.6px solid var(--ink); background: var(--paper);
  box-shadow: 3px 3px 0 rgba(45, 38, 38, 0.12);
  cursor: pointer; text-align: left; width: 100%; display: block;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.card:hover, .card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(45, 38, 38, 0.16); outline: none;
}
.card.is-dim { opacity: 0.42; }
.card-top { display: flex; align-items: flex-start; gap: 8px; }
.card-no {
  flex: none; font-family: "IBM Plex Mono", monospace; font-size: 11px;
  padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8); color: var(--muted);
}
.card-nick { font-size: 17px; font-weight: 900; line-height: 1.2; word-break: break-word; }
.card-badge {
  margin-left: auto; flex: none; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; border: 1.2px solid var(--ink);
}
.card-proj {
  margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.35;
  word-break: break-word;
}
.card-one {
  margin-top: 6px; font-size: 13px; line-height: 1.6; color: #4a4340;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.card-quote {
  margin-top: 10px; padding: 9px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.72); border: 1px dashed var(--line-strong);
  font-size: 13px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  border: 1.2px solid var(--line-strong); background: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.tag-status { background: var(--sand); border-color: var(--ink); font-weight: 700; }
.tag-role { background: var(--mint); }
.tag-match { background: var(--lilac); font-weight: 700; }
.card-need {
  margin-top: 11px; padding-top: 10px; border-top: 1.4px dashed var(--line-strong);
}
.need-label { font-size: 11px; color: var(--muted); font-weight: 700; }
.need-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.need {
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  border: 1.3px solid var(--ink); background: #fff;
}
.need.is-hot { background: var(--salmon); color: #fff; }
.need.is-mine { background: var(--acid); box-shadow: 0 0 0 2px rgba(45, 38, 38, 0.18); }
.card-hint { margin-top: 9px; font-size: 11px; color: var(--muted); }

/* card tones */
.card.tone-found { background: #fffaf0; }
.card.tone-both { background: #f4fbf8; }
.card.tone-join { background: #f7f4ff; }
.card.tone-open { background: #f2f7ff; }
.card.is-teamed { background: #f4f3f1; }
.card.is-hit { box-shadow: 0 0 0 2.5px var(--acid), 4px 4px 0 rgba(45, 38, 38, 0.14); }

.empty { margin: 26px 0; font-size: 14px; color: var(--muted); text-align: center; }
.link-btn {
  border: 0; background: none; cursor: pointer; text-decoration: underline;
  font-weight: 700; color: var(--ink);
}

/* ===== drawer ===== */
.drawer { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; }
.drawer-mask { position: absolute; inset: 0; background: rgba(35, 30, 28, 0.44); backdrop-filter: blur(3px); }
.drawer-card {
  position: relative; width: min(560px, calc(100vw - 32px));
  max-height: min(86vh, 760px); overflow: auto;
  padding: 26px 26px 18px; border-radius: 22px;
  border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow);
}
.drawer-x {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 30px; height: 30px; font-size: 18px; line-height: 1; cursor: pointer;
  border: 1.4px solid var(--ink); border-radius: 999px; background: #fff;
}
.d-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding-right: 34px; }
.d-name { font-size: 26px; font-weight: 900; }
.d-proj { margin-top: 14px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.d-sec { margin-top: 16px; }
.d-sec h4 {
  margin: 0 0 6px; font-size: 11px; letter-spacing: 0.08em; color: var(--muted);
  font-family: "IBM Plex Mono", monospace; text-transform: uppercase;
}
.d-sec p { font-size: 14px; line-height: 1.68; white-space: pre-wrap; }
.d-contact {
  margin-top: 18px; padding: 13px 15px; border-radius: 14px;
  background: var(--acid); border: 1.6px solid var(--ink);
}
.d-contact b { font-size: 12px; display: block; margin-bottom: 4px; }
.d-contact code {
  font-family: "IBM Plex Mono", monospace; font-size: 16px; font-weight: 600;
  user-select: all; word-break: break-all;
}
.copy-btn {
  margin-left: 8px; font-size: 11px; padding: 2px 9px; cursor: pointer;
  border: 1.2px solid var(--ink); border-radius: 999px; background: #fff;
}
/* ---- 报名表补充信息（隐私：只有本人没勾「不公开」才会渲染） ---- */
.d-more {
  margin-top: 20px; padding: 16px 16px 4px; border-radius: 16px;
  background: rgba(220, 238, 231, 0.42); border: 1.4px dashed var(--line-strong);
}
.d-more-h {
  margin: 0 0 8px; font-size: 11px; letter-spacing: 0.08em; color: var(--muted);
  font-family: "IBM Plex Mono", monospace; text-transform: uppercase;
}
.d-more .d-sec { margin-top: 12px; }
.d-slogan { font-size: 15px; font-weight: 700; line-height: 1.5; }
.d-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.d-link { font-size: 13px; word-break: break-all; text-decoration: underline; }
.d-private {
  margin-top: 18px; padding: 11px 14px; border-radius: 12px;
  font-size: 13px; color: var(--muted); line-height: 1.6;
  background: rgba(0, 0, 0, 0.04); border: 1px dashed var(--line-strong);
}

.drawer-nav {
  display: flex; gap: 8px; margin-top: 20px; padding-top: 14px;
  border-top: 1.4px dashed var(--line-strong);
}
.drawer-nav button {
  flex: 1; padding: 9px; font-size: 13px; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
}
.drawer-nav button:hover { background: var(--mint); }

/* ===== foot ===== */
.foot {
  margin-top: 48px; padding: 22px 24px; border-radius: 20px;
  border: 1.5px dashed var(--line-strong); background: rgba(255, 255, 255, 0.6);
  font-size: 13px; color: var(--muted); line-height: 1.8;
}
.foot .sign {
  margin-top: 10px; font-size: 17px; font-weight: 900; color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
}

/* ===== responsive ===== */
@media (max-width: 900px) {
  .wall { columns: 2 260px; }
  .gap-row { grid-template-columns: 76px 1fr 76px; padding: 11px 13px; }
}
@media (max-width: 640px) {
  :root { --width: calc(100vw - 24px); }
  .wall { columns: 1; }
  .hero-board { padding: 22px 20px; }
  .match-board { padding: 20px 18px 18px; }
  .match-go { flex: 1 1 100%; }
  .proj-need { width: 100%; }
  .seg { flex-direction: column; border-radius: 16px; }
  .seg-btn { border-right: 0; border-bottom: 1.5px solid var(--ink); text-align: left; }
  .seg-btn:last-child { border-bottom: 0; }
  .ghost-btn { margin-left: 0; }
  .topnav { display: none; }
  .gap-row { grid-template-columns: 1fr; gap: 8px; }
  .gap-verdict { text-align: left; display: flex; align-items: baseline; gap: 7px; }
}
