/* =========================================================
   膳益康 · 扩展模块样式（团队 / 下乡 / 挑战 / 证书等）
   在主样式之后加载，避免改动原文件。
   ========================================================= */

/* ---------------- 团队卡片 ---------------- */

.team-card {
  position: relative;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(240, 163, 94, 0.12), transparent 55%),
    linear-gradient(145deg, #ffffff, #f4faf7);
  border: 1px solid rgba(15, 92, 77, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.team-card::after {
  content: "膳";
  position: absolute;
  right: -10px;
  bottom: -26px;
  font-size: 100px;
  font-weight: 800;
  color: rgba(15, 92, 77, 0.045);
  line-height: 1;
  pointer-events: none;
}

.team-head {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.team-logo {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--jade-500), var(--jade-800));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(20, 122, 100, 0.18);
}

.team-kicker {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--jade-600);
  font-weight: 600;
}

.team-head h3 {
  font-size: 14px;
  color: var(--jade-900);
  margin-top: 3px;
  letter-spacing: 0.01em;
}

.team-card > p {
  position: relative;
  z-index: 1;
  font-size: 10.3px;
  line-height: 1.78;
  color: var(--muted);
  margin-top: 9px;
}

.team-stats {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 12px;
  padding: 9px 0;
  border-top: 1px dashed rgba(15, 92, 77, 0.12);
  border-bottom: 1px dashed rgba(15, 92, 77, 0.12);
}

.team-stats > div {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(15, 92, 77, 0.08);
}

.team-stats > div:last-child { border-right: 0; }

.team-stats b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--jade-700);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.team-stats span {
  display: block;
  font-size: 7.5px;
  color: var(--muted-2);
  margin-top: 3px;
}

.team-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.team-actions button {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--jade-700);
  font-size: 9.5px;
  font-weight: 600;
  transition: transform 0.16s ease;
}

.team-actions button:active { transform: scale(0.97); }

.team-actions button.primary {
  background: linear-gradient(135deg, var(--jade-600), var(--jade-800));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 5px 12px rgba(15, 92, 77, 0.18);
}

.team-note {
  position: relative;
  z-index: 1;
  margin-top: 8px !important;
  font-size: 7.6px !important;
  color: var(--muted-2) !important;
  text-align: center;
}

/* ---------------- 7 天挑战 ---------------- */

.challenge-card {
  margin-top: 12px;
  padding: 15px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(240, 163, 94, 0.24), transparent 55%),
    linear-gradient(145deg, #0d4f43, #13725d);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(13, 79, 67, 0.14);
}

.challenge-card::after {
  content: "🌱";
  position: absolute;
  right: 6px;
  bottom: -14px;
  font-size: 64px;
  opacity: 0.12;
}

.challenge-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.challenge-kicker {
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.challenge-top h3 {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.challenge-count {
  flex: 0 0 auto;
  text-align: right;
  line-height: 1;
}

.challenge-count b {
  font-size: 23px;
  font-weight: 700;
  color: #ffe0b0;
  font-variant-numeric: tabular-nums;
}

.challenge-count span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.46);
  margin-left: 1px;
}

.challenge-days {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.challenge-day {
  flex: 1;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.challenge-day span {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

.challenge-day small {
  font-size: 10px;
  opacity: 0.65;
  filter: grayscale(0.4);
  line-height: 1;
}

.challenge-day.done {
  background: rgba(120, 220, 180, 0.16);
  border-color: rgba(150, 235, 200, 0.24);
}

.challenge-day.done span { color: #b9f0dc; }

.challenge-day.current {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 206, 143, 0.65);
}

.challenge-day.current span { color: #ffe0b0; }
.challenge-day.current small { filter: none; opacity: 1; }

.challenge-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}

.challenge-foot > span {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.52);
}

.challenge-btn {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--jade-800);
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
}

.challenge-sheet {
  text-align: center;
  padding: 12px 0 4px;
}

.challenge-sheet-ico { font-size: 42px; line-height: 1; }

.challenge-sheet h3 {
  font-size: 16px;
  color: var(--jade-900);
  margin-top: 7px;
}

.challenge-sheet p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
}

.challenge-note {
  font-size: 9px;
  color: var(--jade-700);
  background: var(--mint-50);
  border-radius: 8px;
  padding: 8px;
  margin-top: 10px;
}

/* ---------------- 下乡同行 ---------------- */

.rural-page {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.36s;
}

