/* ============================================================
 * 校园约球智能体 · 样式表 style.css
 * 说明：纯手写 CSS，不引入任何外部框架和网络字体，断网也能正常显示
 * ============================================================ */

:root {
  --bg: #f2f6fc;
  --card: #ffffff;
  --line: #e3e9f3;
  --text: #1b2432;
  --muted: #6c7c93;
  --brand: #2f6bed;
  --brand-dark: #1f52c4;
  --brand-soft: #eaf1ff;
  --green: #17a34a;
  --orange: #ef6c33;
  --purple: #7c4dff;
  --red: #e23b3b;
  --shadow: 0 6px 24px rgba(27, 46, 89, .07);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* ---------- 顶部标题栏 ---------- */
.topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 26px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 14px; }

.logo {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff9f45, #ef6c33);
  color: #fff;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(239, 108, 51, .28);
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: .5px;
}

.brand-text p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.online {
  font-size: 12px;
  color: var(--green);
  background: #eafaf0;
  border: 1px solid #cdeedb;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 4px;
}
.online i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
  vertical-align: middle;
}

.btn {
  font-family: inherit;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
}
.btn:hover { border-color: #c3d2ea; background: #f7faff; }
.btn.ghost.danger:hover { border-color: #f3c2c2; background: #fff5f5; color: var(--red); }
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  padding: 10px 22px;
  font-size: 14.5px;
}
.btn.primary:hover { background: var(--brand-dark); }
.btn.active { background: var(--brand-soft); border-color: #b9cdff; color: var(--brand-dark); }

/* ---------- 主体布局 ---------- */
.layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 18px;
  padding: 18px 26px 22px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- 对话区 ---------- */
.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.chat-head .avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.chat-head strong { display: block; font-size: 14.5px; }
.chat-head span { font-size: 12px; color: var(--muted); }

.messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 20px 6px;
  scroll-behavior: smooth;
}

.msg {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  animation: rise .25s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.msg .bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14.5px;
  line-height: 1.72;
}

.msg.bot .bubble {
  background: #f4f7fd;
  border: 1px solid #e8eefa;
  border-top-left-radius: 5px;
}
.msg.me { flex-direction: row-reverse; }
.msg.me .bubble {
  background: var(--brand);
  color: #fff;
  border-top-right-radius: 5px;
  box-shadow: 0 4px 14px rgba(47, 107, 237, .22);
}

.mini-avatar {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.msg.bot .mini-avatar { background: var(--brand-soft); color: var(--brand-dark); }
.msg.me .mini-avatar { background: #e8edf7; color: #5b6b85; }

/* 对话里的小卡片 */
.inline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 2px 0 16px 40px;
  max-width: 78%;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(27, 46, 89, .05);
}
.inline-card b { font-size: 15px; }

/* 快捷短句 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 14px 40px; }
.chip {
  font-family: inherit;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px dashed #b9cdff;
  background: #f7faff;
  color: var(--brand-dark);
  cursor: pointer;
  transition: .16s;
}
.chip:hover { background: var(--brand-soft); border-style: solid; }

/* 输入区 */
.composer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 12px 18px 10px;
  background: #fbfcff;
}
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.quick:empty { display: none; }

.input-row { display: flex; gap: 10px; }

#input {
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 15px;
  border-radius: 11px;
  border: 1px solid #d7e1f1;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: .18s;
}
#input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 237, .12); }

.hint {
  margin: 8px 2px 0;
  font-size: 11.5px;
  color: #93a1b6;
}

