/* 热门搜索：五道问题与横向飞卡热榜。 */
.screen-hot { min-height: 100dvh; padding-bottom: calc(3rem + env(safe-area-inset-bottom)); background: var(--paper); }
.hot-content { width: calc(100% - 2rem); max-width: 68.5rem; margin: 1.75rem auto 0; }
.hot-heading { margin-bottom: 1.75rem; }
.hot-eyebrow { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.625rem; color: var(--sub); font-size: 0.8125rem; }
.hot-eyebrow img { width: 1.875rem; height: 1.875rem; object-fit: contain; margin: -0.25rem; }
.hot-heading h1 { font-size: clamp(1.625rem,3vw,2rem); font-weight: 650; line-height: 1.45; letter-spacing: -0.035em; }
.hot-heading h1:focus { outline: none; }
.hot-heading > p { margin-top: 0.625rem; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.hot-season { padding: 1.25rem; border: 1px solid #e5edf7; border-radius: 1rem; background: linear-gradient(115deg,#f7f9ff,#f2fafc); }
.hot-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hot-section-head h2 { font-size: 1.0625rem; line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; }
.hot-season > .hot-section-head { justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem; }
.hot-question-mark { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #d7eafa; border-radius: 0.5rem; color: #459deb; background: #eef8ff; }
.hot-question-mark .ui-icon { width: 1rem; height: 1rem; }
.hot-questions { margin-top: 0.75rem; }
.hot-questions-state { padding: 1.5rem 0; color: #7c8fa9; font-size: 0.8125rem; line-height: 1.6; }
.hot-questions-state button { margin-left: 0.5rem; border: 0; padding: 0.375rem 0.625rem; border-radius: 0.5rem; background: #eaf3ff; color: var(--ai); font: inherit; }
.hot-question { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 3.5rem; padding: 0.8125rem 0; border: 0; border-bottom: 1px solid #e4edf4; background: transparent; text-align: left; color: var(--ink); }
.hot-question:last-child { border-bottom: 0; }
.hot-question-text { flex: 1; font-size: 0.875rem; line-height: 1.65; }
.hot-question-arrow { display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #eaf2fc; color: #6e9bcc; }
.hot-question-arrow .ui-icon { width: 0.875rem; height: 0.875rem; }
.hot-ranking { margin-top: 2rem; }
.hot-ranking-brand { display: flex; align-items: center; gap: 0.625rem; }
.hot-ranking-brand > img { width: 1.5rem; height: 1.5rem; border-radius: 0.375rem; }
.hot-refresh, .hot-retry { display: inline-flex; justify-content: center; align-items: center; gap: 0.4375rem; min-height: 2.5rem; padding: 0.4375rem 0.625rem; border: 1px solid var(--action-border); border-radius: 0.5rem; color: var(--action-ink); background: var(--action-bg); font-size: 0.75rem; }
.hot-refresh .ui-icon { width: 0.9375rem; height: 0.9375rem; }
.hot-refresh:disabled { cursor: progress; opacity: 0.6; }
.hot-updated { margin-top: 0.5rem; color: #8a95a6; font-size: 0.6875rem; line-height: 1.5; }
.hot-deck-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 1.125rem 0 0.5rem; }
.hot-deck-switch { display: inline-flex; padding: 0.25rem; gap: 0.25rem; border: 1px solid #e8edf4; border-radius: 0.6875rem; background: #f4f7fb; }
.hot-deck-switch button { min-height: 2.25rem; padding: 0.375rem 0.75rem; border: 0; border-radius: 0.4375rem; background: transparent; color: #7d8b9f; font-size: 0.75rem; transition: background-color 200ms, color 200ms; }
.hot-deck-switch button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.hot-deck-arrows { display: flex; align-items: center; gap: 0.5rem; }
.hot-deck-arrows button { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border: 1px solid var(--action-border); border-radius: 50%; background: var(--action-bg); color: #5d8ab9; }
.hot-deck-arrows button:disabled { opacity: 0.35; cursor: default; }
.hot-deck-arrows .ui-icon { width: 0.9375rem; height: 0.9375rem; }
#hot-deck-prev .ui-icon { transform: rotate(180deg); }
#hot-deck-position { color: #8c9aaf; font-size: 0.625rem; font-variant-numeric: tabular-nums; }
.hot-boards { --deck-card: calc(100% - 1.75rem); position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 0.75rem 0 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hot-boards::-webkit-scrollbar { display: none; }
.hot-board { flex: 0 0 var(--deck-card); min-width: 0; border: 1px solid #e2eaf4; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(50,87,136,0.04); overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; transform: perspective(1000px) translateY(10px) scale(0.965) rotateY(-2deg); transform-origin: left center; transition: transform 480ms var(--motion-ease), box-shadow 480ms var(--motion-ease), border-color 480ms; }
.hot-board.is-active { transform: perspective(1000px) translateY(0) scale(1) rotateY(0); border-color: #d5e5f6; box-shadow: 0 12px 28px rgba(50,87,136,0.07); }
.hot-board-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem; border-bottom: 1px solid #dce9f8; background: #e7f1ff; }
.hot-board-video .hot-board-head { border-bottom-color: #d9ebee; background: #e7f5f7; }
.hot-board-heading { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.hot-board-symbol { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid #dcebf9; border-radius: 0.625rem; background: rgba(255,255,255,0.9); }
.hot-board-symbol .ui-icon { width: 1.375rem; height: 1.375rem; }
.hot-board-head h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.hot-board-heading p { margin-top: 0.1875rem; color: #8294ac; font-size: 0.625rem; line-height: 1.5; }
.hot-board-more { display: inline-flex; align-items: center; justify-content: center; gap: 0.125rem; min-width: 2.75rem; min-height: 2.75rem; border: 0; background: transparent; color: #7794b5; font-size: 0.75rem; }
.hot-board-more .ui-icon { width: 0.8125rem; height: 0.8125rem; transition: transform 180ms var(--motion-ease); }
.hot-board-more[aria-expanded="true"] .ui-icon { transform: rotate(-90deg); }
.hot-rank-list { list-style: none; padding: 0 1rem; }
.hot-rank-row + .hot-rank-row { border-top: 1px solid #eef2f7; }
.hot-rank-link { display: grid; grid-template-columns: 1.375rem minmax(0,1fr) 4.5rem; gap: 0.625rem; align-items: center; min-height: 5.5rem; padding: 0.875rem 0; text-decoration: none; color: var(--ink); }
.hot-rank-link.has-no-cover { grid-template-columns: 1.375rem minmax(0,1fr); }
.hot-rank-index { display: grid; place-items: center; width: 1.375rem; height: 1.625rem; color: #99aabe; font-size: 0.75rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.hot-rank-index.is-top { border-radius: 0.375rem; background: #eaf4ff; color: #4793df; }
.hot-rank-row:first-child .hot-rank-index { background: #dcefff; color: #2275cd; }
.hot-rank-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.875rem; line-height: 1.6; font-weight: 400; }
.hot-rank-cover { position: relative; width: 4.5rem; aspect-ratio: 16 / 10; border-radius: 0.4375rem; overflow: hidden; background: #edf3fa; }
.hot-rank-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 280ms var(--motion-ease); }
.hot-rank-cover.is-unavailable img { visibility: hidden; }
.hot-video-play { position: absolute; left: 0.3125rem; bottom: 0.3125rem; color: white; font-size: 0.5625rem; line-height: 1; text-shadow: 0 1px 4px #27364d; }
.hot-video-duration { position: absolute; right: 0.25rem; bottom: 0.25rem; padding: 0.125rem 0.1875rem; border-radius: 0.2rem; color: white; background: rgba(18,31,49,0.65); font-size: 0.5625rem; }
.hot-board-empty { padding: 2rem 1rem; text-align: center; color: var(--muted); font-size: 0.8125rem; line-height: 1.8; }
.hot-deck-hint { color: #93a2b7; font-size: 0.6875rem; line-height: 1.5; text-align: center; }
.hot-rank-state { padding: 1.5rem 0; text-align: center; color: var(--muted); font-size: 0.8125rem; line-height: 1.8; }
.hot-rank-state:empty { display: none; }
.hot-retry { margin-top: 0.75rem; }
.hot-heading, .hot-season, .hot-ranking, .hot-question, .hot-rank-row { animation: ui-enter 400ms var(--motion-ease) backwards; }
.hot-season { animation-delay: 70ms; }
.hot-ranking { animation-delay: 140ms; }
.hot-question, .hot-rank-row { animation-delay: var(--hot-delay,0ms); }
.hot-question, .hot-refresh, .hot-rank-title, .hot-board-more { transition: color 180ms, background-color 180ms; }
.hot-question-arrow { transition: transform 200ms var(--motion-ease), background-color 200ms; }
@media (hover:hover) and (pointer:fine) {
  .hot-question:hover .hot-question-text, .hot-rank-link:hover .hot-rank-title, .hot-board-more:hover { color: var(--ai); }
  .hot-question:hover .hot-question-arrow { transform: translateX(2px); background: #dcecff; }
  .hot-rank-link:hover .hot-rank-cover img { transform: scale(1.035); }
  .hot-refresh:not(:disabled):hover, .hot-retry:hover, .hot-deck-arrows button:not(:disabled):hover { background: var(--action-hover); color: var(--ai); }
}
@media (min-width:48rem) {
  .hot-content { width: calc(100% - 6rem); margin-top: 2rem; }
  .hot-season { display: grid; grid-template-columns: 12rem minmax(0,1fr); gap: 2rem; padding: 1.25rem 2rem; }
  .hot-season > .hot-section-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.75rem; padding-top: 0.375rem; }
  .hot-question-mark { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; }
  .hot-question-mark .ui-icon { width: 1.25rem; height: 1.25rem; }
  .hot-section-head h2 { font-size: 1.25rem; }
  .hot-questions { margin-top: 0; }
  .hot-question { min-height: 3.25rem; gap: 1rem; }
  .hot-question-text { font-size: 0.9375rem; }
  .hot-ranking { margin-top: 2.5rem; }
  .hot-updated { font-size: 0.75rem; }
  .hot-deck-switch button { min-height: 2.5rem; padding-inline: 1.125rem; font-size: 0.8125rem; }
  .hot-deck-arrows { gap: 0.75rem; }
  #hot-deck-position { font-size: 0.75rem; }
  .hot-boards { --deck-card: 82%; gap: 1.5rem; padding-bottom: 2rem; }
  .hot-board { border-radius: 1.25rem; }
  .hot-board-head { padding: 1.25rem 1.75rem; }
  .hot-board-head h3 { font-size: 1.25rem; }
  .hot-board-heading p { font-size: 0.75rem; }
  .hot-board-symbol { width: 2.625rem; height: 2.625rem; border-radius: 0.75rem; }
  .hot-board-more { font-size: 0.8125rem; }
  .hot-rank-list { padding-inline: 1.75rem; }
  .hot-rank-link { grid-template-columns: 1.75rem minmax(0,1fr) 7rem; gap: 1rem; min-height: 6.25rem; }
  .hot-rank-index { width: 1.625rem; height: 1.875rem; font-size: 0.8125rem; }
  .hot-rank-cover { width: 7rem; }
  .hot-rank-title { font-size: 1rem; }
}
@media (prefers-reduced-motion:reduce) {
  .screen-hot *, .screen-hot *::before, .screen-hot *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hot-board { transform: none; }
}