.rural-page.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.rural-nav {
  flex: 0 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 92, 77, 0.06);
  z-index: 4;
}

.rural-nav .an-back {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--jade-800);
}

.rural-nav .an-back svg { width: 17px; height: 17px; }

.rural-nav > span {
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.rural-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 34px;
}

.rural-scroll::-webkit-scrollbar { display: none; }

.rural-hero {
  position: relative;
  padding: 22px 20px 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(240, 163, 94, 0.3), transparent 55%),
    linear-gradient(150deg, #0a463b, #147a64 75%, #1c9478);
  color: #fff;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.rural-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.035);
}

.rural-kicker {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.48);
}

.rural-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 7px;
}

.rural-hero p {
  position: relative;
  z-index: 1;
  font-size: 9.8px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 5px;
}

.rural-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rural-hero-stats > div {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rural-hero-stats > div:last-child { border-right: 0; }

.rural-hero-stats b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #ffe0b0;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.rural-hero-stats span {
  display: block;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.rural-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 92, 77, 0.07);
}

.rural-tabs button {
  flex: 1;
  height: 32px;
  border-radius: 9px;
  font-size: 10px;
  color: var(--muted);
  transition: all 0.18s ease;
}

.rural-tabs button.is-on {
  background: var(--jade-700);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15, 92, 77, 0.16);
}

.rural-panel {
  display: none;
  padding: 14px 18px 34px;
}

.rural-panel.is-on {
  display: block;
  animation: pageIn 0.32s ease both;
}

.trip-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  margin-bottom: 9px;
  box-shadow: var(--shadow-sm);
}

.trip-date {
  flex: 0 0 43px;
  text-align: center;
  background: var(--mint-50);
  border-radius: 10px;
  padding: 7px 3px;
}

.trip-date b {
  display: block;
  font-size: 12.5px;
  color: var(--jade-800);
  font-variant-numeric: tabular-nums;
}

.trip-date span {
  display: block;
  font-size: 7.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.trip-main { flex: 1; min-width: 0; }

.trip-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.trip-title-row h3 {
  font-size: 11.5px;
  color: #26352e;
  font-weight: 600;
  line-height: 1.35;
}

.trip-main > p {
  font-size: 8.6px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 6px;
  font-size: 7.6px;
  color: var(--muted-2);
}

.trip-join {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--jade-700);
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
}

.trip-join:disabled {
  background: #edf1ee;
  color: #a6b3ac;
}

.mini-record {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px;
  margin-top: 7px;
  text-align: left;
}

.mini-record-date {
  flex: 0 0 52px;
  font-size: 7.8px;
  color: #a66a2a;
  font-variant-numeric: tabular-nums;
}

.mini-record-main { flex: 1; min-width: 0; }
.mini-record-main b { display: block; font-size: 10px; color: #2f4037; }
.mini-record-main span { display: block; font-size: 7.8px; color: var(--muted-2); margin-top: 2px; }
.mini-record > svg { width: 13px; height: 13px; color: #c3cec8; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.stat-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 2px;
  text-align: center;
}

.stat-grid b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--jade-700);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-grid span {
  display: block;
  font-size: 7px;
  color: var(--muted-2);
  margin-top: 3px;
}

.records-head,
.column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 2px 10px;
}

.records-head h3,
.column-head h3 {
  font-size: 13px;
  color: var(--jade-900);
  font-weight: 700;
}

.records-head p,
.column-head p {
  font-size: 8.4px;
  color: var(--muted-2);
  line-height: 1.5;
  margin-top: 3px;
}

.records-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.records-actions button {
  font-size: 8px;
  color: var(--jade-700);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 7px;
  white-space: nowrap;
}

.record-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  margin-top: 8px;
}

.record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.record-head h4 {
  font-size: 11px;
  color: #26352e;
  line-height: 1.4;
  font-weight: 600;
}

.record-head p {
  font-size: 7.8px;
  color: var(--muted-2);
  line-height: 1.5;
  margin-top: 3px;
}

.record-count {
  flex: 0 0 auto;
  text-align: center;
  background: var(--mint-50);
  border-radius: 9px;
  padding: 6px 8px;
}

.record-count b {
  display: block;
  font-size: 16px;
  color: var(--jade-700);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.record-count span {
  display: block;
  font-size: 7px;
  color: var(--muted-2);
  margin-top: 2px;
}

.record-note {
  font-size: 8.8px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 7px;
}

.names-line {
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.6;
  color: var(--jade-600);
  background: rgba(238, 247, 242, 0.75);
  border-radius: 6px;
  padding: 5px 7px;
}

.record-names {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed rgba(15, 92, 77, 0.1);
}

.record-names summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.3px;
  color: var(--jade-600);
  cursor: pointer;
}

