    :root {
      --bg: #f6f7f4;
      --ink: #18221e;
      --muted: #77817b;
      --line: #e2e7e1;
      --green: #b9f36b;
      --dark: #17241d;
      --white: #fff;
      --mono: ui-monospace, "SF Mono", "DM Mono", Menlo, Consolas, monospace;
      --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
    button, textarea { font: inherit; }
    .wrap { max-width: 1560px; margin: auto; padding: 0 40px; }
    .nav { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .brand { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 18px; letter-spacing: -.5px; }
    .logo { width: 31px; height: 31px; background: var(--dark); color: var(--green); border-radius: 9px; display: grid; place-items: center; font-size: 18px; }
    .hero { padding: 62px 0 38px; display: flex; justify-content: space-between; align-items: end; }
    .eyebrow { font: 11px var(--mono); letter-spacing: 1.3px; color: #698046; text-transform: uppercase; }
    .hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.14; letter-spacing: -2px; margin: 14px 0 12px; }
    .hero h1 span { color: #8aab5e; }
    .hero p { margin: 0; color: var(--muted); font-size: 14px; }
    .hero p.hero-en { margin-top: 5px; font-size: 12px; color: #9aa29c; }
    .brand-en { font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
    .badge { border: 1px solid var(--line); border-radius: 30px; padding: 9px 13px; font: 11px var(--mono); color: #5e6a61; background: #fff9; white-space: nowrap; }
    .badge i { display: inline-block; background: #8bd349; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; }
    .layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding-bottom: 58px; }
    .sidebar, .panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
    .sidebar { padding: 18px 12px; height: max-content; }
    .side-title { font: 10px var(--mono); color: #9aa29c; letter-spacing: 1px; padding: 4px 10px 12px; }
    .tool { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; background: transparent; color: #66716a; padding: 12px 10px; border-radius: 9px; text-align: left; cursor: pointer; font-size: 13px; }
    .tool:hover { background: #f5f7f2; }
    .tool.active { background: #eef7e3; color: #28371d; font-weight: 700; }
    .ico { width: 25px; height: 25px; display: grid; place-items: center; background: #f2f4f0; border-radius: 7px; font: 11px var(--mono); color: #71805f; }
    .active .ico { background: var(--green); color: #27371b; }
    .tool small { margin-left: auto; font: 9px var(--mono); color: #9aa29c; }
    .tool-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
    .tool .tool-en { margin-left: 0; font: 9px var(--sans); color: #9aa29c; font-weight: 400; letter-spacing: 0; }
    .tool.active .tool-en { color: #6b8552; }
    .side-foot { border-top: 1px solid var(--line); margin: 14px 5px 0; padding: 14px 5px 2px; font-size: 11px; line-height: 1.7; color: #939b95; }
    .panel { overflow: hidden; min-width: 0; }
    .editors, .editor { min-width: 0; }
    .editor { overflow: hidden; }
    .panelhead { min-height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 11px 22px; gap: 10px 16px; }
    .toolname { font-weight: 700; font-size: 15px; }
    .toolsub { font-size: 11px; color: var(--muted); margin-left: 9px; font-weight: 400; }
    .actions { display: flex; gap: 7px; align-items: center; flex: none; }
    .btn { background: #fff; border: 1px solid #d2dccc; border-radius: 8px; padding: 9px 14px; font-size: 12px; font-weight: 600; color: #384637; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(23, 36, 29, .06); transition: border-color .15s, color .15s, box-shadow .15s, transform .15s; }
    .btn:hover { border-color: #94b46e; color: #203018; box-shadow: 0 3px 8px rgba(46, 78, 32, .12); transform: translateY(-1px); }
    .btn:active { transform: translateY(0); }
    .btn.mode-active { background: var(--dark); border-color: var(--dark); color: #dcf7b4; box-shadow: 0 2px 6px rgba(23, 36, 29, .18); }
    .btn.mode-active:hover { color: #fff; border-color: #31492c; }
    #clear { color: #9a5448; border-color: #e7d5cf; }
    #clear:hover { border-color: #cf9586; color: #80352a; box-shadow: 0 3px 8px rgba(128, 53, 42, .1); }
    #copy { font-size: 10px; font-weight: 500; color: #66716a; box-shadow: none; }
    .headright { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: flex-end; background: #f5f8f2; border: 1px solid #e0e9d8; border-radius: 11px; padding: 7px 9px; }
    .options { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .opt-label { font-size: 11px; font-weight: 600; color: #66745f; margin-right: 2px; }
    .opt { background: #fff; border: 1px solid #d2dccc; border-radius: 20px; padding: 6px 11px; font-size: 11px; font-weight: 600; color: #465342; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(23, 36, 29, .05); transition: border-color .15s, color .15s, background .15s; }
    .opt:hover { border-color: #94b46e; color: #203018; }
    .opt.active { background: var(--dark); border-color: var(--dark); color: #dcf7b4; box-shadow: 0 2px 5px rgba(23, 36, 29, .16); }
    .editors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
    .editor { display: flex; flex-direction: column; }
    .editor + .editor { border-left: 1px solid var(--line); }
    .edhead { height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font: 10px var(--mono); color: #7d8780; border-bottom: 1px solid #eff1ed; }
    .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #a6d762; margin-right: 7px; }
    .counter { font-size: 10px; color: #a3aaa5; }
    textarea { resize: vertical; height: 62vh; min-height: 540px; max-height: 900px; border: 0; outline: 0; padding: 18px; background: transparent; color: #36423a; font: 12px/1.8 var(--mono); white-space: pre; tab-size: 2; }
    textarea::placeholder { color: #bcc3bc; }
    .out { min-height: 540px; height: 62vh; max-height: 900px; overflow: auto; padding: 18px; font: 12px/1.8 var(--mono); color: #36423a; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
    .out.empty { color: #bdc4bd; }
    .out.error { color: #a32d2d; }
    .json-tree { white-space: normal; }
    .json-line { display: block; min-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font: 13px/1.6 var(--mono); }
    .json-line > span { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
    .json-line[data-comma="true"]:after { content: ","; }
    .json-toggle { width: 12px; flex: none; border: 0; background: none; padding: 0; color: #8b9b79; cursor: pointer; font: 12px var(--mono); }
    .json-key { color: #8066a8; }
    .json-string { color: #54845c; }
    .json-number { color: #bd7546; }
    .json-children.collapsed { display: none; }

    /* ---- SEO 可抓取文本区 ---- */
    .seo-content { margin-top: 34px; padding: 26px 0 56px; border-top: 1px solid var(--line); color: #4a554e; }
    .seo-content h2 { font-size: 20px; letter-spacing: -.3px; margin: 26px 0 10px; color: var(--ink); }
    .seo-content h3 { font-size: 15px; margin: 22px 0 8px; color: var(--ink); }
    .seo-content h4 { font-size: 13px; margin: 14px 0 4px; color: #354725; }
    .seo-content p, .seo-content li { font-size: 13px; line-height: 1.9; max-width: 920px; }
    .seo-content ul { padding-left: 20px; max-width: 920px; }
    .seo-content li { margin: 3px 0; }
    .seo-content a { color: #3d6b2a; text-decoration: none; }
    .seo-content a:hover { text-decoration: underline; }
    .seo-crumb { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
    .seo-crumb span { margin: 0 8px; }
    .seo-lang-block { margin: 16px 0; }
    .seo-faq { padding: 10px 0; border-bottom: 1px dashed var(--line); }
    .seo-note { font-size: 12px !important; color: var(--muted); }
    .seo-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; }
    @media (max-width: 720px) { .seo-tools { grid-template-columns: 1fr; } }

    .regexbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; padding: 14px 22px; border-bottom: 1px solid var(--line); background: #fbfcf9; }
    .regexbar[hidden] { display: none; }
    .rx-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
    .rx-field label { font: 10px var(--mono); color: #99a19a; }
    .rx-field input { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font: 12px var(--mono); color: #2f3a32; background: #fff; outline: 0; }
    .rx-field input:focus { border-color: #a9c984; }
    .rx-pattern { width: min(460px, 52vw); }
    .rx-flags { width: 92px; }
    .rx-templates { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
    .rx-summary { font: 11px var(--mono); color: #6b7a69; margin-bottom: 12px; }
    .rx-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
    .rx-match { background: #fdf0c7; border-radius: 3px; }
    .rx-group { border-radius: 3px; padding: 1px 0; }
    .rx-group-0 { background: #d8f0c5; color: #2c5224; }
    .rx-group-1 { background: #d9e8fb; color: #24466e; }
    .rx-group-2 { background: #f7d9e8; color: #77294e; }
    .rx-group-3 { background: #e8def8; color: #4d3477; }
    .rx-group-4 { background: #fbe3cf; color: #7b4520; }
    .rx-group-5 { background: #d5eeed; color: #20524e; }
    .rx-list { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 5px; }
    .rx-match-item { font: 11px/1.6 var(--mono); color: #66716a; overflow-wrap: anywhere; }
    .panelbottom { border-top: 1px solid var(--line); padding: 13px 20px; display: flex; justify-content: space-between; gap: 12px; color: #929b94; font-size: 10px; }
    footer { border-top: 1px solid var(--line); padding: 19px 0 30px; display: flex; justify-content: space-between; gap: 10px; color: #939b95; font-size: 10px; }
    .toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--dark); color: white; padding: 10px 15px; border-radius: 8px; font-size: 12px; opacity: 0; transition: .2s; pointer-events: none; }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }
    @media (max-width: 720px) {
      .wrap { padding: 0 17px; }
      .nav { height: 64px; }
      .hero { padding: 42px 0 26px; display: block; }
      .badge { display: inline-block; margin-top: 20px; }
      .layout { grid-template-columns: 1fr; gap: 13px; }
      .sidebar { display: flex; overflow: auto; padding: 8px; gap: 4px; }
      .side-title, .side-foot { display: none; }
      .tool { min-width: max-content; width: auto; padding: 9px; }
      .tool small { display: none; }
      .editors { grid-template-columns: 1fr; }
      .editor + .editor { border-left: 0; border-top: 1px solid var(--line); }
      textarea, .out { min-height: 300px; height: 42vh; max-height: 60vh; }
      .panelhead { padding: 10px 14px; }
      .headright { justify-content: flex-start; }
      .toolsub { display: none; }
      .actions { gap: 5px; }
      .btn { padding: 7px 8px; }
      footer { line-height: 1.7; }
    }
