/**
 * UU网创主要前台内页视觉统一 · 第一批
 *
 * Scope contract:
 * - body.uuh58-redesign-archive: category / tag / taxonomy archives only
 * - body.uuh58-redesign-single: public single post views only
 *
 * No selector in this file is allowed to escape body.uuh58-redesign-content.
 */

body.uuh58-redesign-content {
  --uuh-page: #e7eef7;
  --uuh-page-deep: #dfe8f3;
  --uuh-surface: rgba(249, 252, 255, 0.84);
  --uuh-surface-strong: rgba(252, 253, 255, 0.94);
  --uuh-surface-muted: rgba(231, 239, 248, 0.82);
  --uuh-ink: #17263a;
  --uuh-ink-soft: #3c4e65;
  --uuh-muted: #66778d;
  --uuh-muted-soft: #7b8ba0;
  --uuh-line: rgba(132, 157, 187, 0.27);
  --uuh-line-strong: rgba(115, 143, 177, 0.38);
  --uuh-accent: #4a76c8;
  --uuh-accent-deep: #315b9f;
  --uuh-accent-wash: rgba(74, 118, 200, 0.11);
  --uuh-amber: #a86524;
  --uuh-amber-wash: rgba(221, 158, 72, 0.14);
  --uuh-danger: #c65050;
  --uuh-shadow: 0 16px 38px rgba(48, 72, 103, 0.075);
  --uuh-shadow-soft: 0 8px 22px rgba(48, 72, 103, 0.055);
  --uuh-font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 255, 255, 0.66), transparent 30rem),
    linear-gradient(180deg, #eaf1f8 0%, var(--uuh-page) 52%, #e3ebf5 100%);
  color: var(--uuh-ink);
  font-family: var(--uuh-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.uuh58-redesign-content a {
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

body.uuh58-redesign-content a:hover {
  color: var(--uuh-accent-deep);
}

/* --------------------------------------------------------------------------
   Shared header / compact inner-page portal masthead
   -------------------------------------------------------------------------- */

body.uuh58-redesign-content .header {
  z-index: 99;
}

body.uuh58-redesign-content .header .navbar {
  border: 0;
  border-bottom: 1px solid rgba(132, 157, 187, 0.2);
  background: rgba(241, 247, 253, 0.88);
  box-shadow: 0 8px 26px rgba(45, 69, 99, 0.055);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);
}

body.uuh58-redesign-content .header .navbar-nav > li > a,
body.uuh58-redesign-content .header .navbar-form .btn,
body.uuh58-redesign-content .header .navbar-form .but,
body.uuh58-redesign-content .header .navbar-form .toggle-theme {
  color: var(--uuh-ink-soft);
}

body.uuh58-redesign-content .header .navbar-nav > li > a:hover,
body.uuh58-redesign-content .header .navbar-nav > .current-menu-item > a,
body.uuh58-redesign-content .header .navbar-nav > .current-menu-ancestor > a {
  color: var(--uuh-accent-deep);
}

body.uuh58-redesign-content .header-slider-container {
  position: relative;
  isolation: isolate;
  min-height: 302px;
  margin-bottom: 58px !important;
  overflow: visible;
  border-radius: 0;
  background: linear-gradient(180deg, #e3ecf6 0%, #e8eff7 72%, rgba(231, 238, 247, 0) 100%);
  filter: none !important;
}

body.uuh58-redesign-content .header-slider-container::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(229, 238, 248, 0.94) 0%, rgba(229, 238, 248, 0.68) 48%, rgba(229, 238, 248, 0.34) 100%),
    url("assets/hero-lunar-dunes-v1.png") center 54% / cover no-repeat;
  content: "";
  opacity: 0.66;
}

body.uuh58-redesign-content .header-slider-container::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(231, 238, 247, 0), #e7eef7 94%);
  content: "";
  pointer-events: none;
}

