/* 手机端可操作性：不改桌面布局，输入字号避免 iOS 聚焦时自动缩放。 */
@media(max-width:760px){
  html{scroll-padding-top:92px}
  .site-menu-toggle{min-width:44px;min-height:44px}
  .site-nav.is-open{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
  .site-nav .site-nav-list a{min-height:44px;display:flex;align-items:center;justify-content:center}
  .site-nav .site-mobile-link{display:flex}
  .study-hero-shell .cjx-section-hero-inner{padding-left:24px;padding-right:24px}
  main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),
  main select,main textarea,.cjx-research #gpa-table input,.study-filter-fields input,.study-filter-fields select{
    font-size:16px;min-height:44px;max-width:100%;box-sizing:border-box
  }
  main button,main .btn,.study-country-tabs button,.study-pagination button,.study-school-actions a,.study-tool-grid>a{
    min-height:44px;touch-action:manipulation
  }
  .study-school-actions a,.study-tool-grid>a{display:inline-flex;align-items:center;justify-content:center}
  main button.remove-btn{min-width:44px;min-height:44px}
  main summary{min-height:44px;padding-top:10px;padding-bottom:10px;line-height:1.7}
  .study-filter-fields{grid-template-columns:minmax(0,1fr)}
  .study-filter-fields select,.study-filter-fields input{height:46px}
  #fee-eligibility,#gross-price,#gross-rent{display:block;width:100%;margin:8px 0 18px;padding:11px 12px;border:1px solid #a9bfce;border-radius:5px;background:#fff;color:#193750;line-height:1.5}
  #gross-result{font-size:18px;line-height:1.8;padding:18px;border-left:3px solid #ceb17c;background:#f3f7fa}
  .research-filters label{min-width:0;flex-basis:100%}
  .research-check,main .check-item{min-height:44px;line-height:1.8}
  main input[type=checkbox],main input[type=radio]{width:20px;height:20px;flex:none;accent-color:#104775}
  .cjx-research .research-table-scroll{overflow-x:auto;overscroll-behavior-x:contain}
  #gpa-table{min-width:540px}
  #gpa-table th:first-child{width:32%}
  .study-school-card details p,.research-card p{font-size:15px}
  .study-level-links a,.research-links a{min-height:40px;display:inline-flex;align-items:center}
  .cjx-contact-float{width:52px;height:58px;min-height:58px;padding:5px 0!important;flex-direction:column;justify-content:center;gap:2px!important;border-radius:14px;font-size:11px!important}
  .cjx-contact-float span{font-size:0}
  .cjx-contact-float span:after{content:'客服';font-size:11px}
  body.cjx-input-focus .cjx-contact-float{visibility:hidden;pointer-events:none}
}
@media(min-width:761px){.site-nav .site-mobile-link{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

@media(max-width:760px){main .opt{min-height:44px;display:flex;align-items:center;justify-content:center;line-height:1.5}main label:has(input[type=checkbox]){min-height:44px}main .opt:focus-visible{outline:3px solid #b68d4b;outline-offset:2px}}

@media(max-width:760px){
  #content select,#content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),#content textarea{font-size:16px!important;min-height:44px}
  .site-nav .site-mobile-link{display:flex!important}
}

/* 客服放进手机固定页头，不再遮挡正文按钮、表格或输入结果。 */
.site-mobile-contact{display:none}
@media(max-width:760px){
  .site-mobile-contact{display:flex;align-items:center;justify-content:center;order:2;margin-left:auto;min-width:44px;height:44px;border:1px solid #dec89f;border-radius:6px;background:#faf4e8;color:#164d71;font-size:14px;flex:none}
  .cjx-contact-float{display:none!important}
  .site-masthead .site-header-row{gap:10px}
}
