:root {
  --ink: #14213d;
  --muted: #5f6c7b;
  --line: #dbe4ee;
  --panel: #ffffff;
  --soft: #f5f8fb;
  --blue: #0f7bdc;
  --green: #21a67a;
  --gold: #f4a12a;
  --shadow: 0 24px 70px rgba(18, 33, 61, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(33, 166, 122, .13), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(15, 123, 220, .14), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fb 55%, #ffffff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(219, 228, 238, .85);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(18, 33, 61, .08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.brand strong,
.brand small {
  display: block;
}

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

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  min-height: auto;
  margin: 0 auto;
  padding: 34px 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 650px;
  color: #314156;
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(20, 33, 61, .22);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.sponsor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 2px solid rgba(244, 161, 42, .72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, .96), rgba(255, 255, 255, .94) 58%, rgba(235, 247, 255, .92)),
    #fff;
  box-shadow: 0 18px 46px rgba(122, 75, 0, .18);
}

.sponsor-hero.compact {
  margin-top: 24px;
  padding: 24px 28px;
}

.sponsor-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef6c00);
  font-size: 13px;
  font-weight: 800;
}

.sponsor-hero h2 {
  margin-bottom: 4px;
  color: #8a4b00;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 900;
}

.ad-loop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.ad-loop span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ef6c00, #f59e0b);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(239, 108, 0, .22);
}

.ad-loop span:nth-child(2) {
  background: linear-gradient(135deg, var(--ink), var(--blue));
}

.ad-loop span:nth-child(3) {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.sponsor-hero p {
  max-width: 850px;
  margin-bottom: 0;
  color: #4f3a18;
  line-height: 1.55;
  font-size: 15px;
}

.sponsor-button {
  min-width: 150px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef6c00);
  box-shadow: 0 14px 32px rgba(239, 108, 0, .28);
}

.hero-copy {
  padding-right: 18px;
}

.hero h1 span {
  color: var(--blue);
}

.hero h1 em {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px 8px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-style: normal;
  box-shadow: 0 16px 36px rgba(15, 123, 220, .22);
}

.workspace-preview {
  overflow: hidden;
  border: 1px solid rgba(219, 228, 238, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.quote-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-color: rgba(28, 43, 68, .42);
  color: #f6fbff;
  background:
    linear-gradient(135deg, rgba(22, 34, 55, .98), rgba(31, 58, 74, .96)),
    #162237;
  box-shadow: 0 24px 70px rgba(18, 33, 61, .2);
}

.quote-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9de8cb, #8fc7ff);
  opacity: .82;
}

.quote-panel-head,
.quote-focus,
.quote-panel p,
.quote-panel .hero-lines {
  position: relative;
  z-index: 1;
}

.quote-panel-head {
  margin-bottom: 20px;
}

.quote-panel .eyebrow {
  color: #9de8cb;
}

.quote-panel-head strong {
  display: block;
  max-width: 360px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  color: #ffffff;
}

.quote-panel-head strong span {
  color: #9de8cb;
}

.quote-focus {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.quote-focus span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(157, 232, 203, .16);
  border-left: 4px solid #9de8cb;
  border-radius: 8px;
  color: #f6fbff;
  background: rgba(255, 255, 255, .07);
  font-weight: 900;
  box-shadow: none;
}

.quote-panel p:not(.eyebrow) {
  margin-bottom: 20px;
  color: rgba(246, 251, 255, .78);
  font-size: 17px;
  line-height: 1.76;
}

.hero-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.hero-lines span {
  padding: 9px 12px;
  border: 1px solid rgba(143, 199, 255, .18);
  border-radius: 8px;
  color: #cde7ff;
  background: rgba(143, 199, 255, .09);
  font-size: 14px;
  font-weight: 900;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.preview-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.preview-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
}

.metric,
.activity {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric span,
.activity span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.metric b {
  display: block;
  margin-top: 18px;
  font-size: 34px;
}

.metric.accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.metric.accent span {
  color: rgba(255, 255, 255, .85);
}

.activity {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.activity i {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255,255,255,.4) 45% 55%, transparent 55%),
    linear-gradient(135deg, var(--gold), var(--green));
}

.section,
.manifesto-section,
.split-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.75;
}

.manifesto-section {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 50px 48px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, .96), rgba(15, 123, 220, .78)),
    linear-gradient(45deg, rgba(33, 166, 122, .35), transparent);
  box-shadow: 0 24px 72px rgba(20, 33, 61, .22);
}

.manifesto-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.manifesto-section .eyebrow {
  color: #9de8cb;
}

