/* 智库内参 · 新闻深度分析 — 参考消息式列表 + 原报纸配色 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Noto+Serif+SC:wght@500;700;900&display=swap');

.na-root {
  --na-ink: #1a1a1a;
  --na-paper: #fdfaf2;
  --na-paper-dim: #f0eee4;
  --na-bg: #fbf9f4;
  --na-red: #991b1b;
  --na-amber: #fbbf24;
  color: var(--na-ink);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  width: 100%;
  box-sizing: border-box;
}

/* 列表/详情主体：居中限宽，两侧留一点边距（避免铺满变形） */
.na-root .na-shell {
  width: 100%;
  max-width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.na-header-meta {
  min-height: 1.75rem;
}
.na-header-tools {
  width: 100%;
}
.na-header-brand {
  min-width: 0;
  flex: 1 1 auto;
}
.na-header-brand h1 {
  margin: 0;
  line-height: 1;
}
.na-header-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.55rem;
}
.na-header-subtitle {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.45);
}

/* 标题主视觉封面（无可靠正文配图时） */
.na-title-cover {
  width: 100%;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(#e2dacb 0.7px, transparent 0.7px) 0 0 / 18px 18px,
    linear-gradient(145deg, #fdfaf2 0%, #f3efe4 52%, #ebe4d6 100%);
  color: #1a1a1a;
}
.na-title-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: #991b1b;
  z-index: 1;
}
.na-title-cover-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1rem 1.4rem;
  min-width: 0;
}
.na-title-cover-kicker {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #991b1b;
}
.na-title-cover-title {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
  line-height: 1.35;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.na-title-cover--carousel .na-title-cover-title {
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  -webkit-line-clamp: 3;
}
.na-title-cover--detail {
  min-height: 220px;
  max-height: 420px;
  aspect-ratio: 16 / 9;
}
.na-title-cover--detail .na-title-cover-title {
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  -webkit-line-clamp: 3;
}
.na-title-cover--feature .na-title-cover-title {
  font-size: 0.95rem;
  -webkit-line-clamp: 4;
}
.na-title-cover--thumb .na-title-cover-inner {
  padding: 0.35rem 0.4rem 0.35rem 0.7rem;
  gap: 0.15rem;
}
.na-title-cover--thumb .na-title-cover-kicker {
  font-size: 8px;
  letter-spacing: 0.08em;
}
.na-title-cover--thumb .na-title-cover-title {
  font-size: 10px;
  line-height: 1.25;
  -webkit-line-clamp: 3;
}
.na-cover-slot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.na-cover-slot--detail {
  min-height: 220px;
}
.na-cover-slot .na-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.na-cover-slot .na-cover-fallback {
  display: none;
  position: absolute;
  inset: 0;
}
.na-cover-slot.is-fallback .na-cover-fallback {
  display: block;
}
.na-cover-slot.is-fallback > .na-cover-img,
.na-cover-slot.is-fallback > img {
  display: none !important;
}
.na-detail-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: min(100%, 440px);
  margin-left: 0.15rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(153, 27, 27, 0.28);
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  color: #9a3412;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
@media (max-width: 640px) {
  .na-detail-progress {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0.15rem;
  }
  .na-detail-progress-track {
    flex: 1 1 auto;
    width: auto;
    min-width: 72px;
  }
}
.na-detail-progress-spin {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(154, 52, 18, 0.25);
  border-top-color: #c2410c;
  border-radius: 999px;
  animation: na-spin 0.8s linear infinite;
  flex: 0 0 auto;
}
.na-detail-progress-spin--light {
  border-color: rgba(253, 250, 242, 0.25);
  border-top-color: #fbbf24;
}
.na-detail-progress-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.na-detail-progress-track {
  display: inline-block;
  width: 56px;
  height: 4px;
  background: rgba(154, 52, 18, 0.15);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}
.na-detail-progress-track > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ea580c, #991b1b);
  border-radius: inherit;
  transition: width 0.35s ease;
}
.na-detail-progress-track--dark {
  display: block;
  width: 100%;
  height: 5px;
  background: rgba(253, 250, 242, 0.18);
}
.na-detail-progress-track--dark > i {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.na-detail-progress-pct {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: #c2410c;
}
@keyframes na-spin {
  to { transform: rotate(360deg); }
}
.na-carousel-media > .na-title-cover,
.na-carousel-media > .na-cover-slot {
  position: absolute;
  inset: 0;
}
.na-side-feature > .na-title-cover,
.na-side-feature > .na-cover-slot,
.na-thumb > .na-title-cover,
.na-thumb > .na-cover-slot,
.na-detail-cover > .na-title-cover,
.na-detail-cover > .na-cover-slot {
  width: 100%;
  height: 100%;
}

/* 详情页多图 banner 轮播 */
.na-detail-gallery-stage {
  position: relative;
  min-height: 220px;
  background: #f0eee4;
}
.na-detail-gallery-slides {
  position: relative;
  width: 100%;
}
.na-detail-gallery-slide {
  display: none;
  width: 100%;
}
.na-detail-gallery-slide.is-active {
  display: block;
  animation: na-detail-fade 0.45s ease;
}
.na-detail-gallery-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.na-detail-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 9999px;
  background: rgba(253, 250, 242, 0.94);
  color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.12);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.na-detail-gallery-arrow.is-prev { left: 0.65rem; }
