/* Hot topics editorial poster presentation. */
.user-app.route-hot {
  --hot-ink: #142033;
  --hot-muted: #65738d;
  --hot-line: #dce4ef;
  --hot-orange: #f97316;
  --hot-orange-deep: #c2410c;
  --hot-teal: #0f8c84;
  background: linear-gradient(180deg, #edf2f8 0, #f7f9fc 360px, #f7f9fc 100%);
}

.user-app.route-hot .u-main {
  max-width: 1180px;
  padding-top: 22px;
}

.user-app.route-hot .hot-page-head {
  position: relative;
  top: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: stretch;
  gap: 28px;
  min-height: 244px;
  margin: 0;
  padding: 30px 30px 56px;
  overflow: hidden;
  border: 1px solid rgba(13, 21, 35, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(118deg, #101827 0%, #172238 58%, #2b1b17 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow:
    0 2px 6px rgba(18, 29, 48, 0.12),
    0 22px 54px rgba(18, 29, 48, 0.18);
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.user-app.route-hot .hot-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 55%, rgba(249, 115, 22, 0.12) 55% 56%, transparent 56% 100%),
    linear-gradient(115deg, transparent 0 67%, rgba(15, 140, 132, 0.12) 67% 68%, transparent 68% 100%);
}

.user-app.route-hot .hot-page-head::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: 20px;
  width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
  transform: rotate(-36deg);
  transform-origin: right center;
}

.user-app.route-hot .hot-page-copy,
.user-app.route-hot .hot-page-aside {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.user-app.route-hot .hot-page-copy {
  align-self: center;
}

.user-app.route-hot .hot-page-kicker {
  margin-bottom: 11px;
  color: #fdba74;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.user-app.route-hot .hot-page-head h2 {
  max-width: 720px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.user-app.route-hot .hot-page-head p {
  max-width: 700px;
  margin-top: 13px;
  color: rgba(231, 238, 248, 0.76);
  font-size: 14px;
  line-height: 1.78;
}

.user-app.route-hot .hot-page-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.user-app.route-hot .hot-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.user-app.route-hot .hot-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}

.user-app.route-hot .hot-hero-total {
  text-align: right;
}

.user-app.route-hot .hot-hero-total b {
  display: block;
  color: #fb923c;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.user-app.route-hot .hot-hero-total span {
  display: block;
  margin-top: 7px;
  color: rgba(235, 241, 249, 0.66);
  font-size: 11px;
  font-weight: 700;
}

.user-app.route-hot .hot-page-head > .hot-page-aside #hot-refresh {
  width: 144px;
  height: 40px;
  min-width: 144px;
  border-color: #fb923c;
  background: #f97316;
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.user-app.route-hot .hot-page-head > .hot-page-aside #hot-refresh:hover {
  border-color: #fdba74;
  background: #fb923c;
}

.user-app.route-hot .hot-source-strip {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -36px 22px 20px;
}

.user-app.route-hot .hot-source-item {
  min-height: 74px;
  padding: 13px 15px;
  border-color: rgba(214, 224, 237, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-success {
  box-shadow:
    inset 0 3px 0 #2f9e68,
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-failed {
  box-shadow:
    inset 0 3px 0 #d94b4b,
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-running {
  box-shadow:
    inset 0 3px 0 #e09a28,
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-disabled {
  box-shadow:
    inset 0 3px 0 #b6c0ce,
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-unavailable {
  box-shadow:
    inset 0 3px 0 #d99a36,
    0 2px 6px rgba(18, 29, 48, 0.06),
    0 14px 30px rgba(18, 29, 48, 0.08);
}

.user-app.route-hot .hot-source-dot {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px rgba(152, 162, 179, 0.1);
}

.user-app.route-hot .hot-source-success .hot-source-dot {
  background: #2f9e68;
  box-shadow: 0 0 0 4px rgba(47, 158, 104, 0.11);
}

.user-app.route-hot .hot-source-disabled .hot-source-dot {
  background: #98a2b3;
  box-shadow: 0 0 0 4px rgba(152, 162, 179, 0.1);
}

.user-app.route-hot .hot-source-unavailable .hot-source-dot {
  background: #d99a36;
  box-shadow: 0 0 0 4px rgba(217, 154, 54, 0.12);
}

.user-app.route-hot .hot-source-item b {
  font-size: 13px;
  font-weight: 850;
}

.user-app.route-hot .hot-source-item small {
  color: #7a879d;
  font-size: 11px;
}

.user-app.route-hot .hot-toolbar {
  grid-template-columns: minmax(280px, 1.3fr) minmax(130px, 150px) minmax(130px, 150px) auto minmax(220px, 290px);
  gap: 9px;
  margin-bottom: 18px;
  padding: 11px;
  border: 1px solid var(--hot-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 2px 6px rgba(18, 29, 48, 0.035),
    0 12px 28px rgba(18, 29, 48, 0.055);
}

.user-app.route-hot .hot-source-tabs {
  min-height: 40px;
  padding: 4px;
  border-color: #d8e0eb;
  background: #f0f3f7;
}

.user-app.route-hot .hot-source-tabs button {
  height: 31px;
  border-radius: 6px;
}

.user-app.route-hot .hot-source-tabs button.active {
  color: #c2410c;
  background: #fff;
  box-shadow: 0 3px 9px rgba(18, 29, 48, 0.1);
}

.user-app.route-hot .hot-toolbar .select {
  min-height: 40px;
  border-color: #d8e0eb;
  background-color: #fff;
}

.user-app.route-hot .hot-bookmark-filter {
  height: 40px;
  border-color: #d8e0eb;
  background: #fff;
}

.user-app.route-hot .hot-bookmark-filter.active {
  border-color: #f2a154;
  color: #b45309;
  background: #fff7ed;
}

.user-app.route-hot .hot-search {
  grid-template-columns: minmax(0, 1fr) 40px;
  padding: 3px;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  background: #f8fafc;
}

.user-app.route-hot .hot-search .input {
  height: 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.user-app.route-hot .hot-search .btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: var(--hot-ink);
  color: #fff;
}

.user-app.route-hot .hot-search .btn:hover {
  background: #25344d;
}

.user-app.route-hot .hot-list-head {
  position: relative;
  margin: 24px 0 12px;
  padding-left: 14px;
  color: #75839a;
  font-size: 11.5px;
}

.user-app.route-hot .hot-list-head::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--hot-orange);
  transform: translateY(-50%);
}

.user-app.route-hot .hot-list-head b {
  color: var(--hot-orange-deep);
  font-size: 16px;
}

.user-app.route-hot .hot-topic-list {
  gap: 12px;
}

.user-app.route-hot .hot-topic-item {
  position: relative;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 128px;
  padding: 17px 17px 17px 16px;
  overflow: hidden;
  border-color: #dce4ef;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 2px 6px rgba(18, 29, 48, 0.035),
    0 12px 28px rgba(18, 29, 48, 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-app.route-hot .hot-topic-item.has-image {
  grid-template-columns: 54px 116px minmax(0, 1fr) auto;
}

.user-app.route-hot .hot-topic-image {
  width: 116px;
  height: 78px;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #edf1f6;
}

.user-app.route-hot .hot-topic-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.user-app.route-hot .hot-topic-image:hover img {
  transform: scale(1.04);
}

.user-app.route-hot .hot-topic-item::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #d9e1ec;
}

.user-app.route-hot .hot-topic-item::after {
  content: attr(data-rank);
  position: absolute;
  right: 230px;
  bottom: -28px;
  z-index: 0;
  color: rgba(32, 48, 72, 0.035);
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.user-app.route-hot .hot-topic-item > * {
  position: relative;
  z-index: 1;
}

.user-app.route-hot .hot-topic-item:hover {
  transform: translateY(-2px);
  border-color: #c8d3e2;
  box-shadow:
    0 3px 8px rgba(18, 29, 48, 0.05),
    0 18px 38px rgba(18, 29, 48, 0.095);
}

.user-app.route-hot .hot-topic-item:nth-child(1) {
  border-color: #f4c89f;
}

.user-app.route-hot .hot-topic-item:nth-child(1)::before {
  background: var(--hot-orange);
}

.user-app.route-hot .hot-topic-item:nth-child(2)::before {
  background: #d8903d;
}

.user-app.route-hot .hot-topic-item:nth-child(3)::before {
  background: #c3a15e;
}

.user-app.route-hot .hot-topic-rank {
  width: 54px;
  height: 54px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #f6f8fb;
  color: #52627a;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.user-app.route-hot .hot-topic-item:nth-child(1) .hot-topic-rank {
  border-color: #f97316;
  background: #f97316;
  color: #fff;
  box-shadow: 0 9px 20px rgba(249, 115, 22, 0.22);
}

.user-app.route-hot .hot-topic-item:nth-child(2) .hot-topic-rank {
  border-color: #d8903d;
  color: #a65f12;
  background: #fff8ed;
}

.user-app.route-hot .hot-topic-item:nth-child(3) .hot-topic-rank {
  border-color: #c3a15e;
  color: #8f6b24;
  background: #fffaf0;
}

.user-app.route-hot .hot-topic-title-row {
  align-items: flex-start;
  gap: 10px;
}

.user-app.route-hot .hot-topic-title-row h3 {
  color: var(--hot-ink);
  font-size: 15.5px;
  font-weight: 850;
  line-height: 1.53;
}

.user-app.route-hot .hot-track {
  max-width: 126px;
  padding: 4px 8px;
  border: 1px solid #dbe3ee;
  background: #f5f7fa;
  color: #53627a;
  font-size: 10px;
}

.user-app.route-hot .hot-topic-summary {
  margin-top: 8px;
  color: #526078;
  font-size: 12.5px;
  line-height: 1.72;
}

.user-app.route-hot .hot-topic-meta {
  gap: 7px 10px;
  margin-top: 10px;
  color: #8793a7;
  font-size: 10.5px;
}

.user-app.route-hot .hot-topic-meta > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.user-app.route-hot .hot-topic-meta > span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 9px;
  border-radius: 50%;
  background: #c7cfdb;
}

.user-app.route-hot .hot-topic-sources {
  max-width: 280px;
}

.user-app.route-hot .hot-topic-actions {
  min-width: 205px;
  min-height: 54px;
  padding-left: 14px;
  border-left: 1px solid #e5eaf1;
}

.user-app.route-hot .hot-topic-actions .icon-btn {
  width: 34px;
  height: 34px;
  border-color: #dce4ef;
  background: #fff;
}

.user-app.route-hot .hot-topic-actions .icon-btn.active {
  border-color: #f3c58f;
  color: #d97706;
  background: #fff7ed;
}

.user-app.route-hot .hot-topic-actions .btn-outline {
  border-color: #d4ddea;
  background: #fff;
  color: #31415a;
}

.user-app.route-hot .hot-topic-actions .btn-primary {
  border-color: var(--hot-ink);
  background: var(--hot-ink);
  box-shadow: 0 7px 16px rgba(20, 32, 51, 0.14);
}

.user-app.route-hot .hot-topic-actions .btn-primary:hover {
  border-color: #26364f;
  background: #26364f;
}

.user-app.route-hot .hot-empty {
  min-height: 340px;
  border-color: #d4deea;
  background:
    linear-gradient(rgba(249, 115, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.04) 1px, transparent 1px),
    #fbfcfe;
  background-size: 30px 30px, 30px 30px, auto;
}

.user-app.route-hot .hot-empty > span {
  width: 58px;
  height: 58px;
  color: #ea580c;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.11);
}

@media (max-width: 1100px) {
  .user-app.route-hot .hot-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 1fr) minmax(120px, 1fr);
  }

  .user-app.route-hot .hot-source-tabs,
  .user-app.route-hot .hot-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .user-app.route-hot .u-main {
    padding-top: 16px;
  }

  .user-app.route-hot .hot-page-head {
    grid-template-columns: minmax(0, 1fr) 184px;
    gap: 18px;
    min-height: 224px;
    padding: 25px 24px 50px;
  }

  .user-app.route-hot .hot-page-head h2 {
    font-size: 28px;
  }

  .user-app.route-hot .hot-page-head p {
    font-size: 13px;
  }

  .user-app.route-hot .hot-hero-total b {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .user-app.route-hot .hot-page-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 23px 20px 48px;
  }

  .user-app.route-hot .hot-page-head h2 {
    font-size: 25px;
    letter-spacing: -0.01em;
  }

  .user-app.route-hot .hot-page-aside {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .user-app.route-hot .hot-live-pill {
    align-self: center;
  }

  .user-app.route-hot .hot-hero-total {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-right: auto;
    text-align: left;
  }

  .user-app.route-hot .hot-hero-total b {
    font-size: 31px;
  }

  .user-app.route-hot .hot-hero-total span {
    margin-top: 0;
  }

  .user-app.route-hot .hot-page-head > .hot-page-aside #hot-refresh {
    width: 100%;
    min-width: 0;
  }

  .user-app.route-hot .hot-source-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -30px 12px 16px;
  }

  .user-app.route-hot .hot-source-item {
    min-height: 66px;
    padding: 10px;
  }

  .user-app.route-hot .hot-source-item b {
    font-size: 11.5px;
  }

  .user-app.route-hot .hot-source-item small {
    font-size: 9.5px;
  }

  .user-app.route-hot .hot-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 9px;
  }

  .user-app.route-hot .hot-source-tabs,
  .user-app.route-hot .hot-search {
    grid-column: 1 / -1;
  }

  .user-app.route-hot .hot-source-tabs {
    overflow-x: auto;
  }

  .user-app.route-hot .hot-source-tabs button {
    min-width: 78px;
  }

  .user-app.route-hot .hot-bookmark-filter {
    grid-column: 1 / -1;
    width: 100%;
  }

  .user-app.route-hot .hot-list-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
  }

  .user-app.route-hot .hot-topic-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .user-app.route-hot .hot-topic-item.has-image {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .user-app.route-hot .hot-topic-item.has-image .hot-topic-main {
    grid-column: 2;
    grid-row: 1;
  }

  .user-app.route-hot .hot-topic-item.has-image .hot-topic-image {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 176px;
  }

  .user-app.route-hot .hot-topic-item.has-image .hot-topic-actions {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .user-app.route-hot .hot-topic-item::after {
    display: none;
  }

  .user-app.route-hot .hot-topic-rank {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .user-app.route-hot .hot-topic-title-row {
    flex-direction: column;
    gap: 7px;
  }

  .user-app.route-hot .hot-track {
    max-width: none;
    align-self: flex-start;
  }

  .user-app.route-hot .hot-topic-actions {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 11px;
    padding-left: 0;
    border-top: 1px solid #e5eaf1;
    border-left: 0;
  }

  .user-app.route-hot .hot-topic-actions .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .user-app.route-hot .hot-page-head h2 {
    font-size: 22px;
  }

  .user-app.route-hot .hot-source-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-app.route-hot .hot-topic-item {
    transition: none;
  }
}