body.uuh58-redesign-content .header-slider-container > .zib-slider {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.uuh58-redesign-content .header-slider-container .new-swiper,
body.uuh58-redesign-content .header-slider-container .swiper-wrapper,
body.uuh58-redesign-content .header-slider-container .swiper-slide,
body.uuh58-redesign-content .header-slider-container .swiper-slide > span {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}

body.uuh58-redesign-content .header-slider-search {
  top: 104px;
  left: 50%;
  width: min(680px, calc(100% - 40px));
  transform: translateX(-50%);
}

body.uuh58-redesign-content .header-slider-search-more {
  color: var(--uuh-ink-soft);
  font-size: 14px;
  line-height: 1.55;
  text-shadow: none;
}

body.uuh58-redesign-content .header-slider-search-more::before {
  display: none;
}

body.uuh58-redesign-content .header-slider-search-more > .em16 {
  margin-bottom: 7px !important;
  color: var(--uuh-ink);
  font-size: 27px;
  font-weight: 620;
  letter-spacing: 0.035em;
  line-height: 1.28;
}

body.uuh58-redesign-content .header-slider-search-more > .em16 img {
  display: none;
}

body.uuh58-redesign-content .header-slider-search .search-input {
  width: min(540px, 100%);
  margin: 18px auto 0;
}

body.uuh58-redesign-content .header-slider-search .search-form {
  padding: 5px 15px !important;
  border: 1px solid var(--uuh-line);
  border-radius: 15px;
  background: rgba(251, 253, 255, 0.88);
  box-shadow: var(--uuh-shadow-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.uuh58-redesign-content .header-slider-search .line-form {
  min-height: 38px;
}

body.uuh58-redesign-content .header-slider-search .line-form-input {
  color: var(--uuh-ink);
}

body.uuh58-redesign-content .header-slider-search .scale-placeholder,
body.uuh58-redesign-content .header-slider-search .muted-color {
  color: var(--uuh-muted) !important;
}

body.uuh58-redesign-content .header-slider-search .line-form-line {
  background: var(--uuh-accent);
}

body.uuh58-redesign-content .header-slider-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -38px;
  left: 0;
  width: min(1120px, calc(100% - 40px));
  padding: 0;
}

body.uuh58-redesign-content .header-slider-card .flex.jse.flex-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

body.uuh58-redesign-content .header-slider-card .flex1 {
  min-width: 0;
  padding: 0;
}

body.uuh58-redesign-content .header-slider-card .icon-cover-card {
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid var(--uuh-line);
  border-radius: 15px;
  background: var(--uuh-surface);
  box-shadow: var(--uuh-shadow-soft);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
}

body.uuh58-redesign-content .header-slider-card a:hover .icon-cover-card {
  border-color: var(--uuh-line-strong);
  background: var(--uuh-surface-strong);
}

body.uuh58-redesign-content .header-slider-card .icon-cover-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px !important;
  font-size: 18px !important;
  box-shadow: none;
}

body.uuh58-redesign-content .header-slider-card .icon-cover-icon .icon,
body.uuh58-redesign-content .header-slider-card .icon-cover-icon i {
  font-size: 17px !important;
}

body.uuh58-redesign-content .header-slider-card .icon-cover-desc {
  min-width: 0;
  margin-left: 10px !important;
  color: var(--uuh-ink);
}

body.uuh58-redesign-content .header-slider-card .icon-cover-desc > .em12 {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.uuh58-redesign-content .header-slider-card .icon-cover-desc > .muted-color {
  display: none;
}

body.uuh58-redesign-content .header-slider-card badge {
  display: none;
}

/* --------------------------------------------------------------------------
   Shared page shell, footer and persistent utilities
   -------------------------------------------------------------------------- */

body.uuh58-redesign-content > main.container {
  width: min(1120px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

body.uuh58-redesign-content > main.container .content-wrap,
body.uuh58-redesign-content > main.container .content-layout {
  width: 100%;
  margin: 0;
}

body.uuh58-redesign-content .breadcrumb {
  margin: 0 auto 14px;
  padding: 0 4px;
  color: var(--uuh-muted);
  font-size: 13px;
}

body.uuh58-redesign-content .breadcrumb a {
  color: var(--uuh-muted);
}

body.uuh58-redesign-content .float-right.position-bottom {
  right: 18px;
  bottom: 88px;
}

body.uuh58-redesign-content .float-right .float-btn {
  border: 1px solid rgba(132, 157, 187, 0.22);
  box-shadow: 0 8px 22px rgba(41, 63, 91, 0.12);
}

body.uuh58-redesign-content .footer {
  margin-top: 52px;
  border-top: 1px solid rgba(132, 157, 187, 0.2);
  background: rgba(223, 233, 244, 0.8);
  color: var(--uuh-ink-soft);
}

body.uuh58-redesign-content .footer .footer-muted,
body.uuh58-redesign-content .footer .muted-2-color,
body.uuh58-redesign-content .footer .muted-color {
  color: var(--uuh-muted) !important;
}

body.uuh58-redesign-content .wiiuii_layout {
  height: 28px !important;
  background: rgba(223, 233, 244, 0.8) !important;
}

body.uuh58-redesign-content .wiiuii_layout .editorial {
  height: 28px !important;
  opacity: 0.18;
}

body.uuh58-redesign-content .wiiuii_layout .parallax > use:nth-child(1) {
  fill: #8ea6c3 !important;
}

body.uuh58-redesign-content .wiiuii_layout .parallax > use:nth-child(2) {
  fill: #7f99b8 !important;
}

body.uuh58-redesign-content .wiiuii_layout .parallax > use:nth-child(3) {
  fill: #718cab !important;
}

body.uuh58-redesign-content .footer-tabbar {
  border-top: 1px solid rgba(132, 157, 187, 0.25);
  background: rgba(248, 251, 254, 0.94);
  box-shadow: 0 -9px 25px rgba(50, 73, 101, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
}

body.uuh58-redesign-content .footer-tabbar .tabbar-item {
  color: var(--uuh-muted);
}

body.uuh58-redesign-content .footer-tabbar .tabbar-item:hover,
body.uuh58-redesign-content .footer-tabbar .tabbar-item.active {
  color: var(--uuh-accent-deep);
}

/* --------------------------------------------------------------------------
   Taxonomy / resource archive
   -------------------------------------------------------------------------- */

body.uuh58-redesign-archive .page-cover {
  position: relative;
  height: 206px;
  min-height: 206px;
  margin: 0 0 18px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--uuh-line);
  border-radius: 22px;
  background: #dbe6f1;
  box-shadow: var(--uuh-shadow);
}

body.uuh58-redesign-archive .page-cover > img {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  filter: grayscale(42%) saturate(45%) contrast(86%) brightness(1.06);
  object-fit: cover;
  transform: scale(1.015);
}

body.uuh58-redesign-archive .page-cover .linear-mask {
  background:
    linear-gradient(90deg, rgba(29, 47, 70, 0.76), rgba(47, 69, 96, 0.5) 54%, rgba(77, 101, 130, 0.28)),
    linear-gradient(0deg, rgba(24, 40, 62, 0.26), transparent 62%);
}

body.uuh58-redesign-archive .page-cover-con {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 34px;
  color: #f8fbff;
}

body.uuh58-redesign-archive .page-cover-con .title-h-left {
  margin-bottom: 9px;
}

body.uuh58-redesign-archive .page-cover-con .title-h-left b {
  color: #fff;
  font-size: 29px;
  font-weight: 620;
  letter-spacing: 0.025em;
  line-height: 1.35;
}

body.uuh58-redesign-archive .page-cover-con .icon-spot {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 10px;
  padding: 3px 8px;
  border-color: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.35;
  vertical-align: 4px;
}

body.uuh58-redesign-archive .page-cover-con .page-desc {
  max-width: 680px;
  color: rgba(246, 250, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

body.uuh58-redesign-archive .posts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
}

body.uuh58-redesign-archive .posts-row > .ajax-option,
body.uuh58-redesign-archive .posts-row > .pagenav,
body.uuh58-redesign-archive .posts-row > div:empty {
  grid-column: 1 / -1;
}

body.uuh58-redesign-archive .posts-row > div:empty {
  display: none;
}

body.uuh58-redesign-archive .ajax-option {
  margin: 0 0 1px;
  padding: 11px 16px;
  border: 1px solid var(--uuh-line);
  border-radius: 14px;
  background: var(--uuh-surface);
  box-shadow: var(--uuh-shadow-soft);
}

body.uuh58-redesign-archive .ajax-option .option-dropdown {
  color: var(--uuh-ink);
  font-size: 14px;
  font-weight: 600;
}

body.uuh58-redesign-archive .ajax-option .option-items a {
  margin-left: 5px;
  padding: 6px 11px;
  border-radius: 9px;
  color: var(--uuh-muted);
  font-size: 13px;
}

body.uuh58-redesign-archive .ajax-option .option-items a:hover,
body.uuh58-redesign-archive .ajax-option .option-items a.active,
body.uuh58-redesign-archive .ajax-option .option-items a.selected {
  background: var(--uuh-accent-wash);
  color: var(--uuh-accent-deep);
}

body.uuh58-redesign-archive posts.posts-item {
  display: flex;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 170px;
  margin: 0 !important;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--uuh-line);
  border-radius: 17px;
  background: var(--uuh-surface);
  box-shadow: var(--uuh-shadow-soft);
}

body.uuh58-redesign-archive posts.posts-item:hover {
  border-color: var(--uuh-line-strong);
  background: var(--uuh-surface-strong);
}

body.uuh58-redesign-archive posts.posts-item .post-graphic {
  flex: 0 0 148px;
  width: 148px;
  margin: 0 15px 0 0;
}

body.uuh58-redesign-archive posts.posts-item .item-thumbnail,
body.uuh58-redesign-archive posts.posts-item .item-thumbnail > a {
  display: block;
  width: 100%;
  height: 142px;
}

body.uuh58-redesign-archive posts.posts-item .item-thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 12px !important;
  object-fit: cover;
}

body.uuh58-redesign-archive posts.posts-item .item-body {
  min-width: 0;
  padding: 1px 0;
}

body.uuh58-redesign-archive posts.posts-item .item-heading {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  color: var(--uuh-ink);
  font-size: 16px;
  font-weight: 590;
  letter-spacing: 0.005em;
  line-height: 1.48;
  max-height: none;
  white-space: normal !important;
}

body.uuh58-redesign-archive posts.posts-item .item-heading > a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-weight: inherit;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.uuh58-redesign-archive posts.posts-item .item-excerpt {
  display: -webkit-box;
  margin: 6px 0 7px !important;
  overflow: hidden;
  color: var(--uuh-muted) !important;
  font-size: 12.5px;
  line-height: 1.55;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.uuh58-redesign-archive posts.posts-item .item-tags {
  margin-bottom: 5px !important;
}

body.uuh58-redesign-archive posts.posts-item .meta-pay {
  padding: 3px 8px;
  border: 1px solid rgba(178, 119, 48, 0.2);
  border-radius: 999px;
  background: var(--uuh-amber-wash) !important;
  box-shadow: none;
  color: var(--uuh-amber) !important;
  font-size: 11px;
  font-weight: 580;
}

body.uuh58-redesign-archive posts.posts-item .item-meta {
  min-width: 0;
  color: var(--uuh-muted-soft) !important;
  font-size: 11px;
}

body.uuh58-redesign-archive posts.posts-item .item-meta .avatar-mini {
  width: 18px;
  height: 18px;
}

body.uuh58-redesign-archive posts.posts-item .item-meta item + item {
  margin-left: 8px;
}

body.uuh58-redesign-archive .pagenav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 22px 0 0;
}

body.uuh58-redesign-archive .pagenav .page-numbers {
  min-width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--uuh-line);
  border-radius: 11px;
  background: var(--uuh-surface);
  color: var(--uuh-muted);
  line-height: 36px;
  text-align: center;
}

body.uuh58-redesign-archive .pagenav .page-numbers.current,
body.uuh58-redesign-archive .pagenav .page-numbers:hover {
  border-color: rgba(74, 118, 200, 0.32);
  background: var(--uuh-accent);
  color: #fff;
}

body.uuh58-redesign-archive .pagenav .jump-input {
  height: 34px;
  border: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Single article / free, member and paid resource variants
   -------------------------------------------------------------------------- */

body.uuh58-redesign-single > main.container {
  width: min(960px, calc(100% - 40px));
}

body.uuh58-redesign-single .content-layout > .breadcrumb {
  max-width: 860px;
}

body.uuh58-redesign-single article.article {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--uuh-line);
  border-radius: 22px !important;
  background: var(--uuh-surface-strong) !important;
  box-shadow: var(--uuh-shadow) !important;
}

body.uuh58-redesign-single article.article .article-header {
  margin: 0;
  padding: 34px 42px 25px;
  border-bottom: 1px solid rgba(132, 157, 187, 0.18);
  background: transparent;
}

body.uuh58-redesign-single article.article .article-title {
  max-width: 760px;
  margin: 0 0 23px;
  color: var(--uuh-ink);
  font-size: 31px;
  font-weight: 625;
  letter-spacing: 0.012em;
  line-height: 1.4;
}

body.uuh58-redesign-single article.article .article-title > a {
  color: inherit;
}

body.uuh58-redesign-single article.article .article-avatar,
body.uuh58-redesign-single article.article .single-metabox,
body.uuh58-redesign-single article.article .post-metas {
  color: var(--uuh-muted);
}

body.uuh58-redesign-single article.article .article-avatar .display-name {
  color: var(--uuh-ink-soft);
  font-weight: 580;
}

body.uuh58-redesign-single article.article .article-avatar .avatar-img,
body.uuh58-redesign-single article.article .article-avatar .avatar-img img.avatar {
  width: 38px;
  height: 38px;
}

body.uuh58-redesign-single article.article .user-action .but {
  border: 1px solid var(--uuh-line);
  border-radius: 10px;
  background: rgba(235, 242, 250, 0.78);
  box-shadow: none;
  color: var(--uuh-ink-soft) !important;
}

body.uuh58-redesign-single article.article .user-action .but:hover {
  border-color: var(--uuh-line-strong);
  background: var(--uuh-accent-wash);
  color: var(--uuh-accent-deep) !important;
}

body.uuh58-redesign-single article.article .article-content {
  padding: 10px 42px 42px;
}

body.uuh58-redesign-single article.article .wp-posts-content {
  color: #25364a;
  font-size: 16.5px;
  line-height: 1.88;
}

body.uuh58-redesign-single article.article .wp-posts-content > :first-child {
  margin-top: 20px;
}

body.uuh58-redesign-single article.article .wp-posts-content p {
  margin: 0 0 1.25em;
}

body.uuh58-redesign-single article.article .wp-posts-content h2,
body.uuh58-redesign-single article.article .wp-posts-content h3,
body.uuh58-redesign-single article.article .wp-posts-content h4 {
  color: var(--uuh-ink);
  font-family: var(--uuh-font);
  font-weight: 620;
  letter-spacing: 0.01em;
  line-height: 1.48;
}

body.uuh58-redesign-single article.article .wp-posts-content h2 {
  margin: 2.05em 0 0.75em;
  font-size: 24px;
}

body.uuh58-redesign-single article.article .wp-posts-content h3 {
  margin: 1.75em 0 0.7em;
  font-size: 20px;
}

body.uuh58-redesign-single article.article .wp-posts-content img {
  height: auto;
  border-radius: 14px;
}

body.uuh58-redesign-single article.article .wp-posts-content blockquote {
  margin: 1.6em 0;
  padding: 16px 19px;
  border: 0;
  border-left: 3px solid rgba(74, 118, 200, 0.48);
  border-radius: 0 12px 12px 0;
  background: var(--uuh-accent-wash);
  color: var(--uuh-ink-soft);
}

body.uuh58-redesign-single article.article .wp-posts-content pre,
body.uuh58-redesign-single article.article .wp-posts-content code {
  border-color: var(--uuh-line);
  background: rgba(224, 233, 243, 0.72);
}

body.uuh58-redesign-single article.article .article-tags .but,
body.uuh58-redesign-single article.article .article-tags a {
  border: 1px solid var(--uuh-line);
  border-radius: 999px;
  background: rgba(233, 241, 249, 0.74);
  color: var(--uuh-muted);
}

body.uuh58-redesign-single article.article .separator {
  border-color: rgba(132, 157, 187, 0.2);
}

body.uuh58-redesign-single article.article .muted-color,
body.uuh58-redesign-single article.article .muted-2-color,
body.uuh58-redesign-single article.article .muted-3-color {
  color: var(--uuh-muted) !important;
}

/* Paid / member access stays functionally untouched; only presentation changes. */
body.uuh58-redesign-single article.article #posts-pay {
  position: relative;
  margin: 26px 42px 7px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(112, 143, 181, 0.32);
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 8%, rgba(105, 143, 199, 0.12), transparent 14rem),
    rgba(232, 240, 248, 0.78);
  box-shadow: none;
}

