/* 俱会吧门户：以「发现 → 详情 → 报名/下单」为主线，移动端优先 */
:root {
  --paper: #f9f8f4;
  --ink: #252c28;
  --muted: #7b807a;
  --orange: #ed603a;
  --orange-dark: #d9512d;
  --green: #304a3f;
  --line: #e7e7de;
  --soft: #f1f0e9;
  --card: #fffefb;
  --font: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 14px; -webkit-font-smoothing: antialiased; line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; }
h2 { font-size: 28px; letter-spacing: -.5px; margin-bottom: 10px; }
h3 { font-size: 17px; margin-bottom: 8px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #f9f8f4f2; backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e7deaa;
}
.header-inner {
  height: 72px; width: min(1200px, calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 36px; height: 36px; }
.brand > span { font-size: 21px; font-weight: 800; letter-spacing: .5px; line-height: 1.05; }
.brand small { display: block; font-size: 7px; font-weight: 600; letter-spacing: 3.4px; margin-top: 5px; color: var(--muted); }
.header-search {
  flex: 1; display: flex; align-items: center; gap: 8px; max-width: 460px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 40px;
}
.header-search svg { width: 17px; height: 17px; fill: none; stroke: #9aa08f; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.header-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink); min-width: 0; }
.header-search:focus-within { border-color: #d8cfc2; box-shadow: 0 0 0 3px #ed603a1a; }
.header-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-nav a { font-size: 13px; color: #666c65; }
.header-nav a:hover { color: var(--ink); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; background: var(--orange); color: #fff;
  border: 1px solid var(--orange); border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; white-space: nowrap;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 18px #ed603a26; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 13px; gap: 8px; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: #f6f4ee; box-shadow: none; }
.btn.full { width: 100%; }
.btn.disabled, .btn:disabled { background: #dedcd4; border-color: #dedcd4; color: #8e8b83; cursor: not-allowed; transform: none; box-shadow: none; }
.eyebrow { display: block; font-size: 10px; letter-spacing: 2.2px; font-weight: 600; color: var(--orange); margin-bottom: 12px; }

/* ---------------- 首屏 ---------------- */
.hero {
  padding: 54px 0 40px;
  background: radial-gradient(120% 120% at 88% 0%, #f3ece1 0%, #f9f8f4 52%);
  border-bottom: 1px solid var(--line);
}
.hero-kicker { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #66716a; margin-bottom: 16px; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #7ba05b; box-shadow: 0 0 0 4px #7ba05b22; }
.hero h1 { font-size: 40px; line-height: 1.28; letter-spacing: -.6px; font-weight: 800; margin-bottom: 14px; max-width: 18em; }
.hero h1 .accent { color: var(--orange); }
.hero-sub { font-size: 15px; color: #747b72; max-width: 34em; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-chip {
  font-size: 12px; padding: 7px 13px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: #5f665e; transition: all .16s;
}
.hero-chip:hover { border-color: var(--orange); color: var(--orange); }

/* ---------------- 区块 ---------------- */
.section { padding: 46px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading p { font-size: 13px; color: #8a8f83; margin: 0; max-width: 46em; }
.heading-tools { flex-shrink: 0; }
.count-badge { font-size: 11px; color: #8a8f83; background: var(--soft); padding: 5px 11px; border-radius: 999px; }

/* ---------------- 活动卡片 ---------------- */
.grid-act { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.act-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.act-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px #28301d12; }
.act-card.is-closed { opacity: .72; }
.act-media { position: relative; aspect-ratio: 16 / 10; background: #eae6dc; }
.act-media img { height: 100%; }
.status-pill {
  position: absolute; top: 10px; left: 10px; font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: #ffffffec; backdrop-filter: blur(4px); font-weight: 600;
}
.status-pill.ok { color: #4b7a3f; }
.status-pill.closed { color: #8d8a80; }
.act-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.act-body h3 { font-size: 16px; margin: 0; }
.act-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: #8a9086; margin: 0; }
.act-desc { font-size: 12px; color: #949a8e; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.act-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0efe6; }
.act-price { display: flex; align-items: baseline; gap: 8px; }
.act-price strong { font-size: 17px; color: var(--orange); }
.act-price strong.free { color: #4b7a3f; }
.seats { font-size: 10px; color: #9aa08f; }

/* ---------------- 商品区 ---------------- */
.goods-wrap { background: #f4f2ec; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; flex: 1; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  font: inherit; font-size: 12px; padding: 7px 13px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: #656c63; cursor: pointer; white-space: nowrap; transition: all .16s;
}
.chip:hover { border-color: #cbc9bd; }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar-right { flex-shrink: 0; }
.sort { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #8a9086; }
.sort select {
  font: inherit; font-size: 12px; padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.grid-goods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goods-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.goods-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px #28301d14; }
.goods-media { position: relative; aspect-ratio: 1 / 1; background: #eae6dc; overflow: hidden; }
.goods-media img { height: 100%; transition: transform .45s; }
.goods-card:hover .goods-media img { transform: scale(1.05); }
.tag-rent { position: absolute; top: 9px; left: 9px; font-size: 10px; background: #304a3fe6; color: #fff; padding: 3px 9px; border-radius: 999px; }
.goods-cta {
  position: absolute; inset: auto 0 0 0; padding: 9px; text-align: center; font-size: 12px;
  background: #ed603af0; color: #fff; transform: translateY(100%); transition: transform .22s;
}
.goods-card:hover .goods-cta { transform: translateY(0); }
.goods-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.goods-body h3 { font-size: 14px; margin: 0; line-height: 1.45; }
.goods-point { font-size: 11px; color: #949a8e; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.goods-meta { display: flex; gap: 10px; font-size: 10px; color: #a3a89b; }
.goods-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.goods-foot strong { font-size: 16px; color: var(--ink); }
.goods-foot strong.free { color: #4b7a3f; font-size: 14px; }
.goods-foot s { font-size: 11px; color: #b0b4a8; margin-left: 6px; }
.goods-foot .go { font-size: 11px; color: var(--orange); white-space: nowrap; }

/* ---------------- 空态 / 骨架 ---------------- */
.empty, .empty-state { color: #97a08e; font-size: 13px; text-align: center; }
.empty-state { padding: 40px 20px; border: 1px dashed #dcdad0; border-radius: 14px; background: #fffef9; }
.empty-state svg { color: #bcc3b0; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; color: #6d7663; margin-bottom: 8px; }
.empty-state p { margin: 0 auto 18px; max-width: 34em; font-size: 12px; line-height: 1.9; }
.skeleton-card { height: 260px; border-radius: 14px; background: linear-gradient(100deg, #eeece4 30%, #f7f6f0 50%, #eeece4 70%); background-size: 220% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }
.media-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #b3b8ab; font-size: 12px; background: #eeece3; }

/* ---------------- 三步说明 ---------------- */
.howto .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.howto-step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.howto-step .num { font-size: 11px; color: var(--orange); letter-spacing: 1px; font-weight: 700; }
.howto-step h3 { font-size: 16px; margin: 10px 0 8px; }
.howto-step p { font-size: 12px; color: #9099; margin: 0; line-height: 1.9; }

/* ---------------- 弹层 ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }   /* 必须显式写：.modal 的 display 会盖掉浏览器默认的 [hidden]{display:none} */
.modal-backdrop { position: absolute; inset: 0; background: #26302699; backdrop-filter: blur(5px); }
.modal-panel {
  position: relative; background: var(--paper); border-radius: 18px; width: min(920px, 100%);
  max-height: min(88vh, 900px); overflow: auto; box-shadow: 0 28px 90px #1923114d;
}
.modal-close {
  position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: #ffffffe8; color: #4d554b;
  font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-close:hover { background: #fff; }
.modal-body { padding: 0; }
.detail { display: grid; grid-template-columns: 1fr 1fr; }
.detail-gallery { background: #efece3; min-height: 320px; padding: 14px; }
.detail-gallery > img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; }
.thumbs { display: flex; gap: 7px; margin-top: 9px; overflow-x: auto; }
.thumb { padding: 0; width: 54px; height: 54px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; flex-shrink: 0; }
.thumb img { height: 100%; }
.thumb.active { border-color: var(--orange); }
.detail-main { padding: 26px 26px 22px; }
.detail-main h2 { font-size: 23px; margin-bottom: 10px; }
.detail-point { font-size: 13px; color: #88907f; margin-bottom: 16px; }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.detail-price strong { font-size: 26px; }
.detail-price strong.free { color: #4b7a3f; font-size: 20px; }
.detail-price s { font-size: 13px; color: #b0b4a8; }
.detail-facts { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.detail-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-facts span { color: #969c8f; }
.detail-facts b { font-weight: 500; text-align: right; }
.detail-desc { font-size: 13px; color: #7d8579; max-height: 260px; overflow: auto; padding-right: 4px; margin-bottom: 18px; }
.detail-desc img { border-radius: 8px; margin: 8px 0; }
.detail-desc h1, .detail-desc h2, .detail-desc h3 { font-size: 15px; margin: 12px 0 6px; }
.detail-actions { display: flex; flex-direction: column; gap: 9px; }
.loading { padding: 60px 20px; text-align: center; color: #98a08f; font-size: 13px; }

.order-panel { padding: 26px; }
.order-panel h2 { font-size: 22px; margin-bottom: 16px; }
.order-summary { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fffef9; margin-bottom: 16px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed #eeece2; }
.order-summary > div:last-child { border-bottom: 0; }
.order-summary span { color: #969c8f; }
.order-summary b { font-weight: 500; text-align: right; }
.channel-empty { border: 1px dashed #ddd9cc; border-radius: 12px; padding: 18px; background: #fbfaf5; margin-bottom: 16px; }
.channel-empty p { margin: 0 0 8px; font-size: 13px; }
.channel-empty code { background: #efeee5; padding: 1px 5px; border-radius: 4px; font-size: 11px; }
.channel-qr { text-align: center; margin-bottom: 16px; }
.channel-qr img { width: 180px; margin: 0 auto 8px; border-radius: 12px; border: 1px solid var(--line); }
.channel-qr span { font-size: 12px; color: #8a9086; }
.channel-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.channel-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; }
.channel-item span { color: #969c8f; }
.channel-item b { color: var(--orange); font-weight: 600; }
.channel-item:hover { border-color: var(--orange); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #f0f0e8; border-top: 1px solid #e2e4d8; margin-top: 8px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding: 40px 0 30px; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-brand > span { font-size: 19px; }
.footer-inner p { font-size: 11px; color: #939985; line-height: 1.9; margin: 14px 0 0; }
.footer-links h4 { font-size: 12px; font-weight: 500; margin: 4px 0 14px; }
.footer-links a { display: block; font-size: 11px; color: #939a87; margin-bottom: 11px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #dfe3d3; padding: 15px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: #a1a894; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .grid-goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-act { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .header-search { display: none; }
  .hero { padding: 38px 0 30px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 13px; }
  .detail { grid-template-columns: 1fr; }
  .detail-gallery { min-height: 0; }
  .grid-goods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-act { grid-template-columns: 1fr; }
  .howto .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  h2 { font-size: 23px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: 18px 18px 0 0; max-height: 92vh; width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 62px; width: calc(100% - 32px); }
  .header-nav a:not(.btn) { display: none; }
  .hero h1 { font-size: 26px; }
  .hero-actions .btn { flex: 1; }
  .goods-body { padding: 11px 11px 13px; }
  .goods-body h3 { font-size: 13px; }
  .toolbar { flex-wrap: wrap; }
  .goods-cta { display: none; }
  .detail-main { padding: 20px 18px; }
  .order-panel { padding: 20px 18px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------------- 下单 / 报名表单 ---------------- */
.order-form { display: flex; flex-direction: column; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #8d9488; }
.field > span { padding-left: 2px; }
.field input, .field select {
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; outline: 0; width: 100%;
}
.field input:focus, .field select:focus { border-color: #d6cbbd; box-shadow: 0 0 0 3px #ed603a14; }
.field-hint { justify-content: flex-end; font-size: 12px; color: #8d9488; }
.field-hint b { font-size: 13px; color: var(--ink); font-weight: 500; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-row img {
  width: 118px; height: 42px; border-radius: 8px; border: 1px solid var(--line);
  cursor: pointer; background: #f2f0e8; object-fit: cover;
}
.form-hint { min-height: 18px; margin: 2px 0 0; font-size: 12px; color: #c5482c; }
.result-panel { text-align: center; }
.result-icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 4px auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.result-icon.ok { background: #e8f2e2; color: #4b7a3f; }
.result-icon.wait { background: #fdf0e6; color: var(--orange); }
.result-sub { font-size: 13px; color: #838b7e; line-height: 1.9; margin-bottom: 16px; }
.result-sub b { color: var(--ink); }
.verify-code {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  background: #f2f0e7; border: 1px dashed #d9d5c6; border-radius: 10px; padding: 10px 16px;
}
.verify-code span { font-size: 11px; color: #949a8c; }
.verify-code b { font-size: 18px; letter-spacing: 3px; font-family: ui-monospace, Menlo, monospace; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------------- 圈子区 / 租赁区 ---------------- */
.circles-wrap { background: #fffefb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rental-wrap { background: #f7f5ee; border-bottom: 1px solid var(--line); }
.circles-wrap .act-card, .rental-wrap .goods-card { background: #fff; }
.circles-wrap .act-media, .rental-wrap .goods-media { aspect-ratio: 16 / 10; }
.rental-wrap .goods-media { aspect-ratio: 4 / 3; }

/* ---------------- 商户主页 ---------------- */
.mh-hero { background: radial-gradient(120% 120% at 88% 0%, #f3ece1 0%, #f9f8f4 55%); border-bottom: 1px solid var(--line); padding: 40px 0 26px; }
.mh-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mh-logo { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; background: #eae6dc; }
.mh-logo-empty { display: flex; align-items: center; justify-content: center; font-size: 28px; color: #b0b4a8; }
.mh-info { flex: 1; min-width: 240px; }
.mh-name { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mh-badge { font-size: 11px; font-weight: 500; color: #4b7a3f; background: #eaf2e3; padding: 3px 9px; border-radius: 999px; }
.mh-intro { font-size: 13px; color: #7f877b; margin: 8px 0 10px; line-height: 1.9; }
.mh-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #969c8f; }
.mh-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mh-stats { display: flex; gap: 26px; margin-top: 22px; font-size: 12px; color: #8a9086; }
.mh-stats b { font-size: 18px; color: var(--ink); margin-right: 4px; }
@media (max-width: 640px) {
  .mh-name { font-size: 21px; }
  .mh-logo { width: 64px; height: 64px; }
  .mh-actions { width: 100%; }
  .mh-stats { gap: 16px; }
}

/* 往期活动提示条 */
.past-note { margin: 0 0 14px; font-size: 12px; color: #8a9086; }
.past-note a { color: var(--orange); border-bottom: 1px solid #f0c6b8; }

/* ============================================================================
   活动模块视觉：沿用老版（聚聚 jjb_old）的蓝色体系
   主色 #0e90d2（AmazeUI primary）· 辅助 #00a6ac（teal）· 文字 #34495e
   ========================================================================== */
:root { --act-blue: #0e90d2; --act-teal: #00a6ac; --act-ink: #34495e; }

#activities .eyebrow { color: var(--act-blue); }
#activities h2 { color: var(--act-ink); }
#activities .count-badge { background: #e8f4fb; color: var(--act-blue); }
#activities .grid-act .act-card { border-color: #e2edf4; background: #fff; }
#activities .act-card:hover { box-shadow: 0 14px 32px #0e90d21f; }
#activities .act-card h3 { color: var(--act-ink); }
#activities .act-meta { color: #78909c; }
#activities .status-pill.ok { color: #fff; background: var(--act-blue); }
#activities .status-pill.closed { color: #78909c; }
#activities .act-price strong { color: var(--act-blue); }
#activities .act-price strong.free { color: var(--act-teal); }
#activities .act-foot .btn { background: var(--act-blue); border-color: var(--act-blue); }
#activities .act-foot .btn:hover { background: #0b7ab2; }
#activities .act-foot .btn.disabled { background: #cfd8dc; border-color: #cfd8dc; color: #fff; }

/* 报名/创建弹层里的活动信息 */
.act-when { margin: -2px 0 2px; font-size: 12px; color: var(--act-blue); }
.act-notice { background: #f2f9fd; border: 1px solid #d6ecf7; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.act-notice b { display: block; font-size: 12px; color: var(--act-blue); margin-bottom: 6px; }
.act-notice p { margin: 0; font-size: 12px; color: #546e7a; line-height: 1.9; }
.check-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.check-row label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #546e7a; }
.check-row input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--act-blue); }
.signup-card { border-color: #e0edf4; }
.audit-row { display: flex; gap: 8px; justify-content: flex-end; padding-top: 8px; }
.audit-row .btn { background: var(--act-blue); border-color: var(--act-blue); }
.text-ok { color: var(--act-teal); }
.text-wait { color: #e6a23c; }
.text-bad { color: #d9534f; }
.verify-inline { letter-spacing: 2px; font-family: ui-monospace, Menlo, monospace; color: var(--act-ink); }
/* 弹层里活动的按钮（报名/审核）统一蓝色 */
.order-panel .btn:not(.secondary):not(.disabled) { background: var(--act-blue); border-color: var(--act-blue); }
.order-panel .btn:not(.secondary):not(.disabled):hover { background: #0b7ab2; }

/* ---------------- 活动角色选择 / 互动 ---------------- */
.role-picker { margin: 4px 0 14px; }
.role-picker .role-title { font-size: 12px; color: var(--act-blue); margin: 0 0 8px; font-weight: 600; }
.role-item {
  display: grid; grid-template-columns: 18px 1fr auto auto; align-items: center; gap: 8px;
  border: 1px solid #dbe9f2; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 13px; color: var(--act-ink); cursor: pointer; background: #fff;
}
.role-item:hover { border-color: var(--act-blue); background: #f5fbff; }
.role-item input { accent-color: var(--act-blue); }
.role-item .role-name { font-weight: 600; }
.role-item .role-desc { grid-column: 2 / 4; font-size: 11px; color: #90a4ae; }
.role-item .role-price { color: var(--act-blue); font-weight: 600; }
.role-item .role-remain { font-size: 11px; color: #90a4ae; min-width: 44px; text-align: right; }
.role-item.is-full { opacity: .55; cursor: not-allowed; }
.act-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.social-btn {
  font: inherit; font-size: 12px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid #dbe9f2; background: #fff; color: var(--act-blue); cursor: pointer;
}
.social-btn:hover { background: #f2fafe; border-color: var(--act-blue); }
.social-num { font-size: 11px; color: #90a4ae; margin-left: auto; }

/* 角色配置（创建活动） */
.role-editor { border: 1px dashed #dbe9f2; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; background: #fbfdff; }
.role-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--act-blue); margin-bottom: 8px; }
.role-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr 28px; gap: 8px; margin-bottom: 8px; }
.role-row input { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #dbe9f2; border-radius: 8px; background: #fff; color: var(--act-ink); }
.role-row .role-del { border: 0; background: transparent; color: #b0bec5; cursor: pointer; font-size: 14px; }
.role-row .role-del:hover { color: #d9534f; }

/* 评论区 */
.act-comments { border-top: 1px solid #e6eef4; padding-top: 12px; margin: 4px 0 12px; }
.comment-list { max-height: 180px; overflow: auto; margin-bottom: 10px; }
.comment-item { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #eef4f8; font-size: 12px; color: #546e7a; }
.comment-item b { color: var(--act-blue); font-weight: 600; white-space: nowrap; }
.comment-form { display: flex; flex-direction: column; gap: 8px; }
.comment-form input, .comment-form textarea {
  font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #dbe9f2;
  border-radius: 8px; color: var(--act-ink); background: #fff; resize: vertical;
}
