/* news_tgn_0010 — DUAL FEED */
:root {
  --n10-paper: #f5f5f5;
  --n10-soft: #ebebeb;
  --n10-ink: #111111;
  --n10-muted: #5a5a5a;
  --n10-accent: #3eb489;
  --n10-accent-deep: #2f8f6c;
  --n10-mast: #1a1a1a;
  --n10-mast-text: #f5f5f5;
  --n10-panel: #ffffff;
  --n10-line: rgba(17, 17, 17, 0.12);
  --n10-font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --n10-font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --n10-mast-h: 64px;
  --n10-max: 1180px;
  --navbar-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 避免 profile 等页切换长短内容时滚动条显隐导致整页左右抖动 */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--n10-font-body);
  color: var(--n10-ink);
  background: var(--n10-paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 64px;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.n10-container,
.container {
  width: min(100% - 2rem, var(--n10-max));
  margin-inline: auto;
}

/* —— Ad —— */
.n10-ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  margin: 1rem 0;
  width: 100%;
}

.n10-ad-slot .container,
.n10-ad-slot .ad-container,
.container .n10-ad-slot .container,
.container .n10-ad-slot .ad-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.n10-ad-slot .banner-ad,
.n10-ad-slot .ad-content,
.n10-ad-slot iframe,
.n10-ad-slot ins {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* —— Dark Mast —— */
.n10-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--n10-mast-h);
  background: var(--n10-mast);
  color: var(--n10-mast-text);
  border-bottom: 2px solid var(--n10-accent);
}

.n10-mast__inner {
  min-height: var(--n10-mast-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.n10-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n10-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  flex-shrink: 0;
  max-width: 42vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--n10-mast-text);
}
.n10-nav-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  max-height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.n10-nav-logo[hidden] {
  display: none;
}
.n10-nav-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n10-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.1rem;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  width: max-content;
}

.n10-menu a {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 245, 0.72);
  padding: 0.25rem 0;
}

.n10-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--n10-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.n10-menu a:hover {
  color: var(--n10-accent);
}

.n10-menu a:hover::after,
.n10-menu a.is-active::after {
  transform: scaleX(1);
}

.n10-menu a.is-active {
  color: var(--n10-accent);
}

.n10-nav-menus {
  display: none;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 1.1rem;
  min-width: 0;
  height: 100%;
}
@media (min-width: 768px) {
  .n10-nav-menus {
    display: flex;
  }
  .n10-nav-menus.n10-nav-menus--pending {
    visibility: hidden;
  }
}
.n10-menu.is-measuring {
  overflow: visible;
}
.n10-menu > li.is-overflow {
  display: none !important;
}
.n10-menu > li {
  flex: 0 0 auto;
  white-space: nowrap;
}
.n10-nav-more {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.n10-nav-more[hidden] {
  display: none !important;
}
.n10-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(245, 245, 245, 0.72);
  white-space: nowrap;
  cursor: pointer;
}
.n10-nav-more-btn i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.n10-nav-more.is-open .n10-nav-more-btn,
.n10-nav-more-btn:hover,
.n10-nav-more-btn:focus-visible {
  color: var(--n10-accent);
}
.n10-nav-more.has-active .n10-nav-more-btn {
  color: var(--n10-mast-text);
}
.n10-nav-more.is-open .n10-nav-more-btn i {
  transform: rotate(180deg);
}
.n10-nav-more-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 70;
  min-width: 12rem;
  max-width: min(18rem, 70vw);
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  padding: 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid var(--n10-line);
  background: var(--n10-panel);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.n10-nav-more-panel[hidden] {
  display: none !important;
}
.n10-nav-more-panel .nav-menu-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--n10-muted);
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.n10-nav-more-panel .nav-menu-item:hover,
.n10-nav-more-panel .nav-menu-item:focus-visible {
  background: rgba(17, 17, 17, 0.06);
  color: var(--n10-accent);
}
.n10-nav-more-panel .nav-menu-item.is-active {
  color: var(--n10-ink);
  background: rgba(17, 17, 17, 0.08);
}

