/* =========================================================
   思源宋体官网 · 全局样式
   基调：宣纸米白 / 墨色 / 朱砂点缀 / 描金细线
   ========================================================= */

:root {
  --paper: #f8f5ef;
  --paper-2: #f2eee6;
  --paper-3: #ece6db;
  --ink: #26221e;
  --ink-2: #55493e;
  --ink-3: #8a7e70;
  --ink-4: #b3a99b;
  --cinnabar: #a63a2a;
  --cinnabar-soft: rgba(166, 58, 42, 0.08);
  --gold: #b08d57;
  --gold-soft: rgba(176, 141, 87, 0.18);
  --line: #e3dacb;
  --white: #fffdf9;
  --shadow: 0 18px 50px rgba(60, 50, 40, 0.10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "Songti SC", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--cinnabar); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand-name em { font-style: normal; color: var(--cinnabar); }
.brand-sub {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  margin-top: -2px;
}
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cinnabar); border-color: var(--cinnabar); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 15px;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: all .3s;
  border: 1px solid transparent;
  font-family: var(--sans);
  background: none;
}
.btn-primary {
  background: var(--ink);
  color: #f6f1e8;
}
.btn-primary:hover { background: var(--cinnabar); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(166,58,42,.22); }
.btn-ghost { border-color: var(--ink-4); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--cinnabar); color: var(--cinnabar); transform: translateY(-2px); }
.btn-quark { background: #2b2b2b; color: #fff; }
.btn-quark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-baidu { background: #fff; color: #2319dc; border-color: #2319dc; }
.btn-baidu:hover { background: #2319dc; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ---------- 章节标题 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section-head { text-align: center; margin-bottom: 64px; }
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--cinnabar);
  margin: 22px auto 0;
}
.section-desc {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.10) 0%, rgba(176,141,87,0) 68%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
  padding: 76px 0 64px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.22;
  color: var(--ink);
}
.hero h1 .en {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 20px;
}
.hero-lead {
  margin: 30px 0 40px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 2;
  max-width: 460px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.hero-stats b { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: 0.06em; }
.hero-stats i { font-style: normal; color: var(--gold); }
.hero-visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .seal {
  position: absolute;
  right: 26px;
  bottom: 26px;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(166,58,42,.35);
}

/* ---------- 徽标条 ---------- */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.ribbon-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 26px 0; }
.ribbon-inner span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--ink-3); }

/* ---------- 特性卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 28px;
  transition: transform .35s, box-shadow .35s;
  position: relative;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.1em;
  margin: 16px 0 12px;
  color: var(--ink);
}
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 展示双栏 ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.showcase.reverse .showcase-media { order: 2; }
.showcase-media { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-body .kicker { margin-bottom: 12px; }
.showcase-body h2 { font-family: var(--serif); font-size: 32px; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 20px; }
.showcase-body p { color: var(--ink-2); margin-bottom: 14px; }
.showcase-list { margin-top: 22px; }
.showcase-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  color: var(--ink-2);
  align-items: baseline;
}
.showcase-list li::before { content: "◆"; color: var(--cinnabar); font-size: 10px; transform: translateY(-2px); }

/* ---------- 字帖图鉴 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 14px;
  background: linear-gradient(transparent, rgba(30,26,22,.72));
  color: #f6f1e8;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- 下载 CTA ---------- */
.cta-panel {
  background: var(--ink);
  border-radius: 10px;
  padding: 74px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(176,141,87,.16), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(166,58,42,.20), transparent 46%);
  pointer-events: none;
}
.cta-panel h2 { font-family: var(--serif); font-size: 36px; letter-spacing: 0.14em; color: #f6f1e8; margin-bottom: 18px; }
.cta-panel p { color: rgba(246,241,232,.72); max-width: 640px; margin: 0 auto 40px; font-size: 15px; }
.cta-btns { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-hint { margin-top: 26px; font-size: 12px; color: rgba(246,241,232,.5); letter-spacing: 0.1em; }

/* ---------- 动态/时间线 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  align-items: center;
  transition: box-shadow .3s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card .thumb { width: 180px; height: 118px; border-radius: 4px; overflow: hidden; flex: none; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 { font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 8px; }
.news-card .date { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.12em; }
.news-card p { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1f1c18; color: rgba(246,241,232,.72); margin-top: 0; }
.footer-inner { padding: 72px 0 30px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; }
.footer-cols h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 0.12em; color: #f6f1e8; margin-bottom: 22px; }
.footer-cols h4::after { content: ""; display: block; width: 28px; height: 2px; background: var(--cinnabar); margin-top: 10px; }
.footer-cols a { display: block; padding: 6px 0; font-size: 14px; color: rgba(246,241,232,.6); transition: color .25s; }
.footer-cols a:hover { color: var(--gold); }
.footer-about p { font-size: 13px; color: rgba(246,241,232,.5); margin-top: 16px; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(246,241,232,.1);
  padding: 24px 0 30px;
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(246,241,232,.4);
}
.footer-bottom a { color: rgba(246,241,232,.6); }

/* ---------- 二维码呼吸边框 ---------- */
@keyframes qr-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(176,141,87,.35), 0 0 18px rgba(176,141,87,.18);
  }
  50% {
    transform: scale(1.028);
    box-shadow: 0 0 0 4px rgba(176,141,87,.55), 0 0 34px rgba(176,141,87,.30);
  }
}
.qr-breathe {
  animation: qr-breathe 3.2s ease-in-out infinite;
  border-radius: 10px;
}

