:root {
  color-scheme: light;
  --ink: #24352f;
  --muted: #586c61;
  --green: #176b68;
  --green-dark: #0f514e;
  --line: #e1e9e4;
  --orange: #f5a524;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7faf8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ef9b1c; outline-offset: 5px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; background: white; padding: 10px; z-index: 20; }
.skip-link:focus { top: 10px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .page, .site-footer { width: min(1152px, calc(100% - 64px)); margin-inline: auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; white-space: nowrap; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: 7px; }
nav a { padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
nav a:hover { background: #f2f7f4; }
nav a[aria-current] { background: #e9f3ee; color: var(--green); }
.page { padding-block: 48px 38px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 38px; }
.eyebrow { color: var(--green); letter-spacing: 2px; font-size: 12px; font-weight: 750; margin-bottom: 10px; }
h1 { font-size: clamp(30px, 3.5vw, 40px); letter-spacing: -1px; line-height: 1.3; }
.intro { margin-top: 12px; color: var(--muted); }
.collection-note { display: inline-flex; gap: 9px; align-items: center; padding: 12px 17px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: #fff; white-space: nowrap; }
.collection-note img { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-heading h2, .guide h2, .timing-note h2 { font-size: 17px; font-weight: 750; }
.section-heading > span { font-size: 13px; color: var(--muted); }
.tool-list { display: grid; gap: 20px; }
.tool-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 6px 20px #21493805; }
.tool-heading { display: flex; gap: 16px; align-items: center; }
.tool-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; color: var(--green); border-radius: 15px; background: #e9f4ee; }
.tool-icon svg { width: 30px; height: 30px; }
.tool-icon img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.tool-title-line { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; }
.tool-title-line h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.5px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid #dce9e0; color: var(--green); background: #f1f8f4; white-space: nowrap; }
.tool-meta { color: var(--muted); font-size: 13px; margin-top: 5px; }
.tool-description { margin-top: 22px; color: #42574e; line-height: 1.8; }
.feature-list { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; color: #43564d; }
.feature-list li { display: flex; gap: 9px; }
.feature-list li::before { content: "✓"; font-weight: 800; color: var(--green); }
.download-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.download-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--green); color: white; font-size: 15px; font-weight: 700; min-height: 48px; padding: 11px 21px; border-radius: 10px; transition: background .15s; }
.download-primary:hover { background: var(--green-dark); }
.download-primary svg { width: 18px; height: 18px; }
.download-secondary { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--green); padding: 10px 4px; }
.download-info { color: var(--muted); font-size: 12px; margin-top: 11px; }
.download-info strong { font-weight: 600; }
.tool-details { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 14px; }
.tool-details summary { cursor: pointer; font-weight: 650; }
.detail-content { margin-top: 12px; color: var(--muted); }
.detail-content p + p { margin-top: 10px; }
.detail-content a { text-decoration: underline; color: var(--green); }
kbd { font-family: inherit; color: #2f5147; background: #eff4f1; border: 1px solid #d9e3de; border-bottom-width: 2px; border-radius: 5px; font-size: 12px; padding: 2px 6px; white-space: nowrap; }
.more-tools { display: flex; align-items: center; gap: 15px; padding: 24px 2px; }
.more-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px dashed #b8cbbf; border-radius: 12px; font-size: 23px; color: #7e988a; flex: 0 0 auto; }
.more-tools h3 { font-size: 14px; font-weight: 650; }
.more-tools p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.guide { margin-top: 42px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.guide-heading { display: flex; align-items: center; gap: 9px; }
.guide-heading > span { color: var(--green); font-size: 23px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 23px 0; display: grid; gap: 22px; }
.steps li { position: relative; padding-left: 34px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-size: 12px; font-weight: 700; color: #769b89; line-height: 26px; }
.steps h3 { font-size: 14px; font-weight: 700; }
.steps p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 5px; }
.local-note { padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 9px; font-size: 12px; color: var(--muted); }
.local-note > span { color: var(--green); }
.timing-note { background: #eef4f0; border: 1px solid #dce8df; border-radius: 14px; padding: 22px 26px; margin-top: 6px; }
.timing-note h2 { font-size: 15px; }
.timing-note > div p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.timing-example { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; font-size: 12px; }
.timing-example span { background: white; border: 1px solid #dae5df; border-radius: 6px; padding: 4px 10px; }
.timing-example .loop-wait { background: #fff6e1; border-color: #f0d695; color: #785417; }
.timing-example b { font-weight: 400; color: #739281; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--green); }
@media (max-width: 940px) {
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guide { margin: 0 0 24px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 620px) {
  .header-inner, .page, .site-footer { width: calc(100% - 32px); }
  .header-inner { padding-block: 14px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 17px; }
  nav { width: 100%; gap: 4px; }
  nav a { flex: 1; text-align: center; padding: 7px 10px; }
  .page { padding-top: 30px; }
  .page-heading { margin-bottom: 25px; }
  .collection-note { display: none; }
  .intro { font-size: 14px; }
  .tool-card { padding: 20px; border-radius: 14px; }
  .tool-heading { gap: 12px; }
  .tool-icon { width: 47px; height: 47px; border-radius: 12px; }
  .tool-title-line h3 { font-size: 20px; }
  .download-primary { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .guide { padding: 20px; border-radius: 14px; }
  .timing-note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.tool-miniapp-entry{display:flex;align-items:center;gap:20px;padding:14px 18px;margin-top:22px;background:#f0f4e8;border:1px solid #dbe5d0;border-radius:16px}.tool-miniapp-entry .miniapp-code-button{width:132px}.tool-miniapp-copy{min-width:0}.tool-miniapp-copy b{font-size:16px;color:#22665c}.tool-miniapp-copy p{font-size:13px;line-height:1.8;color:#64766b;margin:7px 0}.tool-miniapp-copy small{font-size:11px;color:#7e9081}
@media(max-width:620px){.tool-miniapp-entry{gap:14px;padding:14px}.tool-miniapp-entry .miniapp-code-button{width:112px}.tool-miniapp-copy b{font-size:14px}.tool-miniapp-copy p{font-size:11px}.tool-miniapp-copy small{font-size:10px}}
