/**
 * 官网客户端风格首页样式（web-home-feed.js，对齐 HomeFeedPage）。
 * 测试页与正式页共用；勿放入 test-site.css。
 */
.category-tab--home {
  font-weight: 700;
}
.install-home-feed-mount[hidden] {
  display: none !important;
}
body.install-home-feed-mode .install-portal-stream.container.page-shell {
  max-width: 1280px;
  padding-top: 0;
  margin-top: 0;
}
body.install-home-feed-mode .install-portal-stream__panel.panel.resource-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
body.install-home-feed-mode .install-portal-stream__panel > .cards {
  display: none !important;
}
body.install-home-feed-mode #installNoticeWrap {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: none !important;
}
body.install-home-feed-mode #installStreamContextBar,
body.install-home-feed-mode #installStreamSubTabs,
body.install-home-feed-mode #installStreamSearchChips,
body.install-home-feed-mode #installCardPager {
  display: none !important;
}
body.install-home-feed-mode .install-home-feed-mount {
  margin-top: 0;
}
body.install-home-feed-mode .whf {
  padding-top: 14px;
}

.whf {
  display: grid;
  gap: 16px;
  padding: 0 0 28px;
  color: rgba(236, 246, 255, 0.95);
}
.whf-empty {
  padding: 48px 16px;
  text-align: center;
  color: rgba(168, 198, 228, 0.82);
}

/* 鍖哄潡鏍囬锛堚梿 鏍囬 鉁?+ 娓愬彉绾匡級 */
.whf-sec-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.whf-sec-title__line {
  display: block;
  height: 2px;
  min-width: 56px;
  max-width: 92px;
  border-radius: 1px;
}
.whf-sec-title__line--rank {
  min-width: 34px;
  max-width: 52px;
}
.whf-sec-title__line--left {
  background: linear-gradient(90deg, rgba(118, 188, 250, 0), rgba(118, 188, 250, 0.82));
}
.whf-sec-title__line--right {
  background: linear-gradient(90deg, rgba(118, 188, 250, 0.82), rgba(118, 188, 250, 0));
}
.whf-sec-title__spark {
  color: rgba(170, 216, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
}
.whf-sec-title__text {
  font-size: 24px;
  font-weight: 800;
  color: rgba(238, 246, 255, 0.96);
  line-height: 1.2;
}
.whf-sec-title__text--sub {
  font-size: 18px;
  font-weight: 740;
  color: rgba(225, 239, 255, 0.92);
}

.whf__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 2px;
}

