:root {
  --brand-orange: #FF6B35;
  --brand-yellow: #ffd035;
  --brand-red: #FF4444;
  --brand-ink: #1A120B;
  --brand-cream: #FFF8F0;
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 107, 53, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(255, 208, 53, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255, 68, 68, 0.08), transparent 60%),
    linear-gradient(180deg, #FFF8F0 0%, #FFF3E6 40%, #FFE8D6 100%);
}

.site-header {
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 18, 11, 0.06);
}

.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(26, 18, 11, 0.65);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--brand-orange); }
.nav-link.is-active {
  color: var(--brand-orange);
  background: rgba(255, 107, 53, 0.1);
  font-weight: 700;
}

.header-cta {
  align-items: center;
  height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
}
.header-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.65rem;
  background: rgba(255, 107, 53, 0.1);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid rgba(26, 18, 11, 0.06);
  background: rgba(255, 248, 240, 0.96);
}
.mobile-nav.is-open {
  display: grid;
}
.mobile-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  font-weight: 700;
  color: rgba(26, 18, 11, 0.75);
}
.mobile-nav a:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--brand-orange);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.ai-grid--hub {
  padding: 0.25rem 0.15rem 0.35rem;
}

.home-hub {
  position: relative;
  z-index: 3;
  overflow: visible;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 18, 11, 0.08);
  border-radius: 1.35rem;
  padding: 0.65rem;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.08);
  backdrop-filter: blur(8px);
  scroll-margin-top: 5.5rem;
}
.home-hub-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.25rem;
  border-radius: 1rem;
  background: rgba(26, 18, 11, 0.04);
}
.home-hub-tab {
  height: 2.6rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(26, 18, 11, 0.55);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.home-hub-tab:hover { color: var(--brand-orange); }
.home-hub-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
}
.home-hub-panel[hidden] { display: none !important; }
.home-hub-panel.is-active { display: block; }

.search-shell--hub {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0.35rem 0.35rem 0.5rem;
  border-radius: 0;
}

@media (max-width: 640px) {
  .home-hub-tab {
    font-size: 0.78rem;
    height: 2.4rem;
    padding: 0 0.35rem;
  }
}

.ai-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 18, 11, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ai-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.12);
}
.ai-chip-icon { font-size: 1.35rem; line-height: 1; }
.ai-chip-text { display: flex; flex-direction: column; min-width: 0; }
.ai-chip-name { font-weight: 800; font-size: 0.92rem; }
.ai-chip-desc { font-size: 0.72rem; color: rgba(26, 18, 11, 0.45); margin-top: 0.1rem; }

.news-calendar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 18, 11, 0.08);
}
.news-calendar-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(26, 18, 11, 0.55);
}
.news-calendar-input {
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 18, 11, 0.12);
  background: #fff;
  font-size: 0.9rem;
  color: var(--brand-ink);
}
.news-calendar-btn {
  height: 2.25rem;
  padding: 0 0.9rem;
  border: none;
  border-radius: 0.55rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  cursor: pointer;
}

.day-sep {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(26, 18, 11, 0.55);
}
.day-sep::before,
.day-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(26, 18, 11, 0.08);
}
.day-sep span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--brand-orange);
  white-space: nowrap;
}

.news-sentinel {
  height: 1px;
  margin-top: 2rem;
}
.news-load-status {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(26, 18, 11, 0.45);
  padding: 1rem 0 0.5rem;
  min-height: 2.5rem;
}
.news-load-status.is-loading { color: var(--brand-orange); font-weight: 700; }
.news-load-status.is-done { color: rgba(26, 18, 11, 0.35); }


.hero-stage {
  position: relative;
  overflow: visible;
  min-height: min(72vh, 640px);
}

.hero-stage > .mx-auto {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.35), rgba(255, 208, 53, 0.25) 45%, rgba(255, 68, 68, 0.15)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B35' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to top, black 20%, transparent);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent);
}

.brand-hero-label {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand-orange);
}

.brand-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
  background: linear-gradient(120deg, var(--brand-ink) 30%, #5C2E1A 70%, var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 0.9rem;
  color: rgba(26, 18, 11, 0.5);
  margin-top: 0.25rem;
}

.search-shell {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 18, 11, 0.08);
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.08);
  backdrop-filter: blur(8px);
}