.manifesto-section h2 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.28;
}

.manifesto-lines {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.manifesto-lines span {
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(157, 232, 203, .12);
}

.manifesto-lines span:nth-child(1) {
  color: #bdf7e2;
}

.manifesto-lines span:nth-child(2) {
  color: #ffe4ad;
}

.manifesto-lines span:nth-child(3) {
  color: #cde7ff;
}

.quote-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 28px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 36px rgba(18, 33, 61, .08);
}

.quote-strip p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.8;
}

.tool-screenshot-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 28px;
  border: 1px solid rgba(15, 123, 220, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 247, 255, .94) 62%, rgba(242, 255, 249, .9)),
    #fff;
  box-shadow: 0 18px 52px rgba(18, 33, 61, .1);
}

.tool-screenshot-section .section-head {
  margin-bottom: 18px;
}

.tool-screenshot {
  display: block;
  width: 100%;
  border: 1px solid rgba(20, 33, 61, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 33, 61, .16);
}

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

.privacy-section {
  border-color: rgba(33, 166, 122, .35);
  background:
    linear-gradient(135deg, rgba(242, 255, 249, .96), rgba(255, 255, 255, .94)),
    #fff;
}

.small-note {
  font-size: 14px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.web-version-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 30px;
  border: 1px solid rgba(33, 166, 122, .24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(242, 255, 249, .94)),
    #fff;
  box-shadow: 0 16px 48px rgba(18, 33, 61, .09);
}

.web-version-detail h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.web-version-detail p:not(.eyebrow),
.web-version-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.web-roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.web-roadmap span {
  padding: 10px 12px;
  border: 1px solid rgba(33, 166, 122, .24);
  border-radius: 8px;
  color: #0f5f49;
  background: rgba(33, 166, 122, .1);
  font-weight: 800;
}

.web-version-panel {
  padding: 22px;
  border: 1px solid rgba(15, 123, 220, .2);
  border-radius: 8px;
  background: #fff;
}

.web-version-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

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

.tool-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 36px rgba(18, 33, 61, .08);
}

.tool-card.featured {
  border-color: rgba(33, 166, 122, .35);
  box-shadow: 0 20px 60px rgba(33, 166, 122, .15);
}

.tool-card.online-tool {
  border-color: rgba(15, 123, 220, .32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 247, 255, .94) 62%, rgba(242, 255, 249, .9)),
    #fff;
  box-shadow: 0 20px 60px rgba(15, 123, 220, .14);
}

.tool-card.online-tool::after {
  content: "Online";
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: rgba(15, 123, 220, .12);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.status {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7a4b00;
  background: #fff2d6;
  font-size: 13px;
  font-weight: 700;
}

.tool-card p {
  min-height: 92px;
  color: var(--muted);
  line-height: 1.75;
}

.tool-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.idea-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px;
  border: 1px solid rgba(15, 123, 220, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(235, 247, 255, .94) 48%, rgba(242, 255, 249, .92)),
    #fff;
  box-shadow: 0 22px 64px rgba(18, 33, 61, .11);
}

.idea-copy h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 50px);
}

.idea-copy h2 span {
  color: var(--blue);
}

.idea-copy p:not(.eyebrow) {
  max-width: 820px;
  color: #314156;
  font-size: 18px;
  line-height: 1.82;
}

.idea-lead {
  margin-bottom: 12px;
  color: var(--ink) !important;
  font-size: 22px !important;
  font-weight: 900;
  line-height: 1.55 !important;
}

.idea-note {
  display: inline-flex;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0f5f49 !important;
  background: rgba(33, 166, 122, .11);
  font-weight: 800;
}

.wechat-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(33, 166, 122, .24);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(18, 33, 61, .1);
}

.wechat-qr {
  display: grid;
  place-items: center;
  width: 180px;
  aspect-ratio: 1;
  border: 1px dashed #8fb7a9;
  border-radius: 8px;
  color: #477466;
  background:
    linear-gradient(45deg, rgba(33, 166, 122, .08) 25%, transparent 25% 50%, rgba(15, 123, 220, .08) 50% 75%, transparent 75%),
    #f8fffb;
  background-size: 28px 28px;
  font-weight: 800;
}

