/* 叼嘿视频 · 独立杂志风格 - 全站样式 */
:root {
  color-scheme: dark;
  --bg: #101522;
  --surface: #171e30;
  --surface-soft: #1c2539;
  --ink: #f4f4f5;
  --muted: #a9b1c4;
  --line: rgba(255,255,255,.13);
  --accent: #eafd76;
  --purple: #ad90ff;
  --width: 1240px;
}
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei","Noto Sans CJK SC",sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: min(var(--width),calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px;
  background: #fff;
  color: #111;
  z-index: 100;
}
.skip-link:focus {
  left: 10px;
}
.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: #101522;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #101522;
  width: 49px;
  height: 49px;
  border-radius: 13px;
  font-size: 31px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.09em;
}
.brand-mark span {
  color: #7254cf;
}
.brand-word {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: .02em;
}
.brand-word>span {
  display: inline;
}
.brand-word small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .23em;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 640;
}
.primary-nav a {
  padding: 14px 0;
}
.header-note {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
}
.hero {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(0,.85fr);
  min-height: 565px;
  border: 1px solid var(--line);
}
.hero-main {
  display: flex;
  flex-direction: column;
  padding: 34px 51px 30px;
  min-width: 0;
  background: radial-gradient(circle at 85% 45%,rgba(117,91,193,.12),transparent 43%),#151c2b;
}
.hero-accent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 800;
  color: #cad3e4;
  letter-spacing: .15em;
}
.hero-accent>span:last-child {
  margin-left: auto;
  opacity: .55;
}
.pulse {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #eafd7619;
}
.hero-title-block {
  margin: auto 0;
  padding: 45px 0 36px;
}
.hero-side {
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--purple);
}
h1,h2,h3,p,figure {
  margin-top: 0;
}
.hero h1 {
  margin: 13px 0 24px;
  font-size: clamp(50px,6.1vw,94px);
  letter-spacing: -.045em;
  line-height: 1.09;
  font-weight: 950;
}
.hero-h1-small {
  display: block;
  font-size: clamp(20px,2.2vw,31px);
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: 22px;
  color: var(--accent);
}
.hero-title-block p {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.95;
  color: #b9c1d0;
}
.hero-title-block strong {
  color: #fff;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn-primary,.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 21px;
  border-radius: 4px;
  background: var(--accent);
  color: #111827;
  font-weight: 820;
  font-size: 13px;
}
.btn-primary:hover,.btn-light:hover {
  background: #fff;
  color: #111827;
}
.text-link {
  color: #e7e9f2;
  font-size: 13px;
  font-weight: 750;
}
.hero-bottom {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: #818ca1;
  font-size: 11px;
}
.hero-bottom b {
  color: #dbe2ed;
}
.hero-aside {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #0d1220;
}
.hero-aside>img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: brightness(.8) saturate(1.2);
}
.hero-aside::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent,rgba(9,12,22,.94));
  pointer-events: none;
}
.hero-image-caption {
  position: absolute;
  z-index: 1;
  bottom: 33px;
  left: 32px;
}
.hero-image-caption span {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  font-weight: 800;
}
.hero-image-caption b {
  display: block;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: .03em;
  margin-top: 13px;
}
.hero-stamp {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  line-height: 1.2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  padding: 15px;
  background: var(--accent);
  color: #111827;
}
.hero-stamp span {
  font-size: 20px;
}
.category-strip {
  padding-top: 91px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 23px;
}
.section-kicker>span {
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--accent);
}
.section-kicker h2 {
  font-size: 25px;
  letter-spacing: -.025em;
  margin: 0;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.topic {
  min-height: 285px;
  position: relative;
  padding: 25px;
  background: var(--surface);
  transition: background .2s;
}
.topic:hover {
  background: #232d43;
}
.topic-no {
  color: #8e9bb3;
  font-size: 12px;
  letter-spacing: .1em;
}
.topic-symbol {
  float: right;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
}
.topic h3 {
  clear: both;
  padding-top: 30px;
  margin-bottom: 10px;
  font-size: 26px;
}
.topic p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.topic-more {
  position: absolute;
  bottom: 24px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.latest {
  padding-top: 105px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: clamp(27px,3.3vw,43px);
  line-height: 1.22;
  letter-spacing: -.04em;
  margin: 11px 0 10px;
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.section-counter {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 800;
  color: #8691a6;
  white-space: nowrap;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 35px 24px;
}
.story-card {
  min-width: 0;
}
.card-visual {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.26;
  background: #242c3e;
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.card-visual:hover img {
  transform: scale(1.05);
}
.visual-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #101522bb;
  color: #fff;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff44;
}
.card-copy {
  padding: 22px 3px 3px;
}
.card-copy h3 {
  font-size: 21px;
  line-height: 1.48;
  margin: 8px 0 9px;
  letter-spacing: -.02em;
}
.card-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 12px;
}
.card-meta {
  font-size: 11px;
  color: #8994a7;
}
.feature-band {
  display: grid;
  grid-template-columns: 42% 1fr;
  margin-top: 100px;
  background: #d7d7f7;
  color: #101522;
  min-height: 390px;
}
.band-image {
  overflow: hidden;
}
.band-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.band-content {
  padding: 53px 62px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.band-content .eyebrow {
  color: #4a437a;
}
.band-content h2 {
  font-size: clamp(30px,3.6vw,53px);
  line-height: 1.24;
  margin: 14px 0;
  letter-spacing: -.04em;
}
.band-content p {
  font-size: 14px;
  line-height: 2;
  max-width: 510px;
  color: #4e536b;
}
.btn-light {
  background: #161e31;
  color: #fff;
}
.btn-light:hover {
  color: #111827;
  background: #f4ff9e;
}
.reading-notes {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding-top: 80px;
  padding-bottom: 88px;
}
.reading-notes h2 {
  margin: 14px 0;
  font-size: 30px;
}
.reading-notes p {
  color: var(--muted);
  line-height: 2;
  font-size: 14px;
}
.footer {
  background: #0b101b;
  border-top: 1px solid var(--line);
  padding: 52px 0 25px;
}
.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.footer-brand {
  font-size: 25px;
  font-weight: 900;
}
.footer-brand span {
  color: #8791a5;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 600;
}
.footer-layout p {
  font-size: 13px;
  color: var(--muted);
  max-width: 470px;
  margin-top: 12px;
}
.footer-layout nav {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 730;
}
.legal {
  font-size: 11px;
  color: #7e879a;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
/* 二级栏目与文章内容 */
.interior {
  padding-top: 28px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 28px;
}
.breadcrumbs a {
  color: #e3e6ee;
}
.category-hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  min-height: 330px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.category-hero>div:first-child {
  padding: 55px;
}
.category-hero h1 {
  font-size: clamp(37px,5vw,65px);
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 20px 0;
}
.category-hero p {
  font-size: 15px;
  line-height: 2;
  max-width: 600px;
  color: var(--muted);
}
.category-visual {
  overflow: hidden;
}
.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-content {
  padding: 70px 0 90px;
}
.back-home {
  text-align: center;
  padding-bottom: 80px;
  font-size: 13px;
  color: var(--accent);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,790px) minmax(230px,1fr);
  gap: 56px;
  align-items: start;
}
.article-header {
  padding: 28px 0 18px;
}
.article-header h1 {
  font-size: clamp(34px,4.1vw,55px);
  line-height: 1.3;
  letter-spacing: -.04em;
  margin: 17px 0;
}
.article-lead {
  color: #c9d1e1;
  font-size: 17px;
  line-height: 1.9;
}
.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: #97a1b4;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 25px;
}
.article-figure {
  margin: 22px 0 30px;
}
.article-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}
.article-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #96a0b5;
}
.article-body {
  font-size: 16px;
  line-height: 2.15;
  color: #d9e0e9;
}
.article-body h2 {
  margin: 42px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
}
.article-body p {
  margin-bottom: 18px;
}
.article-body .intro {
  font-size: 17px;
  color: #e7eaf4;
}
.article-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding: 22px 0;
  font-size: 12px;
}
.article-end span {
  color: #8691a6;
  letter-spacing: .12em;
}
.article-end a {
  color: var(--accent);
}
.article-sidebar {
  padding-top: 35px;
}
.aside-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 20px;
}
.aside-panel h2 {
  font-size: 19px;
  margin: 12px 0 18px;
}
.aside-panel ol {
  padding-left: 20px;
  color: #d5daeb;
  font-size: 13px;
  line-height: 2;
}
.aside-panel li {
  margin-bottom: 9px;
}
.aside-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.aside-feature>a {
  display: block;
  font-size: 13px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.related-section {
  padding: 70px 0 90px;
}
@media (max-width: 1100px) {
  .header-note {
    display: none;
  }
  .primary-nav {
    gap: 18px;
  }
  .hero-main {
    padding-inline: 30px;
  }
  .hero {
    grid-template-columns: 1.25fr .85fr;
  }
  .article-layout {
    grid-template-columns: minmax(0,1fr) 250px;
    gap: 27px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 77px;
    display: block;
    padding-top: 14px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  .brand-word {
    font-size: 20px;
  }
  .primary-nav {
    display: flex;
    overflow-x: auto;
    gap: 21px;
    padding: 10px 0 5px;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar {
    display: none;
  }
  .primary-nav a {
    flex-shrink: 0;
    padding: 5px 0 9px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
  .hero-main {
    min-height: 490px;
    padding: 20px 25px;
  }
  .hero-title-block {
    padding: 37px 0 30px;
  }
  .hero h1 {
    font-size: clamp(52px,12vw,75px);
  }
  .hero-h1-small {
    font-size: 20px;
    line-height: 1.5;
  }
  .hero-aside {
    height: 300px;
  }
  .hero-aside>img {
    min-height: 0;
    height: 100%;
  }
  .hero-image-caption {
    left: 22px;
    bottom: 20px;
  }
  .hero-image-caption b {
    font-size: 21px;
  }
  .hero-stamp {
    top: 12px;
    right: 12px;
  }
  .category-strip,.latest {
    padding-top: 65px;
  }
  .section-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .topic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .topic {
    min-height: 260px;
    padding: 21px;
  }
  .topic h3 {
    font-size: 22px;
  }
  .stories-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 26px 16px;
  }
  .card-copy h3 {
    font-size: 17px;
  }
  .card-copy p {
    font-size: 12px;
  }
  .section-counter {
    display: none;
  }
  .feature-band {
    grid-template-columns: 1fr;
    margin-top: 65px;
  }
  .band-image {
    height: 230px;
  }
  .band-content {
    padding: 36px 26px;
  }
  .reading-notes {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 65px 0;
  }
  .footer-layout {
    flex-direction: column;
    gap: 20px;
  }
  .category-hero {
    grid-template-columns: 1fr;
  }
  .category-hero>div:first-child {
    padding: 35px 24px;
  }
  .category-visual {
    height: 220px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    padding-top: 10px;
  }
  .aside-panel {
    padding: 20px;
  }
}
@media (max-width: 430px) {
  .hero-accent>span:last-child {
    display: none;
  }
  .hero-title-block p {
    font-size: 14px;
  }
  .hero-actions {
    gap: 17px;
  }
  .topic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .topic {
    min-height: 255px;
    padding: 16px;
  }
  .topic h3 {
    font-size: 19px;
  }
  .topic p {
    font-size: 12px;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .card-visual {
    aspect-ratio: 1.5;
  }
  .card-copy h3 {
    font-size: 20px;
  }
  .article-header h1 {
    font-size: 34px;
  }
  .footer-layout nav {
    gap: 14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-visual img {
    transition: none;
  }
}

/* 额外优化：自适应文字、媒体宽度与触屏导航 */
:root { text-size-adjust: 100%; }
main, .story-card, .article-layout, .hero-main { min-width: 0; }
.card-copy h3, .card-copy p, .article-body { overflow-wrap: anywhere; }
.primary-nav a[aria-current="page"] { color: var(--accent); }
.story-card:focus-within .card-visual img { transform: scale(1.025); }
@media (max-width: 760px) {
  .hero-aside > img { width: 100%; }
  .section-heading { align-items: flex-start; }
  .card-copy { padding-top: 14px; }
}
@media (max-width: 430px) {
  .hero-main { padding-inline: 19px; }
  .hero h1 { font-size: clamp(44px, 11vw, 55px); }
  .hero-stamp { display: none; }
}