.engine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.engine-tab {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 0.5rem;
  color: rgba(26, 18, 11, 0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.engine-tab:hover { color: var(--eng-color, var(--brand-orange)); }
.engine-tab.is-active {
  color: #fff;
  background: var(--eng-color, var(--brand-orange));
}

.search-row {
  display: flex;
  gap: 0.5rem;
}
.search-input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 18, 11, 0.1);
  background: #fff;
  font-size: 1rem;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: text;
}
.search-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
.search-btn {
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
}
.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 0.85rem;
  border: 1.5px solid rgba(255, 107, 53, 0.45);
  color: var(--brand-orange);
  font-weight: 700;
}

.hot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hot-item:hover {
  background: #fff;
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateX(2px);
}

.rank-badge {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
}
.rank-gold { background: linear-gradient(135deg, #FFD035, #FF6B35); color: #1A120B; }
.rank-silver { background: linear-gradient(135deg, #C0C7D1, #8A93A0); }
.rank-bronze { background: linear-gradient(135deg, #E8A87C, #C47A4A); }
.rank-normal { background: rgba(26, 18, 11, 0.12); color: rgba(26, 18, 11, 0.55); }

.hot-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-title:hover { color: var(--brand-orange); }

.hot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: rgba(26, 18, 11, 0.4);
  flex-shrink: 0;
}
.hot-value { color: var(--brand-red); font-weight: 700; }

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.site-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 18, 11, 0.06);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
}
.site-chip:hover {
  border-color: rgba(255, 107, 53, 0.35);
  transform: translateY(-2px);
}
.site-chip-icon { font-size: 1.1rem; }

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cat-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(26, 18, 11, 0.55);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 18, 11, 0.06);
}
.cat-tab.is-active {
  color: #fff;
  background: var(--brand-orange);
  border-color: transparent;
}

.tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  background: rgba(255, 107, 53, 0.12);
  color: var(--brand-orange);
}
.tag-muted { background: rgba(26, 18, 11, 0.06); color: rgba(26, 18, 11, 0.55); }
.tag-hot { background: rgba(255, 68, 68, 0.12); color: var(--brand-red); }

.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}
.engine-grid-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eng-color, var(--brand-orange));
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--eng-color, var(--brand-orange)) 25%, transparent);
  transition: transform 0.15s, background 0.15s;
}
.engine-grid-item:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--eng-color, var(--brand-orange)) 8%, white);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.5);
}

.skeleton-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.skeleton-row {
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(26,18,11,0.06), rgba(26,18,11,0.12), rgba(26,18,11,0.06));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.iframe-wrap {
  min-height: 280px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 18, 11, 0.06);
}
.search-iframe {
  width: 100%;
  height: 70vh;
  border: 0;
}
.fallback-panel {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 18, 11, 0.06);
}
.docs-block {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 18, 11, 0.05);
}

.u-hidden,
.is-hidden { display: none !important; }

/* 图文热榜卡片 */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 18, 11, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.28);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.12);
}

.news-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #FF6B35, #ffd035 55%, #FF4444);
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  padding: 1.25rem 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.news-card-media.no-image .news-card-placeholder,
.news-card-media:not(.has-image) .news-card-placeholder {
  display: flex;
}
.news-card-media.has-image:not(.no-image) .news-card-placeholder {
  display: none;
}

.news-card-rank {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
}

.news-card-body {
  padding: 0.9rem 1rem 0.5rem;
  flex: 1;
}
.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: rgba(26, 18, 11, 0.45);
}

.news-card-origin {
  margin: 0 1rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 2rem;
  padding: 0 0.85rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  z-index: 2;
}
.news-card-origin:hover {
  filter: brightness(1.05);
}

/* 中转站 */
.go-panel {
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 18, 11, 0.06);
}
.go-media {
  position: relative;
  background: linear-gradient(145deg, #FF6B35, #ffd035 55%, #FF4444);
  overflow: hidden;
}
.go-media:not(.has-image),
.go-media.no-image {
  aspect-ratio: 16 / 9;
}
.go-media.has-image:not(.no-image) {
  background: #111;
}
.go-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.go-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}
.go-media.no-image .go-placeholder,
.go-media:not(.has-image) .go-placeholder {
  display: flex;
}
.go-media.has-image:not(.no-image) .go-placeholder {
  display: none;
}
.go-body {
  padding: 1.5rem 1.25rem 1.75rem;
}