/* ---------- 下载弹窗 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 460px;
  width: 100%;
  padding: 44px 40px 38px;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px rgba(20, 16, 10, 0.35);
  animation: modal-in .35s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  font-size: 22px;
  color: var(--ink-3);
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--paper-3); color: var(--ink); }
.modal .modal-pan {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 10px;
}
.modal h3 { font-family: var(--serif); font-size: 24px; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 6px; }
.modal .modal-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 26px; }
.modal .qr-box {
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}
.modal .qr-box img { width: 100%; height: 100%; object-fit: contain; }
.modal .qr-tip { font-size: 13px; color: var(--ink-2); line-height: 2; }
.modal .qr-tip b { color: var(--cinnabar); font-weight: 600; }
.modal .qr-tip .urgent { display: block; margin-top: 4px; color: var(--cinnabar); font-size: 12px; letter-spacing: .08em; }

/* ---------- 页面标题条 ---------- */
.page-hero { padding: 88px 0 56px; text-align: center; border-bottom: 1px solid var(--line); background: var(--paper); position: relative; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-size: 44px; letter-spacing: 0.16em; color: var(--ink); }
.page-hero .breadcrumb { margin-top: 18px; font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; }
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { color: var(--cinnabar); }

/* ---------- 下载页 ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 10px; }
.dl-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 36px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dl-card .pan-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
}
.dl-card.quark .pan-icon { background: #232323; }
.dl-card.baidu .pan-icon { background: #2319dc; }
.dl-card h3 { font-family: var(--serif); font-size: 24px; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 10px; }
.dl-card .dl-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 26px; min-height: 44px; }
.dl-note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--paper-2);
  border-radius: 6px;
  padding: 14px;
  line-height: 1.9;
}
.step-list { counter-reset: step; margin-top: 30px; }
.step-list li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.step-list li::before {
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cinnabar);
  background: var(--cinnabar-soft);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}
.step-list li h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 0.06em; margin-bottom: 6px; }
.step-list li p { font-size: 14px; color: var(--ink-2); }

/* ---------- 特性页 ---------- */
.trait-list { margin-top: 16px; }
.trait-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.trait-item .trait-en { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; color: var(--gold); }
.trait-item h3 { font-family: var(--serif); font-size: 23px; letter-spacing: 0.08em; margin-bottom: 10px; color: var(--ink); }
.trait-item p { color: var(--ink-2); font-size: 15px; }

/* ---------- 图鉴页 ---------- */
.gallery-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.gallery-page-item { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.gallery-page-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-page-item img { width: 100%; height: 340px; object-fit: cover; }
.gallery-page-item .gcap { padding: 20px 24px; }
.gallery-page-item .gcap h3 { font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; color: var(--ink); }
.gallery-page-item .gcap p { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 使用教程 ---------- */
.usage-zone {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 36px;
  margin-top: 30px;
}
.usage-zone h3 { font-family: var(--serif); font-size: 20px; letter-spacing: 0.08em; margin-bottom: 18px; color: var(--ink); }
.usage-zone h3 i { font-style: normal; color: var(--cinnabar); }
.usage-zone pre {
  background: var(--ink);
  color: #e8e0d2;
  padding: 20px 22px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  margin: 14px 0;
}
.usage-zone p, .usage-zone li { font-size: 14px; color: var(--ink-2); margin: 10px 0; }
.usage-zone ul { padding-left: 4px; }
.usage-zone ul li { padding-left: 20px; position: relative; }
.usage-zone ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 4px; }
.faq-item h4 { font-family: var(--serif); font-size: 18px; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 10px; cursor: pointer; }
.faq-item h4::before { content: "问 "; color: var(--cinnabar); }
.faq-item p { font-size: 15px; color: var(--ink-2); }
.faq-item p::before { content: "答 "; color: var(--gold); font-family: var(--serif); }

/* ---------- 关于页 ---------- */
.about-block { max-width: 860px; margin: 0 auto; }
.about-block h2 { font-family: var(--serif); font-size: 28px; letter-spacing: 0.1em; color: var(--ink); margin: 50px 0 20px; }
.about-block p { color: var(--ink-2); margin-bottom: 16px; }
.about-block .seal-line { text-align: center; margin: 60px 0 10px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 140px 0 160px; }
.notfound .big { font-family: var(--serif); font-size: 120px; color: var(--paper-3); letter-spacing: 0.2em; }
.notfound h1 { font-family: var(--serif); font-size: 30px; letter-spacing: 0.14em; margin: 10px 0 20px; }
.notfound p { color: var(--ink-2); margin-bottom: 36px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 50px 0 60px; }
  .hero h1 { font-size: 46px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dl-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    top: 76px;
    right: -280px;
    width: 260px;
    height: calc(100vh - 76px);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 30px;
    box-shadow: -20px 0 40px rgba(40,30,20,.12);
    transition: right .35s;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero-stats { gap: 8px 16px; padding: 18px 0 22px; font-size: 12px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 50px 26px; }
  .cta-panel h2 { font-size: 27px; }
  .footer-cols { grid-template-columns: 1fr; }
  .trait-item { grid-template-columns: 1fr; gap: 8px; }
  .modal { padding: 36px 24px 30px; }
}
