/* jiaohuanyouxi777.cn | Original editorial design */ :root  {
  color-scheme: dark;
  --bg: #080f19;
  --surface: #111e2b;
  --surface-2: #172839;
  --text: #f2f5f4;
  --muted: #b0bdc8;
  --line: #314554;
  --accent: #ec6059;
  --cyan: #75d3d2;
  --max: 1220px;
}

*  {
  box-sizing: border-box;
}

html  {
  scroll-behavior: smooth;
}

body  {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

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

a:hover  {
  color: var(--cyan);
}

a:focus-visible, button:focus-visible  {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.wrap  {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link  {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 99;
  background: white;
  color: black;
  padding: 8px 14px;
}

.skip-link:focus  {
  top: 12px;
}

.site-header  {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 18, 27, .97);
}

.header-inner  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand  {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand small  {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .2em;
  margin-top: 5px;
}

.site-nav  {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a[aria-current="page"]  {
  color: var(--cyan);
}

.eyebrow  {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 800;
}

.hero  {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  min-height: 580px;
  border-bottom: 1px solid var(--line);
}

.hero-copy  {
  padding: clamp(40px, 6vw, 85px) clamp(20px, 5vw, 76px) 40px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1, h2, h3, p  {
  margin-top: 0;
}

h1  {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.25;
  letter-spacing: -.035em;
  margin: 14px 0 25px;
}

h2  {
  font-size: clamp(25px, 2.8vw, 37px);
  line-height: 1.35;
  letter-spacing: -.02em;
}

h3  {
  line-height: 1.4;
}

.hero-copy p  {
  font-size: 16px;
  color: var(--muted);
  max-width: 590px;
}

.hero-visual  {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.hero-visual img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual:after  {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,15,25,.23), transparent 70%);
  pointer-events: none;
}

.hero-tag  {
  position: absolute;
  bottom: 28px;
  right: 25px;
  z-index: 1;
  background: rgba(8,15,25,.88);
  padding: 10px 15px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.btn  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  padding: 12px 21px;
  font-weight: 750;
  border-radius: 4px;
  width: fit-content;
}

.btn:hover  {
  color: white;
  background: #cb4d47;
}

.button-row  {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn.secondary  {
  background: transparent;
  border: 1px solid var(--line);
}

.section  {
  padding: 65px 0;
}

.section-head  {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p  {
  max-width: 460px;
  color: var(--muted);
}

.case-layout  {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
}

.case-cover  {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.case-cover img  {
  height: 100%;
  object-fit: cover;
}

.case-cover .overlay  {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 28px 28px;
  background: linear-gradient(transparent, #08101bed);
}

.case-cover h3  {
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 6px 0 8px;
}

.case-stack  {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-mini  {
  display: grid;
  grid-template-columns: 40% 1fr;
  min-height: 190px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.case-mini img  {
  height: 100%;
  object-fit: cover;
}

.case-mini .details  {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-mini h3  {
  font-size: 20px;
  margin: 5px 0;
}

.case-mini p  {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

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

.category-card  {
  border: 1px solid var(--line);
  padding: 26px 21px;
  background: var(--surface);
  min-width: 0;
  transition: transform .2s;
}

.category-card:hover  {
  transform: translateY(-4px);
}

.category-card b  {
  color: var(--accent);
  font-size: 13px;
}

.category-card h3  {
  font-size: 22px;
  margin: 18px 0 10px;
}

.category-card p  {
  font-size: 14px;
  color: var(--muted);
}

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

.article-card  {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-card img  {
  aspect-ratio: 1.65;
  object-fit: cover;
}

.article-card .card-copy  {
  padding: 22px;
}

.article-card h3  {
  font-size: 19px;
  margin: 10px 0;
}

.article-card p  {
  font-size: 14px;
  color: var(--muted);
}

.article-card .readmore  {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 800;
}

.editor-note  {
  background: #122330;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editor-inner  {
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 25px;
}

.editor-inner p  {
  margin: 0;
  color: var(--muted);
}

.breadcrumbs  {
  padding-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a  {
  color: var(--cyan);
}

.page-heading  {
  padding: 42px 0 25px;
  max-width: 900px;
}

.page-heading p  {
  color: var(--muted);
}

.article-hero  {
  width: 100%;
  max-height: 540px;
  aspect-ratio: 2.15;
  object-fit: cover;
  border: 1px solid var(--line);
}

.reading-layout  {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  padding-top: 46px;
}

.prose  {
  font-size: 17px;
  line-height: 2;
  min-width: 0;
}

.prose p  {
  margin: 0 0 23px;
}

.prose h2  {
  margin-top: 35px;
  font-size: 26px;
}

.prose h3  {
  font-size: 21px;
  margin-top: 25px;
}

.prose .lead  {
  font-size: 19px;
  color: #d9e5e8;
}

.sidebar  {
  position: sticky;
  top: 18px;
  height: max-content;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.sidebar h3  {
  font-size: 18px;
}

.sidebar a  {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.site-footer  {
  margin-top: 65px;
  background: #060c14;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner nav  {
  display: flex;
  gap: 20px;
}

@media (max-width: 950px)  {
  .hero  {
    grid-template-columns: 1fr;
  }
  .hero-copy  {
    padding: 55px 25px;
  }
  .hero-visual  {
    height: 450px;
  }
  .category-grid  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-grid  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reading-layout  {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .sidebar  {
    position: static;
  }
}

@media (max-width: 630px)  {
  .wrap  {
    width: min(calc(100% - 30px), var(--max));
  }
  .header-inner  {
    display: block;
    padding: 16px 0 10px;
  }
  .site-nav  {
    margin-top: 14px;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    gap: 18px;
    scrollbar-width: thin;
  }
  .site-nav a  {
    flex: 0 0 auto;
  }
  .hero-copy  {
    padding: 38px 18px;
  }
  .hero-visual  {
    height: 320px;
    min-height: 0;
  }
  .section  {
    padding: 44px 0;
  }
  .section-head  {
    display: block;
  }
  .case-layout, .case-stack  {
    display: block;
  }
  .case-cover  {
    min-height: 360px;
    margin-bottom: 16px;
  }
  .case-mini  {
    margin-bottom: 16px;
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .case-mini .details  {
    padding: 14px;
  }
  .case-mini h3  {
    font-size: 17px;
  }
  .category-grid, .article-grid  {
    grid-template-columns: 1fr;
  }
  .editor-inner  {
    grid-template-columns: 1fr;
  }
  .article-hero  {
    aspect-ratio: 1.4;
  }
  .footer-inner  {
    display: block;
  }
  .footer-inner nav  {
    margin-top: 14px;
  }
  .prose  {
    font-size: 16px;
  }
}

/* V2 · Layout stability, navigation, keyboard accessibility */ html  {
  overflow-x: clip;
}

body, main, .wrap, .hero, .hero-copy, .hero-visual, .case-layout, .case-stack, .case-mini, .details, .article-grid, .category-grid, .reading-layout  {
  min-width: 0;
}

.hero > *, .case-layout > *, .case-stack > *, .case-mini > *, .article-grid > *, .category-grid > *  {
  min-width: 0;
}

h1, h2, h3, p, a  {
  overflow-wrap: anywhere;
}

img  {
  max-width: 100%;
}

.site-nav  {
  min-width: 0;
}

.site-nav a  {
  flex-shrink: 0;
}

@media (max-width: 950px)  {
  .header-inner  {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-block: 14px;
  }
  .site-nav  {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
}

@media (max-width: 630px)  {
  .hero  {
    min-width: 0;
  }
  .hero-copy  {
    min-width: 0;
  }
  .button-row > *  {
    max-width: 100%;
  }
  .footer-inner nav  {
    flex-wrap: wrap;
  }
}
