/* ===========================================================
   蓝星教育系统 · 招生前台视觉体系（移动端 H5）
   设计基调：品牌蓝渐变、卡片化、强价格引导、轻动效
   =========================================================== */

:root {
  --primary: #2b5cff;
  --primary-dark: #1e4bd8;
  --primary-light: #eef2ff;
  --gradient: linear-gradient(135deg, #3b6dff 0%, #2b5cff 55%, #1e4bd8 100%);
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #e5384a;
  --text: #1a1d24;
  --text-2: #5f6672;
  --text-3: #9198a5;
  --border: #eceff4;
  --bg: #f4f6fb;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(16, 24, 40, .06);
  --shadow-hover: 0 8px 24px rgba(16, 24, 40, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg);
  font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { max-width: 750px; margin: 0 auto; min-height: 100vh; box-shadow: 0 0 40px rgba(16, 24, 40, .05); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ 顶部导航 ============ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .brand {
  font-size: 17px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 9px; letter-spacing: .2px;
}
.navbar .brand::before {
  content: ''; width: 28px; height: 28px; border-radius: 9px;
  /* 路径必须相对站点根：本样式表位于 /assets/，写成 assets/logo.png 会解析成 /assets/assets/logo.png */
  background: url('/assets/logo.png') center / contain no-repeat;
}
.navbar .nav-links { display: flex; gap: 18px; font-size: 13.5px; color: var(--text-2); }
.navbar .nav-links a { position: relative; padding: 4px 0; transition: color .18s var(--ease); }
.navbar .nav-links a:hover { color: var(--primary); }
.navbar .nav-links a.active { color: var(--primary); font-weight: 600; }
.navbar .nav-links a.active::after {
  content: ''; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: var(--gradient);
}

/* ============ 底部导航 ============ */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  max-width: 750px; margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--border);
  display: flex; box-shadow: 0 -2px 14px rgba(16, 24, 40, .05);
}
.tabbar a {
  flex: 1; text-align: center; padding: 9px 0 7px;
  font-size: 11.5px; color: var(--text-3);
  transition: color .18s var(--ease);
}
.tabbar a.active { color: var(--primary); font-weight: 600; }
.tabbar .ico { display: block; font-size: 19px; line-height: 1.25; transition: transform .2s var(--ease); }
.tabbar a.active .ico { transform: translateY(-2px) scale(1.08); }

.page { padding: 14px 14px 84px; }
.page.no-tab { padding-bottom: 26px; }

/* ============ 卡片 ============ */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 15px;
  margin-bottom: 12px;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.card-title {
  font-size: 15px; font-weight: 600; margin: 0 0 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-title::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px; margin-right: 8px;
  background: var(--gradient); flex: 0 0 3px;
}
.card-title .more { font-size: 12.5px; color: var(--text-3); font-weight: 400; }

/* ============ 科目卡片 ============ */
.course-item {
  display: flex; gap: 13px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px; margin-bottom: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.course-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.course-cover {
  width: 100px; height: 76px; flex: 0 0 100px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(135deg, #dbe4ff 0%, #eef2ff 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 12px; position: relative;
}
.course-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 92, 255, .12), transparent 60%);
}
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.course-title {
  font-size: 15.5px; font-weight: 600; margin: 0 0 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  letter-spacing: .2px;
}
.course-meta { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.price { color: var(--danger); font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.price-old { color: var(--text-3); font-size: 12px; text-decoration: line-through; }
.commission-tag {
  margin-left: auto; font-size: 11px; color: #b45309;
  background: linear-gradient(135deg, #fff4e5, #ffeed6);
  padding: 3px 8px; border-radius: 20px; font-weight: 500;
  border: 1px solid #fde3c0;
}

/* ============ 标签 ============ */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 11.5px; margin-right: 5px; font-weight: 500; line-height: 1.6;
}
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-green { background: #e6f7ed; color: #15803d; }
.tag-orange { background: #fff4e5; color: #b45309; }
.tag-gray { background: #f1f3f7; color: var(--text-2); }
.tag-red { background: #fdecec; color: #b91c1c; }

/* ============ 列表行 ============ */
.row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.row:last-child { border-bottom: none; }
.row .label { color: var(--text-2); font-size: 13px; }
.row .value { font-size: 13.5px; }

/* ============ 表单 ============ */
.form-group { margin-bottom: 15px; }
.form-label { font-size: 13px; color: var(--text-2); margin-bottom: 7px; display: block; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; background: var(--card); color: var(--text);
  outline: none; font-family: inherit;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: #d8dde7; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 92, 255, .13);
}
.input::placeholder, .textarea::placeholder { color: #b6bcc9; }
.textarea { min-height: 82px; resize: vertical; }
.input-group { position: relative; }
.input-group .input { padding-right: 98px; }
.input-group .suffix-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: none; background: var(--primary-light); color: var(--primary);
  padding: 6px 10px; border-radius: 7px; font-size: 12.5px; cursor: pointer;
  font-weight: 500; transition: background .18s var(--ease);
}
.input-group .suffix-btn:hover { background: #dde6ff; }
.input-group .suffix-btn:disabled { color: var(--text-3); background: #f1f3f7; cursor: not-allowed; }

/* ============ 按钮 ============ */
.btn {
  display: block; width: 100%; padding: 12px;
  border: none; border-radius: 12px;
  background: var(--gradient); color: #fff;
  font-size: 15.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(43, 92, 255, .28);
  transition: transform .14s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease);
}
.btn:hover { box-shadow: 0 8px 24px rgba(43, 92, 255, .36); }
.btn:active { transform: translateY(1px) scale(.995); box-shadow: 0 3px 10px rgba(43, 92, 255, .25); }
.btn:disabled {
  background: #c8cfdb; box-shadow: none; cursor: not-allowed; transform: none; opacity: .85;
}
.btn-outline {
  background: #fff; color: var(--primary);
  border: 1px solid #cdd7f5; box-shadow: none;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-outline:disabled { color: #aeb4c0; border-color: var(--border); background: #f4f6fa; }
.btn-danger { background: linear-gradient(135deg, #f05263, #e5384a); box-shadow: 0 6px 18px rgba(229, 56, 74, .26); }
.btn-danger:hover { box-shadow: 0 8px 24px rgba(229, 56, 74, .34); }
.btn-gray { background: #f1f3f7; color: var(--text-2); box-shadow: none; }
.btn-sm { display: inline-block; width: auto; padding: 6px 14px; font-size: 12.5px; font-weight: 500; border-radius: 8px; }

/* ============ Tab 切换 ============ */
.tabs { display: flex; background: #eef1f6; border-radius: 11px; padding: 4px; margin-bottom: 14px; }
.tabs .tab {
  flex: 1; text-align: center; padding: 8px 0; font-size: 13.5px;
  border-radius: 8px; color: var(--text-2); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tabs .tab.active {
  background: #fff; color: var(--primary); font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .09);
}

/* ============ 搜索栏 ============ */
.searchbar { display: flex; gap: 8px; margin-bottom: 14px; }
.searchbar .input { flex: 1; }
.searchbar .btn { width: auto; padding: 11px 18px; box-shadow: none; }

/* ============ 统计网格 ============ */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-box {
  background: #fff; border-radius: var(--radius-sm); padding: 14px 8px; text-align: center;
  box-shadow: var(--shadow); transition: transform .2s var(--ease);
}
.stat-box:hover { transform: translateY(-2px); }
.stat-box .num { font-size: 21px; font-weight: 700; color: var(--primary); letter-spacing: -.3px; }
.stat-box .txt { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* ============ 进度条 ============ */
.progress { height: 9px; background: #eef0f5; border-radius: 6px; overflow: hidden; }
.progress .bar {
  height: 100%; border-radius: 6px; transition: width .4s var(--ease);
  background: var(--gradient);
}

/* ============ 打卡日历 ============ */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar .head { text-align: center; font-size: 12px; color: var(--text-3); padding: 5px 0; }
.calendar .day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; border-radius: 9px; background: #f6f8fb; color: var(--text-3);
  transition: transform .18s var(--ease);
}
.calendar .day.checked {
  background: var(--gradient); color: #fff; font-weight: 700;
  box-shadow: 0 3px 10px rgba(43, 92, 255, .3);
  transform: scale(1.04);
}

/* ============ 固定底部按钮 ============ */
.fixed-bottom {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 750px; margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--border);
  padding: 11px 14px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 -2px 14px rgba(16, 24, 40, .06);
}
.fixed-bottom .btn { flex: 1; }

/* ============ 教师名片 ============ */
.teacher-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 13px; margin-bottom: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.teacher-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px;
  background: var(--gradient);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; overflow: hidden;
  box-shadow: 0 4px 12px rgba(43, 92, 255, .28);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 空状态 ============ */
.empty { text-align: center; padding: 58px 0; color: var(--text-3); font-size: 13.5px; }
.empty .ico {
  font-size: 46px; margin-bottom: 12px; opacity: .28;
  display: block;
}

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 12px);
  background: rgba(24, 31, 45, .94); color: #fff;
  padding: 10px 20px; border-radius: 22px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: all .24s var(--ease); z-index: 999;
  max-width: 80%; text-align: center;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .22);
  backdrop-filter: blur(6px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ 登录页 ============ */
.login-wrap { padding: 56px 24px 24px; }
.login-logo { text-align: center; margin-bottom: 34px; }
.login-logo .t {
  font-size: 25px; font-weight: 700; letter-spacing: .5px;
  color: var(--text); display: flex; align-items: center; justify-content: center; gap: 11px;
}
.login-logo .t::before {
  content: ''; width: 38px; height: 38px; border-radius: 12px;
  background: url('/assets/logo.png') center / contain no-repeat;
}
.login-logo .s { font-size: 12.5px; color: var(--text-3); margin-top: 8px; letter-spacing: .3px; }
.login-link { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-top: 14px; }
.login-link a:hover { color: var(--primary); }

/* ============ 电商式详情页 ============ */
.detail-hero {
  width: 100%; height: 240px; background: #eef1f7;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .ph { color: var(--text-3); font-size: 13px; }

.detail-price-card { border-radius: 0 0 var(--radius) var(--radius); margin-top: -14px; position: relative; }
.price-block { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.discount-tag {
  font-size: 11.5px; color: #fff; background: linear-gradient(135deg, #ff6b3d, #e5384a);
  padding: 2px 8px; border-radius: 20px; font-weight: 600;
}
.detail-title { font-size: 19px; font-weight: 700; margin: 10px 0 8px; line-height: 1.4; letter-spacing: .2px; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.commission-line {
  margin-top: 10px; font-size: 12px; color: #b45309;
  background: #fff4e5; border: 1px solid #fde3c0; border-radius: 8px; padding: 6px 10px;
}
.intro-text { font-size: 13.5px; color: var(--text-2); white-space: pre-wrap; line-height: 1.75; }

/* 机构信息（不展示联系方式） */
.org-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.org-logo {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px; overflow: hidden;
  background: linear-gradient(135deg, #dbe4ff, #eef2ff); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.org-logo img { width: 100%; height: 100%; object-fit: cover; }
.org-info { flex: 1; min-width: 0; }
.org-name { font-size: 15px; font-weight: 600; }
.org-note {
  margin-top: 12px; font-size: 12px; color: var(--text-3);
  background: #f6f8fb; border-radius: 8px; padding: 8px 10px; text-align: center;
}

/* 底部价格条 */
.bottom-price { flex: 1; display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; }
.bottom-price b { font-size: 19px; font-weight: 700; }

/* ============ 招生老师咨询弹层 ============ */
.advisor-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(17, 24, 39, .5); backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s var(--ease) both;
}
.advisor-wrap { width: 100%; max-width: 750px; }
.advisor-card {
  background: #fff; border-radius: 20px 20px 0 0; padding: 18px 16px 12px;
  max-height: 82vh; display: flex; flex-direction: column;
  animation: slideUp .26s var(--ease) both;
}
@keyframes slideUp { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.advisor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.advisor-head .t { font-size: 16.5px; font-weight: 700; }
.advisor-head .s { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.advisor-head .close-x { font-size: 22px; color: var(--text-3); cursor: pointer; line-height: 1; }
.advisor-list { overflow-y: auto; flex: 1; }
.advisor-item {
  display: flex; align-items: stretch; gap: 14px;
  background: #f8fafd; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
}
/* 左栏：老师信息 + 联系方式 */
.advisor-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.advisor-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.advisor-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 54px; overflow: hidden;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; box-shadow: 0 3px 10px rgba(43, 92, 255, .26);
}
.advisor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.advisor-info { flex: 1; min-width: 120px; }
.advisor-name { font-size: 15.5px; font-weight: 600; }
.advisor-intro { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

/* 右栏：微信二维码（1:1 大图，点击放大长按识别） */
.qr-box {
  flex: 0 0 140px; width: 140px; align-self: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.qr-box img {
  width: 140px; height: 140px; object-fit: cover;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; cursor: zoom-in;
}
.qr-box .qr-cap { font-size: 11.5px; color: var(--text-3); margin-top: 5px; letter-spacing: .5px; }
/* 窄屏：二维码缩到 112px，仍保持左右两栏；极窄屏（<360px）换行到下方 */
@media (max-width: 420px) { .qr-box, .qr-box img { flex-basis: 112px; width: 112px; height: 112px; } }
@media (max-width: 360px) {
  .advisor-item { flex-direction: column; }
  .qr-box { flex-basis: auto; width: 140px; margin: 0 auto; }
  .qr-box img { width: 140px; height: 140px; }
}

.advisor-contact { margin-top: auto; }
.contact-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 13.5px; border-top: 1px dashed var(--border);
}
.contact-row .label { color: var(--text-3); font-size: 12.5px; flex: 0 0 34px; }
.contact-row b { font-weight: 600; letter-spacing: .3px; }
.copy-btn, .call-btn {
  border: 1px solid #cdd7f5; background: #fff; color: var(--primary);
  border-radius: 7px; padding: 3px 10px; font-size: 12px; cursor: pointer;
  font-family: inherit;
}
.copy-btn:hover, .call-btn:hover { background: var(--primary-light); }
.call-btn { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.call-btn:hover { background: var(--primary-dark); color: #fff; }
.advisor-foot { padding-top: 6px; }
.advisor-foot .btn { width: 100%; }

/* ============ 老师瀑布流 ============ */
.wf { column-count: 2; column-gap: 14px; }
.wf-card {
  break-inside: avoid; margin-bottom: 14px;
  background: #fff; border-radius: 6px;
  border: 1px solid #e3e6ec;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .08);
  overflow: hidden;
}
.wf-img { width: 100%; aspect-ratio: 4 / 5; background: #eef1f6; }
.wf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 600; color: var(--primary);
}
.wf-info { padding: 14px 10px 16px; text-align: center; }
.wf-name {
  font-size: 14.5px; font-weight: 700; color: #111;
  line-height: 1.7; letter-spacing: .5px;
}
.wf-phone { font-size: 14.5px; font-weight: 700; color: #111; line-height: 1.7; letter-spacing: .5px; }
.wf-loading, .wf-end { text-align: center; color: var(--text-3); font-size: 12.5px; padding: 14px 0 6px; }

/* ============ 详情图 ============ */
.detail-imgs img { width: 100%; margin-bottom: 10px; border-radius: var(--radius-sm); }

/* ============ 工具类 ============ */
.section-title { font-size: 15.5px; font-weight: 600; margin: 4px 0 12px; }
.muted { color: var(--text-3); font-size: 12.5px; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-primary { color: var(--primary); }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mb8 { margin-bottom: 8px; }
.flex { display: flex; align-items: center; }
.gap8 { gap: 8px; }

/* ============ 顶部宣传视频 Banner（2:1，建议上传 2:1 视频） ============ */
.video-hero { position: relative; margin-bottom: 12px; border-radius: var(--radius-sm); overflow: hidden; background: #000; aspect-ratio: 2 / 1; }
.video-hero video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-hero .video-poster {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; background: #000;
}
/* 首图正中央的半透明播放按钮（20% 不透明底 + 半透明白色三角） */
.video-hero .video-play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 20%; max-width: 88px; min-width: 46px; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .2);
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  transition: background .18s ease, transform .18s ease;
}
.video-hero .video-play-btn:hover {
  background: rgba(255, 255, 255, .34);
  transform: translate(-50%, -50%) scale(1.05);
}
.video-hero .video-play-btn svg { width: 44%; height: 44%; display: block; }
.video-hero .video-play-btn svg polygon { fill: rgba(255, 255, 255, .9); }

/* ============ 机构认领卡片页 ============ */
.claim-btn { cursor: pointer; user-select: none; }
.claim-btn:active { opacity: .75; }

.sheet-mask {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(15, 20, 30, .5);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: 100%; max-width: 560px; background: var(--card);
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
  max-height: 92vh; animation: sheet-up .22s ease;
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6 } to { transform: none; opacity: 1 } }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px 12px; border-bottom: 1px solid var(--border);
}
.sheet-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.sheet-x { font-size: 22px; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 4px; }
.sheet-body { padding: 14px 18px 4px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  display: flex; gap: 10px; padding: 12px 18px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.sheet-foot .btn { flex: 1; }
.sheet-org {
  padding: 9px 12px; background: var(--bg); border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.sheet-tip {
  margin: 12px 0 16px; padding: 10px 12px; border-radius: 10px;
  background: var(--primary-light); color: var(--text-2); font-size: 12.5px; line-height: 1.6;
}
.req { color: var(--danger); }
.hint { margin-top: 6px; font-size: 12px; color: var(--text-3); }
.up-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.up-item {
  position: relative; width: 76px; height: 76px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border); background: var(--bg);
}
.up-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-del {
  position: absolute; right: 2px; top: 2px; width: 19px; height: 19px;
  border-radius: 50%; background: rgba(20, 26, 38, .62); color: #fff;
  font-size: 13px; line-height: 19px; text-align: center; cursor: pointer;
}
.up-btn {
  width: 100%; padding: 12px; border: 1.5px dashed #cfd7e6; border-radius: 10px;
  background: #f8fafd; color: var(--text-2); font-size: 13.5px; cursor: pointer;
}
.up-btn:active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* ============ 机构列表：滚动加载 & 空态入驻入口 ============ */
.load-more {
  text-align: center; padding: 16px 0 6px;
  font-size: 13px; color: var(--text-3);
}
.lm-spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 6px;
  vertical-align: -2px; border-radius: 50%;
  border: 2px solid var(--border); border-top-color: var(--primary);
  animation: lm-rot .7s linear infinite;
}
@keyframes lm-rot { to { transform: rotate(360deg) } }
/* .btn 默认是 block + width:100%，这里改为行内块并左右 auto 居中 */
.empty-btn {
  display: inline-block; width: auto; min-width: 168px;
  margin: 14px auto 0; padding: 11px 26px;
}
