@charset "UTF-8";

/* ===== MT管理器 · 纸面编辑风 ===== */
:root {
  --gold: #D8A818;
  --gold-deep: #A87F0C;
  --blue: #4878F0;
  --paper: #FFFCF4;
  --paper-2: #F6F0E0;
  --ink: #1F1B10;
  --muted: #6B6250;
  --line: #E0D6BE;
  --line-strong: #C7B995;
  --shell: 1160px;
  --header-height: 74px;
}

* {
  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: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

.page-shell {
  width: min(calc(100% - 56px), 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"); }
.icon-route::before { background-image: url("../icons/route.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px double var(--line-strong);
  background: var(--paper);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  object-fit: contain;
}

.primary-nav {
  margin-left: auto;
}

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

.primary-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 150ms ease, border-color 150ms ease;
}

.primary-nav a:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-download {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--gold);
}

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

.nav-download:hover {
  color: var(--paper);
  background: var(--ink);
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
}

/* ===== 英雄区 ===== */
.hero {
  padding: 62px 0 70px;
  background:
    repeating-linear-gradient(90deg, rgba(199, 185, 149, 0.16) 0 1px, transparent 1px 64px),
    var(--paper);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 500px);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  min-width: 0;
  max-width: 470px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.45;
}

.hero-title::after {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  content: "";
  background: var(--blue);
}

.hero-summary {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.button {
  min-height: 46px;
  padding: 0 26px;
}

.button-primary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover {
  color: var(--paper);
  background: var(--ink);
}

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

.hero-facts {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  flex: 1;
  padding: 12px 14px 0 0;
}

.hero-facts li + li {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-facts b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-facts span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.5px;
}

/* 双栏文件管理器组件 */
.hero-files {
  min-width: 0;
  border: 1px solid var(--ink);
  background: #FFFDF7;
  box-shadow: 8px 8px 0 rgba(199, 185, 149, 0.5);
}

.hf-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--muted);
}

.hf-crumb span {
  font-family: Consolas, monospace;
}

.hf-crumb b {
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 1px;
}

.hf-crumb i {
  margin-left: auto;
  color: var(--gold-deep);
  font-style: normal;
}

.hf-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
}

.hf-tree {
  border-right: 1px solid var(--line);
  background: #FCF8EC;
}

.hf-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.hf-tabs span {
  flex: 1;
  padding: 7px 0;
  color: var(--muted);
  text-align: center;
}

.hf-tabs span.is-on {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.hf-list {
  padding: 8px 0;
  margin: 0;
  list-style: none;
  font-size: 12px;
}

.hf-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  color: #4A4335;
}

.hf-list .lv2 {
  padding-left: 30px;
  color: var(--muted);
}

.hf-list .is-active {
  color: var(--ink);
  background: #F3E7C4;
}

.hf-fold {
  width: 11px;
  height: 9px;
  border: 1px solid var(--gold-deep);
  background: #F3DFA6;
}

.hf-main {
  min-width: 0;
}

.hf-head {
  display: flex;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.hf-head b {
  color: var(--ink);
  letter-spacing: 0.5px;
}

.hf-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 46px 44px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px dashed #EDE4CE;
  font-size: 11.5px;
}

.hf-row i {
  display: grid;
  place-items: center;
  height: 18px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.3px;
}

.hf-row.hf-dir i {
  width: 14px;
  height: 11px;
  margin-left: 2px;
  background: #F3DFA6;
  border-color: var(--gold-deep);
}

.hf-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hf-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.hf-row small {
  color: #9C927C;
  font-size: 10px;
  text-align: right;
}

.hf-row.hf-apk {
  background: rgba(216, 168, 24, 0.14);
}

.hf-row.hf-apk i {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--gold);
}

.hf-row.hf-zip i {
  color: var(--blue);
  border-color: var(--blue);
}

.hf-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--line-strong);
  background: var(--paper-2);
  font-size: 11px;
  color: var(--muted);
}

.hf-btn {
  padding: 3px 9px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
}

.hf-btn-2 {
  margin-left: 0;
  color: var(--blue);
  background: transparent;
  border-color: var(--blue);
}

/* ===== 特色 ===== */
.routes {
  padding: 78px 0 84px;
  background: #FFFDF7;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

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

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}

.four {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  min-width: 0;
  padding: 24px 26px 24px 0;
  border-bottom: 1px solid var(--line);
}

.four:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 30px;
}

.four:nth-child(even) {
  padding-left: 30px;
}

.four .n {
  color: var(--gold-deep);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 2px solid var(--gold);
}

.four h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.four p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.9;
}

/* ===== 界面展示 ===== */
.screens {
  padding: 80px 0 86px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
}

