/* 攻略 · 列表与详情 */
body.guide-page,
body.guide-detail-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hub-font-body);
  color: var(--hub-text);
  background: var(--hub-bg);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.guide-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.guide-header--bar {
  flex-wrap: nowrap;
  gap: 10px;
}

.guide-header--bar .guide-header__text {
  flex: 1;
  min-width: 0;
}

.guide-header--with-menu .guide-header__text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 719px) {
  body.guide-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .guide-header--with-menu {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .guide-header--with-menu .hub-menu-btn {
    grid-column: 1;
  }

  .guide-header--with-menu .guide-header__text {
    grid-column: 2;
  }

  .guide-header--with-menu .tea-back {
    display: none;
  }

  .guide-header__sub {
    display: none;
  }

  .guide-header__mark {
    font-size: 1.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.guide-header__mark {
  font-family: var(--hub-font-display);
  font-size: 1.5rem;
  color: var(--hub-gold);
}

.guide-header__sub {
  font-size: 0.75rem;
  color: var(--hub-muted);
  display: block;
}

.guide-hero {
  padding: 22px 20px;
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-border-strong);
  background: linear-gradient(145deg, rgba(74, 28, 44, 0.45) 0%, rgba(26, 10, 18, 0.92) 55%, rgba(12, 6, 10, 0.98) 100%);
  box-shadow: var(--hub-shadow-rose), inset 0 1px 0 var(--hub-gold-glow);
  margin-bottom: 16px;
}

.guide-hero h1 {
  font-family: var(--hub-font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 8px;
  color: var(--hub-champagne);
}

.guide-hero p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--hub-muted);
}

.guide-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-end;
}

.guide-search {
  flex: 2 1 240px;
  min-width: 0;
}

.guide-search label {
  display: block;
  font-size: 0.72rem;
  color: var(--hub-muted);
  margin-bottom: 6px;
}

.guide-search__wrap {
  position: relative;
}

.guide-search__wrap::before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hub-gold-dim);
  pointer-events: none;
}

.guide-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 40px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 249, 246, 0.06);
  color: var(--hub-text);
  font-family: inherit;
  font-size: 0.95rem;
}

.guide-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.guide-type-tabs button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: transparent;
  color: var(--hub-muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.guide-type-tabs button.is-active {
  background: linear-gradient(135deg, var(--hub-rose-deep), var(--hub-rose));
  border-color: transparent;
  color: #fff;
}

.guide-stats-line {
  font-size: 0.8rem;
  color: var(--hub-muted);
  margin-bottom: 14px;
}

.guide-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--hub-border);
  background: var(--hub-surface);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-rose);
}

.guide-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.guide-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(12, 6, 10, 0.35);
}

.guide-card__dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--hub-gold);
}

.guide-card__body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card__tag {
  font-size: 0.68rem;
  color: var(--hub-blush);
  margin-bottom: 4px;
}

.guide-card__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.guide-card__excerpt {
  margin: 0;
  font-size: 0.78rem;
  color: var(--hub-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card__meta {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--hub-gold-dim);
}

/* 详情 */
.guide-detail-cover {
  border-radius: var(--hub-radius);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--hub-border);
}

.guide-detail-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-detail-video {
  margin-bottom: 18px;
  border-radius: var(--hub-radius);
  overflow: hidden;
  border: 1px solid var(--hub-border);
  aspect-ratio: 16 / 9;
  background: #000;
}

.guide-detail-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.guide-detail-video--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--hub-muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.4);
  min-height: 200px;
}

.guide-detail-panel {
  padding: 20px;
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-border);
  background: var(--hub-surface);
  margin-bottom: 20px;
}

.guide-detail__tag {
  font-size: 0.75rem;
  color: var(--hub-rose);
  margin-bottom: 8px;
}

