/* Current ROM pc/css/index_latest.css: compact banner, updates, vertical editor picks. */
.home.container { width: min(1250px,calc(100% - 32px)); margin-block: 25px; padding: 25px; background: #fff; }
.home .panel { min-width: 0; }
.home .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 20px; height: 40px; border-bottom: 1px solid #efefef; }
.home .section-heading h2 { align-self: stretch; display: flex; align-items: center; min-width: 161px; padding: 0 20px; color: #fff; background: linear-gradient(135deg,#ff9b4a,#ff7549); border-radius: 20px 20px 0 0; font-size: 16px; font-weight: 400; }
.home .section-heading>a { font-size: 12px; color: #1691f0; white-space: nowrap; }
.home-feature { display: grid; grid-template-columns: 370px 324px minmax(0,1fr); gap: 28px; }
.home-banner { min-width: 0; height: 240px; overflow: hidden; position: relative; background: #e3e3e3; }
.home-banner .carousel,.home-banner .carousel-track,.home-banner .carousel-track>* { height: 100%; }
.home-banner img { width: 100%; height: 100%; object-fit: cover; }
.home-banner .carousel-track a>p { font-size: 14px; inset-inline: 15px; bottom: 32px; }
.banner-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 25px; background: #edf5ff; color: #1963be; }
.banner-fallback strong { font-size: 24px; }
.banner-fallback em { font-style: normal; }
.home-updates { height: 240px; overflow: auto; }
.update-list li { display: flex; align-items: center; min-width: 0; gap: 10px; height: 30px; padding-left: 15px; position: relative; font-size: 12px; }
.update-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 10px; border-radius: 3px; background: #333; }
.update-list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.update-list time { color: #999; font-size: 12px; flex: none; }
.update-list li:first-child { padding: 0; height: 45px; font-size: 24px; font-weight: 700; }
.update-list li:nth-child(2) { padding: 0 0 15px; height: 65px; margin-bottom: 7px; border-bottom: 1px dotted #cdcecf; color: #999; }
.update-list li:nth-child(2) a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 20px; }
.update-list li:nth-child(-n+2)::before,.update-list li:nth-child(-n+2) time { display: none; }
.home-editors { display: grid; grid-template-columns: 20px minmax(0,1fr); align-content: start; gap: 28px; padding: 21px 0 0 30px; }
.home-editors h2 { align-self: center; position: relative; width: 20px; color: #3fabff; font-size: 16px; line-height: 1.5; text-align: center; font-weight: 400; }
.home-editors h2::before,.home-editors h2::after { content: ''; position: absolute; left: 9px; height: 49px; border-left: 1px solid #cdcecf; }
.home-editors h2::before { bottom: calc(100% + 10px); }
.home-editors h2::after { top: calc(100% + 10px); }
.editor-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px 22px; }
.editor-grid a { display: block; min-width: 0; }
.editor-grid img { width: 72px; max-width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
.editor-grid span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 7px; line-height: 20px; font-size: 12px; color: #666; }
.home-downloads,.home-reading { margin-top: 31px; position: relative; }
.home-categories { position: absolute; top: 0; left: 185px; right: 80px; display: flex; align-items: center; gap: 30px; height: 40px; overflow: auto; white-space: nowrap; font-size: 14px; }
.home-app-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); column-gap: 35px; row-gap: 20px; }
.home-app-grid li { min-width: 0; text-align: center; }
.app-cover { display: block; }
.app-cover img { width: 80px; height: auto; aspect-ratio: 1; margin-inline: auto; border-radius: 10px; background: #f8f8f8; }
.app-copy { min-width: 0; }
.app-copy .app-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; margin-top: 5px; line-height: 20px; }
.app-copy p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #999; font-size: 12px; line-height: 16px; margin-block: 2px; }
.home-news-content { display: grid; grid-template-columns: minmax(0,425fr) minmax(0,750fr); gap: 25px; }
.home-news-featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 13px; }
.home-news-featured a { position: relative; min-width: 0; background: #f8f8f8; aspect-ratio: 206/125; overflow: hidden; }
.home-news-featured img { width: 100%; height: 100%; }
.home-news-featured span { position: absolute; inset-inline: 0; bottom: 0; padding: 6px 10px; background: linear-gradient(transparent,rgba(0,0,0,.8)); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.home-news ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 6px 30px; }
.home-news li { display: flex; min-width: 0; gap: 10px; align-items: center; line-height: 25px; }
.home-news li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-news time { color: #999; font-size: 12px; }
.home-topics { margin-top: 36px; }
.home-topics ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 30px; }
.home-topics img { width: 100%; aspect-ratio: 21/13; border-radius: 7px; }
.home-topics h3 { margin-top: 15px; font-size: 15px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media(max-width:1250px) {
  .home-feature { grid-template-columns: 31fr 27fr 35fr; gap: 20px; }
  .home-editors { padding-left: 0; gap: 16px; }
  .editor-grid { column-gap: 12px; }
}
@media(max-width:1100px) { .home-app-grid { grid-template-columns: repeat(8,minmax(0,1fr)); column-gap: 25px; } }
@media(max-width:800px) {
  .home.container { padding: 15px; }
  .home-feature { grid-template-columns: minmax(0,1fr); }
  .home-editors { padding-top: 15px; }
  .home-app-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-topics ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-news-content { grid-template-columns: minmax(0,1fr); }
  .home-categories { gap: 15px; }
}
