:root {
  --uos-bg: #ffffff;
  --uos-surface: #ffffff;
  --uos-surface-soft: #f7f7f7;
  --uos-text: #222222;
  --uos-text-muted: #6a6a6a;
  --uos-border: #ebebeb;
  --uos-accent: #ff385c;
  --uos-accent-hover: #e00b41;
  --uos-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --uos-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.08);
  --uos-radius-card: 16px;
  --uos-radius-large: 20px;
  --uos-radius-button: 12px;
  --uos-radius-pill: 999px;
  --uos-content-max: 1240px;
  --uos-reading-max: 820px;
  --uos-header-height: 80px;
  --uos-font: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  background: var(--uos-bg);
  color: var(--uos-text);
  font-family: var(--uos-font);
}

body {
  min-width: 320px;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(255, 56, 92, 0.45);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

.uos-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf8 22%, #ffffff 100%);
}

.uos-container {
  width: min(calc(100% - 32px), var(--uos-content-max));
  margin: 0 auto;
}

.uos-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(235, 235, 235, 0.95);
}

.uos-header__inner {
  min-height: var(--uos-header-height);
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
}

.uos-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.uos-brand__logo {
  width: 118px;
  display: block;
}

.uos-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uos-brand__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--uos-text);
}

.uos-brand__tagline {
  font-size: 13px;
  color: var(--uos-text-muted);
}

.uos-search__form {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 4px 72px 4px 20px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--uos-shadow);
}

.uos-search__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--uos-text);
  font-size: 15px;
  outline: none;
}

.uos-search__input::placeholder {
  color: #989898;
}

.uos-search__button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--uos-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.uos-search__button:hover,
.uos-search__button:focus {
  background: var(--uos-accent-hover);
  color: #ffffff;
}

.uos-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.uos-header__action {
  padding: 10px 16px;
  border-radius: var(--uos-radius-pill);
  color: var(--uos-text);
  font-size: 14px;
  font-weight: 600;
}

.uos-header__action:hover {
  background: var(--uos-surface-soft);
}

.uos-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--uos-border);
  border-radius: 50%;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  color: var(--uos-text);
  box-shadow: var(--uos-shadow);
}

.uos-menu-toggle i {
  font-size: 24px;
}

.uos-category-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.uos-category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scrollbar-width: none;
}

.uos-category-nav::-webkit-scrollbar {
  display: none;
}

.uos-category-nav__item {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 4px;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--uos-text-muted);
}

.uos-category-nav__item.is-active {
  color: var(--uos-accent);
}

.uos-category-nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--uos-accent);
}

.uos-mobile-menu {
  border-top: 1px solid var(--uos-border);
  background: rgba(255, 255, 255, 0.98);
}

.uos-search__form--mobile {
  margin: 16px 0;
}

.uos-mobile-menu__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 18px;
}

.uos-mobile-menu__item {
  padding: 14px 16px;
  border: 1px solid var(--uos-border);
  border-radius: 14px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.uos-mobile-menu__item.is-active {
  color: var(--uos-accent);
  border-color: rgba(255, 56, 92, 0.28);
  background: rgba(255, 56, 92, 0.06);
}

.topic-hero__search {
  max-width: 620px;
  margin-top: 24px;
}

.uos-main {
  padding: 28px 0 80px;
}

.uos-main__inner {
  min-height: calc(100vh - 220px);
}

.page-section {
  margin-bottom: 56px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uos-accent);
}

.section-heading__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--uos-text);
}

.section-heading__text {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--uos-text-muted);
}

.section-heading__link {
  color: var(--uos-text);
  font-size: 14px;
  font-weight: 600;
}

.discover-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.discover-hero__story {
  display: block;
  overflow: hidden;
  border-radius: var(--uos-radius-large);
  background: #ffffff;
  box-shadow: var(--uos-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.discover-hero__story:hover {
  transform: translateY(-2px);
  box-shadow: var(--uos-shadow-hover);
}

.discover-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f2f2;
}

.discover-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-hero__body {
  padding: 28px;
}

.discover-hero__tag,
.meta-chip--tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--uos-radius-pill);
  background: rgba(255, 56, 92, 0.09);
  color: var(--uos-accent);
  font-size: 13px;
  font-weight: 700;
}

