@media (max-width: 700px) {
  .aikc-feature-panel { inset: 8px; padding: 18px; border-radius: 16px; }
  .aikc-feature-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .aikc-feature-tabs button { white-space: nowrap; }
  .aikc-feature-toolbar { display: block; }
  .aikc-feature-toolbar > button { margin-top: 12px; }
  .aikc-feature-photo-row { grid-template-columns: 1fr; }
  .aikc-feature-score-table { overflow-x: auto; }
  .aikc-feature-score-table label { min-width: 470px; }
}
.rc-dialog p, .rc-dialog li, .rc-dialog h3 { font-size: 1.15em; line-height: 1.75; }

/* ---- r52 移动端弹窗修复（唐总：手机上画面显示不完）---- */
@media (max-width: 700px) {
  .cc-overlay { padding: 14px !important; }
  .cc-modal { width: 100% !important; max-width: calc(100vw - 28px) !important; padding: 20px 14px 16px !important; }
  .cc-form { flex-direction: column !important; }
  .cc-submit { padding: 12px 22px !important; }
  .cc-input { font-size: 20px !important; height: 50px !important; }
  .quest-userbar { max-width: 100%; }
  [role="dialog"], .rc-dialog, [class*="modal"]:not([class*="overlay"]):not([class*="wrap"]):not([class*="mask"]) {
    max-width: calc(100vw - 24px) !important;
  }
}

/* ---- r53 学生端顶栏移动端压缩（唐总：全部放同一行，班级模块文字可简略）---- */
@media (max-width: 700px) {
  .quest-userbar {
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
    gap: 4px !important; padding: 4px 6px !important; box-sizing: border-box !important;
    max-width: 100vw !important; overflow: hidden !important;
  }
  .quest-userbar > * { flex: 0 1 auto !important; min-width: 0 !important; margin-left: 0 !important; }
  /* 班级模块：隐藏「当前班级」小字，下拉框压窄 + 文字省略 */
  .student-class-picker { max-width: 72px !important; display: block !important; }
  .student-class-picker small { display: none !important; }
  .student-class-picker select {
    width: 72px !important; max-width: 72px !important; height: 28px !important;
    padding: 0 2px !important; font-size: 10px !important; border-radius: 8px !important;
    text-overflow: ellipsis !important;
  }
  /* 积分/玩家胶囊：隐藏前缀小字，只留图标 + 数字/名字 */
  .point-pill, .player-pill { height: 28px !important; padding: 0 6px !important; gap: 3px !important; border-radius: 9px !important; }
  .point-pill small, .player-pill small { display: none !important; }
  .point-pill svg, .player-pill svg { width: 13px !important; height: 13px !important; flex: none !important; }
  .point-pill strong { font-size: 12px !important; }
  .player-pill { max-width: 82px !important; overflow: hidden !important; }
  .player-pill span, .player-pill strong {
    overflow: hidden !important; text-overflow: ellipsis !important;
    white-space: nowrap !important; font-size: 11px !important;
  }
  /* 右侧图标按钮与改密码按钮统一 28px */
  .quest-userbar .quest-logout { width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 0 !important; }
  .quest-userbar .quest-logout svg { width: 14px !important; height: 14px !important; }
  #aikc-chpwd-btn { height: 28px !important; padding: 0 7px !important; font-size: 10px !important; border-radius: 8px !important; margin-left: 0 !important; }
}