/* 鐑棬鎺ㄨ崘杞挱 */
.whf-hero {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: stretch;
}
.whf-hero__arrow {
  align-self: center;
  width: 42px;
  height: 64px;
  border: 1px solid rgba(168, 206, 255, 0.22);
  border-radius: 10px;
  background: rgba(14, 26, 44, 0.88);
  color: rgba(233, 244, 255, 0.8);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.whf-hero__arrow:hover {
  border-color: rgba(186, 224, 255, 0.42);
  background: rgba(26, 48, 78, 0.85);
}
.whf-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 14px;
  min-height: 286px;
  padding: 18px 22px;
  border: 1px solid rgba(140, 188, 245, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 34, 58, 0.92), rgba(10, 20, 36, 0.92));
}
.whf-hero__main {
  min-height: 250px;
}
.whf-hero__poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 20px;
  border: 1px solid rgba(166, 206, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(52, 83, 128, 0.46), rgba(16, 32, 58, 0.34));
  text-align: left;
  color: inherit;
}
.whf-hero__poster-img,
.whf-hero__poster-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.whf-hero__poster-ph {
  background: linear-gradient(135deg, rgba(66, 102, 152, 0.32), rgba(20, 40, 68, 0.26));
}
.whf-hero__badge {
  position: relative;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(160, 218, 255, 0.95);
  background: rgba(20, 47, 78, 0.56);
  border: 1px solid rgba(146, 204, 255, 0.34);
}
.whf-hero__badge--hot {
  padding: 4px 11px;
  border-radius: 9px;
  color: rgba(255, 244, 228, 0.98);
  background: linear-gradient(90deg, rgba(255, 118, 58, 0.88), rgba(255, 82, 118, 0.84) 55%, rgba(255, 148, 72, 0.8));
  border-color: rgba(255, 196, 132, 0.52);
}
.whf-hero__title {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 820;
  color: rgba(246, 250, 255, 0.98);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.65);
}
.whf-hero__title--hot {
  font-size: 32px;
  font-weight: 860;
  color: rgba(255, 244, 220, 0.99);
}
.whf-hero__desc-wrap {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid rgba(132, 190, 248, 0.28);
  border-left: 3px solid rgba(118, 188, 250, 0.88);
  background: linear-gradient(90deg, rgba(8, 18, 34, 0.78), rgba(16, 36, 62, 0.62));
}
.whf-hero__desc-wrap--hot {
  border-color: rgba(255, 156, 188, 0.4);
  border-left-color: rgba(255, 118, 158, 0.95);
  background: linear-gradient(90deg, rgba(92, 28, 52, 0.84), rgba(68, 24, 58, 0.72));
}
.whf-hero__desc {
  font-size: 13px;
  font-weight: 560;
  color: rgba(228, 242, 255, 0.96);
}
.whf-hero__desc--hot {
  color: rgba(255, 232, 240, 0.98);
  font-weight: 640;
}
.whf-hero__dots-inline {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: rgba(174, 206, 238, 0.84);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.whf-hero__poster-fill {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  pointer-events: none;
}
.whf-hero__side {
  border: 1px solid rgba(160, 198, 246, 0.14);
  border-radius: 10px;
  background: rgba(10, 20, 35, 0.56);
  padding: 14px;
  min-height: 130px;
  max-height: 250px;
  overflow: auto;
}
.whf-hero__side-list {
  display: grid;
  gap: 6px;
}
.whf-hero__side-item {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(137, 176, 228, 0.12);
  border-radius: 6px;
  background: rgba(16, 31, 54, 0.42);
  color: rgba(196, 218, 241, 0.84);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-hero__side-item:hover {
  border-color: rgba(166, 208, 255, 0.3);
  background: rgba(26, 46, 74, 0.56);
}
.whf-hero__side-item.is-active,
.whf-hero__side-item--hot.is-active {
  border-color: rgba(186, 224, 255, 0.48);
  background: rgba(40, 70, 112, 0.7);
  color: rgba(236, 246, 255, 0.95);
  font-weight: 700;
}
.whf-hero__side-item--hot {
  color: rgba(255, 224, 206, 0.95);
  border-color: rgba(255, 138, 98, 0.3);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(58, 24, 32, 0.72), rgba(44, 20, 38, 0.6));
  font-weight: 660;
}
.whf-hero__dots {
  display: none;
}

/* 娲诲姩閫氱煡鏉?*/
.whf-banner {
  min-height: 140px;
  padding: 4px 16px 6px 18px;
  border: 1px solid rgba(156, 202, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(32, 58, 92, 0.8), rgba(18, 34, 58, 0.78));
}
.whf-banner__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.whf-banner__lines {
  flex: 1;
  display: grid;
  gap: 0;
}
.whf-banner__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 2px 0;
}
.whf-banner__badge {
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 720;
  color: rgba(158, 204, 232, 0.88);
  background: rgba(20, 40, 62, 0.62);
  border: 1px solid rgba(108, 158, 198, 0.28);
  white-space: nowrap;
}
.whf-banner__badge--pinned {
  color: rgba(216, 204, 182, 0.92);
  background: rgba(52, 46, 38, 0.78);
  border-color: rgba(120, 108, 88, 0.45);
}
.whf-banner__text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(216, 226, 240, 0.91);
  line-height: 1.45;
}
.whf-banner__text--pinned {
  color: rgba(206, 196, 176, 0.94);
}
.whf-banner__nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(150, 198, 246, 0.22);
  border-radius: 9px;
  background: rgba(14, 28, 48, 0.72);
  color: rgba(228, 240, 255, 0.88);
  font-size: 18px;
  font-weight: 720;
  cursor: pointer;
  flex-shrink: 0;
}
.whf-banner__nav:hover {
  border-color: rgba(186, 224, 255, 0.42);
  background: rgba(26, 48, 78, 0.85);
}
.whf-banner__index {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.whf-banner__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 20px;
  padding: 0;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid rgba(120, 168, 220, 0.22);
  background: rgba(14, 30, 50, 0.46);
  color: rgba(166, 198, 228, 0.82);
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}
.whf-banner__idx.is-on {
  border-color: rgba(188, 218, 250, 0.52);
  background: rgba(66, 104, 148, 0.64);
  color: rgba(242, 248, 255, 0.96);
}
.whf-banner__sub {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(179, 205, 232, 0.84);
}