/* ---------- 右侧清单看板 ---------- */
.board {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 12px;
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}
.board-head h2 { margin: 0; font-size: 17px; letter-spacing: .5px; }
.board-time { font-size: 12px; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.stat {
  background: #f6f9ff;
  border: 1px solid #e8eefa;
  border-radius: 11px;
  padding: 8px 6px;
  text-align: center;
}
.stat b { display: block; font-size: 21px; color: var(--brand-dark); line-height: 1.3; }
.stat span { font-size: 11.5px; color: var(--muted); }

.board-list {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 2px;
}

.session {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  transition: .18s;
  animation: rise .25s ease;
  cursor: pointer;
}
.session:hover { border-color: #c9d8f2; box-shadow: 0 6px 18px rgba(27, 46, 89, .06); }
.session.opened { border-color: #b9cdff; box-shadow: 0 6px 20px rgba(47, 107, 237, .09); }
.session.full { background: #fffbf6; border-color: #f6dcc6; }

.session-top { display: flex; align-items: center; gap: 9px; }
.sport-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.session-no {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: #f1f4fa;
  border-radius: 6px;
  padding: 1px 7px;
}
.session-title { font-weight: 700; font-size: 15px; }
.session-status {
  margin-left: auto;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #eafaf0;
  color: var(--green);
  border: 1px solid #cdeedb;
}
.session.full .session-status { background: #fff1e6; color: #c2571f; border-color: #f7d9c3; }

.session-actions { display: flex; gap: 6px; }
.mini-btn {
  font-family: inherit;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #d7e1f1;
  background: #fbfcff;
  color: #5b6b85;
  cursor: pointer;
  transition: .16s;
  white-space: nowrap;
}
.mini-btn:hover { border-color: #a9c4f5; color: var(--brand-dark); background: var(--brand-soft); }
.mini-btn.add { color: var(--brand-dark); border-color: #bcd2f7; background: var(--brand-soft); font-weight: 600; }
.mini-btn.add:hover { background: #e3edff; border-color: #8fb2f2; }
.mini-btn.danger { color: #b2641f; border-color: #f0dcc4; background: #fff8ef; }
.mini-btn.danger:hover { color: #c22c2c; border-color: #f3c2c2; background: #fff5f5; }

.session-meta {
  margin: 7px 0 8px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

/* 场地名可点击：查看地图上的具体位置 */
.place-link {
  cursor: pointer;
  color: var(--brand-dark);
  border-bottom: 1px dashed #9db9ef;
  transition: .16s;
}
.place-link:hover { color: #1c4fc0; background: var(--brand-soft); border-radius: 4px; padding: 0 3px; }
.map-fallback {
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6c7c93;
  font-size: 14px;
  background: #f7f9fd;
  border-radius: 10px;
}
.map-fallback small { color: #9aa8bd; font-size: 11.5px; }

.bar {
  height: 7px;
  border-radius: 99px;
  background: #eef2f9;
  overflow: hidden;
  margin-bottom: 8px;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #5b9bff, #2f6bed);
  transition: width .35s;
}
.session.full .bar > i { background: linear-gradient(90deg, #ffb066, #ef6c33); }

.names { font-size: 12.5px; color: #3d4c63; line-height: 1.85; }
.names em { font-style: normal; color: #9aa8bd; }
.names span {
  display: inline-block;
  background: #f3f6fc;
  border-radius: 6px;
  padding: 0 6px;
  margin: 2px 4px 0 0;
}
.names span.wait { background: #fff5e9; color: #b2641f; }

/* ---------- 房间卡片里的成员个人卡片 ---------- */
.people { margin-top: 9px; }
.people[hidden] { display: none; }
.people-hint { font-size: 11px; color: #93a1b6; margin-top: 3px; }
.people-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin: 8px 0 6px;
}
.people-empty { font-size: 12px; color: #9aa8bd; }
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 7px;
}
.player-card {
  background: #f6f9ff;
  border: 1px solid #e2eaf8;
  border-radius: 9px;
  padding: 7px 8px;
  min-width: 0;
  transition: .16s;
}
.player-card:hover { border-color: #b9cdff; background: #f1f6ff; }
.player-card.wait { background: #fff8ef; border-color: #f6e2c9; }
.player-card.wait:hover { border-color: #efc79a; }
.pc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.pc-avatar {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.player-card.wait .pc-avatar { background: #ffeedb; color: #b2641f; }
.pc-name { display: flex; align-items: center; gap: 4px; min-width: 0; }
.pc-name b {
  font-size: 12.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-name em { font-style: normal; font-size: 10px; color: #b2641f; }
.pc-lines { display: flex; flex-direction: column; gap: 1px; }
.pc-lines span {
  font-size: 10.5px; color: #6c7c93; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.board-foot {
  flex: 0 0 auto;
  border-top: 1px dashed var(--line);
  margin-top: 10px;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #93a1b6;
}

.empty {
  text-align: center;
  color: #9aa8bd;
  font-size: 13px;
  padding: 40px 10px;
}
.empty b { display: block; font-size: 30px; margin-bottom: 8px; }

/* ---------- 提示条 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: #1b2432;
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 99;
}
.toast.show { opacity: .94; transform: translate(-50%, 0); }

/* ---------- 投屏模式：整体放大，方便后排同学看清 ---------- */
body.projection { font-size: 17px; }
body.projection .brand-text h1 { font-size: 24px; }
body.projection .msg .bubble { font-size: 17px; }
body.projection .session-title { font-size: 19px; }
body.projection .session-meta, body.projection .names { font-size: 15px; }
body.projection .mini-btn { font-size: 13px; padding: 3px 10px; }
body.projection .people-hint { font-size: 13px; }
body.projection .pc-name b { font-size: 15px; }
body.projection .pc-lines span { font-size: 12.5px; }
body.projection .people-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
body.projection .stat b { font-size: 26px; }
body.projection .board { grid-column: auto; }
body.projection .layout { grid-template-columns: minmax(0, 1fr) 560px; }

/* ---------- 小屏适配 ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .messages { max-height: 46vh; }
  .board { min-height: 320px; }
  .topbar { padding: 12px 16px; }
  .brand-text p { display: none; }
}

@media (max-width: 620px) {
  .tools .btn { padding: 6px 9px; font-size: 12px; }
  .layout { padding: 12px; }
  .msg .bubble { max-width: 86%; }
}

/* 滚动条美化（Chromium 内核） */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #d5deec; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #c0cde1; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
 * 以下为 AI 版本新增样式（天气联动 / AI 设置 / 周报 / 打字中）
 * ============================================================ */

/* ---------- 顶部 AI 状态徽标 ---------- */
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: inherit;
  color: var(--muted);
  background: #f2f5fa;
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: .18s;
  margin-right: 4px;
}
.ai-pill:hover { border-color: #c9d6ea; background: #eef3fb; }
.ai-pill i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #b6c1d2;
  display: inline-block;
}
.ai-pill.ok { color: #12803c; background: #eafaf0; border-color: #cdeedb; }
.ai-pill.ok i { background: var(--green); box-shadow: 0 0 0 3px rgba(23, 163, 74, .14); }
.ai-pill.warn { color: #a5611a; background: #fff7ea; border-color: #f5e2c4; }
.ai-pill.warn i { background: var(--orange); }
.ai-pill.off { color: #8b93a3; }
.ai-pill.checking i { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- 右侧天气条 ---------- */
.weather-strip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(100deg, #eaf3ff, #f4f8ff);
  border: 1px solid #dbe8fb;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 12.5px;
  color: #35506f;
  margin-bottom: 10px;
}
.weather-strip.loading { color: #93a1b6; }
.weather-strip .wx-main { flex: 1; min-width: 0; line-height: 1.5; }
.weather-strip b { color: #1b2432; }
.weather-strip .wx-tag {
  display: inline-block;
  font-size: 11px;
  padding: 0 6px;
  border-radius: 5px;
  margin-left: 5px;
  background: #e6f7ec;
  color: #12803c;
}
.weather-strip .wx-tag.warn { background: #fff4e3; color: #a5611a; }
.weather-strip .wx-tag.bad { background: #ffeaea; color: #c22c2c; }
.wx-refresh {
  border: none;
  background: rgba(255, 255, 255, .8);
  color: #6c7c93;
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
}
.wx-refresh:hover { background: #fff; color: var(--brand); }

/* ---------- 对话里的天气卡 ---------- */
.wx-card {
  background: linear-gradient(120deg, #f4f9ff, #eef6ff);
  border: 1px solid #dce9fb;
  border-left: 3px solid #5b9bff;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 13px;
  color: #2f4763;
  margin: 2px 0 16px 40px;
  max-width: 78%;
  line-height: 1.75;
}
.wx-card .wx-head { font-weight: 600; color: #1b2432; margin-bottom: 3px; }
.wx-card .wx-row { color: #5a6e88; }
.wx-card .wx-badge {
  display: inline-block;
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 5px;
  margin-top: 5px;
  background: #e6f7ec;
  color: #12803c;
}
.wx-card .wx-badge.warn { background: #fff4e3; color: #a5611a; }
.wx-card .wx-badge.bad { background: #ffeaea; color: #c22c2c; }

/* ---------- 周报卡 ---------- */
.report-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13.5px;
  margin: 2px 0 16px 40px;
  max-width: 80%;
  box-shadow: var(--shadow);
  line-height: 1.8;
  white-space: pre-wrap;
}
.report-card .rp-head {
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.report-card .rp-src { font-size: 11px; color: #9aa8bd; font-weight: 400; }
.report-card .rp-nums {
  display: flex;
  gap: 8px;
  margin: 8px 0 10px;
  flex-wrap: wrap;
}
.report-card .rp-nums div {
  flex: 1 1 30%;
  background: #f5f8fd;
  border-radius: 9px;
  padding: 7px 9px;
  text-align: center;
}
.report-card .rp-nums b { display: block; font-size: 19px; color: var(--brand); line-height: 1.3; }
.report-card .rp-nums span { font-size: 11.5px; color: var(--muted); }

/* ---------- 打字指示器 ---------- */
.typing .bubble {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 15px;
}
.typing .bubble i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #b9c4d4;
  animation: dot 1.1s infinite;
}
.typing .bubble i:nth-child(2) { animation-delay: .16s; }
.typing .bubble i:nth-child(3) { animation-delay: .32s; }
@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- AI 设置弹层 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 54, .38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-mask[hidden] { display: none; }
.modal {
  background: var(--card);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(18, 30, 54, .28);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px 10px;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-x {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #9aa8bd;
  cursor: pointer;
  padding: 0 4px;
}
.modal-x:hover { color: var(--text); }
.modal-body { padding: 14px 18px; overflow-y: auto; }
.signup-modal { max-width: 400px; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.set-status {
  font-size: 12.5px;
  border-radius: 9px;
  padding: 8px 11px;
  margin-bottom: 13px;
  background: #f5f8fd;
  color: #4a5c75;
  line-height: 1.65;
}
.set-status.ok { background: #eafaf0; color: #12803c; }
.set-status.warn { background: #fff7ea; color: #a5611a; }
.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block;
  font-size: 12.5px;
  color: #44546c;
  margin-bottom: 4px;
}
.field > span em { font-style: normal; color: #9aa8bd; }
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  color: var(--text);
  outline: none;
  transition: .16s;
}
.field input:focus { border-color: #a9c4f5; background: #fff; box-shadow: 0 0 0 3px rgba(47, 107, 237, .1); }
.set-note {
  font-size: 11.5px;
  color: #7b8aa0;
  line-height: 1.7;
  margin: 8px 0 0;
  background: #fafbfd;
  border-radius: 8px;
  padding: 8px 10px;
}
.set-note.muted { color: #9aa8bd; }

/* ---------- 地图选点弹层 ---------- */
.map-modal { max-width: 720px; }
.map-tip { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.map-canvas {
  width: 100%;
  height: 380px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #eef3fb;
  overflow: hidden;
}
.map-status { font-size: 12px; color: var(--muted); margin: 8px 0; min-height: 20px; }
.map-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.map-qbtn {
  font-family: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d7e1f1;
  background: #f7faff;
  color: var(--brand-dark);
  cursor: pointer;
}
.map-qbtn:hover { background: var(--brand-soft); border-color: #a9c4f5; }

/* 投屏模式下也放大 AI 相关内容 */
body.projection .weather-strip { font-size: 15px; }
body.projection .report-card { font-size: 16px; }
body.projection .wx-card { font-size: 15px; }
