/* 燕郊单车行 · 简约大气设计系统 */
:root {
  --ink: #10241a;
  --ink-2: #47584e;
  --ink-3: #8b9a90;
  --line: #e6ebe7;
  --line-2: #d5ded8;
  --bg: #ffffff;
  --bg-soft: #f6f8f5;
  --bg-deep: #0e1a13;
  --brand: #1f8a4c;
  --brand-dark: #166b3b;
  --brand-soft: #e9f5ee;
  --accent: #ff6b35;
  --accent-soft: #fff1eb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 36, 26, .04);
  --shadow-lg: 0 18px 48px -20px rgba(16, 36, 26, .28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "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(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.wrap-narrow { width: min(860px, 100% - 48px); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #35b06a);
  display: grid; place-items: center; color: #fff; font-size: 19px;
}
/* 品牌红黄 LOGO（透明底 PNG，红底色块由这里提供） */
img.brand-mark.brand-logo {
  background: #ee2e23;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.brand-slogan { font-size: 11px; color: var(--ink-3); letter-spacing: .16em; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--ink-2);
  transition: background .18s, color .18s; white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a.active { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }
.header-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 5px 13px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  cursor: pointer; transition: border-color .18s;
}
.user-chip:hover { border-color: var(--line-2); }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), #4cc286);
  color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.user-name { font-size: 13px; font-weight: 600; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-points { font-size: 11px; color: var(--brand-dark); font-weight: 600; }
.admin-chip {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #fff4d6; color: #8a5a00; border: 1px solid #f0d090; white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: .18s;
  background: var(--bg-soft); color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 76px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .18em;
  color: var(--brand-dark); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px;
  font-weight: 700;
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 22px 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 52px; margin-top: 58px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 30px; letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: var(--ink-3); }

/* ---------- Section ---------- */
.section { padding: 82px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.section-tag { font-size: 12px; letter-spacing: .18em; color: var(--brand-dark); font-weight: 700; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-cover { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8f3ec 0%, #dcefe4 45%, #cfe8db 100%);
  color: var(--brand-dark); font-size: 30px; letter-spacing: .04em;
}
.cover-lock { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.card-desc { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }

/* ---------- 骑行召集：审核状态与管理 ---------- */
.admin-bar {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 8px;
  padding: 12px 20px; border-top: 1px dashed var(--line); background: var(--bg-soft);
  overflow-x: auto;
}
.admin-bar .btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.admin-bar .rv-tag { flex: 0 0 auto; }
.btn-danger { background: #fdecea; border-color: #f8d5d0; color: #b4321f; }
.btn-danger:hover { background: #fbdad6; }
.rv-tag { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.rv-pending { background: #fff4d6; color: #8a5a00; }
.rv-approved { background: #e9f5ee; color: var(--brand-dark); }
.rv-rejected { background: #fdecea; color: #b4321f; }
.rv-blocked { background: var(--bg-soft); color: var(--ink-3); }
.review-note {
  font-size: 12.5px; color: var(--ink-3); background: var(--bg-soft);
  border-radius: 8px; padding: 8px 12px; margin: 8px 0 0;
}
/* 光标停留在输入框时显示的填写提示 */
.focus-tip {
  background: #fff8e6; border-left: 4px solid #f0a020; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; line-height: 1.6; color: #8a5a00; margin-bottom: 16px;
}
.audit-tip {
  background: #e9f5ee; border-radius: 8px; padding: 12px 14px;
  font-size: 13px; line-height: 1.6; color: var(--brand-dark); margin-bottom: 16px;
}

/* ---------- Tags / Badges ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px; font-weight: 600;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.tag-green { background: #e9f5ee; color: var(--brand-dark); border-color: #cfe8db; }
.tag-red { background: #fdecea; color: #b4321f; border-color: #f8d5d0; }
.tag-orange { background: #fff2e6; color: #a4550f; border-color: #f9ddc2; }
.tag-blue { background: #eaf1fb; color: #24508f; border-color: #d2e0f4; }
.tag-purple { background: #f2ecfa; color: #5b3a94; border-color: #e2d6f4; }
.tag-pink { background: #fceaf1; color: #9c2a58; border-color: #f6d3e0; }
.tag-teal { background: #e5f5f3; color: #186b5f; border-color: #c8e9e3; }
.tag-amber { background: #fdf3e0; color: #8a5a07; border-color: #f6e3bd; }
.tag.active { outline: 2px solid var(--brand); outline-offset: 1px; }
.tag-click { cursor: pointer; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
}
.badge-open { background: var(--brand-soft); color: var(--brand-dark); }
.badge-closed { background: var(--bg-soft); color: var(--ink-3); }
.badge-done { background: #eef1ef; color: var(--ink-3); }
.badge-accent { background: var(--accent-soft); color: #c14a17; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink); outline: none; transition: .16s;
  font-size: 16px; /* 防止 iOS 聚焦时自动放大页面 */
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 138, 76, .12); }
.textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
/* 两行高度的输入框：用上下 padding 撑开，长标题/集合地点不再被压成一条缝 */
.input-2l { padding-top: 18px; padding-bottom: 18px; line-height: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; }
.panel-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.panel-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }

/* ---------- Modal ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(11, 22, 16, .5);
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(3px);
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-head { padding: 24px 28px 0; display: flex; align-items: flex-start; justify-content: space-between; }
.modal-head h3 { font-size: 20px; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--ink-3); cursor: pointer; line-height: 1; padding: 0 4px; }
.modal-body { padding: 20px 28px 28px; }
.tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 11px; margin-bottom: 22px; }
.tabs button {
  flex: 1; padding: 9px; border: none; background: transparent; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .16s;
}
.tabs button.active { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }

/* ---------- Toast ---------- */
.toast-box { position: fixed; top: 84px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 18px; border-radius: 11px; background: var(--ink); color: #fff;
  font-size: 13.5px; box-shadow: var(--shadow-lg); animation: slideIn .22s ease;
  max-width: 320px;
}
.toast.ok { background: var(--brand-dark); }
.toast.err { background: #a8342a; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.empty { padding: 56px 24px; text-align: center; color: var(--ink-3); font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.skeleton { background: linear-gradient(90deg, #f1f4f2 25%, #e8ecea 37%, #f1f4f2 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: var(--ink-2); margin-top: 14px; max-width: 660px; font-size: 15.5px; }
.crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand-dark); }
.crumb span { color: var(--ink-2); }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 16px 0 28px; }
.filter-bar .label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-right: 2px; }

/* ---------- Rider card ---------- */
.rider-card { padding: 24px; text-align: center; }
.rider-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--brand), #4cc286); color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 700; overflow: hidden;
}
.rider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rider-name { font-size: 16px; font-weight: 700; }
.rider-city { font-size: 12.5px; color: var(--ink-3); }
.rider-bio { font-size: 13px; color: var(--ink-2); margin-top: 12px; min-height: 44px; }
.rider-stats { display: flex; justify-content: center; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.rider-stats div b { display: block; font-size: 17px; }
.rider-stats div span { font-size: 11px; color: var(--ink-3); }
.honor-line { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }

/* ---------- Highlight item ---------- */
.moment { break-inside: avoid; margin-bottom: 20px; }
.moment-img { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-soft); }
.moment-img img { width: 100%; }
.masonry { columns: 3; column-gap: 20px; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }

/* ---------- Timeline ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 26px; }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-soft);
}
.timeline-year { font-size: 13px; font-weight: 800; color: var(--brand-dark); letter-spacing: .04em; }
.timeline-title { font-size: 15.5px; font-weight: 700; margin: 4px 0 6px; }
.timeline-text { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #d7e2db; padding: 62px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-grid li { font-size: 13.5px; padding: 5px 0; color: #9fb0a6; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: 12.5px; color: #7c8f84; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* 备案号：与版权行同字号，单独一行左对齐，常驻可见（ICP 备案要求） */
.footer-beian { margin-top: 10px; font-size: 12.5px; color: #7c8f84; }
.footer-beian a { color: inherit; text-decoration: none; }
.footer-beian a:hover { color: #cfdcd4; text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.contact-item b { display: block; font-size: 15px; }
.contact-item p { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

/* ---------- Points board ---------- */
.points-hero {
  border-radius: var(--radius-lg); padding: 34px; color: #fff;
  background: linear-gradient(135deg, #14663a 0%, #1f8a4c 55%, #35b06a 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.points-hero b { font-size: 44px; display: block; letter-spacing: -.02em; line-height: 1.1; }
.points-hero .label { font-size: 13px; opacity: .85; }
.progress { height: 7px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: 12px; width: 260px; }
.progress i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.honor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 12px; margin-top: 26px; }
.honor-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; background: #fff; }
.honor-item.locked { opacity: .5; }
.honor-item .icon { font-size: 24px; }
.honor-item .name { font-size: 13.5px; font-weight: 700; margin-top: 6px; }
.honor-item .req { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: grid !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; margin-left: auto; place-items: center; cursor: pointer; font-size: 17px;
}
.nav-drawer { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 0; }
.nav-drawer.show { display: block; }
.nav-drawer a { display: block; padding: 11px 24px; font-size: 15px; color: var(--ink-2); }
.nav-drawer a:hover { background: var(--bg-soft); }
/* ---------- 平板 ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: 13.5px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-toggle { display: grid !important; }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  * { -webkit-tap-highlight-color: transparent; }
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .hero { padding: 54px 0 46px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 40px; }
  .hero-stat b { font-size: 26px; }

  .page-hero { padding: 40px 0 32px; }
  .page-hero p { font-size: 14.5px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 23px; }
  .section-head { margin-bottom: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .panel { padding: 20px; }

  /* 顶部导航 */
  .header-inner { height: 58px; gap: 10px; }
  .brand-slogan { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .user-meta { display: none; }
  .user-chip { padding: 4px; }
  .header-user .btn-sm { padding: 7px 10px; font-size: 12.5px; }

  /* 按钮触摸区域 ≥44px */
  .btn { min-height: 44px; padding: 11px 18px; }
  .btn-sm { min-height: 36px; padding: 8px 13px; }
  .tag-click { padding: 7px 13px; }
  .nav-drawer a { padding: 14px 24px; min-height: 48px; display: flex; align-items: center; }

  /* 筛选条横向滚动，避免换行撑高 */
  .filter-bar {
    flex-wrap: nowrap; overflow-x: auto; padding: 12px 0 18px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar .label { flex-shrink: 0; }
  .filter-bar .tag { flex-shrink: 0; }

  /* 弹窗：从底部升起，贴合拇指操作 */
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal {
    width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    animation: sheetUp .24s ease;
  }
  .modal-head { padding: 20px 20px 0; }
  .modal-body { padding: 16px 20px 24px; }
  @keyframes sheetUp { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }

  /* 提示条 */
  .toast-box { top: 70px; left: 16px; right: 16px; align-items: center; }
  .toast { max-width: 100%; width: 100%; text-align: center; }

  /* 卡片 */
  .card-foot { flex-wrap: wrap; gap: 10px; }
  .card-body { padding: 16px; }

  /* 积分卡与荣誉 */
  .points-hero { padding: 24px; flex-direction: column; align-items: flex-start; }
  .points-hero b { font-size: 38px; }
  .points-hero .progress { width: 100%; }
  .points-hero > div:last-child { text-align: left !important; }
  .honor-list { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); }

  /* 页脚 */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding: 44px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* 联系页 */
  .contact-item { flex-direction: row; gap: 12px; }
  .contact-icon { width: 38px; height: 38px; font-size: 17px; }
}

/* 超窄屏 */
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .brand-name { font-size: 14px; }
}

/* ================= 默认头像：单车行 LOGO ================= */
.avatar-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 8%;
  box-sizing: border-box;
  border-radius: 50%;
}

/* ================= 管理员「本页管理」按钮 ================= */
.page-admin-btn {
  background: linear-gradient(135deg, #1f7a5a, #28a06f);
  color: #ffffff;
  border: none;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(31, 122, 90, .22);
}
.page-admin-btn:hover { filter: brightness(1.06); }

/* ================= 图片网格（骑行线路图 / 线路精彩） ================= */
.img-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.img-grid-sm { gap: 8px; margin-top: 12px; }
.img-grid-sm .img-thumb { width: 72px; height: 72px; }
.img-cell { position: relative; width: 92px; height: 92px; }
.img-thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f4f7;
  display: block;
}
.img-thumb-moment { box-shadow: 0 0 0 2px #ffd9a8; }
.img-del {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 0;
}
.img-add {
  width: 92px;
  height: 92px;
  border: 2px dashed #d5dae2;
  border-radius: 10px;
  background: #fafbfc;
  color: #98a2b3;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.img-group-title { font-size: 13px; font-weight: 700; margin: 16px 0 2px; }
