@charset "UTF-8";

/* ==============================
   skinseed皮肤编辑器 — 像素工作台（硬边框版）
   ============================== */

:root {
  --lime: #78C030;
  --lime-deep: #4E8A16;
  --lime-pale: #EAF4DC;
  --ink: #14180E;
  --ink-2: #2A3220;
  --paper: #F7F8F2;
  --white: #FFFFFF;
  --muted: #66705A;
  --line: #D9E0CC;
  --shell: 1160px;
  --header-h: 72px;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.76;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  color: inherit;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

/* ---------- 图标 ---------- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #F2F6EA;
  background: var(--ink);
  border-bottom: 3px solid var(--lime);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-h);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 2px solid var(--lime);
  background: #fff;
  object-fit: contain;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  gap: 6px;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 7px 11px;
  color: #C9D3BB;
  font-family: var(--mono);
  font-size: 12.5px;
  border: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--lime);
  border-color: #3A4630;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  gap: 8px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--lime);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 3px 3px 0 #3B4A23;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-download .icon {
  filter: brightness(0);
}

.nav-download:hover {
  background: #8ED943;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #3B4A23;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  border: 2px solid #3A4630;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  filter: brightness(0) invert(1);
}

/* ---------- 按钮 ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-primary .icon {
  filter: brightness(0);
}

.button-primary:hover {
  background: #8ED943;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 66px 0 72px;
  background: #FBFCF6;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-image: linear-gradient(rgba(120, 192, 48, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 192, 48, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 3px 9px;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 15px 0 0;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.45;
}

.hero-title::after {
  display: block;
  width: 118px;
  height: 6px;
  margin-top: 14px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 18px);
}

.hero-summary {
  max-width: 470px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- 英雄区：像素编辑器面板 ---------- */
.hero-pixel {
  min-width: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--lime);
}

.px-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--ink);
  color: #EDF3E2;
  gap: 10px;
}

.px-top b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.px-top span {
  color: #A9B79A;
  font-family: var(--mono);
  font-size: 10.5px;
}

.px-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 14px;
  gap: 13px;
}

.px-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 4px;
}

.px-palette i {
  display: block;
  width: 100%;
  padding-top: 100%;
  border: 1px solid rgba(20, 24, 14, 0.18);
}

.px-palette i:nth-child(2) {
  border: 2px solid var(--ink);
}

.px-picked {
  display: block;
  grid-column: 1 / -1;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--ink);
}

.px-canvas {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #C9D3BB;
  border: 1px solid var(--ink);
  aspect-ratio: 1 / 1;
}

.px-canvas i {
  display: block;
  background: #FCFDF8;
}

.px-canvas i.on {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.px-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 14px 13px;
  border-top: 1px dashed #C9D3BB;
  gap: 8px;
}

.px-foot span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
}

/* ---------- 区块标题 ---------- */
.section-heading {
  max-width: 640px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.3;
}

.section-heading h2::before {
  content: "## ";
  color: var(--lime-deep);
  font-family: var(--mono);
  font-size: 0.72em;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 核心特色 ---------- */
.routes {
  padding: 74px 0 78px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.four {
  position: relative;
  min-width: 0;
  padding: 26px 20px 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.four::after {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--lime);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.four:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--lime);
}

.four .n {
  display: inline-block;
  margin-bottom: 16px;
  padding: 2px 7px;
  color: var(--ink);
  background: var(--lime-pale);
  border: 1px solid var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.four h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.85;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 76px 0 84px;
  background: var(--lime-pale);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 2px solid var(--ink);
}

.covers figure:nth-child(2),
.covers figure:nth-child(4) {
  margin-top: 18px;
}

.covers img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: #EEF3E3;
  border: 1px solid var(--line);
}

.covers b {
  display: block;
  margin-top: 9px;
  padding: 3px 6px;
  color: var(--ink);
  background: var(--lime-pale);
  border-left: 3px solid var(--lime);
  font-family: var(--mono);
  font-size: 12px;
}

.covers small {
  display: block;
  margin: 5px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 78px 0 66px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.faq-list {
  display: grid;
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-item[open] {
  background: #FBFDF5;
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  flex: none;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--lime);
  border: 1px solid var(--ink);
}

.faq-item summary h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  transition: transform 200ms ease;
  filter: brightness(0) saturate(100%) invert(48%) sepia(52%) saturate(1000%) hue-rotate(52deg);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px 40px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.9;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 10px 0 74px;
}

.official .section-heading {
  max-width: 620px;
  margin-bottom: 22px;
}