body.uuh58-redesign-single article.article #posts-pay::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--uuh-accent);
  content: "";
}

body.uuh58-redesign-single article.article #posts-pay .pay-tag {
  top: 0;
  right: auto;
  bottom: auto;
  left: 22px;
  padding: 5px 10px;
  transform: translateY(-1px);
  border-radius: 0 0 9px 9px;
  background: rgba(74, 118, 200, 0.13);
  color: var(--uuh-accent-deep);
  font-size: 11px;
  font-weight: 620;
}

body.uuh58-redesign-single article.article #posts-pay .pay-flexbox {
  padding-top: 13px;
}

body.uuh58-redesign-single article.article #posts-pay .pay-thumb {
  width: 178px;
  margin-right: 24px !important;
}

body.uuh58-redesign-single article.article #posts-pay .pay-thumb .graphic,
body.uuh58-redesign-single article.article #posts-pay .pay-thumb img {
  width: 178px;
  height: 126px;
  border-radius: 12px;
  object-fit: cover;
}

body.uuh58-redesign-single article.article #posts-pay .pay-title {
  color: var(--uuh-ink);
  font-size: 17px;
  font-weight: 620;
}

body.uuh58-redesign-single article.article #posts-pay .price-box .c-red,
body.uuh58-redesign-single article.article #posts-pay .price-box .c-red b {
  color: var(--uuh-danger) !important;
}