/* 閲嶇涓婃柊 */
.whf-deals__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.whf-deals__head .whf-sec-title {
  margin-right: auto;
}
.whf-deals__more {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(160, 205, 255, 0.24);
  background: rgba(20, 38, 64, 0.64);
  color: rgba(230, 244, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.whf-deals__more:hover {
  border-color: rgba(186, 224, 255, 0.44);
  background: rgba(30, 54, 88, 0.76);
}
.whf-deals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 126px);
  gap: 10px;
}
.whf-deal {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(150, 196, 250, 0.15);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 38, 64, 0.92), rgba(11, 20, 35, 0.92));
  cursor: pointer;
  text-align: left;
  color: inherit;
  overflow: hidden;
  box-sizing: border-box;
  font: inherit;
}
.whf-deal:hover {
  border-color: rgba(182, 223, 255, 0.34);
  background: linear-gradient(180deg, rgba(28, 50, 82, 0.95), rgba(14, 24, 40, 0.95));
}
.whf-deal:focus-visible {
  border-color: rgba(205, 232, 255, 0.58);
  background: linear-gradient(180deg, rgba(36, 62, 98, 0.95), rgba(18, 32, 54, 0.95));
  outline: none;
}
/* 大卡片 HomeDealCardLarge：264px */
.whf-deal--lg {
  grid-row: span 2;
  height: 264px;
  min-height: 264px;
  grid-template-rows: minmax(120px, 1fr) auto auto auto;
}
/* 小卡片 HomeDealCard：126px（红框右侧两张） */
.whf-deal--sm {
  height: 126px;
  min-height: 126px;
  max-height: 126px;
  grid-template-rows: minmax(52px, 1fr) auto auto;
  gap: 6px;
}
.whf-deal:nth-child(1) { grid-column: 1; }
.whf-deal:nth-child(2) { grid-column: 2; }
.whf-deal:nth-child(3) { grid-column: 3; grid-row: 1; }
.whf-deal:nth-child(4) { grid-column: 3; grid-row: 2; }
.whf-deal__cover {
  display: block;
  min-height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(78, 118, 172, 0.36), rgba(32, 58, 92, 0.32));
}
.whf-deal--lg .whf-deal__cover {
  min-height: 120px;
}
.whf-deal--sm .whf-deal__cover {
  min-height: 52px;
  height: 100%;
}
.whf-deal__cover img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.whf-deal__title {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.3;
  color: rgba(234, 244, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-deal--sm .whf-deal__title {
  font-size: 14px;
  font-weight: 720;
}
.whf-deal__sub {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(180, 205, 230, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-deal__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}
.whf-deal--sm .whf-deal__foot {
  gap: 5px;
}
.whf-deal__status {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.whf-deal__status--update {
  color: rgba(224, 245, 196, 0.95);
  background: rgba(82, 126, 56, 0.62);
  border: 1px solid rgba(137, 182, 100, 0.58);
}
.whf-deal__status--new {
  color: rgba(246, 250, 255, 0.98);
  background: linear-gradient(
    90deg,
    rgba(92, 72, 180, 0.92) 0%,
    rgba(58, 126, 224, 0.9) 55%,
    rgba(46, 182, 225, 0.88) 100%
  );
  border: 1px solid rgba(158, 205, 255, 0.88);
}
.whf-deal__meta-left {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  color: rgba(188, 230, 255, 0.95);
  background: rgba(54, 102, 140, 0.56);
  border: 1px solid rgba(132, 184, 232, 0.52);
  white-space: nowrap;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-deal--sm .whf-deal__meta-left {
  font-size: 12px;
  font-weight: 760;
  max-width: 38%;
}
.whf-deal__meta-right {
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(200, 224, 247, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.whf-deal--sm .whf-deal__meta-right {
  font-size: 12px;
  font-weight: 700;
}

/* 鐑棬姒滃崟 */
.whf-rank__head {
  margin-top: 4px;
}
.whf-rank {
  border: 1px solid rgba(130, 178, 232, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.96), rgba(8, 14, 26, 0.96));
  padding: 8px 10px 10px;
}
.whf-rank__tabs-wrap {
  border: 1px solid rgba(92, 132, 184, 0.26);
  border-radius: 4px;
  background: rgba(10, 24, 40, 0.56);
  padding: 4px 6px;
  margin-bottom: 8px;
  overflow-x: auto;
}
.whf-rank__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.whf-rank__tab {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: rgba(16, 30, 50, 0.58);
  color: rgba(140, 172, 204, 0.86);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.whf-rank__tab:hover {
  border-color: rgba(120, 178, 236, 0.3);
  background: rgba(26, 48, 78, 0.74);
}
.whf-rank__tab.is-on {
  border-color: rgba(94, 196, 255, 0.78);
  background: rgba(30, 72, 110, 0.9);
  color: rgba(232, 245, 255, 0.96);
  font-weight: 700;
}
.whf-rank__body {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 376px;
  gap: 8px;
  align-items: start;
}
.whf-rank__list {
  display: grid;
  gap: 4px;
  max-height: 620px;
  overflow: auto;
}
.whf-rank__item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 3px 8px;
  border: 1px solid rgba(98, 138, 190, 0.14);
  border-radius: 3px;
  background: rgba(10, 22, 38, 0.56);
  color: rgba(198, 220, 242, 0.9);
  text-align: left;
  cursor: pointer;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}
.whf-rank__item.is-odd {
  background: rgba(14, 28, 44, 0.62);
}
.whf-rank__item:hover {
  border-color: rgba(132, 186, 242, 0.34);
  background: rgba(18, 36, 58, 0.68);
}
.whf-rank__item.is-on {
  border-color: rgba(164, 216, 255, 0.58);
  background: rgba(36, 66, 102, 0.84);
  color: rgba(236, 246, 255, 0.95);
  font-weight: 700;
}
.whf-rank__item-thumb {
  width: 124px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(42, 74, 112, 0.22);
}
.whf-rank__item-thumb--ph {
  background: linear-gradient(135deg, rgba(66, 102, 152, 0.32), rgba(20, 40, 68, 0.26));
}
.whf-rank__item-thumb img,
.whf-rank__item-thumb .hot-category-card__img,
.whf-rank__item-img {
  width: 124px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}
.whf-rank__item-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.whf-rank__item-title {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-rank__item.is-on .whf-rank__item-title {
  font-weight: 700;
}
.whf-rank__item-sub {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(170, 198, 228, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-rank__preview {
  box-sizing: border-box;
  width: 376px;
  max-width: 376px;
  height: 620px;
  max-height: 620px;
  border: 1px solid rgba(146, 188, 234, 0.22);
  border-radius: 6px;
  background: rgba(84, 116, 152, 0.16);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}
.whf-rank__preview-title {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  color: rgba(236, 246, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-rank__preview-meta {
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(179, 205, 232, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whf-rank__preview-hero {
  flex: 0 0 auto;
  height: 160px;
  max-height: 160px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(20, 36, 58, 0.35);
}
.whf-rank__preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.whf-rank__preview-thumbs {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
}
.whf-rank__thumb {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(20, 36, 58, 0.35);
}
.whf-rank__thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 璧勬簮涓撻 */
.whf-topic__head {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.whf-topic__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 16px;
  padding: 4px 8px 22px;
  justify-items: center;
}
.whf-topic {
  width: 100%;
  max-width: 220px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: inherit;
}
.whf-topic__cover {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 46, 78, 0.92), rgba(12, 22, 42, 0.96));
  border: 1px solid rgba(140, 180, 230, 0.18);
}
.whf-topic__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.whf-topic__title {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(234, 244, 255, 0.95);
}
.whf-topic__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(170, 198, 228, 0.78);
}
.whf-topic__count {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(140, 170, 210, 0.72);
}

.whf-deal__cover img,
.whf-deal__cover .hot-category-card__img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.whf-deal--lg .whf-deal__cover {
  min-height: 140px;
}
.whf-hero__poster-img,
.whf-hero__poster .hot-category-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.whf-rank__preview-hero {
  display: none;
}
.whf-rank__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(170, 198, 228, 0.72);
  font-size: 12px;
  text-align: center;
  padding: 8px;
}
.whf-rank__thumb img,
.whf-rank__thumb .hot-category-card__img,
.whf-rank__thumb-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.whf-topic__cover img,
.whf-topic__cover .hot-category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .whf-hero__body {
    grid-template-columns: 1fr;
  }
  .whf-deals__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .whf-deal--lg {
    grid-row: span 1;
    min-height: 200px;
  }
  .whf-deal:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .whf-rank__body {
    grid-template-columns: 1fr;
  }
  .whf-rank__preview {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
  }
  .whf-rank__preview-thumbs {
    grid-template-rows: repeat(3, 188px);
  }
  .whf-topic__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .whf-hero {
    grid-template-columns: 1fr;
  }
  .whf-hero__arrow {
    display: none;
  }
  .whf-deals__grid,
  .whf-topic__grid {
    grid-template-columns: 1fr;
  }
}