.discover-hero__title {
  margin: 16px 0 14px;
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--uos-text);
}

.discover-hero__summary {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--uos-text-muted);
}

.discover-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--uos-radius-button);
  background: var(--uos-accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.discover-hero__cta:hover {
  background: var(--uos-accent-hover);
  color: #ffffff;
}

.discover-hero__sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.insight-card {
  padding: 24px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-card);
  background: rgba(255, 255, 255, 0.8);
}

.insight-card__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.insight-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--uos-text-muted);
}

.insight-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-card__list li + li {
  margin-top: 14px;
}

.insight-card__list a {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  color: var(--uos-text);
}

.insight-card__list span {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--uos-text-muted);
}

.insight-card--desktop-only {
  display: block;
}

.content-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.normal-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(235, 235, 235, 0.88);
  border-radius: var(--uos-radius-card);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.normal-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--uos-shadow-hover);
  border-color: rgba(255, 56, 92, 0.15);
}

.new-image-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f4f4;
}

.new-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.normal-item .content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.meta-row,
.normal-item .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--uos-text-muted);
}

.normal-item .meta b {
  font-weight: 700;
}

.normal-item .title {
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--uos-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-summary {
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--uos-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--uos-accent);
}

.topic-hero {
  padding: 24px 0 10px;
}

.topic-hero__panel {
  padding: 28px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-large);
  background: radial-gradient(circle at top right, rgba(255, 56, 92, 0.09), transparent 30%), linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}

.topic-hero__title {
  margin: 14px 0 12px;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.1;
  font-weight: 700;
}

.topic-hero__desc {
  max-width: 740px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--uos-text-muted);
}

.hot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.list-item {
  padding: 20px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-card);
  background: #ffffff;
}

.list-item a {
  display: flex;
  gap: 12px;
}

.list-item-yuan {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--uos-accent);
  flex: 0 0 auto;
}

.list-item-title {
  font-size: 16px;
  line-height: 1.65;
  color: var(--uos-text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
}

.pagination > li > a,
.pagination > li > span {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--uos-border);
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--uos-text);
  background: #ffffff;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:hover {
  border-color: var(--uos-accent);
  background: var(--uos-accent);
  color: #ffffff;
}

.view-page {
  width: min(100%, var(--uos-reading-max));
  margin: 0 auto;
}

.static-page {
  width: min(100%, 920px);
  margin: 0 auto;
}

.static-page__hero {
  margin-bottom: 28px;
  padding: 32px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-large);
  background:
    radial-gradient(circle at top right, rgba(255, 56, 92, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}

.static-page__title {
  margin: 16px 0 0;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.1;
  font-weight: 700;
}

.static-page__card {
  padding: 32px;
  border: 1px solid var(--uos-border);
  border-radius: var(--uos-radius-large);
  background: #ffffff;
  box-shadow: var(--uos-shadow);
}

.prose-content {
  font-size: 18px;
  line-height: 1.9;
  color: #333333;
}

.prose-content p {
  margin: 0 0 24px;
}

.prose-content h2,
.prose-content h3 {
  margin: 32px 0 14px;
  color: var(--uos-text);
  line-height: 1.3;
  font-weight: 700;
}

.prose-content h2 {
  font-size: 28px;
}

.prose-content h3 {
  font-size: 22px;
}

.prose-content ul,
.prose-content ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.prose-content li {
  margin-bottom: 12px;
}

.prose-content a {
  color: var(--uos-accent);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list__item {
  padding: 18px 20px;
  border: 1px solid var(--uos-border);
  border-radius: 14px;
  background: var(--uos-surface-soft);
  font-size: 16px;
}

.view-nav {
  padding: 0;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--uos-text-muted);
}

.view-nav a {
  color: var(--uos-text-muted);
  font-weight: 600;
}

.article-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.article-summary {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--uos-text-muted);
}

