:root {
  --blue: #1B9BD8; --blue-dark: #1276A8; --blue-soft: #E3F3FC;
  --green: #5FA843; --green-dark: #4A8534; --green-soft: #EAF5E0;
  --orange: #F08C1E; --orange-dark: #D1730D; --orange-soft: #FDF0DC;
  --amber: #BA7517; --amber-soft: #FAEEDA;
  --bg: #F5F6F8; --card: #fff; --border: #ECEEF3;
  --text: #1C2333; --muted: #8A93A6;
  --shadow: 0 2px 10px rgba(28, 35, 51, .05);
  --shadow-lg: 0 8px 28px rgba(28, 35, 51, .10);
  --radius: 16px;

  /* ===== P4 · 与后台统一的 lh- 设计令牌（跨站共用，只增不改） =====
     说明：--lh-brand 与后台 index.html 完全一致（品牌青蓝 #1B9BD8）；
           绿/橙沿用公开站自身色板，因此本次同步不改变公开站任何视觉。 */
  --lh-brand: #1B9BD8; --lh-brand-dark: #1276A8; --lh-brand-soft: #E3F3FC;
  --lh-ai: #534AB7;    --lh-ai-dark: #3F3890;    --lh-ai-soft: #F0EFF9;
  --lh-green: #5FA843; --lh-green-dark: #4A8534; --lh-green-soft: #EAF5E0;
  --lh-orange: #F08C1E;--lh-orange-dark: #D1730D;--lh-orange-soft: #FDF0DC;
  --lh-red: #FA5151;   --lh-red-dark: #C62828;   --lh-red-soft: #FDE6E6;
  --lh-text: #1C2333;  --lh-muted: #8A93A6;  --lh-faint: #AAB2C2;
  --lh-card-2: #FBFCFE;--lh-border-2: #DDE1EA;
  --lh-r: 14px; --lh-r-lg: 20px; --lh-r-sm: 10px;
  --lh-sd: 0 2px 10px rgba(28,35,51,.05);
  --lh-sd-lg: 0 10px 30px rgba(28,35,51,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

/* ===== 顶部导航（白底轻量） ===== */
.site-head { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-head .inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 10px; }
.site-head .logo { display: flex; align-items: center; }
.site-head .logo img { height: 36px; display: block; }
.site-head .nav { margin-left: auto; display: flex; gap: 4px; }
.site-head .nav a { color: var(--muted); font-size: 14px; padding: 7px 15px; border-radius: 18px; transition: all .15s; }
.site-head .nav a:hover { color: var(--blue); background: var(--blue-soft); }
.site-head .nav a.on { color: #fff; background: var(--blue); font-weight: 600; }

/* ===== 品牌横幅（蓝绿渐变卡片，同小程序视频封面气质） ===== */
.wrap { max-width: 1080px; margin: 0 auto; padding: 18px 20px 50px; }
.banner { border-radius: 20px; background: linear-gradient(120deg, #1B9BD8 0%, #35A8C9 55%, #5FA843 130%); color: #fff; padding: 40px 28px 36px; position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(27, 155, 216, .25); }
.banner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.10); top: -140px; right: -60px; }
.banner::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -100px; left: 12%; }
.banner .hi { display: inline-block; font-size: 12px; background: rgba(255,255,255,.2); padding: 4px 13px; border-radius: 13px; margin-bottom: 14px; letter-spacing: 1px; position: relative; z-index: 1; }
.banner h1 { font-size: 26px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; position: relative; z-index: 1; }
.banner p { font-size: 14px; opacity: .92; margin-bottom: 20px; position: relative; z-index: 1; }
.banner .cta { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 26px; border-radius: 24px; box-shadow: 0 4px 14px rgba(240,140,30,.4); position: relative; z-index: 1; transition: transform .15s; }
.banner .cta:hover { transform: translateY(-2px); }

/* ===== 分类色块（小程序三色磁贴） ===== */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tile { border-radius: 14px; padding: 16px 10px; text-align: center; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.tile .ico { font-size: 22px; display: block; margin-bottom: 6px; }
.tile.blue { background: var(--blue-soft); color: var(--blue-dark); }
.tile.green { background: var(--green-soft); color: var(--green-dark); }
.tile.orange { background: var(--orange-soft); color: var(--orange-dark); }
.tile.mix { background: linear-gradient(120deg, var(--blue-soft), var(--green-soft)); color: var(--blue-dark); }

/* ===== 区块标题 ===== */
.sec-title { font-size: 18px; font-weight: 800; margin: 26px 4px 14px; display: flex; align-items: center; gap: 9px; }
.sec-title::before { content: ''; width: 5px; height: 18px; border-radius: 3px; background: var(--orange); display: inline-block; }
.sec-title .sub { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ===== 活动卡片 ===== */
.act-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.act-card { display: block; background: var(--card); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.act-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.act-card .cover { width: 100%; height: 160px; object-fit: cover; display: block; background: var(--blue-soft); }
.act-card .cover-ph { width: 100%; height: 120px; background: linear-gradient(120deg, var(--blue-soft), var(--green-soft)); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.act-card .body { padding: 15px 17px; }
.act-card .name { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.act-card .meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.act-card .foot { display: flex; align-items: center; margin-top: 12px; gap: 8px; }
.act-card .go { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--orange); }

.badge { font-size: 12px; padding: 4px 11px; border-radius: 11px; font-weight: 600; }
.badge.fee { background: var(--blue-soft); color: var(--blue-dark); }
.badge.left { background: var(--green-soft); color: var(--green-dark); }
.badge.left.hot { background: var(--orange-soft); color: var(--orange-dark); }
.badge.full { background: #EEE; color: #999; }

/* ===== 详情页 ===== */
.detail-banner { border-radius: 20px; background: linear-gradient(120deg, #1B9BD8, #35A8C9); color: #fff; padding: 30px 26px; box-shadow: 0 8px 24px rgba(27,155,216,.22); }
.detail-banner .name { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.detail-banner .meta { font-size: 14px; opacity: .93; display: flex; flex-direction: column; gap: 4px; }
.detail-cols { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; margin-top: 14px; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 17px 19px; margin-bottom: 14px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 15px; margin-bottom: 10px; font-weight: 700; }
.info-card .desc { font-size: 14px; white-space: pre-wrap; }
.kv { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; }

/* ===== 表单 ===== */
label.fl { display: block; font-size: 14px; margin-bottom: 12px; font-weight: 600; }
label.fl input { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #DDE1EA; border-radius: 12px; font-size: 15px; font-family: inherit; font-weight: 400; background: #FAFBFD; }
label.fl input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }
.cap-row { display: flex; gap: 10px; align-items: flex-end; }
.cap-row label.fl { flex: 1; }
.cap-q { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; padding: 12px 16px; border-radius: 12px; font-size: 15px; white-space: nowrap; cursor: pointer; user-select: none; }
.cap-btn { flex-shrink: 0; padding: 12px 16px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; border-radius: 12px; cursor: pointer; white-space: nowrap; transition: all .15s; }
.cap-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.cap-btn:disabled { border-color: #C9C9D4; color: #A0A0AC; cursor: not-allowed; background: #F4F4F8; }
.cap-hint { font-size: 13px; color: #6B7280; margin: -6px 0 10px; line-height: 1.6; }
.cap-hint b { color: var(--blue-dark); }
.form-err { color: #D53F2C; font-size: 13px; margin: -4px 0 10px; display: none; }

/* ===== 报名小问卷（选填画像） ===== */
.survey { background: #FAFBFD; border: 1px dashed #DDE1EA; border-radius: 14px; padding: 14px 14px 6px; margin: 4px 0 14px; }
.survey-head { display: flex; align-items: center; gap: 8px; }
.survey-title { font-size: 14px; font-weight: 700; }
.survey-tag { font-size: 11px; font-weight: 700; color: var(--orange, #F08C1E); background: #FEF3E2; padding: 2px 8px; border-radius: 999px; }
.survey-sub { font-size: 12px; color: #9AA0AC; margin: 4px 0 12px; }
.survey-q { margin-bottom: 10px; }
.sq-k { display: block; font-size: 12px; color: #6B7280; font-weight: 600; margin-bottom: 6px; }
.sq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sq-opts button { border: 1px solid #DDE1EA; background: #fff; color: #4B5563; font-size: 13px; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .12s; font-family: inherit; }
.sq-opts button:hover { border-color: var(--blue); color: var(--blue-dark); }
.sq-opts button.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(27,155,216,.25); }

.btn { display: block; width: 100%; background: var(--blue); color: #fff; border: none; padding: 14px; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; transition: background .15s; }
.btn:hover { background: var(--blue-dark); }
.btn:disabled { background: #C9C9D4; cursor: not-allowed; }
.btn.ghost { background: var(--blue-soft); color: var(--blue-dark); }
.btn.coral { background: var(--orange); }
.btn.coral:hover { background: var(--orange-dark); }

/* ===== 成功页 ===== */
.success-box { text-align: center; padding: 28px 20px; }
.success-box .tick { width: 66px; height: 66px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.success-box h2 { font-size: 20px; margin-bottom: 8px; }
.success-box p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.pay-qr { width: 200px; height: 200px; border-radius: 14px; border: 1px solid var(--border); margin: 16px auto; display: block; }
.pay-note { background: var(--amber-soft); color: #854F0B; font-size: 13px; border-radius: 12px; padding: 12px 16px; margin-top: 14px; text-align: left; }

/* ===== 照片墙 ===== */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-grid img { width: 100%; height: 110px; object-fit: cover; border-radius: 14px; cursor: pointer; display: block; background: var(--blue-soft); transition: transform .15s; }
.photo-grid img:hover { transform: scale(1.03); }

/* ===== 空状态/骨架 ===== */
.empty-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 44px 24px; }
.empty-card .ico { width: 70px; height: 70px; border-radius: 50%; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 14px; }
.empty-card .t { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.empty-card .d { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.skel { border-radius: var(--radius); background: linear-gradient(90deg, #ECEEF3 25%, #F6F7FA 50%, #ECEEF3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; height: 160px; margin-bottom: 14px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.retry { color: var(--blue); cursor: pointer; text-decoration: underline; }

/* ===== 页脚（轻色） ===== */
.site-foot { background: #fff; border-top: 1px solid var(--border); margin-top: 30px; }
.site-foot .inner { max-width: 1080px; margin: 0 auto; padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.site-foot .brand { display: flex; align-items: center; }
.site-foot .brand img { height: 34px; display: block; }
.site-foot .desc { font-size: 12px; color: var(--muted); margin-top: 8px; max-width: 320px; line-height: 1.7; }
.site-foot .links { margin-left: auto; display: flex; gap: 24px; font-size: 13px; padding-top: 8px; }
.site-foot .links a { color: var(--muted); }
.site-foot .links a:hover { color: var(--blue); }
.site-foot .legal { width: 100%; border-top: 1px solid var(--border); padding-top: 12px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; }
.site-foot .legal a { color: var(--muted); }

/* ===== 桌面端 ===== */
@media (min-width: 720px) {
  .banner { padding: 60px 44px 54px; }
  .banner h1 { font-size: 36px; }
  .banner p { font-size: 16px; }
  .act-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-cols { grid-template-columns: 1.2fr .8fr; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-grid img { height: 150px; }
}
@media (min-width: 1024px) {
  .act-grid { grid-template-columns: repeat(3, 1fr); }
  .banner h1 { font-size: 40px; }
}

/* ===== 问卷底部弹窗（苹果简洁风：零emoji / 灰阶+单主色 / 发丝线分隔） ===== */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20,25,35,.45); z-index: 100; opacity: 0; transition: opacity .22s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop.open { opacity: 1; }
.sheet { background: #fff; border-radius: 18px 18px 0 0; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; padding: 24px 24px 28px; transform: translateY(40px); transition: transform .25s cubic-bezier(.2,.8,.25,1); position: relative; }
.sheet-backdrop.open .sheet { transform: translateY(0); }
.sheet-handle { width: 36px; height: 5px; border-radius: 3px; background: #D8DCE3; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }
.sheet-title { text-align: center; font-size: 17px; font-weight: 600; margin-top: 6px; }
.sheet-sub { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.sheet-divider { height: 1px; background: #F0F1F4; margin: 18px 0 6px; }
.sheet-q { padding: 12px 0 4px; }
.sheet-q-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; letter-spacing: .3px; }
.sheet-q-hint { color: #C2C8D0; margin-left: 8px; font-size: 12px; }
.sheet-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-opt { padding: 10px 18px; border: none; border-radius: 11px; background: #F4F6F9; color: #4A5468; font-size: 14px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, transform .1s; }
.sheet-opt.eq { flex: 1; min-width: 76px; padding: 11px 0; text-align: center; }
.sheet-opt:active { transform: scale(.96); }
.sheet-opt.on { background: var(--blue-dark); color: #fff; font-weight: 500; }
.sheet-btn { width: 100%; margin-top: 6px; padding: 14px 0; border: none; border-radius: 13px; background: var(--blue-dark); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .5px; cursor: pointer; font-family: inherit; }
.sheet-btn:active { background: #0E5F88; }
.sheet-skip { text-align: center; font-size: 13px; color: #C2C8D0; margin-top: 14px; cursor: pointer; }
.sheet-skip:active { color: var(--muted); }
@media (min-width: 720px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 18px; max-width: 420px; }
}

/* ===== 网页客服按钮 + 聊天窗（与小乐同大脑） ===== */
.kf-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--blue-dark); border: none; color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 4px 16px rgba(18,118,168,.35); transition: transform .15s; display: flex; align-items: center; justify-content: center; }
.kf-fab:active { transform: scale(.92); }
.kf-panel { position: fixed; right: 0; bottom: 0; z-index: 95; width: 100%; max-width: 480px; height: 78vh; max-height: 640px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 30px rgba(20,25,35,.18); display: none; flex-direction: column; overflow: hidden; }
.kf-panel.open { display: flex; }
.kf-head { padding: 14px 18px; border-bottom: 1px solid #F0F1F4; display: flex; align-items: center; gap: 10px; }
.kf-head .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.kf-head .t { font-size: 15px; font-weight: 600; }
.kf-head .s { font-size: 12px; color: var(--muted); }
.kf-close { margin-left: auto; border: none; background: none; font-size: 20px; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.kf-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: #F7F8FA; display: flex; flex-direction: column; gap: 10px; }
.kf-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.kf-msg.bot { align-self: flex-start; background: #fff; color: var(--text); border-radius: 4px 14px 14px 14px; }
.kf-msg.me { align-self: flex-end; background: var(--blue-dark); color: #fff; border-radius: 14px 14px 4px 14px; }
.kf-typing { align-self: flex-start; background: #fff; color: var(--muted); padding: 10px 16px; border-radius: 4px 14px 14px 14px; font-size: 13px; }
.kf-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #F0F1F4; background: #fff; }
.kf-input input { flex: 1; padding: 11px 14px; border: 1px solid #DDE1EA; border-radius: 20px; font-size: 14px; font-family: inherit; background: #FAFBFD; }
.kf-input input:focus { outline: none; border-color: var(--blue); background: #fff; }
.kf-input button { padding: 0 18px; border: none; border-radius: 20px; background: var(--blue-dark); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
@media (min-width: 720px) {
  .kf-panel { right: 24px; bottom: 90px; width: 380px; height: 560px; border-radius: 18px; }
}