.na-detail-gallery-arrow.is-next { right: 0.65rem; }
.na-detail-gallery-stage:hover .na-detail-gallery-arrow,
.na-detail-gallery-arrow:focus {
  display: inline-flex;
}
.na-detail-gallery-arrow:hover {
  background: #991b1b;
  border-color: #991b1b;
  color: #fdfaf2;
  box-shadow: 0 4px 14px rgba(153, 27, 27, 0.28);
}
.na-detail-gallery-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.na-detail-gallery-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.62));
  color: #fdfaf2;
  font-size: 11px;
  font-weight: 800;
}
.na-detail-gallery-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.na-detail-gallery-dots .na-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(253, 250, 242, 0.45);
  cursor: pointer;
}
.na-detail-gallery-dots .na-dot.is-active {
  background: #fbbf24;
  width: 16px;
}
@keyframes na-detail-fade {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
@media (max-width: 640px) {
  .na-detail-gallery-arrow {
    display: inline-flex;
    opacity: 0.92;
    width: 36px;
    height: 36px;
  }
}

.na-root .font-display {
  font-family: "Cinzel", "Noto Serif SC", serif;
}
.na-root .font-sans-ui {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.na-newspaper-bg {
  background-color: var(--na-bg);
  background-image: radial-gradient(#e2dacb 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

.na-drop-cap::first-letter {
  font-family: "Noto Serif SC", "Merriweather", serif;
  font-size: 3.25rem;
  line-height: 0.85;
  float: left;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  font-weight: 900;
  color: var(--na-red);
}

.na-root button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 分类标题：左侧红条 + 底红线 */
.na-section-head {
  position: relative;
}
.na-section-bar {
  display: inline-block;
  width: 4px;
  height: 1.15rem;
  background: var(--na-red);
  flex-shrink: 0;
}
.na-topic-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  border: none;
  overflow: visible;
  flex-shrink: 0;
  vertical-align: middle;
  box-sizing: border-box;
}
.na-topic-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 0.95rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  background: #fffdf8;
  color: #B22A2A;
  border: 1px solid #eadcc4;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}
.na-topic-tab + .na-topic-tab {
  border-left: 1px solid #eadcc4;
}
.na-topic-tab.is-active {
  background: #F0DDBF;
  color: #B22A2A;
  border-color: #F0DDBF;
}
.na-topic-tab:hover:not(.is-active) {
  background: #f7efe0;
}
.na-section-head::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  background: var(--na-red);
}
@media (min-width: 640px) {
  .na-section-head::after {
    left: 1rem;
    right: 1rem;
  }
}

.na-news-row:last-child {
  border-bottom: none !important;
}

.na-headline-row:last-child {
  border-bottom: none !important;
}

.na-headline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.na-headline-time {
  flex: 0 0 auto;
  white-space: nowrap;
}
.na-headline-source {
  min-width: 0;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  color: rgba(26, 26, 26, 0.45);
}

/* 首页轮播：图铺满舞台，红点在右下角 */
.na-home-carousel {
  min-height: 100%;
}
.na-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0eee4;
  overflow: hidden;
}
.na-carousel-slides {
  position: absolute;
  inset: 0;
}
.na-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.na-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.na-carousel-media.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(240, 238, 228, 0.2) 0%,
    rgba(240, 238, 228, 0.85) 50%,
    rgba(240, 238, 228, 0.2) 100%
  );
  background-size: 200% 100%;
  animation: na-cover-shimmer 1.2s ease-in-out infinite;
}
@keyframes na-cover-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.na-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.na-carousel-img.is-loaded {
  opacity: 1;
}
@media (min-width: 1024px) {
  .na-home-carousel {
    min-height: 100%;
  }
  .na-carousel-stage {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 320px;
  }
}
.na-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.na-carousel-meta {
  min-height: 1rem;
}
.na-carousel-arrow {
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 2px;
  background: rgba(26, 26, 26, 0.42);
  border: none;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: background 0.18s ease, opacity 0.18s ease, transform 0.12s ease;
  z-index: 3;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.na-carousel-arrow.is-prev { left: 0.65rem; }
.na-carousel-arrow.is-next { right: 0.65rem; }
.na-carousel-stage:hover .na-carousel-arrow,
.na-carousel-arrow:focus {
  opacity: 1;
}
.na-carousel-arrow:hover {
  background: rgba(26, 26, 26, 0.72);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.na-carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
  background: rgba(26, 26, 26, 0.82);
}
.na-nav-arrow-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  pointer-events: none;
}
.na-banner-chevron {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.na-carousel-arrow .na-nav-arrow-icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 640px) {
  .na-carousel-arrow {
    opacity: 1;
    width: 1.9rem;
    height: 1.9rem;
  }
  .na-carousel-arrow.is-prev { left: 0.4rem; }
  .na-carousel-arrow.is-next { right: 0.4rem; }
  .na-banner-chevron {
    width: 0.9rem;
    height: 0.9rem;
  }
}
.na-root button.na-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.15s ease;
}
.na-root button.na-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(153, 27, 27, 0.38);
  transition: transform 0.15s ease, background-color 0.15s ease, width 0.15s ease, height 0.15s ease;
}
.na-root button.na-dot:hover::before {
  background-color: rgba(153, 27, 27, 0.8);
  transform: scale(1.18);
}
.na-root button.na-dot.is-active::before {
  width: 1.25rem;
  height: 6px;
  border-radius: 9999px;
  background-color: #991b1b;
  transform: none;
}
.na-carousel-meta .na-carousel-dots {
  pointer-events: auto;
  gap: 0.1rem;
}