.guide-detail__title {
  font-family: var(--hub-font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin: 0 0 12px;
  color: var(--hub-champagne);
  line-height: 1.35;
}

.guide-detail__meta {
  font-size: 0.82rem;
  color: var(--hub-muted);
  margin-bottom: 16px;
}

.guide-detail__excerpt {
  font-size: 0.95rem;
  color: var(--hub-text-soft);
  margin-bottom: 16px;
  line-height: 1.65;
}

.guide-detail__content {
  font-size: 0.92rem;
  color: var(--hub-text-soft);
  line-height: 1.75;
}

.guide-detail__h {
  font-size: 1rem;
  color: var(--hub-gold);
  margin: 1.2em 0 0.5em;
}

.guide-detail__ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.guide-related h2 {
  font-size: 1rem;
  color: var(--hub-gold);
  margin: 0 0 12px;
}

.hub-forum-embed {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-border);
  background: var(--hub-surface);
  overflow: hidden;
}

.hub-forum-embed .tea-zone-bar,
.hub-forum-embed .tea-tags-scroller,
.hub-forum-embed .tea-feed-modes-scroller {
  padding-left: 14px;
  padding-right: 14px;
}

.hub-forum-embed .tea-tags-scroller {
  padding-left: 0;
  padding-right: 0;
}

.hub-forum-embed .tea-tags-scroller__track {
  padding-left: 14px;
  padding-right: 14px;
}

.hub-forum-embed .tea-zone-bar,
.hub-forum-embed .tea-tags,
.hub-forum-embed .tea-feed-modes {
  padding-left: 0;
  padding-right: 0;
}

.hub-forum-embed .tea-zone-bar {
  padding-top: 12px;
  padding-bottom: 0;
}

.hub-forum-embed .tea-feed-modes {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 2px;
}

.hub-forum-embed .tea-tags-scroller {
  padding-top: 8px;
}

.hub-forum-embed .tea-tags {
  padding-top: 0;
}

.hub-forum-embed .tea-stats {
  padding: 6px 16px 0;
  font-size: 0.74rem;
}

.hub-forum-embed .tea-list {
  padding: 0 12px 12px;
  max-height: none;
}

.hub-forum-embed .tea-card {
  margin-bottom: 0;
}

.hub-forum--preview .hub-forum-preview__stats {
  padding: 10px 14px 6px;
  margin: 0;
  font-size: 0.74rem;
  color: var(--hub-gold-dim);
}

.hub-forum--preview .tea-list--preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 10px;
}

/* 首页热门帖 · 随 html[data-theme] 桥接的 --hub-* 变量变色 */
.hub-forum-embed .tea-card--compact {
  background: var(--hub-surface);
  border-color: var(--hub-border);
  color: var(--hub-text);
}

.hub-forum-embed .tea-card--compact.tea-card--hot {
  border-color: color-mix(in srgb, var(--hub-rose) 38%, transparent);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--hub-bg-plum) 88%, transparent),
    color-mix(in srgb, var(--hub-surface) 82%, transparent)
  );
}

.hub-forum-embed .tea-card__title--compact,
.hub-forum-embed .tea-card__title--compact a {
  color: var(--hub-champagne);
}

.hub-forum-embed .tea-card__excerpt--compact {
  color: var(--hub-muted);
}

.hub-forum-embed .tea-card__zone,
.hub-forum-embed .tea-chip--zone {
  color: var(--hub-gold-dim);
  background: var(--hub-gold-glow);
}

.hub-forum-embed .tea-card__badge--hot,
.hub-forum-embed .tea-chip--hot {
  background: var(--hub-rose);
  color: var(--hub-text);
}

.hub-forum-preview__more {
  display: block;
  margin: 0 12px 12px;
  padding: 10px 12px;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed var(--hub-border);
  color: var(--hub-gold);
  text-decoration: none;
  font-size: 0.84rem;
  transition: border-color 0.2s, color 0.2s;
}

.hub-forum-preview__more:hover {
  border-color: var(--hub-gold-dim);
  color: var(--hub-champagne);
}