body.uuh58-redesign-single article.article #posts-pay .price-box .em3x {
  font-size: 30px;
  font-weight: 680;
}

body.uuh58-redesign-single article.article #posts-pay .price-box badge {
  color: var(--uuh-amber);
  font-size: 11px;
}

body.uuh58-redesign-single article.article #posts-pay .vip-price {
  border: 1px solid rgba(147, 119, 63, 0.2);
  border-radius: 9px;
  background: rgba(225, 198, 133, 0.15);
  color: #8b692f;
}

body.uuh58-redesign-single article.article #posts-pay .cashier-link {
  min-width: 112px;
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  background: #cc5d56 !important;
  box-shadow: 0 8px 18px rgba(166, 66, 62, 0.16);
  color: #fff !important;
  font-size: 14px;
  font-weight: 620;
}

body.uuh58-redesign-single article.article #posts-pay .pay-extra-hide {
  color: var(--uuh-muted) !important;
}

body.uuh58-redesign-single article.article .hidden-box {
  margin: 20px 0;
  border: 1px dashed rgba(96, 126, 162, 0.38);
  border-radius: 13px;
  background: rgba(228, 237, 247, 0.7);
}

body.uuh58-redesign-single article.article .hidden-box .hidden-text {
  color: var(--uuh-accent-deep);
}

