/* Overseas-only narrow-screen first viewport for article/directory pages.
   Homepage is never tagged (script bails; Worker also skips / and home.html). */
.nc-ov-toggle{
  display:none;
  box-sizing:border-box;
  width:100%;
  max-width:860px;
  margin:6px auto;
  padding:8px 12px;
  border:1px solid #e0d3c4;
  border-radius:10px;
  background:#fbf8f3;
  color:#5c3d2e;
  font:15px/1.4 "PingFang SC","Microsoft YaHei",sans-serif;
  text-align:center;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
}
.nc-ov-toggle:focus-visible{outline:2px solid #9a3b26;outline-offset:2px}
.nc-ov-search-wrap{max-width:860px;margin:0 auto}

@media (max-width:720px){
  html.nc-ov-firstview .nc-ov-toggle{display:block}

  /* Fold the 16:9 homepage-style carousel; toggle reveals it. */
  html.nc-ov-firstview .nc-bn{
    display:none;
    max-width:640px;
    margin:0 auto;
  }
  html.nc-ov-firstview.nc-ov-banner-open .nc-bn{display:block}
  html.nc-ov-firstview .swipe,
  html.nc-ov-firstview #slider,
  html.nc-ov-firstview #pagenavi{display:none}
  html.nc-ov-firstview.nc-ov-banner-open .swipe,
  html.nc-ov-firstview.nc-ov-banner-open #slider,
  html.nc-ov-firstview.nc-ov-banner-open #pagenavi{display:block}

  html.nc-ov-firstview .nc-ov-search-wrap > #ncsw,
  html.nc-ov-firstview .nc-ov-search-wrap > #ncs-slot{display:none}
  html.nc-ov-firstview .nc-ov-search-wrap.open > #ncsw,
  html.nc-ov-firstview .nc-ov-search-wrap.open > #ncs-slot{display:block}

  /* Compact font and TTS chrome; do not hide them. */
  html.nc-ov-firstview #nc-fs{
    margin:4px 6px 6px !important;
    padding:4px 6px !important;
    gap:4px !important;
    position:static !important;
  }
  html.nc-ov-firstview #nc-fs button{
    min-height:36px !important;
    min-width:56px !important;
    line-height:36px !important;
    padding:0 10px !important;
    font-size:15px !important;
  }
  html.nc-ov-firstview #ncsr-bar{
    margin:4px 6px 8px !important;
    padding:6px 8px !important;
  }
  html.nc-ov-firstview #ncsr-bar .tip{padding:6px 8px !important;margin:2px 0 0 !important}

  /* Trim extra CMS chrome that pushes the body down. */
  html.nc-ov-firstview .breadcrumb{height:auto !important;margin:0 0 4px !important;font-size:13px}
  html.nc-ov-firstview .box_css_content > h1{padding-top:8px !important;padding-bottom:2px !important}
  html.nc-ov-firstview .article_show{padding:2px 0 !important}
}