@media (max-width: 719px) {
  .hub-section--community .hub-section__head {
    margin-bottom: 10px;
  }

  .hub-forum--preview .tea-list--preview {
    gap: 6px;
    padding: 0 10px 8px;
  }

  .hub-forum-preview__more {
    margin: 0 10px 10px;
    padding: 9px 10px;
    font-size: 0.8rem;
  }
}

.hub-guide-preview__more {
  display: block;
  text-align: center;
  padding: 12px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px dashed var(--hub-border);
  color: var(--hub-gold);
  text-decoration: none;
  font-size: 0.88rem;
}

/* 首页攻略 · 横向滑动 + 重点推荐 */
.hub-guides-quick {
  display: none;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 10px;
  padding-bottom: 2px;
}

.hub-guides-quick::-webkit-scrollbar {
  display: none;
}

.hub-guides-quick__chip {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  color: var(--hub-blush);
  text-decoration: none;
  background: rgba(42, 16, 32, 0.45);
}

.hub-guides-quick__chip--gold {
  color: var(--hub-gold);
  border-color: rgba(242, 221, 184, 0.35);
}

.hub-guide-rail__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.hub-guide-rail__hint {
  font-size: 0.72rem;
  color: var(--hub-muted);
  letter-spacing: 0.04em;
}

.hub-guide-rail__viewport {
  position: relative;
}

.hub-guide-rail__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}

.hub-guide-rail__track::-webkit-scrollbar {
  display: none;
}

.hub-guide-rail__fade {
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 28px;
  pointer-events: none;
  z-index: 2;
}

.hub-guide-rail__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--hub-bg, #0c060a) 0%, transparent 100%);
}

.hub-guide-rail__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--hub-bg, #0c060a) 0%, transparent 100%);
}

.hub-guide-rail__skeleton {
  flex: 0 0 72vw;
  max-width: 300px;
  min-height: 180px;
  border-radius: var(--hub-radius);
}

.hub-guide-rail__empty {
  flex: 1 1 100%;
  padding: 24px 12px;
}