.na-side-feature img {
  transition: transform 0.35s ease;
}
.na-side-feature:hover img {
  transform: scale(1.03);
}

.na-meta-box a {
  word-break: break-all;
}

/* 详情页：左正文 | 中观点（等高+下折叠） | 右研判+推荐 */
.na-detail-page {
  border-radius: 18px;
  overflow: visible;
  position: relative;
}
.na-detail-page .na-detail-main p {
  text-wrap: pretty;
}
.na-detail-summary-row {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  margin-top: 0.85rem;
}
.na-detail-summary-row.has-qr .na-detail-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}
.na-detail-share-qr {
  flex: 0 0 auto;
  width: 7.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.na-detail-share-qr-link {
  display: block;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.18);
  line-height: 0;
}
.na-detail-share-qr-img {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  background: #fff;
}
.na-detail-summary-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.75);
  border-left: 2px solid rgba(185, 28, 28, 0.7);
  padding-left: 0.75rem;
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .na-detail-summary-text {
    font-size: 0.9375rem;
  }
}
@media (max-width: 480px) {
  .na-detail-summary-row.has-qr {
    flex-direction: column;
    align-items: flex-start;
  }
  .na-detail-share-qr {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
  }
  .na-detail-share-qr-img {
    width: 5.25rem;
    height: 5.25rem;
  }
}
.na-detail-body-grid {
  align-items: start;
}
.na-detail-takeaway,
.na-detail-side,
.na-detail-main {
  min-width: 0;
}