.n10-mast__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.n10-signin,
.n1-nav-signin {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--n10-mast-text);
  border: 1px solid rgba(245, 245, 245, 0.28);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.n10-signin:hover,
.n1-nav-signin:hover {
  border-color: var(--n10-accent);
  color: var(--n10-accent);
}

.n1-nav-user {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.n1-nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--n10-mast-text);
}

.n1-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--n10-accent);
  color: var(--n10-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.n1-nav-user-divider {
  width: 1px;
  height: 18px;
  background: rgba(245, 245, 245, 0.28);
}

.n1-nav-logout {
  border: 0;
  background: transparent;
  color: rgba(245, 245, 245, 0.72);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
}

.n1-nav-logout:hover {
  color: var(--n10-accent);
}

.n10-icon-btn,
.search-trigger {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 245, 245, 0.28);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--n10-mast-text);
}

.n10-icon-btn:hover,
.search-trigger:hover {
  border-color: var(--n10-accent);
  color: var(--n10-accent);
}

/* Mobile bottom nav */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--n10-panel);
  border-top: 1px solid var(--n10-line);
  padding: 0.25rem 0 calc(0.25rem + env(safe-area-inset-bottom));
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
}

.mobile-nav-menu > li {
  flex: 1 1 0;
  min-width: 0;
}

.mobile-nav-user-pair {
  display: contents;
}

.mobile-nav-user-pair > .mobile-nav-link {
  flex: 1 1 0;
  min-width: 0;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 52px;
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--n10-muted);
  background: transparent;
  border: 0;
  width: 100%;
  cursor: pointer;
}

.mobile-nav-link i {
  font-size: 1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--n10-accent);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.search-overlay.active {
  display: flex;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.search-form {
  width: min(100%, 560px);
}

.search-input-wrapper {
  display: flex;
  background: var(--n10-panel);
  border: 2px solid var(--n10-accent);
}

.search-input {
  flex: 1;
  border: 0;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  background: transparent;
  color: var(--n10-ink);
  outline: none;
}

.search-submit {
  border: 0;
  background: var(--n10-ink);
  color: #fff;
  padding: 0 1.1rem;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--n10-accent-deep);
}

/* —— Shared chrome —— */
.n10-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--n10-ink);
}

.n10-col-head__title,
.n10-col-head h2 {
  margin: 0;
  font-family: var(--n10-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.n10-col-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--n10-muted);
}

.n10-view-all {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n10-accent-deep);
  white-space: nowrap;
}

.n10-view-all:hover {
  color: var(--n10-accent);
}

.n10-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--n10-muted);
}

.n10-meta .cat {
  color: var(--n10-accent-deep);
  font-weight: 700;
}

.n10-feed-src {
  color: var(--n10-muted);
}

.n10-link-title {
  background-image: linear-gradient(var(--n10-accent), var(--n10-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.28s ease;
}

.n10-link-title:hover {
  background-size: 100% 2px;
}

/* —— Dual Feed —— */
.n10-dual {
  padding: 1.25rem 0 2rem;
}

.n10-dual__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 1.25rem;
  border: 1px solid var(--n10-line);
  background: var(--n10-soft);
}

.n10-dual__tab {
  border: 0;
  background: transparent;
  min-height: 44px;
  font-family: var(--n10-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--n10-muted);
  cursor: pointer;
}

.n10-dual__tab.is-active {
  background: var(--n10-ink);
  color: #fff;
}

.n10-dual__grid {
  display: grid;
  gap: 1.75rem;
}

.n10-dual__top,
.n10-dual__latest {
  display: none;
  min-width: 0;
}

.n10-dual__top.is-active,
.n10-dual__latest.is-active {
  display: block;
}

.n10-top-lead {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--n10-line);
  animation: n10-rise 0.5s ease-out both;
}