.hub-guide-card {
  flex: 0 0 auto;
  width: min(68vw, 220px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: calc(var(--hub-radius) - 2px);
  overflow: hidden;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.hub-guide-card:hover,
.hub-guide-card:active {
  transform: translateY(-2px);
  border-color: var(--hub-border-strong);
  box-shadow: var(--hub-shadow), 0 0 0 1px rgba(240, 184, 200, 0.12);
}

.hub-guide-card.is-featured {
  width: min(78vw, 280px);
  border-color: rgba(242, 221, 184, 0.45);
  background: linear-gradient(165deg, rgba(42, 16, 32, 0.95) 0%, rgba(12, 6, 10, 0.92) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(242, 221, 184, 0.08);
}

.hub-guide-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a0a12;
}

.hub-guide-card__cover--article {
  aspect-ratio: 4 / 3;
}

.hub-guide-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hub-guide-card:hover .hub-guide-card__cover img {
  transform: scale(1.04);
}

.hub-guide-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hub-guide-card__featured {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #1a0a12;
  font-weight: 600;
  background: linear-gradient(135deg, var(--hub-gold), var(--hub-champagne));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hub-guide-card__featured--article {
  background: linear-gradient(135deg, var(--hub-rose), var(--hub-blush));
  color: #fff8f5;
}

.hub-guide-card__play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 249, 246, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--hub-bg, #0c060a);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hub-guide-card.is-featured .hub-guide-card__play {
  width: 46px;
  height: 46px;
  font-size: 0.95rem;
}

.hub-guide-card__dur,
.hub-guide-card__read {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.hub-guide-card__body {
  padding: 10px 12px 12px;
}

.hub-guide-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.hub-guide-card__tag {
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.35;
}

.hub-guide-card__tag--primary {
  background: rgba(196, 56, 88, 0.22);
  color: var(--hub-blush);
  border: 1px solid rgba(240, 184, 200, 0.35);
}

.hub-guide-card__tag--sub {
  background: rgba(255, 249, 246, 0.06);
  color: var(--hub-muted);
  border: 1px solid var(--hub-border);
}

.hub-guide-card__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-guide-card.is-featured .hub-guide-card__title {
  font-size: 0.94rem;
}

.hub-guide-card__excerpt {
  margin: 6px 0 0;
  font-size: 0.72rem;
  color: var(--hub-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-guide-rail--article .hub-guide-card {
  width: min(58vw, 180px);
}

.hub-guide-rail--article .hub-guide-card.is-featured {
  width: min(68vw, 220px);
}

@media (min-width: 720px) {
  .hub-guide-card {
    width: 220px;
  }

  .hub-guide-card.is-featured {
    width: 300px;
  }

  .hub-guide-rail--article .hub-guide-card {
    width: 176px;
  }

  .hub-guide-rail--article .hub-guide-card.is-featured {
    width: 220px;
  }

  .hub-guide-rail__hint {
    font-size: 0.76rem;
  }
}

.hub-guide-search {
  margin-bottom: 12px;
}

.hub-guide-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 249, 246, 0.06);
  color: var(--hub-text);
  font-family: inherit;
  font-size: 0.9rem;
}

.hub-guide-search {
  position: relative;
}

.hub-guide-search::before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hub-gold-dim);
  pointer-events: none;
  z-index: 1;
}

/* ── 攻略站 v3：档案推荐 / 统一搜索 / 栏目 / 基础资料 ── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-hero--hub {
  padding: 18px 16px 16px;
}

.guide-hero__top h1 {
  font-family: var(--hub-font-display);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  margin: 0 0 6px;
  color: var(--hub-champagne);
}

.guide-hero__top p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--hub-muted);
}

.guide-unified-search__wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.guide-unified-search__icon {
  position: absolute;
  left: 14px;
  color: var(--hub-gold-dim);
  pointer-events: none;
  font-size: 1rem;
}

.guide-unified-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 40px 12px 38px;
  border-radius: 14px;
  border: 1px solid var(--hub-border-strong);
  background: rgba(255, 249, 246, 0.07);
  color: var(--hub-text);
  font-family: inherit;
  font-size: 0.92rem;
}

.guide-unified-search__clear {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hub-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.guide-scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.guide-scope-tabs button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hub-muted);
  font-size: 0.74rem;
  cursor: pointer;
  font-family: inherit;
}

.guide-scope-tabs button.is-active {
  border-color: var(--hub-gold-dim);
  color: var(--hub-gold);
  background: rgba(212, 175, 120, 0.12);
}

.guide-panel {
  margin-bottom: 18px;
  padding: 16px 14px;
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-border);
  background: rgba(12, 6, 10, 0.55);
}

.guide-panel--recommend {
  border-color: rgba(212, 175, 120, 0.35);
  background: linear-gradient(145deg, rgba(74, 28, 44, 0.35), rgba(12, 6, 10, 0.88));
}

.guide-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-panel__head--row {
  flex-wrap: wrap;
  align-items: center;
}

.guide-panel__head h2 {
  margin: 0;
  font-family: var(--hub-font-display);
  font-size: 1.15rem;
  color: var(--hub-champagne);
}

.guide-panel__sub {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--hub-muted);
}

.guide-panel__link {
  font-size: 0.76rem;
  color: var(--hub-gold);
  text-decoration: none;
  white-space: nowrap;
}

.guide-recommend-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.guide-mini-card {
  flex: 0 0 min(72vw, 240px);
  scroll-snap-align: start;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
}

.guide-mini-card__thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--hub-gold-dim);
}

.guide-mini-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-mini-card__title {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--hub-text);
}

.guide-mini-card__meta,
.guide-mini-card__reason {
  margin: 4px 0 0;
  font-size: 0.7rem;
  color: var(--hub-muted);
}

.guide-mini-card__reason {
  color: var(--hub-gold-dim);
}

.guide-algo-note {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: var(--hub-muted);
  opacity: 0.85;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .guide-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-column-card {
  text-align: left;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.guide-column-card:hover {
  border-color: var(--hub-gold-dim);
  transform: translateY(-1px);
}

.guide-column-card__icon {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.guide-column-card__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hub-champagne);
}

.guide-column-card__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--hub-muted);
  line-height: 1.4;
}

.guide-column-card__meta {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  color: var(--hub-gold-dim);
}

.guide-ref-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.guide-ref-tabs button {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  background: transparent;
  color: var(--hub-muted);
  font-size: 0.76rem;
  cursor: pointer;
  font-family: inherit;
}

.guide-ref-tabs button.is-active {
  border-color: var(--hub-jade, #7eb8a2);
  color: var(--hub-jade, #9fd4bc);
  background: rgba(126, 184, 162, 0.1);
}

.guide-type-tabs--compact button {
  padding: 5px 10px;
  font-size: 0.72rem;
}

.guide-card__match {
  margin: 4px 0 0;
  font-size: 0.68rem;
  color: var(--hub-gold-dim);
}

.guide-card__thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
}

.guide-search-group {
  margin-bottom: 16px;
}

.guide-search-group__title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--hub-gold);
  font-weight: 600;
}

.guide-search-group__title span {
  color: var(--hub-muted);
  font-weight: 400;
}

.guide-search-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-search-hit {
  display: block;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
}

.guide-search-hit:hover {
  border-color: var(--hub-gold-dim);
}

.guide-search-hit__tag {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--hub-gold-dim);
  margin-bottom: 4px;
}

.guide-search-hit__title {
  display: block;
  font-size: 0.88rem;
  color: var(--hub-champagne);
}

.guide-search-hit__excerpt {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--hub-muted);
  line-height: 1.4;
}

.tea-empty--inline {
  margin: 0;
  padding: 12px 0;
  font-size: 0.82rem;
}

.hidden {
  display: none !important;
}

/* ── 搜索强化 v4 ── */

.guide-unified-search {
  position: relative;
}

.guide-unified-search__wrap--power {
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 120, 0.35);
  background: rgba(8, 4, 8, 0.72);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.guide-unified-search__wrap--power input {
  border: none;
  border-radius: 0;
  background: transparent;
  padding-right: 8px;
  min-height: 48px;
}

.guide-unified-search__wrap--power:focus-within {
  border-color: var(--hub-gold-dim);
  box-shadow: 0 0 0 2px rgba(212, 175, 120, 0.15), 0 8px 28px rgba(0, 0, 0, 0.28);
}

.guide-unified-search__kbd {
  position: absolute;
  right: 88px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--hub-border);
  font-size: 0.68rem;
  color: var(--hub-muted);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
}