.na-detail-takeaway {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
  overflow: visible;
}
.na-detail-takeaway-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fffbea;
  color: #0f172a;
  border: 2px solid #0f64b5;
  border-radius: 18px;
  box-shadow: 3px 3px 0 rgba(15, 100, 181, 0.22);
  overflow: hidden;
  box-sizing: border-box;
}
.na-detail-takeaway-panel.is-empty,
.na-detail-takeaway-panel.is-pending {
  opacity: 0.92;
}
.na-detail-takeaway-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.55rem 0.75rem;
  background: #0f64b5;
  border-bottom: 1px solid #0f64b5;
}
.na-detail-takeaway-head .na-section-bar {
  background: #fff;
  opacity: 0.95;
}
.na-detail-takeaway-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
}
.na-detail-takeaway-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0f64b5;
  background: #fffbea;
  border: 1px solid #fffbea;
  line-height: 1.3;
}
.na-detail-takeaway-body {
  flex: 0 0 auto;
  overflow: visible;
  padding: 0.7rem 0.75rem 0.85rem;
  background: #fffbea;
}
.na-detail-takeaway-text {
  margin: 0;
  padding-left: 0.65rem;
  border-left: 2px solid #0f64b5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  color: #16324f;
  text-wrap: pretty;
}
.na-detail-takeaway-text.is-pending {
  font-weight: 500;
  color: rgba(15, 100, 181, 0.65);
  border-left-color: rgba(15, 100, 181, 0.35);
}

.na-detail-perspectives-panel {
  display: flex;
  flex-direction: column;
  background: #ebe8dc;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 18px;
  padding: 0.85rem;
  overflow: hidden;
  box-sizing: border-box;
}
.na-detail-perspectives-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.18);
  flex-shrink: 0;
}
.na-detail-perspectives-head h3 {
  font-weight: 900;
  font-size: 0.875rem;
  color: #1a1a1a;
}
.na-detail-perspectives-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}
.na-perspective-card {
  background: #fdfaf2;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-left: 3px solid #b91c1c;
  box-shadow: 0 2px 0 rgba(26, 26, 26, 0.06), 0 8px 18px rgba(26, 26, 26, 0.06);
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 0;
  border-radius: 2px;
  overflow: hidden;
}
.na-perspective-card.is-collapsed {
  flex: 0 0 auto;
  padding-top: 0.6rem;
  padding-bottom: 0.65rem;
  background: #f7f4ea;
  box-shadow: none;
}
.na-perspective-card.is-expanded {
  flex: 1 1 auto;
  min-height: 0;
}
.na-perspective-card.is-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.na-perspective-card.is-collapsed.is-clickable:hover {
  border-color: rgba(185, 28, 28, 0.45);
  background: #fdfaf2;
}
.na-perspective-card.is-expanded.is-clickable {
  cursor: default;
}
.na-perspective-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}
.na-perspective-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 2px;
}
.na-perspective-card.is-expanded .na-perspective-tag {
  border-color: rgba(185, 28, 28, 0.45);
  background: rgba(185, 28, 28, 0.12);
  color: #991b1b;
}
.na-perspective-card.is-collapsed .na-perspective-tag {
  border-color: rgba(26, 26, 26, 0.28);
  background: rgba(26, 26, 26, 0.06);
  color: #1a1a1a;
}
.na-perspective-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.na-perspective-card.is-collapsed .na-perspective-content {
  flex: 0 0 auto;
  overflow: hidden;
}
.na-perspective-view {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #1a1a1a;
  text-wrap: pretty;
  margin: 0;
}
.na-perspective-view.is-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: rgba(26, 26, 26, 0.78);
  font-weight: 600;
}
.na-perspective-points {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.88);
}