.record-names summary::-webkit-details-marker { display: none; }
.record-names summary svg { width: 12px; height: 12px; }

.names {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.names span {
  font-size: 8px;
  color: var(--jade-700);
  background: var(--mint-50);
  border-radius: 5px;
  padding: 3px 6px;
}

.record-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 7px;
}

.record-actions button {
  font-size: 7.8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 7px;
}

.column-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  margin-top: 7px;
  text-align: left;
}

.column-cover {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 25px;
  flex: 0 0 auto;
}

.column-body { flex: 1; min-width: 0; }
.column-body .tag { margin-bottom: 3px; }
.column-body h4 {
  font-size: 10.5px;
  line-height: 1.4;
  color: #2b3b34;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.column-body p { font-size: 7.8px; color: var(--muted-2); margin-top: 2px; }
.column-arrow { width: 14px; height: 14px; color: #c3cec8; flex: 0 0 auto; }

.rural-signup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px;
  box-shadow: var(--shadow-sm);
}

.rs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.rs-head h3 { font-size: 14px; color: var(--jade-900); }
.rs-head p { font-size: 8.4px; color: var(--muted-2); line-height: 1.55; margin-top: 3px; }

/* ---------------- 表单 ---------------- */

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  padding: 10px 11px;
  font-size: 11px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.form-input { height: 40px; }

.form-textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 68px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--jade-300);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder { color: #a9b6af; }

.form-tip {
  font-size: 7.8px;
  color: var(--muted-2);
  line-height: 1.6;
  margin-top: 8px;
  text-align: center;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  font-size: 9px;
  line-height: 1.55;
  color: var(--muted);
}

.check-row input {
  width: 14px;
  height: 14px;
  accent-color: var(--jade-600);
  margin-top: 1px;
  flex: 0 0 auto;
}

.success-box {
  background: #fff;
  border: 1px solid rgba(28, 148, 120, 0.18);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-top: 12px;
}

.success-ico { font-size: 30px; line-height: 1; }
.success-box > b {
  display: block;
  font-size: 13px;
  color: var(--jade-800);
  margin-top: 5px;
}
.success-box p {
  font-size: 9.3px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 5px;
}

.empty-state {
  text-align: center;
  padding: 26px 14px;
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted-2);
  background: #fff;
  border: 1px dashed rgba(15, 92, 77, 0.16);
  border-radius: 12px;
}

.simple-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.simple-list li {
  position: relative;
  padding-left: 13px;
  font-size: 9.3px;
  line-height: 1.65;
  color: var(--muted);
}

.simple-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade-300);
}

.team-quote {
  margin-top: 12px;
  padding: 12px;
  background: var(--mint-50);
  border-radius: 10px;
  font-size: 11px;
  color: var(--jade-800);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ---------------- 周报 / 证书 / 商城 / 食堂 ---------------- */

.weekly-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 16px;
  border-radius: 16px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(240, 163, 94, 0.28), transparent 58%),
    linear-gradient(145deg, #0d4f43, #147a64);
  color: #fff;
}

.weekly-kicker {
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.weekly-hero b {
  display: inline-block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
  color: #ffe0b0;
  font-variant-numeric: tabular-nums;
}

.weekly-hero span {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 4px;
}

.weekly-badge {
  flex: 0 0 auto;
  font-size: 8.5px;
  color: #ffe0b0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 9px;
  border-radius: 999px;
}

.weekly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.weekly-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 2px;
  text-align: center;
}

.weekly-grid b {
  display: block;
  font-size: 14px;
  color: var(--jade-700);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.weekly-grid span {
  display: block;
  font-size: 7px;
  color: var(--muted-2);
  margin-top: 3px;
}

.certificate {
  position: relative;
  margin-top: 6px;
  padding: 22px 18px 20px;
  border-radius: 14px;
  border: 1px solid #d9c6a4;
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(240, 163, 94, 0.14), transparent 55%),
    linear-gradient(145deg, #fffdf8, #f7efdf);
  text-align: center;
  overflow: hidden;
}

.certificate::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(180, 150, 100, 0.35);
  border-radius: 9px;
  pointer-events: none;
}

.cert-logo {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--jade-500), var(--jade-800));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
}