.guide-unified-search__go {
  flex-shrink: 0;
  margin: 6px;
  padding: 0 16px;
  min-height: 36px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(212, 175, 120, 0.95), rgba(168, 120, 72, 0.95));
  color: #1a0a12;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.guide-unified-search__clear {
  right: 78px;
}

.guide-search-root.is-searching .guide-unified-search__wrap--power,
.guide-unified-search.is-searching .guide-unified-search__wrap--power,
#guideSearchRoot.is-searching .guide-unified-search__wrap--power {
  border-color: var(--hub-gold);
}

.guide-search-power-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--hub-muted);
}

.guide-search-power-bar__badge {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(126, 184, 162, 0.35);
  color: #9fd4bc;
  background: rgba(126, 184, 162, 0.08);
}

.guide-search-power-bar__stats {
  color: var(--hub-champagne);
}

.guide-search-power-bar__tip {
  opacity: 0.85;
}

.guide-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  max-height: min(62vh, 420px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--hub-border-strong);
  background: rgba(10, 6, 12, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.guide-search-dd {
  padding: 12px;
}

.guide-search-dd__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--hub-gold-dim);
}

.guide-search-dd__section + .guide-search-dd__section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hub-border);
}

.guide-search-dd__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-search-dd__chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hub-text);
  font-size: 0.76rem;
  cursor: pointer;
  font-family: inherit;
}