.wechat-qr-img {
  display: block;
  width: min(220px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(33, 166, 122, .24);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.wechat-card strong {
  color: var(--ink);
  font-size: 18px;
}

.wechat-card span {
  color: var(--muted);
  line-height: 1.6;
}

.ghost {
  width: 100%;
  color: var(--muted);
  border-color: var(--line);
  background: var(--soft);
  cursor: not-allowed;
}

.ghost.link {
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.ghost.link:hover {
  border-color: rgba(15, 123, 220, .35);
  box-shadow: 0 12px 28px rgba(15, 123, 220, .12);
}

.disabled-link {
  pointer-events: none;
  opacity: .72;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 48px;
}

.release-panel,
.detail-card,
.download-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 36px rgba(18, 33, 61, .08);
}

.release-panel {
  position: relative;
  padding: 26px;
}

.release-panel h2 {
  padding-right: 90px;
  font-size: 28px;
}

.release-panel p,
.detail-card p,
.download-section p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.detail-card {
  padding: 26px;
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.detail-card ul,
.detail-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}

.download-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px;
}

.product-download {
  display: grid;
  gap: 12px;
  align-items: start;
}

.product-download .button {
  width: fit-content;
}

.product-download span {
  color: var(--muted);
  font-size: 14px;
}

.ad-section {
  padding-top: 46px;
}

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

.ad-card,
.ad-strip {
  border: 1px solid rgba(244, 161, 42, .32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, .92), rgba(255, 255, 255, .92));
  box-shadow: 0 16px 48px rgba(122, 75, 0, .09);
}

.ad-card {
  min-height: 170px;
  padding: 20px;
}

.ad-card.premium {
  border-color: rgba(15, 123, 220, .28);
  background:
    linear-gradient(135deg, rgba(238, 247, 255, .95), rgba(255, 247, 232, .88));
}

.ad-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 10px;
  border-radius: 999px;
  color: #7a4b00;
  background: #fff2d6;
  font-size: 13px;
  font-weight: 800;
}

.ad-card p,
.ad-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.ad-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 28px;
}

.ad-strip h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

.split-section.support-close {
  grid-template-columns: 1fr;
  align-items: center;
}

.split-section#support {
  grid-template-columns: 1fr;
  align-items: center;
}

.split-section#support > div:first-child {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.split-section#support .donate-box {
  justify-self: center;
  width: min(560px, 100%);
  margin-top: 4px;
}

.split-section p,
.custom p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.donate-box {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.donate-illustration {
  width: 190px;
  max-width: 42%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.pay-qr-img {
  display: block;
  width: min(260px, 46%);
  max-height: 360px;
  border: 1px solid rgba(33, 166, 122, .22);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.donate-box strong,
.donate-box span {
  display: block;
}

.donate-box span {
  margin-top: 6px;
  color: var(--muted);
}

.donate-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.donate-options span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(244, 161, 42, .35);
  border-radius: 999px;
  color: #7a4b00;
  background: #fff7e8;
  font-size: 14px;
  font-weight: 700;
}

.donate-options.playful span {
  flex: 1 1 148px;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: 18px 14px;
  border-color: rgba(239, 108, 0, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 1), rgba(255, 255, 255, .96));
  color: #5f3b00;
  text-align: center;
  box-shadow: 0 10px 24px rgba(122, 75, 0, .08);
}

.donate-options.playful {
  justify-content: center;
  gap: 14px;
  max-width: 980px;
  margin: 24px auto 0;
}

.donate-options b {
  display: block;
  margin-right: 0;
  margin-bottom: 8px;
  color: #ef6c00;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.donate-options small {
  display: block;
  color: #7a4b00;
  font-size: 16px;
  font-weight: 800;
}

.support-close {
  padding-top: 26px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 130px;
  aspect-ratio: 1;
  border: 1px dashed #aab8c8;
  border-radius: 8px;
  color: var(--muted);
  background:
    linear-gradient(45deg, transparent 46%, rgba(15, 123, 220, .08) 46% 54%, transparent 54%),
    #f8fbfe;
}

.custom {
  margin-bottom: 56px;
  padding: 44px;
  border: 1px solid rgba(219, 228, 238, .92);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow);
}

.custom p {
  max-width: 820px;
}

