/* [UI重构] 标签详情页（稿 H5 搜索发现 06/07）。共用件见 brand.css 第 18 节 */
#xqbj-container .xqbj-main {
  padding-left: 1rem;
  padding-right: 1rem;
}
#xqbj-container #home-main-content {
  padding-top: 0;
}
.tag-page #home-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.tag-page {
  color: #fff;
  padding-bottom: 1.5rem;
}
.tag-head {
  margin: 0;
}
.tag-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.5rem;
}
.tag-main-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* 日期 / 新 角标：稿上没有，保留功能，样式压成品牌小标 */
.tag-main-date,
.tag-main-new {
  position: absolute;
  top: 0.5rem;
  z-index: 3;
  padding: 0 0.375rem;
  border-radius: 0.25rem;
  background: rgba(15, 10, 13, 0.6) !important;
  color: #ff5002 !important;
  font-size: 0.75rem;
  line-height: 1.25rem;
}
.tag-main-date { left: 0.5rem; }
.tag-main-new { right: 0.5rem; }

.tag-watching {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.tag-watching-head {
  padding: 0;
}
.tag-watching-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-watching-list li {
  width: 100%;
  margin: 0;
  list-style: none;
}
.tag-watching-row {
  /* [UI重构] 稿：围观行是单行（H5 24 高、Web 46 高），过长用省略号；箭头 / 圆点用伪元素绝对定位 */
  position: relative;
  display: block;
  box-sizing: border-box;
  padding-right: 1.75rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* a:link 比单独的 class 更特异，字色会被盖成不透明白。稿是白 85% */
html body .tag-page a.tag-watching-row,
html body .tag-page a.tag-watching-row:link,
html body .tag-page a.tag-watching-row:visited,
html body .tag-page a.tag-watching-row:hover,
html body .tag-page a.tag-watching-row:active {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}
.tag-watching-row::after {
  content: "";
  position: absolute;
  top: 0.125rem;
  right: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url(../../__base/images/brand/menu/arrow-right.svg?_rpv=4) center / 1.25rem no-repeat;
  opacity: 0.6;
}

/* [UI重构-新增] 稿 07 暂无内容：24 内边距、图标 72（#ff5002 8% 圆底）、标题 16/24 Medium、说明 12/20 50% 白、按钮 192×40 */
.tag-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.tag-empty__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 2.25rem;
  /* [UI重构] 稿「标签空状态图标」：Figma 导出的 SVG（#ff5002 8% 圆底 + 60% 深灰标签）内联 */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none'%3E%3Crect width='72' height='72' rx='36' fill='%23FF5002' fill-opacity='.08'/%3E%3Cpath opacity='.6' d='M41.8045 30.2025L41.796 30.2025M46.0293 23.8011L38.2954 23.2062C37.6098 23.1534 36.9353 23.4029 36.449 23.8892L23.8892 36.449C22.9692 37.369 22.9692 38.8606 23.8892 39.7805L32.2179 48.1092C33.1379 49.0292 34.6294 49.0292 35.5494 48.1092L48.1092 35.5494C48.5955 35.0631 48.845 34.3887 48.7923 33.703L48.1974 25.9692C48.1082 24.8107 47.1877 23.8902 46.0293 23.8011Z' stroke='%23292929' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.tag-empty p {
  margin: 0;
}
.tag-empty__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}
.tag-empty__tip {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.25rem;
}
.tag-empty .tag-empty__btn {
  width: 12rem;
}
/* [UI重构] 稿：列表到分页的间距就是容器 gap，分页自己的 padding-top 不再叠加 */
.tag-page .pagination-container {
  padding-top: 0;
}

/* [UI重构] Web 稿（Web / 标签详情）：内容宽 476、间距 16；标签名与说明成组（间距 8）；「网友正在围观」是带橙点的卡片列表 */
@media screen and (min-width: 516px) {
  #xqbj-container .xqbj-main {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .tag-page #home-main-content {
    gap: 1rem;
  }
  .tag-desc {
    margin-top: -0.5rem;
    line-height: 1.375rem;
  }
  .tag-page .tag-main-list.brand-cover-list {
    gap: 1rem;
  }
  .tag-empty {
    padding: 1rem 0;
  }
  .tag-empty__title {
    max-width: 27.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
  }
  .tag-empty__tip {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
  .tag-empty .tag-empty__btn {
    width: 11.5rem;
  }
  .tag-watching {
    gap: 1rem;
  }
  .tag-watching-list {
    gap: 0;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
  }
  .tag-watching-row {
    padding: 0.75rem 0 0.75rem 1rem;
    line-height: 1.375rem;
  }
  .tag-watching-row::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: #ff5002;
  }
  .tag-watching-row::after {
    display: none;
  }
}