.cert-team {
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: #9a7b4c;
  margin-top: 7px;
}

.cert-title {
  font-size: 18px;
  font-weight: 700;
  color: #6b4c22;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

.cert-name {
  display: inline-block;
  font-size: 16px;
  color: #3c2c16;
  border-bottom: 1px solid #c9b28b;
  padding: 0 14px 4px;
  margin-top: 9px;
  letter-spacing: 0.06em;
}

.cert-text {
  font-size: 9.3px;
  line-height: 1.9;
  color: #6b563b;
  text-align: left;
  margin-top: 10px;
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 7.2px;
  color: #9a7b4c;
  margin-top: 14px;
}

.cert-seal {
  position: absolute;
  right: 15px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(180, 70, 50, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 7px;
  line-height: 1.2;
  color: rgba(160, 60, 40, 0.72);
  transform: rotate(-12deg);
  text-align: center;
}

.cert-seal small { font-size: 6px; }

.store-list { display: grid; gap: 7px; margin-top: 10px; }

.store-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.store-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--mint-50);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: 0 0 auto;
}

.store-main { flex: 1; min-width: 0; }
.store-main b { display: block; font-size: 10px; color: #2f4037; }
.store-main p { font-size: 7.8px; color: var(--muted-2); line-height: 1.45; margin-top: 2px; }
.store-main span { display: block; font-size: 7.8px; color: #a66a2a; margin-top: 3px; }

.store-item button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--jade-700);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
}

.store-item button:disabled {
  background: #eef2ef;
  color: #a6b3ac;
}

.canteen-list { display: grid; gap: 7px; margin-top: 10px; }

.canteen-card {
  display: flex;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.canteen-emoji {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #faf5ea;
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: 0 0 auto;
}

.canteen-main { flex: 1; min-width: 0; }

.canteen-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.canteen-top b { font-size: 9.8px; line-height: 1.4; color: #2f4037; }

.canteen-score {
  font-size: 13px;
  font-weight: 700;
  color: #2f9e78;
  font-variant-numeric: tabular-nums;
}

.canteen-score.mid { color: #dfa23c; }
.canteen-score.bad { color: #d96a54; }
.canteen-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.canteen-main p { font-size: 8.3px; line-height: 1.6; color: var(--muted); margin-top: 5px; }

/* ---------------- 分享 ---------------- */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-share {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.hero-share:active { transform: scale(0.94); }
.hero-share svg { width: 15px; height: 15px; }

.share-preview {
  margin-top: 4px;
  padding: 15px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(110% 110% at 100% 0%, rgba(240, 163, 94, 0.28), transparent 58%),
    linear-gradient(145deg, #0d4f43, #147a64);
}

.share-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.share-brand b { font-size: 15px; letter-spacing: 0.06em; }
.share-brand p { font-size: 8px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }

.share-desc {
  font-size: 9.3px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 9px;
}

.share-url-box {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 10px;
}

.share-url-box span {
  flex: 1;
  min-width: 0;
  font-size: 8.3px;
  line-height: 1.45;
  color: var(--muted);
  word-break: break-all;
  max-height: 36px;
  overflow: hidden;
}

.share-url-box button {
  flex: 0 0 auto;
  font-size: 8.3px;
  font-weight: 600;
  color: var(--jade-700);
}

.share-qr {
  width: 190px;
  min-height: 190px;
  margin: 12px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
}

.share-qr img {
  width: 170px;
  height: 170px;
  display: block;
}

.share-qr span { font-size: 8.5px; color: var(--muted-2); }

.share-qr-tip {
  font-size: 7.8px;
  color: var(--muted-2);
  text-align: center;
  margin-top: 5px;
}

.share-warning {
  margin-top: 9px;
  padding: 9px;
  border-radius: 9px;
  font-size: 8.8px;
  line-height: 1.65;
  color: #8a5a23;
  background: #fdf1e4;
  border: 1px solid rgba(240, 163, 94, 0.25);
}

/* ---------------- 响应式补充 ---------------- */

@media (max-width: 900px) {
  .rural-page { padding-top: env(safe-area-inset-top); }
  .rural-scroll { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .rural-hero h1 { font-size: 21px; }
  .team-actions button { font-size: 9px; }
}

@media (max-width: 380px) {
  .team-actions { gap: 4px; }
  .team-actions button { font-size: 8.5px; }
  .trip-join { padding: 0 7px; }
  .stat-grid b { font-size: 15px; }
}
