/* 页面稳定性：锁定整页横向移动，保留表格等组件自身的横向滚动。 */
html,
body,
#root {
  width: 100%;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none !important;
}

body { position: relative; }

.app-shell,
.app-shell > main,
main,
.wrap,
.head-inner,
.header-inner,
.channel-home,
.section,
.route-detail,
.university-profile-page {
  min-width: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.compare-table-wrap,
.score-table-wrap,
.detail-table-wrap,
.table-scroll,
.data-table-wrap,
.regulation-page-content,
.rich-text table {
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.data-table-wrap,
.regulation-page-content {
  overflow-x: auto;
}

@media (max-width: 680px) {
  .countdown,
  .site-header,
  .head,
  .wrap,
  .footer {
    min-width: 0;
    max-width: 100%;
  }
}