.na-detail-recommend {
  flex: 0 0 auto;
  margin-top: auto;
  background: linear-gradient(180deg, #fff8e8 0%, #f0eee4 100%);
  border: 2px solid #1a1a1a;
  border-radius: 18px;
  box-shadow: 3px 3px 0 rgba(26, 26, 26, 0.12);
  padding: 0.85rem;
}
.na-detail-recommend.is-empty {
  display: none;
}
.na-detail-recommend-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(26, 26, 26, 0.2);
}
.na-detail-recommend-title {
  font-weight: 900;
  font-size: 0.875rem;
  color: #1a1a1a;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.na-detail-recommend-title:hover {
  color: #b91c1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.na-detail-recommend-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.25);
  padding: 0.1rem 0.4rem;
}
.na-detail-recommend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.na-detail-recommend-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  align-items: start;
  gap: 0.45rem;
  text-align: left;
  padding: 0.55rem 0.5rem;
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: #fdfaf2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.na-detail-recommend-item:hover {
  background: #fff;
  border-color: #b91c1c;
  transform: translateX(2px);
}
.na-detail-recommend-num {
  font-size: 11px;
  font-weight: 900;
  color: #b91c1c;
  line-height: 1.4;
}
.na-detail-recommend-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  color: #1a1a1a;
}
.na-detail-recommend-item:hover .na-detail-recommend-link {
  color: #991b1b;
}

@media (max-width: 1023px) {
  .na-detail-main { order: 1; }
  .na-detail-side { order: 2; }
  .na-detail-takeaway { order: 3; }
  .na-detail-perspectives-panel {
    height: auto !important;
    min-height: 0 !important;
  }
  .na-detail-takeaway {
    height: auto !important;
    min-height: 0 !important;
  }
  .na-detail-perspectives-body {
    overflow: visible;
  }
  .na-perspective-card.is-expanded {
    overflow: visible;
    flex: 0 0 auto;
  }
  .na-perspective-card.is-collapsed {
    flex: 0 0 auto;
  }
  .na-perspective-content {
    overflow: visible;
  }
}

@keyframes na-spin {
  to { transform: rotate(360deg); }
}
.na-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #991b1b;
  border-top-color: transparent;
  border-radius: 9999px;
  animation: na-spin 0.8s linear infinite;
  display: inline-block;
}

.na-detail-page .na-section-bar {
  height: 0.9rem;
}