.official-fold {
  background: repeating-linear-gradient(135deg, #F2F8E6 0 10px, #FBFDF5 10px 20px);
  border: 2px dashed var(--ink);
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::before {
  content: "&gt;";
  color: var(--lime-deep);
}

.official-fold summary::after {
  content: "[+]";
  margin-left: auto;
  font-family: var(--mono);
}

.official-fold[open] summary::after {
  content: "[-]";
}

.official-link {
  padding: 2px 20px 18px;
}

.official-link p {
  margin: 0;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--ink);
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.official-link a {
  color: var(--lime-deep);
  font-family: var(--mono);
  font-weight: 700;
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 76px 0 82px;
  background: var(--ink);
  color: #EDF3E2;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.reviews .eyebrow {
  color: var(--ink);
  background: var(--lime);
}

.reviews .section-heading h2::before {
  color: var(--lime);
}

.reviews .section-heading > p:last-child {
  color: #A6B394;
}

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

.review-card {
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex-direction: column;
  padding: 20px 20px 18px;
  background: #1D2415;
  border-top: 3px solid var(--lime);
  border-right: 1px solid #333F26;
  border-bottom: 1px solid #333F26;
  border-left: 1px solid #333F26;
}

.review-card header {
  display: block;
  padding-bottom: 11px;
  border-bottom: 1px dashed #3A472C;
}

.review-card .who b {
  color: #F4F9EC;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-card time {
  display: block;
  margin-top: 4px;
  color: #8E9C7C;
  font-family: var(--mono);
  font-size: 10.5px;
}

.review-card > p {
  margin: 13px 0 12px;
  color: #C4D0B5;
  font-size: 13.3px;
  line-height: 1.9;
}

.rv-site {
  margin-top: auto;
  padding-top: 9px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10.5px;
  border-top: 1px dashed #3A472C;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  padding: 70px 0 74px;
  background: var(--lime);
  border-bottom: 4px solid var(--ink);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.download-cta .eyebrow {
  background: var(--ink);
  color: var(--lime);
}

.download-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.download-cta .section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.download-cta .section-heading h2::before {
  content: "";
}

.download-cta .section-heading > p:last-child {
  color: #2C3B14;
}

.download-cta .button-primary {
  background: var(--ink);
  color: #F3F9E9;
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.6);
}

.download-cta .button-primary .icon {
  filter: brightness(0) invert(1);
}

.download-cta .button-primary:hover {
  background: #26301A;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.45);
}

.disclaimer {
  max-width: 640px;
  margin: 22px 0 0;
  padding-top: 12px;
  color: #2E3D15;
  border-top: 1px dashed rgba(20, 24, 14, 0.35);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 30px 0 24px;
  color: #C0CCB0;
  background: #10140B;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 12.5px;
}

.site-footer a {
  color: var(--lime);
  border-bottom: 1px solid #3E4C2B;
}

.site-footer a:hover {
  color: #A6E063;
}

.icp a {
  color: #8B9A78;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 146px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--ink);
  cursor: pointer;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand {
    font-size: 14.5px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-pixel {
    max-width: 460px;
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .covers figure:nth-child(2),
  .covers figure:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 62px;
  }

  body {
    padding-top: var(--header-h);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-h);
    column-gap: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 12.5px;
    gap: 7px;
    max-width: 100%;
  }

  .brand img {
    width: 28px;
    height: 28px;
    flex: none;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -15px;
    padding: 10px 15px 14px;
    background: var(--ink);
    border-top: 1px solid #3A4630;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px;
  }

  .primary-nav a {
    padding: 10px 10px;
    border: 1px solid #3A4630;
    font-size: 12px;
    text-align: center;
  }

  .nav-download {
    grid-column: 3;
    grid-row: 1;
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
    box-shadow: 2px 2px 0 #3B4A23;
  }

  .nav-download .icon {
    width: 13px;
    height: 13px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }

  .hero-title {
    font-size: 20px;
    margin-top: 12px;
  }

  .hero-summary {
    margin: 16px 0 24px;
    font-size: 14px;
  }

  .hero-pixel {
    box-shadow: 6px 6px 0 var(--lime);
  }

  .px-body {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 11px;
    gap: 10px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 50px 0;
  }

  .faq {
    padding: 50px 0 18px;
  }

  .official {
    padding: 4px 0 50px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .four {
    padding: 22px 18px 20px;
  }

  .four .n {
    margin-bottom: 12px;
  }

  .covers {
    gap: 10px;
  }

  .covers figure {
    padding: 6px;
  }

  .faq-item summary {
    min-height: 58px;
    padding: 10px 14px;
  }

  .faq-answer {
    padding: 0 14px 16px 34px;
  }

  .rgrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .review-card {
    min-height: 0;
  }

  .download-cta .button-primary {
    width: 100%;
  }

  .site-footer .page-shell {
    display: block;
  }

  .site-footer p + p {
    margin-top: 7px;
  }

  .to-top {
    right: 14px;
    bottom: 134px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 32px;
    padding: 0;
    justify-content: center;
  }

  .primary-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
