/* ========================================================================
   交换游戏叙事档案 / aijiaohuan999.cn
   Layout: editorial noir, responsive, accessible, static-first.
   ======================================================================== */
:root   {
  color-scheme: light;
  --ink: #152031;
  --muted: #647184;
  --navy: #101b29;
  --navy-light: #1a2a3a;
  --gold: #c8a170;
  --gold-soft: #e7d6bc;
  --paper: #f6f5f1;
  --white: #fff;
  --line: #dcdedc;
  --radius: 10px;
  --shadow: 0 14px 38px rgba(17, 30, 43, .08);
}
*, *::before, *::after   {
  box-sizing: border-box;
}
html   {
  scroll-behavior: smooth;
}
body   {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
img   {
  display: block;
  max-width: 100%;
  height: auto;
}
a   {
  color: inherit;
  text-decoration: none;
}
a:focus-visible   {
  outline: 3px solid #db9f4e;
  outline-offset: 3px;
}
.wrap   {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.skip-link   {
  position: absolute;
  top: -80px;
  left: 10px;
  padding: 10px;
  background: white;
  z-index: 100;
}
.skip-link:focus   {
  top: 10px;
}
.site-header   {
  background: var(--navy);
  color: white;
}
.header-inner   {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand   {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-mark   {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -2px;
  transform: rotate(-4deg);
  flex: none;
}
.brand-mark span   {
  color: white;
}
.brand-name   {
  font-size: 19px;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: .4px;
}
.brand-name span   {
  font-size: 12px;
  font-weight: 400;
  padding-left: 8px;
  color: #c3ccd3;
}
.header-caption   {
  color: #9aaabb;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-align: right;
}
.nav-band   {
  border-top: 1px solid rgba(255,255,255,.10);
}
.site-nav   {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  min-height: 52px;
  align-items: center;
}
.site-nav a   {
  padding: 13px 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c6d0d9;
  font-size: 13px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav .active   {
  color: white;
  border-bottom-color: var(--gold);
}
.hero   {
  background: #101b29;
  color: white;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before   {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background: radial-gradient(ellipse at 27% 25%, #334b63, transparent 56%);
}
.hero-grid   {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(28px,5vw,70px);
  position: relative;
}
.hero-copy   {
  min-width: 0;
  padding: 18px 0;
}
.hero-pre   {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1.7px;
  color: #c5b39e;
}
.hero-pre .dot   {
  background: var(--gold);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.hero-pre .rule   {
  height: 1px;
  background: rgba(255,255,255,.19);
  flex: 1;
}
.hero-kicker   {
  margin: 48px 0 10px;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}
.hero h1   {
  margin: 0;
  font-size: clamp(36px,4.5vw,59px);
  letter-spacing: -1.5px;
  font-weight: 760;
  line-height: 1.3;
}
.hero h1 em   {
  font-style: normal;
  color: #e6d4bc;
  font-size: .82em;
}
.hero-text   {
  max-width: 510px;
  margin: 22px 0 0;
  font-size: 16px;
  color: #c8d2dc;
  line-height: 2;
}
.hero-actions   {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 30px;
}
.btn   {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 10px 21px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
}
.btn-primary   {
  background: var(--gold);
  color: #14202e;
}
.btn-primary:hover   {
  background: #dec09d;
}
.btn-text   {
  color: #eee;
  padding-inline: 3px;
}
.btn-outline   {
  border: 1px solid #a2a9b0;
}
.btn-outline:hover   {
  background: var(--navy);
  color: white;
}
.hero-notice   {
  margin-top: 24px;
  font-size: 12px;
  color: #9eacba;
}
.hero-visual   {
  position: relative;
  min-width: 0;
}
.hero-image   {
  overflow: hidden;
  border: 7px solid #26384c;
  aspect-ratio: 1.14;
  box-shadow: 0 28px 65px rgba(0,0,0,.35);
}
.hero-image img   {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-image-caption   {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #aab8c7;
}
.hero-side-number   {
  position: absolute;
  top: -33px;
  right: -18px;
  color: var(--gold);
  font-size: 45px;
  line-height: 1;
  font-family: Georgia, serif;
}
.intro-strip   {
  background: #e9e5de;
  border-bottom: 1px solid #d3cec5;
  padding: 36px 0;
}
.intro-columns   {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 55px;
}
.intro-columns h2   {
  font-size: 25px;
  line-height: 1.45;
  margin: 5px 0 0;
}
.intro-columns p   {
  margin: 0;
  font-size: 14px;
  color: #526070;
}
.micro-label   {
  font-size: 11px;
  font-weight: 750;
  color: #a5794c;
  letter-spacing: 1.6px;
}
.section   {
  padding-top: 76px;
  padding-bottom: 78px;
}
.section-heading   {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 27px;
}
.section-heading h2   {
  margin: 5px 0 0;
  font-size: clamp(25px, 2.9vw, 35px);
  line-height: 1.3;
}
.section-heading p   {
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.text-link   {
  font-size: 13px;
  font-weight: 750;
  color: #8d603b;
}
.topic-grid   {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.topic-card   {
  min-width: 0;
  min-height: 252px;
  padding: 25px 21px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.topic-card:hover   {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.topic-0   {
  background: #eae8e4;
}
.topic-1   {
  background: #e8ecea;
}
.topic-2   {
  background: #f0e9df;
}
.topic-3   {
  background: #e9e8ed;
}
.topic-icon   {
  font-family: Georgia,serif;
  font-size: 32px;
  color: #a6805b;
  line-height: 1;
}
.topic-body   {
  margin-top: 35px;
}
.topic-body span   {
  font-size: 11px;
  color: #6e767a;
}
.topic-card h3   {
  margin: 2px 0 7px;
  font-size: 22px;
}
.topic-card p   {
  margin: 0;
  font-size: 12px;
  color: #626c73;
  line-height: 1.9;
}
.topic-arrow   {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #77818b;
}
.feature-section   {
  background: #172334;
  color: white;
}
.feature-section .section-heading p   {
  color: #adb9c6;
}
.feature-grid   {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 20px;
}
.feature-large   {
  min-width: 0;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  display: block;
}
.feature-large-media   {
  height: 100%;
  position: absolute;
  inset: 0;
}
.feature-large img   {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-large::after   {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(7,13,21,.88) 100%);
}
.feature-overlay   {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 28px;
}
.feature-overlay span   {
  font-size: 12px;
  color: #e5bd8c;
}
.feature-overlay h3   {
  margin: 6px 0;
  font-size: clamp(22px,2.5vw,30px);
  line-height: 1.45;
}
.feature-overlay p   {
  margin: 0;
  color: #c9cfd5;
  font-size: 13px;
}
.feature-stack   {
  display: grid;
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.feature-small   {
  display: grid;
  grid-template-columns: 42% minmax(0,1fr);
  gap: 18px;
  background: #233145;
  overflow: hidden;
  min-height: 0;
}
.feature-small img   {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-small > span   {
  padding: 18px 16px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.feature-small small   {
  color: #d3ac7e;
  font-size: 10px;
}
.feature-small strong   {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 8px;
}
.feature-small b   {
  font-size: 11px;
  color: #b7c3ce;
  margin-top: 10px;
}
.story-grid   {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px 20px;
}
.story-card   {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #e0e1df;
  transition: box-shadow .2s, transform .2s;
}
.story-card:hover   {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.story-media   {
  aspect-ratio: 1.55;
  overflow: hidden;
}
.story-media img   {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.story-card:hover img   {
  transform: scale(1.04);
}
.story-content   {
  padding: 21px 23px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.eyebrow   {
  font-size: 11px;
  color: #a27f5d;
}
.story-content h3   {
  font-size: 19px;
  line-height: 1.5;
  margin: 9px 0;
}
.story-content p   {
  font-size: 13px;
  line-height: 1.8;
  color: #697482;
  margin: 0 0 24px;
}
.story-more   {
  margin-top: auto;
  font-size: 12px;
  color: #8d623c;
  font-weight: 750;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 13px;
}
.center-action   {
  text-align: center;
  margin-top: 34px;
}
.bottom-essay   {
  background: #e6dfd4;
}
.bottom-layout   {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 80px;
  align-items: center;
}
.bottom-layout h2   {
  font-size: clamp(26px,3vw,38px);
  line-height: 1.45;
  margin: 14px 0;
}
.bottom-layout p   {
  font-size: 14px;
  color: #4f5861;
}
.site-footer   {
  background: #101b29;
  color: #d4dce3;
  padding-top: 57px;
}
.footer-layout   {
  display: grid;
  grid-template-columns: 1.7fr .8fr 1fr;
  gap: 60px;
  padding-bottom: 45px;
}
.footer-layout strong   {
  font-size: 19px;
}
.footer-layout h2   {
  font-size: 15px;
  color: #e6d1b6;
  margin: 0 0 13px;
}
.footer-layout p   {
  color: #aeb9c5;
  font-size: 12px;
  line-height: 2;
}
.footer-layout a   {
  display: block;
  color: #d4dce3;
  font-size: 12px;
  margin: 5px 0;
}
.copyright   {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0 22px;
  color: #8f9eac;
  font-size: 11px;
}
.page-hero   {
  padding-top: 67px;
  padding-bottom: 39px;
  border-bottom: 1px solid #d5d7d7;
}
.page-hero h1   {
  font-size: clamp(31px,4.2vw,47px);
  margin: 8px 0;
  line-height: 1.35;
}
.page-hero p   {
  max-width: 780px;
  color: #5e6975;
  font-size: 15px;
  margin: 9px 0 0;
}
.minor-heading   {
  font-size: 22px;
  margin: 15px 0 18px;
}
.pill-row   {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 33px;
}
.pill-row a   {
  background: white;
  border: 1px solid #cdd1d2;
  border-radius: 4px;
  padding: 8px 15px;
  min-height: 40px;
  font-size: 13px;
}
.pill-row a:hover   {
  background: #e7dbc9;
}
.next-section   {
  border-top: 1px solid #d8dad8;
  padding-top: 30px;
  padding-bottom: 60px;
}
.article-wrap   {
  padding-top: 26px;
  padding-bottom: 70px;
}
.breadcrumbs   {
  color: #77818c;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}
.breadcrumbs a:hover   {
  color: #9e7550;
}
.article-grid   {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(240px,.75fr);
  gap: 52px;
  align-items: start;
}
.essay   {
  min-width: 0;
}
.essay-head   {
  margin-bottom: 30px;
}
.essay-head h1   {
  font-size: clamp(29px,3.8vw,45px);
  line-height: 1.4;
  margin: 11px 0 18px;
}
.lead   {
  color: #5f6b76;
  font-size: 17px;
  line-height: 1.9;
}
.article-meta   {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #7a858d;
}
.essay-cover   {
  margin: 0 0 32px;
}
.essay-cover img   {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  aspect-ratio: 1.5;
}
.essay-cover figcaption   {
  color: #737d86;
  font-size: 11px;
  margin-top: 9px;
}
.essay-body   {
  font-size: 16px;
  line-height: 2.06;
}
.essay-body p   {
  margin: 0 0 21px;
}
.essay-body .opening   {
  font-size: 17px;
  color: #475463;
}
.essay-section   {
  margin-top: 35px;
}
.essay-section h2, .essay-conclusion h2   {
  font-size: 24px;
  line-height: 1.45;
  margin: 0 0 19px;
  padding-left: 16px;
  border-left: 3px solid #af855b;
}
.essay-conclusion   {
  background: #eae7e1;
  padding: 27px;
  margin-top: 40px;
}
.essay-conclusion p   {
  margin-bottom: 0;
}
.essay-aside   {
  position: sticky;
  top: 20px;
  min-width: 0;
}
.aside-card   {
  padding: 22px;
  background: white;
  border: 1px solid #e4e4e1;
  margin-bottom: 16px;
}
.aside-card h2   {
  margin: 8px 0 15px;
  font-size: 19px;
}
.aside-card ol   {
  padding-left: 20px;
  margin: 0;
  color: #66737c;
  font-size: 13px;
}
.aside-card li   {
  margin: 9px 0;
}
.aside-card a   {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 12px 0;
  border-top: 1px solid #ececec;
}
.related-section   {
  margin-top: 66px;
  border-top: 1px solid #d2d6d7;
  padding-top: 30px;
}
.about-content   {
  max-width: 880px;
  padding-top: 37px;
  padding-bottom: 80px;
  font-size: 16px;
}
.about-content h2   {
  margin: 28px 0 10px;
  font-size: 24px;
}
.about-content p   {
  color: #56616c;
}
.about-content a   {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #906743;
}
@media (max-width: 950px)   {
  .hero-grid   {
    gap: 32px;
  }
  .hero h1   {
    font-size: clamp(31px,4.4vw,42px);
  }
  .hero-kicker   {
    margin-top: 24px;
  }
  .topic-grid   {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .feature-grid   {
    grid-template-columns: minmax(0,1fr);
  }
  .feature-large   {
    min-height: 380px;
  }
  .feature-stack   {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto;
  }
  .feature-small   {
    grid-template-columns: 40% minmax(0,1fr);
    min-height: 190px;
    gap: 12px;
  }
  .feature-small > span   {
    padding-right: 12px;
  }
  .feature-small strong   {
    font-size: 15px;
  }
  .story-grid   {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .article-grid   {
    gap: 26px;
    grid-template-columns: minmax(0,1fr) 240px;
  }
  .footer-layout   {
    gap: 30px;
  }
}
@media (max-width: 650px)   {
  .wrap   {
    width: min(100% - 32px,1180px);
  }
  .header-inner   {
    min-height: 70px;
  }
  .header-caption   {
    display: none;
  }
  .brand-name   {
    font-size: 16px;
  }
  .brand-name span   {
    font-size: 10px;
  }
  .brand-mark   {
    width: 39px;
    height: 39px;
  }
  .site-nav   {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0 8px;
    padding: 5px 0;
  }
  .site-nav a   {
    justify-content: center;
    font-size: 12px;
    padding: 9px 0;
    text-align: center;
  }
  .hero   {
    padding: 34px 0 48px;
  }
  .hero-grid   {
    grid-template-columns: minmax(0,1fr);
    gap: 25px;
  }
  .hero-copy   {
    padding: 0;
  }
  .hero-pre   {
    font-size: 9px;
  }
  .hero-kicker   {
    margin-top: 23px;
    font-size: 12px;
  }
  .hero h1   {
    font-size: clamp(30px,8vw,41px);
  }
  .hero-text   {
    font-size: 14px;
    margin-top: 15px;
  }
  .hero-actions   {
    gap: 12px;
    margin-top: 22px;
  }
  .btn   {
    min-height: 44px;
    font-size: 12px;
    padding: 9px 14px;
  }
  .hero-notice   {
    margin-top: 17px;
  }
  .hero-visual   {
    margin: 8px 10px 0 0;
  }
  .hero-side-number   {
    font-size: 33px;
    right: -9px;
    top: -22px;
  }
  .hero-image   {
    aspect-ratio: 1.6;
    border-width: 5px;
  }
  .hero-image-caption   {
    font-size: 9px;
  }
  .intro-strip   {
    padding: 27px 0;
  }
  .intro-columns, .bottom-layout   {
    grid-template-columns: minmax(0,1fr);
    gap: 13px;
  }
  .intro-columns h2   {
    font-size: 21px;
  }
  .section   {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .section-heading   {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .section-heading p   {
    text-align: left;
  }
  .topic-grid   {
    gap: 10px;
  }
  .topic-card   {
    min-height: 216px;
    padding: 18px 15px;
  }
  .topic-body   {
    margin-top: 28px;
  }
  .topic-card h3   {
    font-size: 18px;
  }
  .topic-card p   {
    font-size: 11px;
  }
  .feature-large   {
    min-height: 300px;
  }
  .feature-overlay   {
    padding: 17px;
  }
  .feature-overlay h3   {
    font-size: 21px;
  }
  .feature-stack   {
    grid-template-columns: minmax(0,1fr);
  }
  .feature-small   {
    min-height: 160px;
  }
  .story-grid   {
    grid-template-columns: minmax(0,1fr);
    gap: 15px;
  }
  .story-media   {
    aspect-ratio: 1.65;
  }
  .story-content   {
    padding: 17px 18px 20px;
  }
  .story-content h3   {
    font-size: 18px;
  }
  .bottom-layout   {
    gap: 9px;
  }
  .footer-layout   {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 28px 18px;
  }
  .footer-layout > :first-child   {
    grid-column: 1 / -1;
  }
  .page-hero   {
    padding-top: 42px;
    padding-bottom: 29px;
  }
  .page-hero h1   {
    font-size: 30px;
  }
  .article-grid   {
    grid-template-columns: minmax(0,1fr);
    gap: 25px;
  }
  .essay-aside   {
    position: static;
  }
  .essay-head h1   {
    font-size: 29px;
  }
  .essay-cover img   {
    aspect-ratio: 1.45;
  }
  .essay-body   {
    font-size: 15px;
  }
  .essay-section h2   {
    font-size: 21px;
  }
  .related-section   {
    margin-top: 40px;
  }
}
@media (max-width: 360px)   {
  .brand   {
    gap: 10px;
  }
  .brand-name span   {
    display: block;
    padding-left: 0;
  }
  .site-nav a   {
    font-size: 11px;
  }
  .topic-card h3   {
    font-size: 17px;
  }
}
/* Focus visibility and robust responsive sizing */
:where(a, button):focus-visible  {
  outline: 3px solid #b88652;
  outline-offset: 3px;
}
:where(.hero-grid, .feature-grid, .topic-grid, .story-grid, .article-grid) > *  {
  min-width: 0;
}
:where(.hero-copy, .story-content, .topic-body, .feature-overlay)  {
  overflow-wrap: anywhere;
}
@media (max-width: 480px)  {
  .wrap  {
    width: min(100% - 32px, 1160px);
  }
  .hero-actions  {
    flex-wrap: wrap;
  }
  .feature-small  {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce)  {
  html  {
    scroll-behavior: auto;
  }
  *, *::before, *::after  {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
