:root {
  --news-ink: #101828;
  --news-muted: #5d6b80;
  --news-line: #dce5f0;
  --news-blue: #165dff;
  --news-deep: #0a1f44;
  --news-cyan: #4cc9ff;
  --news-canvas: #f3f7fc;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body.news-home-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--news-canvas);
  color: var(--news-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-home-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0a1f44;
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 31, 68, .12);
}

.news-home-nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1780px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
}

.news-home-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.news-home-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(2, 13, 39, .26));
}

.news-home-brand span {
  display: grid;
  gap: 6px;
}

.news-home-brand strong {
  color: #f8fbff;
  font-size: 22px;
  line-height: 1;
}

.news-home-brand small {
  color: rgba(203, 213, 225, .78);
  font-size: 11px;
  line-height: 1;
}

.news-home-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
  margin-left: auto;
}

.news-home-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: rgba(226, 232, 240, .72);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.news-home-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--news-cyan);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.news-home-links a:hover,
.news-home-links a.is-active { color: #fff; }

.news-home-links a:hover::after,
.news-home-links a.is-active::after { opacity: 1; transform: scaleX(1); }

.news-home-links i { color: #8bdcff; font-size: 12px; }

.news-home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.news-home-create {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 13px;
  background: var(--news-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}

.news-home-create:hover { background: #0b4eea; transform: translateY(-1px); }

.news-home-account {
  color: rgba(226, 232, 240, .82);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.news-home-account:hover { color: #fff; }

.news-home-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.news-home-mobile-links { display: none; }

.news-home-main {
  width: min(1500px, calc(100% - 56px));
  margin: 0 auto;
  padding: 46px 0 86px;
}

.news-home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 300px;
  padding: 54px 64px;
  border: 1px solid #1a3d76;
  border-radius: 22px;
  background: #071b3e;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 22px 52px rgba(10, 31, 68, .16);
}

.news-home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 220, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 220, 255, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  opacity: .42;
  pointer-events: none;
}

.news-home-hero::after {
  position: absolute;
  right: 27%;
  bottom: -130px;
  width: 520px;
  height: 260px;
  border: 1px solid rgba(76, 201, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(76, 201, 255, .035), 0 0 0 48px rgba(76, 201, 255, .025);
  content: "";
  pointer-events: none;
}

.news-home-hero-copy,
.news-home-hero-mark { position: relative; z-index: 1; }

.news-home-hero-copy { max-width: 780px; }

.news-home-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--news-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.news-home-hero h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.news-home-hero-copy > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(219, 234, 254, .78);
  font-size: 15px;
  line-height: 1.8;
}

.news-home-hero-mark {
  display: grid;
  flex: 0 0 300px;
  align-content: space-between;
  gap: 26px;
  min-height: 182px;
  padding-left: 32px;
  border-left: 1px solid rgba(139, 220, 255, .25);
  color: rgba(139, 220, 255, .82);
}

.news-home-hero-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8bdcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.news-home-hero-code b {
  color: rgba(219, 234, 254, .64);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

.news-home-hero-network {
  position: relative;
  height: 74px;
  border-top: 1px solid rgba(139, 220, 255, .28);
  border-bottom: 1px solid rgba(139, 220, 255, .18);
}

.news-home-hero-network::before,
.news-home-hero-network::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(139, 220, 255, .22);
  content: "";
  transform: rotate(-12deg);
}

.news-home-hero-network::after { transform: rotate(12deg); }

.news-home-hero-network i {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 2px solid #071b3e;
  border-radius: 50%;
  background: #8bdcff;
  box-shadow: 0 0 0 4px rgba(76, 201, 255, .16);
}

.news-home-hero-network i:nth-child(1) { top: 12px; left: 8%; }
.news-home-hero-network i:nth-child(2) { top: 50%; left: 28%; }
.news-home-hero-network i:nth-child(3) { top: 18px; left: 52%; }
.news-home-hero-network i:nth-child(4) { right: 23%; bottom: 13px; }
.news-home-hero-network i:nth-child(5) { right: 6%; top: 50%; }

.news-home-hero-mark-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(219, 234, 254, .62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.news-home-hero-mark-foot i { color: #8bdcff; font-size: 22px; }

.news-home-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--news-line);
}

.news-home-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-home-filter-group button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, .44);
  color: var(--news-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.news-home-filter-group button:hover { color: var(--news-blue); }

.news-home-filter-group button.is-active {
  border-color: #cfe0ff;
  background: #eaf2ff;
  color: var(--news-blue);
}

.news-filter-hot {
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.news-home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(340px, 100%);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--news-line);
  border-radius: 12px;
  background: #fff;
  color: #98a2b3;
}

.news-home-search:focus-within {
  border-color: #9bbcff;
  box-shadow: 0 0 0 3px rgba(22, 93, 255, .1);
}

.news-home-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--news-ink);
  font-size: 13px;
}

.news-home-search input::placeholder { color: #98a2b3; }

.news-home-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 18px;
}

.news-home-results-head h2 {
  margin: 0;
  color: var(--news-ink);
  font-size: 22px;
}

.news-home-results-head p {
  margin: 6px 0 0;
  color: var(--news-muted);
  font-size: 13px;
}

.news-home-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  white-space: nowrap;
}