.n10-top-lead__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--n10-soft);
}

.n10-top-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n10-top-lead__title {
  margin: 0.25rem 0 0.65rem;
  font-family: var(--n10-font-display);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.n10-top-lead__deck {
  margin: 0;
  color: var(--n10-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.n10-top-lead__by {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--n10-muted);
}

.n10-top-list,
.n10-feed-stream {
  display: flex;
  flex-direction: column;
}

.n10-top-list > article,
.n10-feed-stream > article,
.n10-more__grid > article {
  display: contents;
}

.n10-feed-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--n10-line);
  align-items: start;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}

.n10-feed-row:not(:has(.n10-feed-row__media)) {
  grid-template-columns: 1fr;
}

.n10-feed-row:hover {
  background: rgba(235, 235, 235, 0.55);
}

.n10-feed-row--compact {
  grid-template-columns: 64px 1fr;
}

.n10-feed-row.is-pending {
  opacity: 0;
  transform: translateY(10px);
}

.n10-feed-row.is-in {
  opacity: 1;
  transform: none;
}

.n10-feed-row__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--n10-soft);
}

.n10-feed-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n10-feed-row__title {
  margin: 0.1rem 0 0.3rem;
  font-family: var(--n10-font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n10-feed-row--compact .n10-feed-row__title {
  -webkit-line-clamp: 2;
  font-size: 0.95rem;
}

.n10-feed-row__summary {
  margin: 0;
  font-size: 0.875rem;
  color: var(--n10-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— More modules (≥2) —— */
.n10-more {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--n10-line);
}

.n10-more--soft {
  background: var(--n10-soft);
}

.n10-more__grid {
  display: grid;
  gap: 1.25rem;
}

.n10-more-card {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.n10-more-card.is-pending {
  opacity: 0;
  transform: translateY(10px);
}

.n10-more-card.is-in {
  opacity: 1;
  transform: none;
}

.n10-more-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--n10-panel);
}

.n10-more-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n10-more-card__title {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--n10-font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n10-more-card__summary {
  margin: 0;
  font-size: 0.875rem;
  color: var(--n10-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Newsletter —— */
.n10-news {
  border-top: 3px solid var(--n10-accent);
  background: var(--n10-soft);
  padding: 1.5rem 0;
  margin-top: 0.5rem;
}

.n10-news__inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.n10-news__title {
  margin: 0;
  font-family: var(--n10-font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.n10-news__text {
  margin: 0.35rem 0 0;
  color: var(--n10-muted);
  font-size: 0.9rem;
}

.n10-news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.n10-news__form input {
  flex: 1 1 180px;
  min-height: 44px;
  border: 1px solid var(--n10-line);
  padding: 0.6rem 0.85rem;
  background: var(--n10-panel);
}

.n10-news__form button {
  min-height: 44px;
  border: 0;
  background: var(--n10-ink);
  color: #fff;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.n10-news__form button:hover {
  background: var(--n10-accent-deep);
}

.newsletter-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--n10-accent-deep);
}

/* —— Footer —— */
.n10-footer {
  padding: 2.5rem 0 2.5rem;
  border-top: 1px solid var(--n10-line);
  color: var(--n10-muted);
  font-size: 0.875rem;
}

.n10-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.n10-footer strong,
.n10-footer__brand {
  display: block;
  color: var(--n10-ink);
  font-family: var(--n10-font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.n10-footer a:hover {
  color: var(--n10-accent);
}

.n10-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.n10-footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.n10-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--n10-line);
  display: grid;
  place-items: center;
  background: var(--n10-panel);
}

.n10-footer__social a:hover {
  border-color: var(--n10-accent);
  color: var(--n10-accent);
}

.n10-footer__copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--n10-line);
  font-size: 0.8125rem;
}

/* —— Page / category —— */
.n10-page {
  padding: 1.75rem 0 2.5rem;
}

.n10-page__title {
  margin: 0;
  font-family: var(--n10-font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.n10-page__desc {
  margin: 0.5rem 0 0;
  color: var(--n10-muted);
  max-width: 40rem;
}

/* —— Category button + drawer —— */
.n10-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  margin: 1.25rem 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--n10-line);
  background: var(--n10-panel);
  color: var(--n10-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.n10-cat-btn i {
  color: var(--n10-accent);
}

.n10-cat-btn:hover {
  border-color: var(--n10-accent);
  color: var(--n10-accent-deep);
}

.n10-cat-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.n10-cat-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.n10-cat-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1201;
  width: min(100%, 20rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--n10-panel);
  border-left: 1px solid var(--n10-line);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.n10-cat-drawer.is-open {
  transform: translateX(0);
}

.n10-cat-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--n10-line);
}

.n10-cat-drawer__head h2 {
  margin: 0;
  font-family: var(--n10-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.n10-cat-drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n10-line);
  background: var(--n10-soft);
  color: var(--n10-ink);
  cursor: pointer;
}

.n10-cat-drawer__list {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 0.85rem 1.25rem;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.n10-cat-drawer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--n10-line);
  color: var(--n10-ink);
  font-weight: 600;
}

.n10-cat-drawer__link:hover,
.n10-cat-drawer__link.is-active {
  color: var(--n10-accent-deep);
  background: rgba(62, 180, 137, 0.1);
}

.n10-cat-drawer__link.is-active {
  border-left: 3px solid var(--n10-accent);
  padding-left: calc(0.75rem - 3px);
}

body.n10-cat-drawer-open {
  overflow: hidden;
}

.n10-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--n10-muted);
}