body.uuh58-redesign-single .content-layout > .yiyan-box,
body.uuh58-redesign-single .content-layout > .user-card,
body.uuh58-redesign-single .content-layout > .theme-box,
body.uuh58-redesign-single .content-layout > .zib-widget.author,
body.uuh58-redesign-single .content-layout > .relates {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid var(--uuh-line);
  border-radius: 17px;
  background: var(--uuh-surface);
  box-shadow: var(--uuh-shadow-soft);
}

body.uuh58-redesign-single .content-layout > .yiyan-box,
body.uuh58-redesign-single .content-layout > .user-card,
body.uuh58-redesign-single .content-layout > .theme-box {
  margin-top: 14px;
}

body.uuh58-redesign-single .article-nav {
  border-color: rgba(132, 157, 187, 0.22);
}

body.uuh58-redesign-single .relates .title-theme,
body.uuh58-redesign-single .user-card .display-name {
  color: var(--uuh-ink);
  font-weight: 610;
}

/* --------------------------------------------------------------------------
   Tablet transition
   -------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) {
  body.uuh58-redesign-content .header-slider-container {
    min-height: 284px;
    margin-bottom: 54px !important;
  }

  body.uuh58-redesign-content .header-slider-search {
    top: 70px;
  }

  body.uuh58-redesign-content .header-slider-search .search-input {
    margin-top: 10px;
  }

  body.uuh58-redesign-content .header-slider-card {
    width: calc(100% - 32px);
  }

  body.uuh58-redesign-content .header-slider-card .flex.jse.flex-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-card {
    min-height: 58px;
    padding: 10px 12px;
  }

  body.uuh58-redesign-content .header-slider-card {
    bottom: -62px;
  }

  body.uuh58-redesign-content .header-slider-container {
    margin-bottom: 78px !important;
  }

  body.uuh58-redesign-content > main.container {
    width: calc(100% - 32px);
  }

  body.uuh58-redesign-archive .posts-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Mobile-first content density
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  body.uuh58-redesign-content {
    background:
      radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.64), transparent 20rem),
      linear-gradient(180deg, #eaf1f8 0%, #e7eef7 54%, #e3ebf5 100%);
  }

  body.uuh58-redesign-content .header .navbar {
    min-height: 58px;
    background: rgba(245, 249, 253, 0.9);
  }

  body.uuh58-redesign-content .header-slider-container {
    min-height: 196px;
    margin-bottom: 58px !important;
  }

  body.uuh58-redesign-content .header-slider-container::before {
    background:
      linear-gradient(90deg, rgba(229, 238, 248, 0.95) 0%, rgba(229, 238, 248, 0.67) 62%, rgba(229, 238, 248, 0.28) 100%),
      url("assets/hero-lunar-dunes-v1.png") 58% 55% / cover no-repeat;
    opacity: 0.64;
  }

  body.uuh58-redesign-content .header-slider-search {
    top: 57px;
    width: calc(100% - 28px);
  }

  body.uuh58-redesign-content .header-slider-search-more {
    font-size: 12px;
  }

  body.uuh58-redesign-content .header-slider-search-more > .em16 {
    margin-bottom: 4px !important;
    font-size: 21px;
    font-weight: 620;
    letter-spacing: 0.025em;
  }

  body.uuh58-redesign-content .header-slider-search .search-input {
    margin-top: 10px;
  }

  body.uuh58-redesign-content .header-slider-search .search-form {
    padding: 2px 12px !important;
    border-radius: 13px;
  }

  body.uuh58-redesign-content .header-slider-search .line-form {
    min-height: 34px;
  }

  body.uuh58-redesign-content .header-slider-card {
    right: auto;
    bottom: -45px;
    left: 10px;
    width: calc(100% - 10px);
    overflow: hidden;
  }

  body.uuh58-redesign-content .header-slider-card > div {
    overflow-x: auto;
    padding: 1px 10px 8px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.uuh58-redesign-content .header-slider-card > div::-webkit-scrollbar {
    display: none;
  }

  body.uuh58-redesign-content .header-slider-card .flex.jse.flex-row {
    display: flex;
    width: max-content;
    gap: 8px;
  }

  body.uuh58-redesign-content .header-slider-card .flex1 {
    flex: 0 0 138px;
    width: 138px;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-card {
    min-height: 60px;
    padding: 10px 11px;
    border-radius: 14px;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px !important;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-icon .icon,
  body.uuh58-redesign-content .header-slider-card .icon-cover-icon i {
    font-size: 15px !important;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-desc {
    margin-left: 8px !important;
  }

  body.uuh58-redesign-content .header-slider-card .icon-cover-desc > .em12 {
    font-size: 13px;
  }

  body.uuh58-redesign-content .header-slider-card badge {
    display: none;
  }

  body.uuh58-redesign-content > main.container,
  body.uuh58-redesign-single > main.container {
    width: calc(100% - 20px);
  }

  body.uuh58-redesign-content .breadcrumb {
    margin-bottom: 10px;
    padding: 0 3px;
    font-size: 11px;
    line-height: 1.45;
  }

  body.uuh58-redesign-content .float-right.position-bottom {
    right: 2px;
    bottom: 78px;
    transform: scale(0.76);
    transform-origin: right bottom;
  }

  body.uuh58-redesign-content .footer {
    margin-top: 34px;
  }

  body.uuh58-redesign-content .wiiuii_layout,
  body.uuh58-redesign-content .wiiuii_layout .editorial {
    height: 20px !important;
  }

  body.uuh58-redesign-archive .page-cover {
    height: 142px;
    min-height: 142px;
    margin-bottom: 12px;
    border-radius: 18px;
  }

  body.uuh58-redesign-archive .page-cover-con {
    padding: 21px 20px;
  }

  body.uuh58-redesign-archive .page-cover-con .title-h-left {
    margin-bottom: 5px;
  }

  body.uuh58-redesign-archive .page-cover-con .title-h-left b {
    font-size: 23px;
    line-height: 1.32;
  }

  body.uuh58-redesign-archive .page-cover-con .page-desc {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.uuh58-redesign-archive .posts-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body.uuh58-redesign-archive .ajax-option {
    padding: 8px 10px;
    border-radius: 12px;
  }

  body.uuh58-redesign-archive .ajax-option .option-dropdown {
    font-size: 12px;
  }

  body.uuh58-redesign-archive .ajax-option .option-items a {
    margin-left: 2px;
    padding: 5px 8px;
    font-size: 11px;
  }

  body.uuh58-redesign-archive posts.posts-item {
    min-height: 112px;
    padding: 10px;
    border-radius: 15px;
  }

  body.uuh58-redesign-archive posts.posts-item .post-graphic {
    flex: 0 0 105px;
    width: 105px;
    margin-right: 12px;
  }

  body.uuh58-redesign-archive posts.posts-item .item-thumbnail,
  body.uuh58-redesign-archive posts.posts-item .item-thumbnail > a {
    height: 90px;
  }

  body.uuh58-redesign-archive posts.posts-item .item-thumbnail img {
    border-radius: 10px !important;
  }

  body.uuh58-redesign-archive posts.posts-item .item-heading {
    font-size: 14px;
    font-weight: 590;
    line-height: 1.45;
  }

  body.uuh58-redesign-archive posts.posts-item .item-excerpt {
    display: none;
  }

  body.uuh58-redesign-archive posts.posts-item .item-tags {
    margin: 5px 0 3px !important;
  }

  body.uuh58-redesign-archive posts.posts-item .meta-author > a,
  body.uuh58-redesign-archive posts.posts-item .meta-author > .hide-sm {
    display: none;
  }

  body.uuh58-redesign-archive posts.posts-item .meta-author .icon-circle {
    margin-left: 0;
  }

  body.uuh58-redesign-archive posts.posts-item .meta-right item {
    margin-left: 7px;
  }

  body.uuh58-redesign-archive .pagenav {
    gap: 4px;
    margin-top: 15px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1px 3px;
  }

  body.uuh58-redesign-archive .pagenav .page-numbers {
    flex: 0 0 auto;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 32px;
  }

  body.uuh58-redesign-single article.article {
    border-radius: 18px !important;
  }

  body.uuh58-redesign-single article.article .article-header {
    padding: 22px 16px 18px;
  }

  body.uuh58-redesign-single article.article .article-title {
    margin-bottom: 18px;
    font-size: 23px;
    font-weight: 620;
    letter-spacing: 0.006em;
    line-height: 1.43;
  }

  body.uuh58-redesign-single article.article .article-avatar .avatar-img,
  body.uuh58-redesign-single article.article .article-avatar .avatar-img img.avatar {
    width: 34px;
    height: 34px;
  }

  body.uuh58-redesign-single article.article .user-action .but {
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 11px;
  }

  body.uuh58-redesign-single article.article .single-metabox {
    font-size: 11px;
  }

  body.uuh58-redesign-single article.article .article-content {
    padding: 7px 16px 27px;
  }

  body.uuh58-redesign-single article.article .wp-posts-content {
    font-size: 16px;
    line-height: 1.82;
  }

  body.uuh58-redesign-single article.article .wp-posts-content > :first-child {
    margin-top: 15px;
  }

  body.uuh58-redesign-single article.article .wp-posts-content h2 {
    font-size: 21px;
  }

  body.uuh58-redesign-single article.article .wp-posts-content h3 {
    font-size: 18px;
  }

  body.uuh58-redesign-single article.article .wp-posts-content img {
    border-radius: 11px;
  }

  body.uuh58-redesign-single article.article #posts-pay {
    margin: 16px 16px 5px;
    padding: 22px 16px 18px;
    border-radius: 14px;
  }

  body.uuh58-redesign-single article.article #posts-pay .pay-flexbox {
    padding-top: 11px;
  }

  body.uuh58-redesign-single article.article #posts-pay .pay-title {
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
  }

  body.uuh58-redesign-single article.article #posts-pay .price-box .em3x {
    font-size: 27px;
  }

  body.uuh58-redesign-single article.article #posts-pay .cashier-link {
    min-width: 104px;
    padding: 9px 16px;
  }

  body.uuh58-redesign-single article.article #posts-pay .pay-extra-hide {
    font-size: 11px !important;
    line-height: 1.45;
  }

  body.uuh58-redesign-single .content-layout > .yiyan-box,
  body.uuh58-redesign-single .content-layout > .user-card,
  body.uuh58-redesign-single .content-layout > .theme-box,
  body.uuh58-redesign-single .content-layout > .zib-widget.author,
  body.uuh58-redesign-single .content-layout > .relates {
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.uuh58-redesign-content *,
  body.uuh58-redesign-content *::before,
  body.uuh58-redesign-content *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Approved mobile primary navigation on stage-two content routes
   -------------------------------------------------------------------------- */