.article-digest {
  margin: 0 0 32px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 56, 92, 0.14);
  border-radius: var(--uos-radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 250, 0.98) 100%);
}

.article-digest__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.article-digest__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uos-accent);
}

.article-digest__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--uos-text);
}

.article-digest__body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #333333;
}

.article-title {
  margin: 16px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

.node-content {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

#node-content {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.9;
  color: #333333;
  letter-spacing: 0;
}

#node-content p {
  margin: 0 0 24px;
}

#node-content img,
#node-content .lazyimage {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px auto;
  border-radius: var(--uos-radius-card);
}

#node-content iframe,
#node-content video {
  width: 100%;
  border-radius: var(--uos-radius-card);
}

.article-source {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--uos-border);
  font-size: 15px;
  color: var(--uos-text-muted);
}

.article-source a {
  color: var(--uos-accent);
  font-weight: 600;
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-page {
  padding: 12px 24px;
  font-size: 16px;
  background: #ffffff;
  font-weight: 700;
  border: 1px solid var(--uos-border);
  border-radius: 999px;
  color: var(--uos-text);
}

.btn-page:hover {
  background: var(--uos-surface-soft);
}

.related-section {
  margin-top: 64px;
}

.uos-footer {
  border-top: 1px solid var(--uos-border);
  background: #ffffff;
  padding: 48px 0 56px;
}

.uos-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.uos-footer__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.uos-footer__text,
.uos-footer__block a {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--uos-text-muted);
}

.ads-item {
  overflow: hidden;
  border-radius: var(--uos-radius-card);
}

.visible-xs-inline-flex {
  display: none;
}

@media (max-width: 1127px) {
  .content-feed,
  .hot-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discover-hero {
    grid-template-columns: 1fr;
  }

  .uos-header__inner {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .uos-header__actions {
    display: none;
  }

  .uos-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .uos-container {
    width: min(calc(100% - 24px), var(--uos-content-max));
  }

  .uos-header__inner {
    grid-template-columns: auto auto;
    gap: 12px;
    min-height: 72px;
  }

  .uos-brand__copy,
  .uos-search {
    display: none !important;
  }

  .uos-category-bar {
    display: block !important;
  }

  .uos-category-nav {
    padding: 6px 0 10px;
  }

  .uos-category-nav__item {
    margin-right: 18px;
    padding: 8px 2px;
    font-size: 14px;
  }

  .visible-xs-inline-flex {
    display: inline-flex;
  }

  .uos-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .uos-main {
    padding: 22px 0 64px;
  }

  .page-section {
    margin-bottom: 44px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading__title,
  .discover-hero__title,
  .article-title,
  .topic-hero__title,
  .static-page__title {
    font-size: 34px;
  }

  .section-heading__text,
  .discover-hero__summary,
  .topic-hero__desc,
  .article-summary {
    font-size: 16px;
  }

  .discover-hero__body,
  .topic-hero__panel,
  .insight-card {
    padding: 20px;
  }

  .insight-card--desktop-only {
    display: none;
  }

  .article-digest {
    padding: 18px 18px 20px;
  }

  .article-digest__title {
    font-size: 22px;
  }

  .article-digest__body p {
    font-size: 16px;
  }

  .topic-hero__search {
    margin-top: 18px;
  }

  .content-feed,
  .hot-strip,
  .uos-footer__grid,
  .uos-mobile-menu__nav {
    grid-template-columns: 1fr;
  }

  .static-page__hero,
  .static-page__card {
    padding: 20px;
  }

  .normal-item .content {
    padding: 16px;
  }

  .normal-item .title {
    font-size: 20px;
  }

  #node-content {
    font-size: 16px;
  }

  .prose-content {
    font-size: 16px;
  }

  .article-source {
    font-size: 14px;
  }
}