.closing-line {
  padding-top: 4px;
  color: var(--ink) !important;
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.pi-app,
.boss-console {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.pi-app-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 58px 0 28px;
}

.pi-app-head h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.pi-head-actions,
.boss-login {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.boss-login input {
  min-height: 44px;
  min-width: 240px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.pi-workbench {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 52px;
}

.pi-workbench.relaxed {
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
}

.ai-fill-panel {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid rgba(15, 123, 220, .24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 247, 255, .94) 58%, rgba(242, 255, 249, .92)),
    #fff;
  box-shadow: 0 16px 48px rgba(18, 33, 61, .1);
}

.ai-fill-panel h2 {
  font-size: clamp(26px, 3.6vw, 40px);
}

.ai-fill-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.ai-fill-box {
  display: grid;
  gap: 12px;
}

.ai-fill-box textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(15, 123, 220, .22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.7;
  resize: vertical;
}

.ai-fill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ai-fill-actions span {
  color: var(--muted);
  font-size: 14px;
}

.pi-form,
.pi-preview-shell,
.boss-table-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 36px rgba(18, 33, 61, .08);
}

.pi-form {
  padding: 20px;
}

.form-section + .form-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-section h2,
.boss-table-card h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

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

.span-2 {
  grid-column: 1 / -1;
}

.form-hint {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pi-form label,
.full-field {
  display: grid;
  gap: 7px;
  color: #314156;
  font-size: 14px;
  font-weight: 800;
}

.pi-form input,
.pi-form select,
.pi-form textarea,
.boss-table-card input {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.pi-form textarea {
  resize: vertical;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.ghost.compact {
  width: auto;
  min-height: 36px;
  padding: 0 12px;
}

.item-list {
  display: grid;
  gap: 12px;
}

.item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 66px 78px 70px;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(219, 228, 238, .9);
  border-radius: 8px;
  background: #fbfdff;
}

.item-row label:nth-child(1) {
  grid-column: 1 / 3;
}

.item-row label:nth-child(2) {
  grid-column: 3 / 6;
}

.item-row label:nth-child(3) {
  grid-column: 2 / 3;
}

.item-row label:nth-child(4) {
  grid-column: 3 / 4;
}

.item-row label:nth-child(5) {
  grid-column: 4 / 5;
}

.item-row .remove-item {
  grid-column: 5 / 6;
}

.item-row label {
  min-width: 0;
}

.item-row input {
  min-width: 0;
}

.file-picker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.file-picker input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  color: #fff;
  background: #1f5a86;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.file-name {
  overflow: hidden;
  color: #314156;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-item {
  min-width: 70px;
  padding-inline: 10px;
}

.pi-preview-shell {
  overflow: hidden;
  position: sticky;
  top: 92px;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.preview-actions .button {
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.pi-paper {
  min-height: 760px;
  padding: 24px;
  background: #fff;
}

.pi-paper.exporting {
  width: 980px;
  min-height: auto;
  padding: 28px;
  box-shadow: none;
}

.pi-paper,
.pi-paper table,
.pi-paper td {
  color: #1d2c3d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.38;
}

.pi-doc-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 3px solid #14213d;
}

.pi-doc-hero h2 {
  margin: 0 0 6px;
  color: #14213d;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.pi-doc-hero strong {
  color: #14213d;
  font-size: 17px;
  font-weight: 800;
}

.pi-doc-hero p {
  min-width: 210px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #d8e3ec;
  color: #14213d;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.pi-section-title {
  margin-bottom: 10px;
  padding: 8px 10px;
  color: #fff;
  background: #1f527a;
  font-weight: 800;
}

.pi-section-title {
  margin-top: 10px;
  font-size: 15px;
}

.pi-info-table,
.pi-party-table,
.pi-summary-table,
.pi-terms-table {
  width: 100%;
  margin-bottom: 10px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pi-info-table th,
.pi-info-table td,
.pi-party-table th,
.pi-party-table td,
.pi-summary-table th,
.pi-summary-table td,
.pi-terms-table th,
.pi-terms-table td {
  padding: 8px;
  border: 1px solid #5d7285;
  vertical-align: top;
  word-break: break-word;
}

.pi-info-table th,
.pi-party-table th,
.pi-summary-table th,
.pi-terms-table th,
.pi-doc-table th {
  color: #102238;
  background: #d8eaf7;
  font-weight: 700;
}

.pi-info-table th,
.pi-terms-table th {
  width: 18%;
  text-align: left;
}

.pi-party-table td {
  min-height: 76px;
}

.pi-summary-table th {
  width: 76%;
  text-align: right;
}

.pi-summary-table td {
  text-align: right;
}

.pi-summary-table .grand-total th,
.pi-summary-table .grand-total td {
  color: #9b3d00;
  background: #fff2c8;
  font-weight: 800;
}

.pi-doc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}

.pi-doc-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.pi-doc-head h2 span {
  font-size: 18px;
}

.pi-doc-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 18px 0;
}

.pi-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.pi-party-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.pi-party-grid h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.pi-party-grid p {
  margin: 0 0 6px;
  color: #314156;
  line-height: 1.48;
  word-break: break-word;
}

.pi-doc-meta p,
.pi-doc-terms p {
  margin: 0;
  color: #314156;
  line-height: 1.55;
}

.pi-doc-table,
.boss-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pi-doc-table th,
.pi-doc-table td,
.boss-table th,
.boss-table td {
  padding: 8px;
  border: 1px solid #5d7285;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.pi-doc-table th,
.boss-table th {
  color: var(--ink);
  text-align: center;
}

.pi-doc-table th:nth-child(1),
.pi-doc-table td:nth-child(1) {
  width: 48px;
  text-align: center;
}

.pi-doc-table th:nth-child(2),
.pi-doc-table td:nth-child(2) {
  width: 78px;
  text-align: center;
}

.pi-doc-table th:nth-child(5),
.pi-doc-table td:nth-child(5),
.pi-doc-table th:nth-child(6),
.pi-doc-table td:nth-child(6) {
  width: 62px;
  text-align: center;
}

.pi-doc-table th:nth-child(7),
.pi-doc-table td:nth-child(7),
.pi-doc-table th:nth-child(8),
.pi-doc-table td:nth-child(8) {
  width: 104px;
  text-align: right;
}

.pi-doc-table tfoot td {
  color: var(--ink);
  font-weight: 900;
}

.pi-product-img {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid #d4dee8;
  background: #fff;
}

.no-image {
  display: inline-block;
  color: #6b7b8c;
  font-size: 11px;
  line-height: 1.2;
}

.pi-doc-terms {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.pi-signature {
  width: 320px;
  margin: 18px 0 0 auto;
  text-align: center;
}

.pi-signature p {
  min-height: 28px;
  margin: 0 0 8px;
  color: #1d2c3d;
}

.pi-signature span {
  display: block;
  padding-top: 8px;
  border-top: 2px solid #5d7285;
  color: #6b7b8c;
  font-size: 12px;
}

.captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 33, 61, .42);
  backdrop-filter: blur(4px);
}

.captcha-dialog {
  position: relative;
  width: min(380px, 100%);
  padding: 24px;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(18, 33, 61, .28);
}

.captcha-dialog h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 24px;
}

.captcha-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.captcha-question {
  display: grid;
  place-items: center;
  min-height: 58px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #fff;
  background: #1f527a;
  font-size: 26px;
  font-weight: 900;
}

.captcha-input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  text-align: center;
}

