:root {
  color-scheme: dark;
  --bg: #090d0f;
  --panel: #0f1518;
  --line: #273439;
  --text: #f4f7f7;
  --muted: #98a5ac;
  --accent: #74edda;
  --font:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 72% 24%, #10232745, transparent 50%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #74edda40;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.container {
  width: min(1520px, calc(100% - 80px));
  margin-inline: auto;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 7px;
}
.skip-link:focus {
  top: 12px;
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.webcut-entry {
  padding: 8px 14px;
  margin-right: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--accent);
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.webcut-entry:hover { border-color: var(--accent); background: #74edda0d; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -1.5px;
}
.locale-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.locale-nav > span {
  color: #58666e;
}
.locale-nav a {
  position: relative;
  padding-block: 12px;
}
.locale-nav a:hover,
.locale-nav a[aria-current='page'] {
  color: var(--accent);
}
.locale-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  height: 2px;
  bottom: 3px;
  inset-inline: 0;
  background: var(--accent);
}
.intro-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.9fr);
  align-items: center;
  gap: 48px;
  padding-block: 38px 56px;
}
.intro-copy {
  min-width: 0;
}
.hero-kicker {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.8px;
}
h1 {
  font-size: clamp(58px, 5.4vw, 88px);
  letter-spacing: -3px;
  line-height: 1.14;
  font-weight: 750;
  margin: 0 0 24px;
}
h1 span {
  display: block;
  color: var(--accent);
}
.hero-description {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.8;
  color: #d3dce0;
  margin: 0;
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 11px;
}
.capabilities li + li::before {
  content: '/';
  padding-inline: 7px;
  color: #526269;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 0;
}
.install-section {
  margin-top: 34px;
}
.install-card {
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(140deg, #11191cd9, #0d1416b3);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
#package-version {
  color: #7a8c95;
  font: 10px var(--font);
  white-space: nowrap;
}
.host-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.host-tabs > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  min-height: 76px;
  padding: 11px 2px;
  background: #ffffff02;
  border: 1px solid #2c3a40;
  border-radius: 8px;
  font-size: 10px;
  color: #d1dade;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.host-icon {
  width: 26px;
  height: 26px;
  color: #a5b0ba;
}
[data-host='claude'] .host-icon {
  color: #e89575;
}
[data-host='qoder'] .host-icon {
  color: #65dab3;
}
.host-tabs > button:hover {
  color: var(--text);
  background: #74edda08;
  border-color: #537269;
}
.host-tabs > button[aria-selected='true'] {
  color: var(--text);
  border-color: var(--accent);
  background: #74edda0b;
  box-shadow: inset 0 0 0 1px #74edda40;
}
.host-tabs > button[aria-selected='true'] .host-icon {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.button-primary {
  color: #07251f;
  background: var(--accent);
}
.button-primary:hover {
  background: #a0f5e6;
}
.button-outline {
  border-color: #34474d;
  background: #ffffff03;
  color: #cbd5de;
}
.button-outline:hover {
  background: #ffffff08;
}
.prompt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.prompt-actions .button {
  width: 100%;
}
.install-panel {
  min-width: 0;
}
.install-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.workspace-section {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
}
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.workspace-heading h2 {
  color: #a7b7bf;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
}
.workspace-tabs {
  display: flex;
  gap: 16px;
}
.workspace-tabs button {
  padding: 6px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font-size: 10px;
  color: #80939e;
}
.workspace-tabs button:hover {
  color: var(--text);
}
.workspace-tabs button[aria-selected='true'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.workspace-frame {
  position: relative;
  border: 1px solid #65c6b780;
  border-radius: 11px;
  padding: 6px;
  background: #101719;
  box-shadow:
    0 0 0 1px #74edda08,
    0 0 40px #45d2b614,
    0 22px 80px #0007;
}
.workspace-frame::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -45px -20px;
  border-radius: 45%;
  background: radial-gradient(ellipse, #42dec438, #35c6af22 55%, transparent 75%);
  filter: blur(22px);
  pointer-events: none;
}
.workspace-view {
  display: block;
}
.workspace-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 34px;
}
.experience-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding-inline: 22px;
}
.experience-item + .experience-item {
  border-left: 1px solid #27343980;
}
.experience-item > .icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.experience-item h2 {
  font-size: 15px;
  margin-block: 1px 9px;
}
.experience-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 34px;
  color: #83949d;
  font-size: 11px;
}
.footer-brand {
  display: grid;
  gap: 16px;
}
.site-footer p {
  margin: 0;
}
.footer-brand strong {
  color: #c1cdd3;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.footer-brand span {
  margin-left: 14px;
}
.wechat-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 124px));
  gap: 24px;
}
.wechat-contact {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
.wechat-contact img {
  width: 100%;
  height: auto;
  aspect-ratio: 1050 / 1164;
  object-fit: contain;
  background: #fff;
  border: 5px solid #fff;
  border-radius: 7px;
}
dialog {
  padding: 28px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid #35474d;
  border-radius: 12px;
  max-height: 90dvh;
  box-shadow: 0 25px 100px #0008;
}
dialog::backdrop {
  background: #020909bb;
  backdrop-filter: blur(6px);
}
.copy-dialog {
  width: min(620px, calc(100% - 32px));
}
.copy-dialog h2 {
  margin-bottom: 10px;
}
.copy-dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.copy-dialog textarea {
  width: 100%;
  min-height: 240px;
  max-height: 50vh;
  resize: vertical;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px;
  font:
    12px/1.8 ui-monospace,
    monospace;
  margin-bottom: 18px;
}
.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border: 1px solid #456a60;
  background: #18352f;
  color: #d9f5ec;
  padding: 12px 20px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 6px 30px #0005;
  width: max-content;
  max-width: calc(100% - 32px);
  text-align: center;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
@media (min-width: 1600px) {
  .intro-layout {
    gap: 64px;
    padding-block: 56px 72px;
  }
  .install-card {
    padding: 24px;
  }
  .host-tabs > button {
    font-size: 11px;
    min-height: 82px;
  }
}
@media (min-width: 1101px) and (max-height: 780px) {
  .header-inner {
    height: 82px;
  }
  .intro-layout {
    padding-block: 22px 36px;
    gap: 36px;
  }
  .hero-kicker {
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(54px, 4.6vw, 72px);
    margin-bottom: 16px;
  }
  .capabilities {
    margin-top: 18px;
  }
  .install-section {
    margin-top: 24px;
  }
  .install-card {
    padding: 16px;
  }
  .section-heading {
    margin-bottom: 14px;
  }
  .host-tabs > button {
    min-height: 65px;
    gap: 8px;
  }
  .prompt-actions {
    margin-top: 14px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .intro-layout {
    grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.2fr);
    gap: 28px;
    padding-block: 30px 44px;
  }
  h1 {
    font-size: 58px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-kicker {
    letter-spacing: 2.5px;
  }
  .install-card {
    padding: 18px 14px;
  }
  .section-heading {
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .host-tabs {
    gap: 5px;
  }
  .host-tabs > button {
    font-size: 9px;
  }
  .workspace-tabs {
    gap: 10px;
  }
  .experience-item {
    gap: 14px;
    padding-inline: 14px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    height: 82px;
  }
  .brand {
    font-size: 30px;
    gap: 12px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 28px 40px;
  }
  .intro-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 26px;
  }
  .install-section {
    margin-top: 0;
  }
  h1 {
    font-size: clamp(44px, 7vw, 56px);
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
  .capabilities {
    font-size: 10px;
    margin-top: 18px;
  }
  .capabilities li + li::before {
    padding-inline: 5px;
  }
  .experience-strip {
    padding-block: 26px;
  }
  .experience-item {
    flex-direction: column;
    gap: 12px;
  }
  .experience-item p {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 74px;
  }
  .brand {
    font-size: 28px;
    gap: 10px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .locale-nav {
    gap: 13px;
    font-size: 12px;
  }
  .intro-layout {
    padding-block: 22px 32px;
    gap: 30px;
  }
  .intro-copy {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  h1 {
    font-size: clamp(48px, 12.8vw, 66px);
    margin-bottom: 18px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 340px;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 2.8px;
    margin-bottom: 20px;
  }
  .capabilities {
    margin-top: 18px;
    font-size: 10px;
  }
  .install-card {
    padding: 18px 16px;
  }
  .section-heading {
    margin-bottom: 17px;
  }
  .host-tabs {
    gap: 6px;
  }
  .host-tabs > button {
    min-height: 70px;
    font-size: 9px;
    gap: 9px;
  }
  .host-icon {
    width: 23px;
    height: 23px;
  }
  .prompt-actions {
    margin-top: 17px;
  }
  .workspace-heading {
    gap: 10px;
    margin-bottom: 10px;
  }
  .workspace-tabs {
    gap: 12px;
  }
  .workspace-tabs button {
    font-size: 9px;
    white-space: nowrap;
  }
  .workspace-frame {
    padding: 3px;
    border-radius: 8px;
  }
  .workspace-frame::before {
    inset: -24px -10px;
  }
  .workspace-image {
    border-radius: 4px;
  }
  .experience-strip {
    grid-template-columns: 1fr;
    padding-block: 4px;
  }
  .experience-item {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 21px 8px;
    gap: 19px;
  }
  .experience-item + .experience-item {
    border-left: 0;
    border-top: 1px solid #27343980;
  }
  .experience-item h2 {
    margin-bottom: 4px;
    font-size: 14px;
  }
  .experience-item p {
    font-size: 11px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 28px;
    gap: 28px;
  }
  .footer-brand {
    gap: 12px;
  }
  .wechat-contacts {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 300px;
    gap: 24px;
  }
  .wechat-contact {
    font-size: 10px;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 28px);
  }
  .install-card {
    padding: 16px 12px;
  }
  .host-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .host-tabs > button {
    font-size: 10px;
  }
  .workspace-heading {
    flex-wrap: wrap;
  }
  .workspace-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .wechat-contacts {
    grid-template-columns: minmax(0, 160px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