.shot {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: #FFFDF7;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  background: #F3EAD3;
}

.shot figcaption {
  align-self: center;
  padding-right: 8px;
}

.shot figcaption b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.shot figcaption b::after {
  display: block;
  width: 30px;
  height: 2px;
  margin: 8px 0;
  content: "";
  background: var(--blue);
}

.shot figcaption small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
  padding: 78px 0 24px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line-strong);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 2px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.55;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  width: 14px;
  height: 14px;
  filter: invert(64%) sepia(72%) saturate(492%) hue-rotate(6deg) brightness(92%) contrast(92%);
  transition: transform 170ms ease;
}

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

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

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

.official {
  padding: 24px 0 70px;
  background: var(--paper);
}

.official-fold {
  max-width: 900px;
  border: 1px solid var(--line-strong);
  background: #FFFDF7;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  list-style: none;
}

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

.official-fold summary::after {
  margin-left: auto;
  content: "+";
  color: var(--gold-deep);
  font-size: 18px;
}

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

.official-fold .official-link {
  padding: 12px 16px 16px;
  border-top: 1px dashed var(--line-strong);
}

.official-fold .official-link p {
  margin: 0;
  font-size: 13.5px;
}

.official-fold .official-link a {
  color: var(--blue);
  font-weight: 700;
  word-break: break-all;
}

/* ===== 评价 ===== */
.reviews {
  padding: 80px 0 86px;
  background: #2A2418;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.reviews .eyebrow {
  color: #E3BE4F;
}

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

.review-card {
  min-width: 0;
  padding: 22px 22px 20px;
  border-top: 3px solid var(--gold);
  background: #FFFDF7;
}

.review-card:nth-child(2n) {
  border-top-color: #7C97EC;
}

.review-card header {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.who b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.who small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.review-card time {
  color: #9C927C;
  font-family: Consolas, monospace;
  font-size: 10.5px;
}

.review-card > p {
  margin: 12px 0 0;
  color: #463F31;
  font-size: 13.4px;
  line-height: 1.95;
}

.rv-site {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 10.5px;
}

/* ===== 下载 ===== */
.download-cta {
  padding: 68px 0 70px;
  background: var(--gold);
  border-top: 1px solid var(--ink);
  text-align: center;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.download-cta .eyebrow {
  color: #5B4608;
}

.download-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 2px;
}

.download-cta > .page-shell > p:not(.eyebrow):not(.disclaimer) {
  margin: 10px 0 26px;
  color: #574309;
  font-size: 14.5px;
}

.download-cta .button-primary {
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.download-cta .button-primary:hover {
  color: var(--paper);
  background: var(--ink);
}

.disclaimer {
  max-width: 660px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 27, 16, 0.24);
  color: #5B4608;
  font-size: 11.5px;
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 28px 0 22px;
  color: #B6AC96;
  background: #16130C;
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: #D8CDB4;
  border-bottom: 1px dotted #6B6250;
}

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

.icp {
  color: #857C68;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

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

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

.to-top:hover {
  background: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

  .hero-files {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

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

@media (max-width: 760px) {
  .shots {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .four:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .four:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
  }

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

  .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-height);
    column-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 16.5px;
    letter-spacing: 0.5px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -15px;
    padding: 12px 15px 14px;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

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

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .primary-nav li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a {
    display: block;
    padding: 9px 11px;
    border: 0;
    font-size: 13px;
  }

  .nav-download {
    grid-column: 3;
    grid-row: 1;
    min-height: 34px;
    margin-left: auto;
    padding: 0 10px;
    font-size: 11.5px;
    letter-spacing: 0.5px;
  }

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

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

  .hero {
    padding: 38px 0 46px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-title {
    font-size: 19px;
    letter-spacing: 1px;
  }

  .hero-summary {
    font-size: 14.5px;
  }

  .hero-facts b {
    font-size: 15px;
  }

  .hero-files {
    box-shadow: 5px 5px 0 rgba(199, 185, 149, 0.5);
  }

  .hf-body {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .hf-row {
    grid-template-columns: 30px minmax(0, 1fr) 42px;
  }

  .hf-row small {
    display: none;
  }

  .routes,
  .screens,
  .faq,
  .reviews {
    padding: 50px 0;
  }

  .faq {
    padding-bottom: 16px;
  }

  .official {
    padding: 14px 0 48px;
  }

  .four {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px 0;
  }

  .four .n {
    font-size: 18px;
  }

  .shot {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .shot figcaption b {
    font-size: 14px;
  }

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

  .download-cta {
    padding: 46px 0 50px;
  }

  .to-top {
    right: 16px;
    bottom: 136px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hf-body {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