.news-home-live i { color: #12b76a; font-size: 8px; }

.news-home-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.news-home-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .055);
  cursor: pointer;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.news-home-card:hover,
.news-home-card:focus-visible {
  border-color: #a9c5ff;
  box-shadow: 0 16px 32px rgba(22, 93, 255, .11);
  transform: translateY(-2px);
}

.news-home-card.is-announcement {
  grid-column: 1 / -1;
  border-color: #e7b7c1;
  border-radius: 8px;
}

.news-home-card.is-announcement h3,
.news-home-card.is-announcement .news-home-card-summary {
  min-height: 0;
  overflow-wrap: anywhere;
}

.news-home-card-cover {
  position: relative;
  display: grid;
  min-height: 206px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 220, 255, .12);
  background: #0c2853;
}

.news-home-card-cover::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 220, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 220, 255, .1) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: .42;
}

.news-home-card-cover::after {
  position: absolute;
  right: 14%;
  bottom: -90px;
  width: 270px;
  height: 150px;
  border: 1px solid rgba(76, 201, 255, .36);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(76, 201, 255, .06);
  content: "";
  transform: rotate(-18deg);
}

.news-home-card--product .news-home-card-cover { background: #0c2853; }
.news-home-card--tutorial .news-home-card-cover { background: #123f50; }
.news-home-card--event .news-home-card-cover { background: #18345a; }
.news-home-card-cover > * { position: relative; z-index: 1; }

.news-home-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 206px;
  object-fit: cover;
}

.news-home-card-cover video {
  width: 100%;
  height: 100%;
  min-height: 206px;
  object-fit: cover;
  background: #0a1f44;
}

.news-home-card-cover-mark {
  color: #8bdcff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .16em;
}

.news-home-card-cover-mark::before {
  display: block;
  margin-bottom: 10px;
  color: rgba(219, 234, 254, .58);
  content: "AI NEWS / DATA STREAM";
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
}

.news-home-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.news-home-card-meta,
.news-home-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-home-card-meta {
  color: #98a2b3;
  font-size: 11px;
}

.news-home-card-badge {
  padding: 4px 8px;
  border-radius: 5px;
  background: #eaf2ff;
  color: var(--news-blue);
  font-weight: 700;
}

.is-announcement .news-home-card-badge { background: #fff0f1; color: #d92d46; }

.news-home-card h3 {
  display: -webkit-box;
  min-height: 56px;
  margin: 14px 0 8px;
  overflow: hidden;
  color: var(--news-ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-home-card-summary {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--news-muted);
  font-size: 13px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-home-card-footer {
  margin-top: auto;
  padding-top: 18px;
  color: #98a2b3;
  font-size: 11px;
}

.news-home-card-action {
  color: var(--news-blue);
  font-weight: 700;
}

.news-home-card-action i { margin-left: 4px; font-size: 10px; }

.news-home-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 40px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  text-align: center;
}

.news-home-empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #eaf2ff;
  color: var(--news-blue);
  font-size: 22px;
}

.news-home-empty h2 { margin: 18px 0 6px; font-size: 18px; }

.news-home-empty p {
  margin: 0;
  color: var(--news-muted);
  font-size: 13px;
}

.news-home-error {
  margin: 16px 0 0;
  color: #d92d46;
  font-size: 13px;
  text-align: center;
}

.news-home-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10, 31, 68, .24);
  color: var(--news-ink);
}

.news-home-dialog::backdrop { background: rgba(10, 31, 68, .56); }

.news-home-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--news-line);
}