.n10-empty h2 {
  font-family: var(--n10-font-display);
  color: var(--n10-ink);
  margin: 0 0 0.5rem;
}

/* —— Detail —— */
.n10-share--rail {
  display: none;
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  flex-direction: column;
  gap: 0.5rem;
}

.n10-share--bar {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin: 1.5rem 0 0.5rem;
}

.n10-share a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--n10-line);
  background: var(--n10-panel);
  display: grid;
  place-items: center;
  color: var(--n10-muted);
}

.n10-share a:hover {
  color: var(--n10-accent);
  border-color: var(--n10-accent);
}

.n10-article {
  padding: 1.5rem 0 3rem;
}

.n10-article__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n10-accent-deep);
  margin-bottom: 0.65rem;
}

.n10-article__title {
  margin: 0;
  font-family: var(--n10-font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: none;
}

.n10-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--n10-muted);
}

.n10-article__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n10-soft);
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.n10-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n10-article__body {
  max-width: none;
  width: 100%;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.n10-article__body p {
  margin: 0 0 1.15rem;
}

.n10-article__body img {
  margin: 1.25rem 0;
}

.n10-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--n10-accent);
}

.n10-related h2 {
  margin: 0 0 1rem;
  font-family: var(--n10-font-display);
  font-size: 1.35rem;
}

.detail-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--n10-line);
  background: var(--n10-panel);
  color: var(--n10-ink);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 650;
  min-height: 40px;
}

.detail-favorite-btn:hover,
.detail-favorite-btn[aria-pressed="true"] {
  border-color: var(--n10-accent);
  color: var(--n10-accent-deep);
}

.detail-favorite-btn__icon {
  width: 16px;
  height: 16px;
}

.detail-favorite-btn__spinner {
  display: none;
}

/* —— Legal / static —— */
.legal-content,
.n10-legal {
  width: min(100% - 2rem, 820px);
  margin: 2rem auto 3rem;
  background: var(--n10-panel);
  border: 1px solid var(--n10-line);
  padding: 1.75rem 1.5rem;
}

.legal-content h1,
.n10-legal h1 {
  font-family: var(--n10-font-display);
  margin-top: 0;
}

