:root {
  color-scheme: light;
  --page: #f4f5f6;
  --surface: #ffffff;
  --surface-soft: #f8f8f8;
  --ink: #1c2024;
  --muted: #626a73;
  --line: #dfe2e5;
  --line-strong: #c9cdd2;
  --red: #b42332;
  --red-dark: #8f1826;
  --red-soft: #faeef0;
  --teal: #087f5b;
  --teal-soft: #eaf7f2;
  --blue: #2368c4;
  --blue-soft: #edf4fc;
  --amber: #a65f00;
  --amber-soft: #fff6e5;
  --danger: #a13729;
  --danger-soft: #fdf0ee;
  --shadow: 0 12px 36px rgba(20, 24, 28, 0.1);
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--red-dark);
  font-size: 0.92em;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: none;
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 10px max(24px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: block;
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  line-height: 1.25;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 4px 14px rgba(180, 35, 50, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.community-link svg {
  flex: 0 0 auto;
}

.community-link:hover,
.community-link:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 6px 18px rgba(180, 35, 50, 0.36);
  transform: translateY(-1px);
}

.layout {
  display: grid;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 44px;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 50px);
  padding-top: 34px;
}

.system-block {
  padding: 0 6px 24px;
  border-bottom: 1px solid var(--line);
}

.system-block > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.system-block > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.system-block strong {
  font-size: 18px;
  line-height: 1.2;
}