.na-search-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(26, 26, 26, 0.12);
  background: #f0eee4;
  color: #1a1a1a;
  margin-top: 0.15rem;
}
.na-search-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.na-search-icon--web {
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.22);
  background: rgba(29, 78, 216, 0.06);
}
.na-search-icon--cn {
  color: #991b1b;
  border-color: rgba(153, 27, 27, 0.25);
  background: rgba(153, 27, 27, 0.06);
}
.na-search-icon--academic {
  color: #6d28d9;
  border-color: rgba(109, 40, 217, 0.25);
  background: rgba(109, 40, 217, 0.06);
}
.na-search-icon--local {
  color: #1a1a1a;
}
.na-search-row:hover .na-search-icon--web,
.na-search-row:hover .na-search-icon--cn {
  filter: brightness(0.95);
}
.na-search-pager .na-page-num:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.na-search-loading-inline {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
.na-search-pulse {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(153, 27, 27, 0.25);
  border-top-color: #991b1b;
  animation: na-search-spin 0.75s linear infinite;
  flex-shrink: 0;
}
.na-search-pulse--sm {
  width: 0.85rem;
  height: 0.85rem;
}
@keyframes na-search-spin {
  to {
    transform: rotate(360deg);
  }
}
.na-search-skeleton-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    rgba(240, 238, 228, 0.5) 0%,
    rgba(240, 238, 228, 1) 50%,
    rgba(240, 238, 228, 0.5) 100%
  );
  background-size: 200% 100%;
  animation: na-cover-shimmer 1.2s ease-in-out infinite;
  border: 2px solid rgba(26, 26, 26, 0.08);
}
.na-search-skeleton-line {
  height: 0.72rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(240, 238, 228, 0.5) 0%,
    rgba(240, 238, 228, 1) 50%,
    rgba(240, 238, 228, 0.5) 100%
  );
  background-size: 200% 100%;
  animation: na-cover-shimmer 1.2s ease-in-out infinite;
}
.na-search-skeleton-line--sm {
  height: 0.55rem;
  opacity: 0.75;
}
.na-search-form {
  max-width: 100%;
  height: 32px;
  box-sizing: border-box;
  border-radius: 999px;
  overflow: hidden;
}
.na-search-input {
  height: 100%;
  padding: 0 0.65rem;
  box-sizing: border-box;
}
.na-search-input::placeholder {
  color: rgba(26, 26, 26, 0.4);
  font-weight: 600;
}
.na-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.na-search-submit {
  height: 100%;
  padding: 0 0.65rem;
  border: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.na-refresh-btn {
  height: 32px;
  padding: 0 0.75rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.na-refresh-btn:hover:not(:disabled):not(.is-done):not(.is-running) {
  background: #1a1a1a;
  color: #fdfaf2;
}
.na-refresh-btn.is-running {
  border-color: #b45309;
  background: #fff7ed;
  color: #b45309;
  cursor: wait;
}
.na-refresh-btn.is-done {
  border-color: #166534;
  background: #166534;
  color: #fdfaf2;
}

.na-page-num {
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: #fdfaf2;
  color: #1a1a1a;
  line-height: 1.4;
}
.na-page-num:hover,
.na-page-num.is-active {
  background: #991b1b;
  border-color: #991b1b;
  color: #fdfaf2;
}
.na-page-num:disabled {
  opacity: 1;
  cursor: default;
}
.na-page-num:disabled:hover {
  background: #991b1b;
  border-color: #991b1b;
  color: #fdfaf2;
}

.na-home-carousel,
.na-home-headlines,
.na-yaowen,
.na-side-judgment {
  border-radius: 18px;
  overflow: hidden;
}
.na-side-judgment button[data-action="refresh-side-judgment"] {
  border-radius: 999px;
  padding: 0 0.85rem;
  height: 26px;
  line-height: 1;
}
.na-yaowen {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.na-yaowen-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.na-yaowen-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.1rem;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 0.28rem 0.75rem;
  box-sizing: border-box;
  align-self: stretch;
  flex-shrink: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  background: #fdfaf2;
}
@media (min-width: 640px) {
  .na-yaowen-pager {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.na-yaowen-pager .na-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 1.35rem;
  width: auto;
  height: 1.25rem;
  padding: 0 0.28rem;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border-width: 1px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
}
.na-side-judgment {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  box-sizing: border-box;
}

.na-schedule-wrap {
  height: 32px;
  box-sizing: border-box;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
}
.na-schedule-label {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.55rem;
  color: rgba(26, 26, 26, 0.55);
  box-sizing: border-box;
}
.na-schedule-select {
  appearance: none;
  cursor: pointer;
  color: #1a1a1a;
  height: 100%;
  padding: 0 0.55rem 0 0.15rem;
  border: 0;
  box-sizing: border-box;
  font-size: 11px;
  line-height: 1;
}
.na-schedule-wrap:hover {
  border-color: #991b1b;
}

.na-refresh-progress-track {
  height: 4px;
  background: rgba(26, 26, 26, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.na-refresh-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #991b1b, #dc2626);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.na-refresh-progress-wrap[hidden] {
  display: none;
}

.na-today-badge {
  display: inline-block;
  margin-right: 0.4em;
  padding: 0 0.35em;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #fdfaf2;
  background: #991b1b;
  vertical-align: 1px;
}

/* 已改到产品顶栏「看板大屏」，智库内不再使用右侧 Tab */
.na-page-rail { display: none !important; }
.na-root.na-has-rail {
  position: relative;
  padding-right: 0;
  box-sizing: border-box;
}
.na-page-rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fdfaf2;
  border-left: 2px solid #1a1a1a;
}
.na-page-rail-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.22em;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 13px;
  font-weight: 900;
  color: #1a1a1a;
  background: #fdfaf2;
  border: 0;
  border-bottom: 2px solid #1a1a1a;
  cursor: pointer;
}
.na-page-rail-tab:last-child {
  border-bottom: 0;
}
.na-page-rail-tab.is-active {
  background: #991b1b;
  color: #fdfaf2;
}
.na-page-rail-tab:hover:not(.is-active) {
  background: #f0eee4;
}

.na-root.na-board-mode {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 8px;
}
.na-board {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.na-board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 10px;
  border-bottom: 2px solid #1a1a1a;
}
.na-board-kicker {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #991b1b;
}
.na-board-title {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
.na-board-sub {
  margin: 4px 0 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.55);
}
.na-board-stamp {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: rgba(26, 26, 26, 0.5);
  text-align: right;
  white-space: nowrap;
}
.na-board-stage {
  flex: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(280px, 1fr) auto;
  gap: 10px;
}
.na-board-map {
  position: relative;
  background: #fdfaf2;
  border: 1px solid rgba(26, 26, 26, 0.15);
  overflow: hidden;
  min-height: 280px;
}
.na-board-map svg {
  display: block;
  width: 100%;
  height: 100%;
}
.na-cy-land {
  fill: #efe8d8;
  stroke: #1a1a1a;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.na-cy-exclave {
  fill: #e7dfcd;
  stroke: #1a1a1a;
  stroke-width: 1.6;
}
.na-xg-area {
  fill: #991b1b;
  fill-opacity: 0.88;
  stroke: #7f1d1d;
  stroke-width: 2;
  animation: na-xg-pulse 2.4s ease-in-out infinite;
}
.na-xg-halo {
  fill: none;
  stroke: #991b1b;
  stroke-width: 6;
  opacity: 0.22;
}
@keyframes na-xg-pulse {
  0%, 100% { fill-opacity: 0.78; }
  50% { fill-opacity: 1; }
}
.na-map-label {
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  fill: rgba(26, 26, 26, 0.42);
  font-size: 18px;
  pointer-events: none;
}
.na-map-label.is-on {
  fill: #fdfaf2;
  font-size: 20px;
  font-weight: 900;
}
.na-map-pin-title {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 900;
  fill: #991b1b;
}
.na-map-pin-sub {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  fill: rgba(26, 26, 26, 0.55);
}
.na-map-legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(253, 250, 242, 0.92);
  border: 1px solid rgba(26, 26, 26, 0.18);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
}
.na-map-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -2px;
  border: 1px solid #1a1a1a;
}
.na-map-legend .is-cy { background: #efe8d8; }
.na-map-legend .is-xg { background: #991b1b; }
.na-board-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.na-metric-card {
  background: #fdfaf2;
  border: 1px solid rgba(26, 26, 26, 0.15);
  min-height: 148px;
  display: flex;
  flex-direction: column;
}
.na-metric-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}
.na-metric-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #1a1a1a;
}
.na-metric-card-body {
  flex: 1;
  padding: 10px 12px 12px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.na-metric-hero {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.na-metric-hero b {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #991b1b;
  font-variant-numeric: tabular-nums;
}
.na-metric-hero span {
  font-size: 11px;
  font-weight: 800;
  color: rgba(26, 26, 26, 0.5);
}
.na-metric-rows {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.na-metric-rows li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.78);
}
.na-metric-rows em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
}
.na-idle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.na-idle-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}
.na-idle-list small {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.45);
}
.na-idle-days {
  color: #991b1b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .na-board-metrics {
    grid-template-columns: 1fr;
  }
  .na-board-stage {
    grid-template-rows: minmax(240px, 42vh) auto;
  }
}