.legal-content a,
.n10-legal a {
  color: var(--n10-accent-deep);
}

/* 与 .n10-container 同轨：仅一层 1rem 侧边距，勿与 member-auth 水平 padding 叠加 */
.n1-profile-page,
.n1-auth-page {
  width: min(100% - 2rem, var(--n10-max));
  margin: 1.5rem auto 3rem;
  padding-inline: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .n1-profile-page,
  .n1-auth-page {
    margin: 1rem auto 2rem;
  }
}

@keyframes n10-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .n10-top-lead {
    animation: none;
  }

  .n10-feed-row.is-pending,
  .n10-feed-row.is-in {
    opacity: 1;
    transform: none;
  }

  .n10-link-title {
    transition: none;
  }
}

.n10-back-to-top.back-to-top {
  background: var(--n10-ink) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.22) !important;
  border-radius: 2px !important;
}

.n10-back-to-top.back-to-top:hover {
  background: var(--n10-accent-deep) !important;
}

.n10-back-to-top.back-to-top::before {
  display: none !important;
}

@media (min-width: 640px) {
  .n10-feed-row {
    grid-template-columns: 88px 1fr;
  }

  .n10-feed-row--compact {
    grid-template-columns: 72px 1fr;
  }
}

@media (min-width: 768px) {
  .n10-dual__tabs {
    display: none;
  }

  .n10-dual__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }

  .n10-dual__top,
  .n10-dual__latest {
    display: block;
  }

  .n10-dual__latest {
    border-left: 1px solid var(--n10-line);
    padding-left: 2rem;
  }

  .n10-more__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .n10-news__inner {
    grid-template-columns: 1fr 1.1fr;
  }

  .n10-footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .n10-share--rail {
    display: flex;
  }

  .n10-share--bar {
    display: none;
  }

  .n10-brand {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .n10-top-lead__title {
    font-size: 2.35rem;
  }

  .n10-feed-row {
    grid-template-columns: 96px 1fr;
  }

  .n10-more__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* content-link-marker */
.n10-article__body a {
  color: #2f8968;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  background-image: linear-gradient(transparent 57%, #d0f1e0 57%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
}
.n10-article__body a:hover {
  color: #216e52;
  background-image: linear-gradient(transparent 57%, #bae8d7 57%);
}
/* /content-link-marker */

/* detail-content-images */
.n10-article__body figure,
.n10-article__body picture {
  display: block;
  max-width: 100%;
  margin: 1.25rem auto;
  text-align: center;
}
.n10-article__body img {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  background: #f4f4f4;
  object-fit: contain;
}
.n10-article__body figure img,
.n10-article__body picture img {
  margin-top: 0;
  margin-bottom: 0;
}
.n10-article__body img.detail-img-broken {
  object-fit: fill;
}

/* Mobile article content collapse */
.description-toggle-btn {
    display: none;
}

@media (max-width: 768px) {
    .description-collapse-section {
        display: flex;
        flex-direction: column;
    }

    .description-collapse-section .description-text-wrap {
        position: relative;
        overflow: hidden;
        transition: max-height 0.35s ease;
        width: 100%;
    }

    .description-collapse-section .description-text-wrap.is-collapsed {
        max-height: 180px;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    }

    .description-collapse-section .description-text-wrap.is-expanded {
        max-height: 8000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .description-collapse-section .description-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 0.5rem;
        padding: 10px 14px;
        border: 1px solid currentColor;
        border-radius: 0.75rem;
        background: transparent;
        color: inherit;
        font-family: inherit;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        cursor: pointer;
    }

    .description-collapse-section .description-toggle-btn::after {
        content: '';
        flex-shrink: 0;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
    }

    .description-collapse-section .description-toggle-btn[aria-expanded='true']::after {
        transform: rotate(-135deg) translateY(1px);
    }

    .description-collapse-section .description-toggle-btn[hidden] {
        display: none !important;
    }
}