.system-block button,
.inline-system-switch {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-nav {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.section-nav a {
  display: grid;
  min-height: 62px;
  align-items: center;
  padding: 9px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  color: var(--muted);
  grid-template-columns: 34px 1fr;
  transition: background 160ms ease, color 160ms ease;
}

.section-nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.section-nav a.is-active {
  border-left-color: var(--red);
  background: var(--surface);
  color: var(--ink);
}

.section-nav a > span:first-child {
  font-size: 12px;
  font-weight: 800;
}

.section-nav strong,
.section-nav small {
  display: block;
  letter-spacing: 0;
  line-height: 1.35;
}

.section-nav strong {
  font-size: 14px;
}

.section-nav small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

main {
  min-width: 0;
  padding-bottom: 36px;
}

.intro {
  padding: 72px 0 54px;
}

.eyebrow,
.step-label {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
}

.intro-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.system-context {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
}

.system-context strong,
.system-context p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.system-context strong {
  flex: 0 0 auto;
  color: var(--red);
}

.system-context p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #9ca3aa;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-light {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.5);
  background: #fff;
  color: var(--ink);
}

.route-map {
  display: grid;
  align-items: stretch;
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 1fr auto 1fr auto 1fr;
}

.route-map a {
  display: grid;
  min-width: 0;
  padding: 18px 12px;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
}

.route-map a:hover strong {
  color: var(--red);
}

.route-map a > span {
  grid-row: 1 / 3;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.route-map strong,
.route-map small {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.route-map strong {
  font-size: 14px;
}

.route-map small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.route-arrow {
  align-self: center;
  color: var(--muted);
}

.guide-section {
  margin-bottom: 36px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.section-heading p:not(.step-label) {
  max-width: 660px;
  margin: 9px 0 0;
  color: var(--muted);
}

.action-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #f0ccd1;
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  background: var(--red-soft);
}

.action-band strong,
.action-band span {
  display: block;
}

.action-band span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.platform-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.platform-row h3,
.activation-steps h3 {
  margin: 0;
  font-size: 18px;
}

.platform-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.inline-system-switch {
  flex: 0 0 auto;
  align-self: center;
}

.instruction-list {
  display: grid;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instruction-list-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instruction-list li {
  display: grid;
  min-width: 0;
  align-items: start;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 22px 1fr;
  gap: 12px;
}

.instruction-list li + li {
  border-left: 1px solid var(--line);
}

.instruction-list li > span {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.instruction-list p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.media-grid {
  display: grid;
  align-items: stretch;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid-compact {
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
}

.media-grid-compact .image-button {
  height: 300px;
  min-height: 0;
}

.media-grid-compact.is-single {
  grid-template-columns: 1fr;
}

.activation-media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.image-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 220px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eceeef;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.screenshot-card-narrow .image-button img {
  object-fit: contain;
}

.image-button:hover img {
  transform: scale(1.012);
}

.zoom-hint {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(20, 24, 28, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.screenshot-card figcaption {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.screenshot-wide {
  margin-top: 26px;
}

.screenshot-wide .image-button {
  aspect-ratio: 2.17 / 1;
}

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

.plugin-card {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plugin-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.plugin-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-soft);
}

.plugin-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.plugin-style .plugin-icon {
  background: var(--red-soft);
  color: var(--red);
}

.plugin-gpt .plugin-icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.plugin-reference .plugin-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.plugin-title h3,
.plugin-title p {
  margin: 0;
  overflow-wrap: anywhere;
}

.plugin-title h3 {
  font-size: 17px;
}

.plugin-title p {
  color: var(--muted);
  font-size: 12px;
}

.plugin-highlight {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.plugin-highlight strong {
  color: var(--ink);
}

.plugin-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.plugin-actions > a:not(.button) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.plugin-actions > a:not(.button):hover {
  color: var(--ink);
}

.notice {
  margin-top: 26px;
  padding: 17px 19px;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: 0 6px 6px 0;
}

.notice strong,
.notice p {
  margin: 0;
}

.notice strong {
  font-size: 14px;
}

.notice p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.notice-info,
.notice-warning,
.notice-danger {
  border-color: #f0ccd1;
  border-left-color: var(--red);
  background: var(--red-soft);
}

.quiet-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.all-pro-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 30px;
  padding: 14px 16px;
  border: 1px solid #f0ccd1;
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  background: var(--red-soft);
}

.all-pro-note > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.all-pro-note p {
  margin: 0;
  color: #6b343c;
  font-size: 13px;
}

.activation-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: 30px;
}

.activation-steps::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 20px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.activation-steps article {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 14px 0;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.activation-number {
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e1adb4;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.activation-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.activation-media .image-button {
  aspect-ratio: 1.27 / 1;
  min-height: 0;
}

.activation-media .image-button img {
  object-position: center top;
}

.next-section {
  margin-bottom: 0;
}

.doc-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.doc-links a {
  display: grid;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.doc-links a:hover strong {
  color: var(--red);
}

.doc-links span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.doc-links strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.doc-links small {
  margin-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.faq-list {
  margin-top: 34px;
}

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

.faq-list summary {
  position: relative;
  padding: 17px 36px 17px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 26px;
  right: 5px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted);
  content: "";
  transition:
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 160ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list summary:hover::before,
.faq-list summary:hover::after {
  background: var(--red);
}

.faq-list details p {
  max-width: 760px;
  margin: -3px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list details[open] p {
  animation: welcome-rise 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.support-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.support-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.support-banner div {
  min-width: 0;
  flex: 1;
}

.support-banner strong,
.support-banner p {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.support-banner p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 4px 4px;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a:hover {
  color: var(--ink);
}

.lightbox {
  width: min(1200px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #454a4f;
  border-radius: 8px;
  background: #111416;
  color: #fff;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(13, 16, 18, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px 8px 18px;
  border-bottom: 1px solid #383d41;
}

.lightbox-toolbar p {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-toolbar button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.lightbox-toolbar button:hover {
  background: #303539;
}

.lightbox > img {
  width: 100%;
  max-height: calc(100vh - 94px);
  object-fit: contain;
}

.system-picker {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.system-picker::backdrop {
  background: rgba(20, 24, 28, 0.72);
  backdrop-filter: blur(6px);
}

.system-picker-content {
  padding: 34px;
}

.system-picker-content > img {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
}

.system-picker h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.25;
}

.system-picker-content > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.system-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-options button {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}

.system-options button:hover,
.system-options button:focus-visible {
  border-color: var(--red);
  background: var(--red-soft);
}

.system-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--red);
  font-size: 24px;
  font-weight: 800;
}

.system-options strong,
.system-options small {
  display: block;
  overflow-wrap: anywhere;
  letter-spacing: 0;
  line-height: 1.35;
}

.system-options strong {
  font-size: 16px;
}

.system-options small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

:focus-visible {
  outline: 3px solid rgba(35, 104, 196, 0.38);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .layout {
    width: min(100% - 36px, 980px);
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }

  .guide-section {
    padding: 32px;
  }

  .plugin-grid,
  .activation-media {
    grid-template-columns: 1fr;
  }

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

  .activation-media .image-button {
    aspect-ratio: 1.7 / 1;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 62px;
  }

  .topbar {
    padding: 9px 16px;
  }

  .community-link {
    font-size: 12px;
  }

  .layout {
    display: block;
    width: min(100% - 28px, 680px);
  }

  .guide-sidebar {
    position: static;
    max-height: none;
    padding: 22px 0 0;
  }

  .system-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 13px;
  }

  .system-block > span {
    margin: 0;
  }

  .system-block > div {
    gap: 16px;
  }

  .section-nav {
    display: flex;
    margin: 9px -14px 0;
    padding: 0 14px 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .section-nav::-webkit-scrollbar {
    display: none;
  }

  .section-nav a {
    min-width: 145px;
    min-height: 52px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 6px 6px 0 0;
    grid-template-columns: 29px 1fr;
  }

  .section-nav a.is-active {
    border-bottom-color: var(--red);
  }

  .section-nav small {
    display: none;
  }

  .intro {
    padding: 46px 0 36px;
  }

  h1 {
    font-size: 42px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .route-map {
    margin-top: 34px;
  }

  .route-map a {
    padding: 14px 6px;
    grid-template-columns: 27px 1fr;
  }

  .route-map small {
    display: none;
  }

  .guide-section {
    padding: 26px;
  }

  .section-heading {
    display: grid;
    gap: 18px;
  }

  .action-band,
  .platform-row {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-system-switch {
    align-self: flex-start;
  }

  .instruction-list,
  .instruction-list-three {
    grid-template-columns: 1fr;
  }

  .instruction-list li + li {
    border-top: 0;
    border-left: 0;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid-compact {
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  }

  .media-grid-compact .image-button {
    height: 260px;
  }

  .media-grid-compact.is-single {
    grid-template-columns: 1fr;
  }

  .image-button {
    min-height: 200px;
  }

  .screenshot-card-narrow .image-button {
    max-height: 420px;
  }
}

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

  .media-grid-compact,
  .media-grid-compact.is-single {
    grid-template-columns: 1fr;
  }

  .media-grid-compact .image-button {
    height: auto;
    min-height: 200px;
  }

  .media-grid-compact .image-button img {
    max-height: 400px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .community-link {
    padding: 8px 13px;
  }

  .layout {
    width: min(100% - 20px, 480px);
  }

  h1 {
    font-size: 36px;
  }

  .intro-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .system-context {
    display: grid;
    gap: 2px;
  }

  .button {
    padding-right: 12px;
    padding-left: 12px;
  }

  .route-map {
    display: grid;
    grid-template-columns: 1fr;
  }

  .route-map a {
    min-height: 58px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 34px 1fr;
  }

  .route-map a:last-child {
    border-bottom: 0;
  }

  .route-arrow {
    display: none;
  }

  .guide-section {
    margin-right: -2px;
    margin-bottom: 20px;
    margin-left: -2px;
    padding: 22px 18px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .action-band {
    padding: 16px;
  }

  .action-band .button {
    width: 100%;
  }

  .plugin-card {
    padding: 17px;
  }

  .all-pro-note {
    align-items: flex-start;
  }

  .activation-steps article {
    gap: 12px;
  }

  .doc-links a {
    align-items: start;
    grid-template-columns: 34px 1fr;
  }

  .doc-links small {
    margin: 4px 0 0;
    grid-column: 2;
  }

  .support-banner {
    display: grid;
    grid-template-columns: 40px 1fr;
  }

  .support-banner .button {
    width: 100%;
    grid-column: 1 / 3;
  }

  .system-picker-content {
    padding: 26px 20px 20px;
  }

  .system-options {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
    gap: 6px;
  }

  .lightbox {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- 欢迎烟花 ---------- */

.welcome-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 110%, #3d1119 0%, transparent 55%),
    radial-gradient(90% 70% at 50% -10%, #1b2a4a 0%, transparent 60%),
    #101214;
  cursor: pointer;
  opacity: 1;
  transition: opacity 600ms ease;
}

.welcome-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.welcome-overlay[hidden] {
  display: none;
}

#fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.welcome-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  flex-direction: column;
  align-items: center;
  padding: 40px 36px 28px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(22, 25, 29, 0.72);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  animation: welcome-card-in 800ms cubic-bezier(0.18, 1.25, 0.3, 1) 350ms forwards;
}

@keyframes welcome-card-in {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.welcome-logo {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 18px rgba(229, 56, 77, 0.45));
}

.welcome-eyebrow {
  margin: 0 0 10px;
  color: #f3a9b4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.welcome-title {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.welcome-title span {
  background: linear-gradient(115deg, #ff8fa0 10%, #e5384d 45%, #ffb25e 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-sub {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.welcome-steps {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.welcome-step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  animation: welcome-rise 550ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.welcome-step:nth-child(1) { animation-delay: 700ms; }
.welcome-step:nth-child(2) { animation-delay: 840ms; }
.welcome-step:nth-child(3) { animation-delay: 980ms; }

.welcome-step span {
  color: #ff8fa0;
  font-size: 11px;
  font-weight: 800;
}

.welcome-step strong {
  margin-top: 4px;
  font-size: 14px;
}

.welcome-step small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.welcome-start {
  min-width: 180px;
  min-height: 46px;
  margin-top: 26px;
  padding: 10px 26px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(115deg, #e5384d, #c22438);
  box-shadow: 0 10px 28px rgba(229, 56, 77, 0.4);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
  animation: welcome-rise 550ms cubic-bezier(0.2, 0.7, 0.2, 1) 1150ms forwards;
}

.welcome-start:hover {
  box-shadow: 0 14px 34px rgba(229, 56, 77, 0.55);
  transform: translateY(-2px);
}

.welcome-skip {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: welcome-fade 600ms ease 1600ms forwards;
}

@keyframes welcome-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes welcome-fade {
  to {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .welcome-card {
    padding: 32px 22px 22px;
  }

  .welcome-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .welcome-step {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-align: left;
  }

  .welcome-step strong {
    margin-top: 0;
  }

  .welcome-step small {
    margin-left: auto;
  }

  .welcome-start {
    width: 100%;
  }
}

/* ---------- 入场与滚动动效 ---------- */

.intro > * {
  animation: welcome-rise 650ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.intro > *:nth-child(1) { animation-delay: 60ms; }
.intro > *:nth-child(2) { animation-delay: 140ms; }
.intro > *:nth-child(3) { animation-delay: 220ms; }
.intro > *:nth-child(4) { animation-delay: 300ms; }
.intro > *:nth-child(5) { animation-delay: 380ms; }
.intro > *:nth-child(6) { animation-delay: 460ms; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.plugin-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.plugin-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 24, 28, 0.1);
}

.screenshot-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20, 24, 28, 0.09);
}

.doc-links a,
.route-map a {
  transition: background 160ms ease;
}

.doc-links a:hover {
  background: var(--surface-soft);
}

.route-map a:hover {
  background: var(--surface-soft);
}

.section-nav a {
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.section-nav a:hover {
  transform: translateX(3px);
}

@media (max-width: 780px) {
  .section-nav a:hover {
    transform: none;
  }
}

.faq-list summary {
  transition: color 160ms ease;
}

.faq-list summary:hover {
  color: var(--red);
}

.lightbox[open],
.system-picker[open] {
  animation: dialog-in 240ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.lightbox::backdrop,
.system-picker::backdrop {
  animation: welcome-fade 200ms ease;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