/* 原文链接刷新中 */
body.na-resolving-original { cursor: progress; }
body.na-resolving-original a[data-action="open-original"] { opacity: 0.55; pointer-events: none; }

.na-detail-meta {
  margin-top: 1.15rem;
  margin-bottom: 1.15rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.na-broadcast {
  position: relative;
  display: inline-flex;
  width: 25%;
  min-width: 13.2rem;
  max-width: 18rem;
  margin: 0;
  vertical-align: middle;
  z-index: 6;
  flex: 0 0 auto;
}
.na-broadcast-row {
  display: flex;
  align-items: center;
  width: 100%;
}
.na-player {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.05rem;
  flex: 1;
  min-width: 0;
  height: 2.15rem;
  color: #0f64b5;
  background: #fffbea;
  border: 1px solid rgba(15, 100, 181, 0.35);
  border-radius: 999px;
  padding: 0 0.35rem;
  box-shadow:
    0 8px 20px rgba(15, 100, 181, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.na-player::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 251, 234, 0));
  pointer-events: none;
}
.na-pop-wrap {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}
.na-player-btn {
  position: relative;
  z-index: 1;
  width: 1.45rem;
  height: 1.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}
.na-player-btn svg { width: 13px; height: 13px; }
.na-player-btn:hover { background: rgba(15, 100, 181, 0.1); }
.na-player-btn:disabled { opacity: 0.35; cursor: default; }
.na-player-btn.is-play {
  width: 1.7rem;
  height: 1.7rem;
  border: 1.5px solid #0f64b5;
  background: rgba(255, 251, 234, 0.65);
}
.na-player-btn.is-play svg { width: 12px; height: 12px; }
.na-player-btn.is-on { color: #0f64b5; }
.na-player-btn.na-rate {
  width: auto;
  min-width: 1.85rem;
  padding: 0 0.08rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.na-player .na-add-queue {
  width: 1.45rem;
  height: 1.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}
.na-player .na-add-queue svg { width: 13px; height: 13px; }
.na-player .na-add-queue:hover { background: rgba(15, 100, 181, 0.1); }
.na-player .na-add-queue.is-in { color: #0f64b5; }
.na-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 6.6rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.4rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  padding: 0.2rem;
}
.na-pop-rate { left: auto; right: 0; min-width: 4.2rem; }
.na-pop.is-hidden { display: none; }
.na-pop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  padding: 0.32rem 0.45rem;
  border-radius: 0.25rem;
  cursor: pointer;
}
.na-pop button:hover { background: rgba(26, 26, 26, 0.05); }
.na-pop button.is-current { color: #1db954; font-weight: 800; }
.na-queue-count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 0.7rem;
  height: 0.7rem;
  padding: 0 0.1rem;
  border-radius: 999px;
  background: #0f64b5;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 0.7rem;
  text-align: center;
}
.na-add-queue {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border: 1px solid #1a1a1a;
  border-radius: 0.25rem;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.na-add-queue svg { width: 11px; height: 11px; }
.na-add-queue:hover { background: rgba(26, 26, 26, 0.06); }
.na-add-queue:disabled { opacity: 0.35; cursor: default; }
.na-add-queue.is-in { color: #1db954; border-color: #1db954; }
.na-queue {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(42rem, 92vw);
  margin: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.7rem;
  max-height: 18rem;
  overflow: auto;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.na-queue.is-hidden { display: none; }
.na-queue-head {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem 0.15rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}
.na-queue-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #222;
  font-size: 12px;
  font-weight: 700;
}
.na-queue-mode svg { width: 14px; height: 14px; }
.na-queue-list { list-style: none; margin: 0; padding: 0.1rem 0 0.4rem; }
.na-queue-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem 0.35rem 0.8rem;
}
.na-queue-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0.15rem 0;
}
.na-queue-title {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.na-queue-source {
  flex: 0 0 auto;
  max-width: 11rem;
  color: #9a9a9a;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.na-queue-item.is-playing .na-queue-title,
.na-queue-item.is-playing .na-queue-source { color: #1db954; }
.na-queue-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 14px;
  flex: 0 0 auto;
}
.na-queue-eq i {
  display: block;
  width: 3px;
  height: 40%;
  background: #1db954;
  border-radius: 1px;
  animation: na-eq 0.8s ease-in-out infinite;
}
.na-queue-eq i:nth-child(2) { animation-delay: 0.15s; height: 80%; }
.na-queue-eq i:nth-child(3) { animation-delay: 0.3s; }
@keyframes na-eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.na-queue-x {
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  background: transparent;
  color: #8d8d8d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.na-queue-x:hover { color: #1a1a1a; }
.na-queue-drag {
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  background: transparent;
  color: #8d8d8d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  flex: 0 0 auto;
  padding: 0;
  touch-action: none;
}
.na-queue-drag:hover { color: #0f64b5; }
.na-queue-drag:active { cursor: grabbing; }
.na-queue-item.is-dragging { opacity: 0.4; }
.na-queue-item.is-drop-before { box-shadow: inset 0 2px 0 #0f64b5; }
.na-queue-item.is-drop-after { box-shadow: inset 0 -2px 0 #0f64b5; }
.na-queue-empty {
  margin: 0;
  padding: 0.35rem 0.85rem 0.85rem;
  color: #8d8d8d;
  font-size: 13px;
}