.captcha-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.captcha-error {
  display: block;
  min-height: 20px;
  margin-top: 10px;
  color: #b42318;
  font-weight: 700;
  text-align: center;
}

.boss-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 33, 61, .46);
  backdrop-filter: blur(4px);
}

.boss-detail-dialog {
  overflow: auto;
  width: min(1080px, 100%);
  max-height: min(88vh, 900px);
  padding: 24px;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(18, 33, 61, .3);
}

.boss-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-right: 42px;
}

.boss-detail-head h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.boss-detail-head span {
  color: var(--muted);
  font-weight: 800;
}

.boss-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.boss-detail-grid section,
.boss-detail-products {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.boss-detail-grid h3,
.boss-detail-products h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.boss-detail-grid p {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 8px;
  color: #314156;
  line-height: 1.5;
}

.boss-detail-grid b {
  color: var(--ink);
}

.boss-detail-products {
  margin-top: 14px;
}

.boss-product-img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

.stat-card {
  padding: 22px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.boss-table-card {
  padding: 22px;
  margin-bottom: 50px;
}

.table-wrap {
  overflow-x: auto;
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .pi-app-head,
  .ai-fill-panel,
  .pi-form,
  .preview-toolbar {
    display: none !important;
  }

  .pi-app,
  .pi-workbench,
  .pi-preview-shell {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .pi-paper {
    min-height: auto;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .site-header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .tool-hero,
  .sponsor-hero,
  .idea-section,
  .web-version-detail,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

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

  .ad-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .pi-app-head,
  .pi-workbench,
  .ai-fill-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pi-preview-shell {
    position: static;
  }

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

}

@media (max-width: 560px) {
  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .activity {
    grid-column: auto;
  }

  .donate-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom {
    padding: 28px;
  }

  .manifesto-section {
    padding: 40px 22px;
  }

  .manifesto-lines span {
    width: 100%;
    border-radius: 8px;
  }

  .idea-section {
    padding: 30px 22px;
  }

  .wechat-card {
    justify-items: center;
  }

  .wechat-qr {
    width: min(210px, 100%);
  }

  .field-grid,
  .pi-doc-meta,
  .pi-party-grid {
    grid-template-columns: 1fr;
  }

  .item-row {
    grid-template-columns: 1fr;
  }

  .pi-paper {
    padding: 18px;
  }
}