.news-dialog-label {
  color: var(--news-blue);
  font-size: 13px;
  font-weight: 700;
}

.news-home-dialog-head button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #f2f4f7;
  color: var(--news-muted);
  cursor: pointer;
}

.news-home-dialog-body { padding: 22px; overflow: auto; }

.news-dialog-cover {
  max-height: 280px;
  margin: -2px 0 20px;
  overflow: hidden;
  border-radius: 12px;
  background: #eaf2ff;
}

.news-dialog-cover img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.news-dialog-cover video {
  display: block;
  width: 100%;
  max-height: 280px;
  background: #0a1f44;
}

.news-dialog-meta {
  margin: 0 0 10px;
  color: var(--news-muted);
  font-size: 12px;
}

.news-home-dialog h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.news-dialog-summary {
  margin: 14px 0 0;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.news-dialog-content {
  margin-top: 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .news-home-nav-inner { gap: 18px; }
  .news-home-links { gap: 16px; }
  .news-home-links a { font-size: 13px; }
  .news-home-account { display: none; }
}

@media (max-width: 900px) {
  .news-home-links { display: none; }
  .news-home-actions { margin-left: auto; }
  .news-home-menu { display: block; }
  .news-home-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 12px max(32px, 4vw) 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #071a38;
  }
  .news-home-mobile-links[hidden] { display: none; }
  .news-home-mobile-links a {
    padding: 10px 12px;
    border-radius: 9px;
    color: rgba(226, 232, 240, .8);
    font-size: 13px;
    font-weight: 700;
  }
  .news-home-mobile-links a:hover,
  .news-home-mobile-links a.is-active { background: rgba(76, 201, 255, .12); color: #fff; }
  .news-home-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .news-home-nav-inner,
  .news-home-main { width: min(100% - 32px, 560px); }
  .news-home-nav-inner { min-height: 76px; }
  .news-home-brand img { width: 38px; height: 38px; }
  .news-home-brand strong { font-size: 18px; }
  .news-home-brand small { display: none; }
  .news-home-create { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .news-home-create i { display: none; }
  .news-home-hero {
    min-height: 0;
    padding: 30px 24px;
  }
  .news-home-hero-mark { display: none; }
  .news-home-hero-copy > p:last-child { font-size: 13px; }
  .news-home-toolbar,
  .news-home-results-head { align-items: stretch; flex-direction: column; }
  .news-home-toolbar { gap: 14px; }
  .news-home-filter-group { width: 100%; }
  .news-home-filter-group { flex-wrap: wrap; }
  .news-home-filter-group button { flex: 1 1 calc(33.333% - 8px); }
  .news-home-search { width: 100%; }
  .news-home-results-head { gap: 10px; }
  .news-home-list { grid-template-columns: 1fr; }
  .news-home-card-cover,
  .news-home-card-cover img,
  .news-home-card-cover video { min-height: 180px; }
}

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