body.uuh58-redesign-content .uuh58-mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  body.uuh58-redesign-content {
    --uuh58-mobile-bottom-nav-height: 73px;
    padding-bottom: calc(var(--uuh58-mobile-bottom-nav-height) + env(safe-area-inset-bottom)) !important;
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav {
    position: fixed;
    z-index: 1040;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    height: var(--uuh58-mobile-bottom-nav-height);
    min-height: var(--uuh58-mobile-bottom-nav-height);
    margin: 0;
    padding: 7px 7px calc(5px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    border-top: 1px solid rgba(114, 137, 163, 0.17);
    background: rgba(231, 238, 246, 0.92);
    box-shadow: 0 -7px 22px rgba(61, 82, 106, 0.055);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-nav-item {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    color: #5c6d80;
    font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 9px;
    font-weight: 470;
    line-height: 1;
    text-decoration: none;
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-nav-item.is-active {
    color: #3f6fc9;
    font-weight: 590;
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-badge {
    position: absolute;
    top: -3px;
    left: calc(50% + 5px);
    display: grid;
    min-width: 17px;
    height: 15px;
    padding: 0 4px;
    place-items: center;
    border-radius: 8px;
    background: #ed6256;
    color: #fff;
    font-size: 7px;
    font-weight: 620;
    line-height: 15px;
  }

  /* Archives currently receive Zibll's separate five-item navigation. Keep
     its routes untouched, but suppress the duplicate only inside this scope. */
  body.uuh58-redesign-archive .footer-tabbar,
  body.uuh58-redesign-archive .footer-tabbar-placeholder {
    display: none !important;
  }

  /* On single posts the same Zibll container carries like/favourite/share and
     optional purchase actions. Preserve it and seat it directly above the
     approved primary navigation instead of allowing two fixed bars to overlap. */
  body.uuh58-redesign-single .footer-tabbar {
    z-index: 1035;
    bottom: var(--uuh58-mobile-bottom-nav-height) !important;
  }

  body.uuh58-redesign-single .float-right.position-bottom {
    bottom: calc(var(--uuh58-mobile-bottom-nav-height) + 60px) !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  body.uuh58-redesign-content {
    --uuh58-mobile-bottom-nav-height: 74px;
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav {
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-nav-item {
    gap: 4px;
    font-size: clamp(10px, 0.9vw, 12px);
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-nav-item svg {
    width: clamp(21px, 2vw, 25px);
    height: clamp(21px, 2vw, 25px);
  }

  body.uuh58-redesign-content .uuh58-mobile-bottom-nav .bottom-badge {
    top: -4px;
    left: calc(50% + 6px);
    min-width: 18px;
    height: 16px;
    font-size: 8px;
    line-height: 16px;
  }
}