/* 搜索关键词面板 */
.kw-panel {
  margin-top: 0.5rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 18, 11, 0.06);
}
.kw-panel-head {
  margin-bottom: 1.25rem;
}
.kw-groups {
  display: grid;
  gap: 1.35rem;
}
.kw-group-title {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
  color: var(--brand-ink);
}
.kw-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kw-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(26, 18, 11, 0.72);
  background: rgba(255, 248, 240, 0.95);
  border: 1px solid rgba(26, 18, 11, 0.08);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}
.kw-chip:hover {
  color: var(--brand-orange);
  border-color: rgba(255, 107, 53, 0.35);
  background: rgba(255, 107, 53, 0.08);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .kw-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
  .kw-panel {
    padding: 1.75rem 1.75rem 2rem;
  }
}

@media (max-width: 640px) {
  .hot-meta { display: none; }
  .hero-stage { min-height: auto; }
  .brand-hero-title { max-width: none; }
  .news-card-grid {
    grid-template-columns: 1fr;
  }
}

/* 本地轻量入场，不依赖境外 Motion CDN */
[data-motion].motion-ready {
  animation: motion-fade-up 0.45s ease both;
  animation-delay: var(--motion-delay, 0s);
}
@keyframes motion-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 搜索框下方热门吃瓜下拉（不遮挡输入） */
.search-shell--hub {
  position: relative;
}
.search-suggest {
  margin-top: 0.75rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 107, 53, 0.18);
  background: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.12);
  overflow: hidden;
}
.search-suggest[hidden] {
  display: none !important;
}
.search-suggest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 107, 53, 0.06);
  border-bottom: 1px solid rgba(26, 18, 11, 0.05);
}
.search-suggest-title {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--brand-orange);
}
.search-suggest-close {
  border: none;
  background: transparent;
  color: rgba(26, 18, 11, 0.45);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.search-suggest-body {
  max-height: min(42vh, 320px);
  overflow: auto;
  padding: 0.75rem 0.85rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.search-suggest-group + .search-suggest-group {
  margin-top: 0.9rem;
}
.search-suggest-group-title {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 900;
  color: rgba(26, 18, 11, 0.55);
}
.suggest-kw {
  border: 1px solid rgba(26, 18, 11, 0.08);
  cursor: pointer;
}

/* 搜索框下方广告位：上排双栏 + 下排通栏（首页 / 中转页复用） */
.home-ads-wrap {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.home-ads-wrap.home-ads--go {
  margin-top: 0;
}
.home-ads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.home-ads-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.home-ad {
  position: relative;
  display: block;
  height: 72px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(26, 18, 11, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-ad:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 45, 155, 0.18);
}
.home-ad img,
.home-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.home-ad--banner {
  height: 72px;
}
.home-ad--banner.has-image:not(.no-image) {
  height: auto;
  overflow: visible;
  background: transparent;
  border: none;
}
.home-ad--banner.has-image:not(.no-image):hover {
  transform: none;
  box-shadow: none;
}
.home-ad--banner.has-image:not(.no-image) img,
.home-ad--banner.has-image:not(.no-image) .home-ad-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0.75rem;
}
.home-ad-title {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
  font-weight: 900;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #ff2d9b;
  text-shadow: none;
}
.home-ad.no-image .home-ad-title,
.home-ad:not(.has-image) .home-ad-title,
.home-ad.is-pending .home-ad-title {
  display: flex;
}
.home-ad.has-image:not(.no-image):not(.is-pending) .home-ad-title {
  display: none;
}

@media (max-width: 640px) {
  .home-ads-wrap {
    gap: 0.5rem;
  }
  .home-ads {
    gap: 0.5rem;
  }
  .home-ad {
    height: 56px;
    border-radius: 0.65rem;
  }
  .home-ad--banner.has-image:not(.no-image) {
    height: auto;
    border-radius: 0.65rem;
  }
  .home-ad--banner.has-image:not(.no-image) img,
  .home-ad--banner.has-image:not(.no-image) .home-ad-img {
    border-radius: 0.65rem;
  }
  .home-ad-title {
    font-size: 0.82rem;
    padding: 0.35rem 0.5rem;
  }
}
