/* MOGU LIVE / editorial design system */
:root {
  --ink: #152638;
  --muted: #657483;
  --paper: #f7f8f5;
  --white: #fff;
  --line: #e1e7e6;
  --accent: #087f78;
  --orange: #f3a45d;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui,-apple-system,"Microsoft YaHei","PingFang SC",sans-serif;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(var(--max),calc(100% - 40px));
  margin-inline: auto;
}
.topline {
  background: #0d2634;
  color: #b9d9d6;
  font-size: 12px;
  letter-spacing: .14em;
  padding: 8px 0;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.04em;
}
.logo-mark {
  display: grid;
  place-items: center;
  background: #0c8178;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  font-size: 24px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  font-weight: 650;
  font-size: 14px;
}
.nav a {
  padding: 10px 0;
}
.hero {
  background: #0d2634;
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 465px;
  gap: 45px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #74d9cc;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(34px,4.4vw,64px);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin: 20px 0;
}
.hero p {
  color: #c7d6d8;
  font-size: 16px;
  max-width: 590px;
}
.hero-art {
  position: relative;
  padding: 40px 0;
}
.hero-art img {
  border-radius: 28px;
  aspect-ratio: 1.55;
  object-fit: cover;
  box-shadow: 20px 24px 0 #164b54;
}
.hero-pill {
  display: inline-block;
  margin-top: 20px;
  background: #e4f4ed;
  color: #0a5953;
  padding: 10px 19px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 13px;
}
.section {
  padding: 65px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 26px;
}
.section h2,.article h1,.category-head h1 {
  line-height: 1.3;
  letter-spacing: -.025em;
}
.section h2 {
  font-size: clamp(25px,3vw,36px);
  margin: 5px 0;
}
.kicker {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 900;
}
.sub {
  color: var(--muted);
  font-size: 14px;
}
.category-nav {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
  margin-top: -25px;
  position: relative;
  z-index: 1;
}
.category-tile {
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 25px #0d26340a;
}
.category-tile b {
  display: block;
  font-size: 19px;
}
.category-tile small {
  color: var(--muted);
}
.category-tile .num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 900;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px #102a3b14;
}
.card img {
  width: 100%;
  aspect-ratio: 1.54;
  object-fit: cover;
}
.card-body {
  padding: 20px 22px 25px;
}
.tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}
.card h3 {
  font-size: 19px;
  line-height: 1.45;
  margin: 9px 0;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.feature-band {
  background: #e7f0ed;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}
.editorial img {
  width: 100%;
  border-radius: 24px;
}
.editorial h2 {
  font-size: 34px;
  line-height: 1.3;
}
.button-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  padding: 11px 22px;
  font-weight: 800;
}
.button-link:hover {
  color: #fff;
  background: #075f5a;
}
.footer {
  background: #0d2634;
  color: #b8c8cf;
  padding: 42px 0 22px;
}
.footer a {
  color: #e0f2ed;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
.footer strong {
  color: white;
}
.copyright {
  border-top: 1px solid #36505a;
  padding-top: 18px;
  margin-top: 25px;
  font-size: 12px;
}
.category-head {
  padding: 60px 0 30px;
}
.category-head h1 {
  font-size: 42px;
  margin: 8px 0;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 45px;
  align-items: start;
}
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px,4vw,48px);
}
.article h1 {
  font-size: clamp(27px,3.4vw,42px);
  margin: 12px 0;
}
.article h2 {
  font-size: 24px;
  margin: 35px 0 13px;
}
.article p {
  font-size: 16px;
  color: #364b5a;
}
.article .lead {
  font-size: 18px;
  color: #435b66;
}
.article-visual {
  border-radius: 15px;
  margin: 25px 0;
  width: 100%;
}
.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 18px;
}
.sidebar h2 {
  font-size: 18px;
  margin: 0 0 15px;
}
.sidebar a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
}
.article-shell {
  padding: 45px 0 75px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 100;
  background: white;
  padding: 8px;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
@media(max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 45px 0;
  }
  .hero-art {
    max-width: 630px;
    padding: 15px 0 40px;
  }
  .category-nav {
    grid-template-columns: repeat(2,1fr);
    margin-top: 20px;
  }
  .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .editorial {
    grid-template-columns: 1fr;
  }
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px 0;
  }
  .nav {
    gap: 5px 19px;
  }
}
@media(max-width:560px) {
  .wrap {
    width: min(100% - 28px,var(--max));
  }
  .cards,.category-nav,.footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 42px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-grid {
    padding: 30px 0;
  }
  .hero-art img {
    border-radius: 16px;
  }
  .category-head h1 {
    font-size: 32px;
  }
  .article-shell {
    padding: 24px 0 50px;
  }
  .card-body {
    padding: 17px;
  }
  .logo {
    font-size: 22px;
  }
  .nav {
    font-size: 13px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Layout safety: prevent horizontal overflow on narrow screens. */
img { max-width: 100%; height: auto; }
.cards > *, .hero-grid > *, .editorial > *, .article-layout > * { min-width: 0; }
:focus-visible { outline: 3px solid #087f78; outline-offset: 3px; }