.guide-search-dd__chip:hover {
  border-color: var(--hub-gold-dim);
  color: var(--hub-gold);
}

.guide-search-dd__examples {
  display: grid;
  gap: 8px;
}

.guide-search-dd__example {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.guide-search-dd__example strong {
  color: var(--hub-champagne);
  font-size: 0.84rem;
}

.guide-search-dd__example span {
  font-size: 0.72rem;
  color: var(--hub-muted);
}

.guide-search-dd__sources {
  display: grid;
  gap: 8px;
}

.guide-search-dd__source {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.72rem;
}

.guide-search-dd__source strong {
  color: var(--hub-text);
}

.guide-search-dd__source p {
  margin: 2px 0 0;
  color: var(--hub-muted);
}

.guide-search-dd__preview {
  display: grid;
  gap: 6px;
}

.guide-search-dd__hit {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.guide-search-dd__hit.is-active,
.guide-search-dd__hit:hover {
  border-color: var(--hub-gold-dim);
  background: rgba(212, 175, 120, 0.08);
}

.guide-search-dd__hit strong {
  display: block;
  font-size: 0.82rem;
  color: var(--hub-champagne);
  line-height: 1.35;
}

.guide-search-dd__hit em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--hub-muted);
  line-height: 1.4;
}

.guide-search-dd__more {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed var(--hub-gold-dim);
  background: rgba(212, 175, 120, 0.06);
  color: var(--hub-gold);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.guide-search-dd__empty {
  margin: 0;
  font-size: 0.78rem;
  color: var(--hub-muted);
}

.guide-scope-tabs button em {
  font-style: normal;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hub-muted);
}

.guide-scope-tabs button em.has-hits {
  background: rgba(212, 175, 120, 0.18);
  color: var(--hub-gold);
}

.guide-panel__head--search {
  flex-direction: column;
  align-items: stretch;
}

.guide-search-scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-scope-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hub-muted);
  font-size: 0.74rem;
  cursor: pointer;
  font-family: inherit;
}

.guide-scope-chip em {
  font-style: normal;
  margin-left: 4px;
  color: var(--hub-gold-dim);
}

.guide-scope-chip.is-active {
  border-color: var(--hub-gold-dim);
  color: var(--hub-gold);
  background: rgba(212, 175, 120, 0.1);
}

.guide-scope-chip.has-hits em {
  color: var(--hub-gold);
}

.guide-search-suggestions {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--hub-border);
  font-size: 0.78rem;
  color: var(--hub-muted);
}

.guide-search-suggestions__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.guide-search-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  color: var(--hub-muted);
  font-size: 0.84rem;
}

.guide-search-loading span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 120, 0.25);
  border-top-color: var(--hub-gold);
  animation: guideSpin 0.8s linear infinite;
}

@keyframes guideSpin {
  to {
    transform: rotate(360deg);
  }
}

.guide-search-list--rich {
  gap: 10px;
}

.guide-search-hit--rich {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}

.guide-search-hit__source {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
}

.guide-search-hit__main {
  min-width: 0;
}

.guide-search-hit__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.guide-search-hit__score {
  font-size: 0.64rem;
  color: var(--hub-gold-dim);
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 120, 0.2);
}

.guide-search-hit__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--hub-muted);
}

.guide-search-hit__arrow {
  color: var(--hub-muted);
  font-size: 1.1rem;
}

.guide-hl {
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(212, 175, 120, 0.28);
  color: var(--hub-champagne);
  font-style: normal;
}

@media (max-width: 719px) {
  .guide-unified-search__kbd {
    display: none;
  }

  .guide-unified-search__clear {
    right: 72px;
  }

  .guide-search-power-bar__tip {
    width: 100%;
  }
}
