      @font-face {
          font-family: "Manrope";
          font-style: normal;
          font-weight: 200 800;
          font-display: swap;
          src: url("manrope-latin-wght.woff2") format("woff2");
          unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
      }

      :root {
          --page-bg: #f5f2ea;
          --paper: #fbfaf6;
          --surface: rgba(255, 255, 255, 0.78);
          --surface-strong: rgba(255, 255, 255, 0.92);
          --ink: #171a1f;
          --muted: rgba(23, 26, 31, 0.62);
          --muted-2: rgba(23, 26, 31, 0.42);
          --line: rgba(23, 26, 31, 0.08);
          --soft-line: rgba(23, 26, 31, 0.06);
          --primary: #00a1d6;
          --primary-hover: #0088b7;
          --accent: #b88453;
          --bili-blue: #00a1d6;
          --bili-blue-dark: #0088b7;
          --bili-blue-soft: rgba(0, 161, 214, 0.10);
          --success: #21855b;
          --error: #c2413a;
          --code-bg: #f7f6ef;
          --max: 1200px;
          --nav-height: 74px;
          --radius-panel: 32px;
          --radius-card: 28px;
          --radius-control: 16px;
          --shadow: 0 18px 48px rgba(28, 31, 36, 0.08);
          --shadow-soft: 0 14px 34px rgba(28, 31, 36, 0.06);
      }

      * {
          box-sizing: border-box;
      }

      html {
          scroll-behavior: smooth;
          scrollbar-gutter: stable;
          overflow-y: scroll;
      }

      body {
          margin: 0;
          background:
              linear-gradient(135deg, #fffaf1 0%, #f8f6f1 48%, #eef4f1 100%);
          background-attachment: fixed;
          color: var(--ink);
          font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
          font-size: 16px;
          font-weight: 400;
          line-height: 1.55;
          letter-spacing: -0.1px;
      }

      a {
          color: inherit;
          text-decoration-thickness: 1px;
          text-underline-offset: 4px;
      }

      .skip-link {
          position: absolute;
          left: 16px;
          top: -60px;
          z-index: 20;
          padding: 10px 14px;
          background: var(--ink);
          color: var(--surface);
          border-radius: 6px;
      }

      .skip-link:focus {
          top: 16px;
      }

      .site-header {
          position: sticky;
          top: 0;
          z-index: 10;
          padding-top: 18px;
          background: transparent;
      }

      .result-page .site-header {
          position: relative;
          top: auto;
      }

      .site-nav {
          position: relative;
          width: min(var(--max), calc(100% - 40px));
          min-height: var(--nav-height);
          margin: 0 auto;
          padding: 0 18px;
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: 18px;
          border: 1px solid rgba(23, 26, 31, 0.06);
          border-radius: 999px;
          background: linear-gradient(120deg, rgba(255,255,255,0.88), rgba(251,250,246,0.72));
          box-shadow: var(--shadow-soft);
          backdrop-filter: blur(18px);
      }

      .brand-mark {
          display: flex;
          align-items: center;
          gap: 12px;
          flex: 0 0 auto;
          text-decoration: none;
          white-space: nowrap;
      }

      .brand-dot {
          position: relative;
          width: 32px;
          height: 32px;
          border-radius: 11px;
          background:
              radial-gradient(circle at 28% 20%, rgba(255,255,255,0.9), transparent 42%),
              linear-gradient(160deg, #0978a0, #00a1d6);
          box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
          flex: 0 0 auto;
      }

      .brand-dot::after {
          content: "";
          position: absolute;
          inset: 7px;
          border: 1.6px solid rgba(255,255,255,0.74);
          border-radius: 8px;
      }

      .brand-copy {
          display: block;
      }

      .brand-copy strong {
          display: block;
          font-size: 15px;
          line-height: 1.2;
          font-weight: 400;
          color: var(--ink);
      }

      .nav-links {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          display: flex;
          align-items: center;
          gap: 28px;
          color: var(--ink);
          font-size: 15px;
          font-weight: 700;
          justify-content: center;
      }

      .nav-links a {
          position: relative;
          display: inline-flex;
          align-items: center;
          min-height: 44px;
          text-decoration: none;
          color: var(--ink);
          transition: color 180ms ease;
      }

      .nav-links a::after {
          content: "";
          position: absolute;
          left: 0;
          right: 0;
          bottom: 2px;
          height: 2px;
          border-radius: 999px;
          background: transparent;
          transition: background-color 180ms ease;
      }

      .nav-links a:hover {
          color: var(--ink);
      }
      .nav-links a:hover::after {
          background: rgba(24, 27, 31, 0.9);
      }

      .nav-controls {
          display: flex;
          align-items: center;
          justify-content: flex-end;
          margin-left: auto;
      }

      .nav-language {
          position: relative;
          z-index: 1;
          display: flex;
          align-items: center;
          flex: 0 0 auto;
      }

      .language-switch {
          display: inline-flex;
          align-items: center;
          gap: 0;
          min-height: 34px;
          padding: 0 9px;
          border: 1px solid rgba(23, 26, 31, 0.10);
          border-radius: 999px;
          background: rgba(255, 255, 255, 0.42);
      }

      .language-option,
      .language-target {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-height: 28px;
          border-radius: 999px;
          color: var(--muted);
          font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
          font-size: 12px;
          font-weight: 800;
          line-height: 1;
          text-decoration: none;
          transition: color 180ms ease;
      }

      .language-option {
          min-width: 0;
          padding: 0 9px;
      }

      .language-option.is-active {
          color: var(--ink);
      }

      .language-option:not(.is-active):hover,
      .language-target:hover {
          color: var(--primary-hover);
      }

      .language-target {
          display: none;
          gap: 6px;
          min-width: 0;
          padding: 0 10px;
          border: 1px solid rgba(23, 26, 31, 0.10);
          background: rgba(255, 255, 255, 0.40);
          color: var(--ink);
      }

      .hero {
          position: relative;
          min-height: calc(100svh - 202px);
          display: grid;
          align-items: center;
          padding: 30px 0 28px;
          border-bottom: 1px solid rgba(23, 27, 33, 0.08);
          overflow: hidden;
      }

      #tool {
          scroll-margin-top: 106px;
      }

      .result-page .hero {
          min-height: auto;
          padding: 32px 0 18px;
      }

      .hero::before {
          content: "";
          position: absolute;
          inset: 0;
          background:
              linear-gradient(90deg, rgba(23, 26, 31, 0.026) 1px, transparent 1px),
              linear-gradient(180deg, rgba(23, 26, 31, 0.026) 1px, transparent 1px);
          background-size: 48px 48px;
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 78%);
          pointer-events: none;
      }

      .hero-inner {
          position: relative;
          width: min(var(--max), calc(100% - 40px));
          margin: 0 auto;
          display: grid;
          grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
          gap: 38px;
          align-items: center;
      }

      .result-page .hero-inner {
          grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
      }

      .hero-copy,
      .tool-panel {
          animation: rise-in 520ms ease both;
      }

      .tool-panel {
          animation-delay: 90ms;
      }

      .kicker {
          margin: 0 0 18px;
          color: var(--muted);
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-size: 14px;
      }

      h1, h2, h3, h4 {
          margin: 0;
          letter-spacing: 0;
          line-height: 1.16;
      }

      h1 {
          max-width: 760px;
          font-size: 48px;
          font-weight: 800;
          line-height: 1.125;
          letter-spacing: -0.1px;
          overflow-wrap: anywhere;
          word-break: break-word;
      }

      .hero-lede {
          max-width: 640px;
          margin: 22px 0 0;
          color: #2c333d;
          font-size: 19px;
          font-weight: 400;
          line-height: 1.75;
          overflow-wrap: anywhere;
          word-break: break-word;
      }

      h1 span {
          display: block;
      }

      .keyword-line {
          margin: 14px 0 0;
          color: var(--muted);
          font-size: 14px;
          font-weight: 400;
      }

      .tool-panel {
          background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(251,250,246,0.78));
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: var(--radius-panel);
          padding: 26px;
          box-shadow: var(--shadow);
          backdrop-filter: blur(14px);
      }

      .tool-panel-title {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 18px;
          margin-bottom: 18px;
          color: var(--muted);
          font-size: 14px;
      }

      .tool-panel-title strong {
          color: var(--ink);
          font-size: 18px;
          font-weight: 700;
      }

      .input-group {
          display: grid;
          grid-template-columns: 1fr auto;
          gap: 10px;
          margin: 0;
      }

      .screen-reader-text {
          position: absolute;
          width: 1px;
          height: 1px;
          margin: -1px;
          padding: 0;
          overflow: hidden;
          clip: rect(0, 0, 0, 0);
          border: 0;
      }

      input[type="text"],
      input[type="url"],
      input[type="password"],
      input[type="number"] {
          width: 100%;
          min-width: 0;
          min-height: 54px;
          padding: 0 16px;
          border: 1px solid rgba(23, 27, 33, 0.16);
          border-radius: var(--radius-control);
          background: rgba(255,255,255,0.86);
          color: var(--ink);
          font: inherit;
          outline: none;
      }

      input[type="text"]::placeholder,
      input[type="url"]::placeholder,
      input[type="password"]::placeholder,
      input[type="number"]::placeholder {
          color: rgba(23, 27, 33, 0.34);
      }

      input[type="text"]:focus,
      input[type="url"]:focus,
      input[type="password"]:focus,
      input[type="number"]:focus {
          border-color: var(--bili-blue);
          box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.14);
      }

      button,
      .button-link {
          min-height: 50px;
          padding: 0 22px;
          border: 1px solid transparent;
          border-radius: 999px;
          background: var(--primary);
          color: #fff;
          font: inherit;
          font-size: 14px;
          font-weight: 700;
          line-height: 1.4;
          cursor: pointer;
          white-space: nowrap;
          box-shadow: 0 12px 24px rgba(0, 161, 214, 0.18);
          transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
      }

      button:focus-visible,
      .button-link:focus-visible,
      a:focus-visible {
          outline: 3px solid rgba(0, 161, 214, 0.26);
          outline-offset: 3px;
      }

      button:hover,
      .button-link:hover {
          background: var(--primary-hover);
          box-shadow: 0 16px 30px rgba(0, 161, 214, 0.22);
          transform: translateY(-1px);
      }

      button:disabled {
          background: rgba(23, 27, 33, 0.16);
          color: rgba(23, 27, 33, 0.45);
          cursor: not-allowed;
          box-shadow: none;
          transform: none;
      }

      .secondary-button {
          background: rgba(255,255,255,0.76);
          color: var(--ink);
          border-color: var(--line);
          box-shadow: none;
      }

      .secondary-button:hover {
          background: rgba(255,255,255,0.94);
          border-color: rgba(23, 26, 31, 0.14);
          color: var(--ink);
          box-shadow: var(--shadow-soft);
      }

      .examples {
          margin-top: 18px;
          padding-top: 18px;
          border-top: 1px solid var(--soft-line);
          color: var(--muted);
          font-size: 14px;
      }

      .format-list {
          margin: 8px 0 0;
          padding: 0;
          list-style: none;
          display: grid;
          gap: 6px;
      }

      .code-chip {
          display: inline;
          padding: 2px 6px;
          border-radius: 5px;
          background: rgba(23, 27, 33, 0.06);
          color: var(--ink);
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-weight: 600;
      }

      .result,
      .loading {
          margin-top: 18px;
          padding: 14px 16px;
          border-radius: 18px;
          border: 1px solid var(--line);
          background: rgba(255,255,255,0.62);
      }

      .success {
          border-color: rgba(33, 133, 91, 0.25);
          background: rgba(240, 248, 244, 0.92);
          color: var(--success);
      }

      .error {
          border-color: rgba(194, 65, 58, 0.25);
          background: #fff1ef;
          color: var(--error);
      }

      .download-link {
          display: inline-flex;
          color: var(--primary);
          font-weight: 680;
      }

      .download-status-text {
          color: inherit;
          font-weight: 700;
      }

      .download-actions {
          display: flex;
          flex-wrap: wrap;
          gap: 12px;
          margin-top: 14px;
      }

      .download-action-button {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          min-height: 42px;
          padding: 0 18px;
          border-radius: 14px;
          font-size: 14px;
          font-weight: 700;
          text-decoration: none;
          transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
      }

      .download-action-button--primary {
          border: 1px solid rgba(0, 161, 214, 0.58);
          background: var(--primary);
          color: #fff;
          box-shadow: 0 8px 18px rgba(0, 161, 214, 0.14);
      }

      .download-action-button--secondary {
          border: 1px solid rgba(0, 161, 214, 0.22);
          background: rgba(244, 251, 254, 0.96);
          color: var(--primary);
          box-shadow: 0 2px 6px rgba(28, 31, 36, 0.03);
      }

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

      .download-action-button--primary:hover {
          background: var(--primary-hover);
          border-color: rgba(0, 136, 183, 0.62);
          box-shadow: 0 10px 22px rgba(0, 161, 214, 0.18);
      }

      .download-action-button--secondary:hover {
          background: rgba(255,255,255,0.98);
          border-color: rgba(0, 161, 214, 0.32);
          box-shadow: 0 8px 16px rgba(28, 31, 36, 0.06);
      }

      .download-action-button:focus-visible {
          outline: none;
      }

      .download-action-button--primary:focus-visible {
          box-shadow: 0 0 0 2px rgba(255,255,255,0.86), 0 0 0 4px rgba(0, 161, 214, 0.18);
      }

      .download-action-button--secondary:focus-visible {
          box-shadow: 0 0 0 2px rgba(255,255,255,0.92), 0 0 0 4px rgba(0, 161, 214, 0.16);
      }

      .faq-page #faq {
          scroll-margin-top: 106px;
      }

      .faq-content {
          width: min(var(--max), calc(100% - 40px));
          margin: 0 auto;
          padding: 84px 0 64px;
      }

      .faq-head {
          display: grid;
          gap: 12px;
          max-width: 760px;
          margin-bottom: 34px;
      }

      .faq-head h1 {
          font-size: 42px;
          font-weight: 800;
      }

      .faq-head p {
          margin: 0;
          color: var(--muted);
          font-size: 16px;
          line-height: 1.75;
      }

      .faq-category-grid {
          display: grid;
          gap: 18px;
      }

      .faq-category {
          display: grid;
          grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
          gap: 22px;
          padding: 24px 0;
          border-top: 1px solid var(--line);
      }

      .faq-category h3 {
          font-size: 20px;
          font-weight: 760;
      }

      .faq-list {
          display: grid;
          gap: 10px;
      }

      .faq-item {
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: 18px;
          background: rgba(255,255,255,0.64);
          box-shadow: 0 8px 22px rgba(28, 31, 36, 0.035);
          overflow: hidden;
      }

      .faq-item summary {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 16px;
          padding: 17px 18px;
          color: var(--ink);
          font-size: 16px;
          font-weight: 720;
          cursor: pointer;
          list-style: none;
      }

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

      .faq-item summary::after {
          content: "+";
          display: inline-grid;
          width: 26px;
          height: 26px;
          place-items: center;
          border-radius: 999px;
          background: rgba(0, 161, 214, 0.10);
          color: var(--primary);
          font-size: 18px;
          line-height: 1;
          flex: 0 0 auto;
          transition: transform 160ms ease, background 160ms ease;
      }

      .faq-item[open] summary::after {
          transform: rotate(45deg);
          background: rgba(0, 161, 214, 0.16);
      }

      .faq-item summary:hover {
          color: var(--primary-hover);
      }

      .faq-answer {
          margin: 0;
          padding: 0 18px 18px;
          color: #2c333d;
          line-height: 1.78;
      }

      .plugin-page #plugin {
          scroll-margin-top: 106px;
      }

      .plugin-content {
          width: min(var(--max), calc(100% - 40px));
          margin: 0 auto;
          padding: 76px 0 60px;
          display: grid;
          gap: 28px;
      }

      .plugin-head {
          display: grid;
          gap: 12px;
          max-width: 820px;
      }

      .plugin-kicker {
          margin: 0;
          color: var(--primary-hover);
          font-size: 14px;
          font-weight: 780;
      }

      .plugin-head h1,
      .plugin-head--secondary h2 {
          margin: 0;
          font-size: 42px;
          font-weight: 820;
          line-height: 1.14;
      }

      .plugin-head--secondary {
          padding-top: 28px;
          border-top: 1px solid var(--line);
      }

      .plugin-head p,
      .plugin-section p {
          margin: 0;
          color: var(--muted);
          font-size: 16px;
          line-height: 1.78;
      }

      .plugin-head p {
          line-height: 1.75;
      }

      .plugin-actions {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 12px;
          max-width: 960px;
          padding-top: 18px;
          border-top: 1px solid var(--line);
      }

      .plugin-action {
          display: grid;
          gap: 8px;
          min-height: 94px;
          padding: 16px;
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: 18px;
          background: rgba(255,255,255,0.68);
          color: var(--ink);
          text-decoration: none;
          box-shadow: 0 10px 26px rgba(28, 31, 36, 0.04);
          transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
      }

      .plugin-action:hover {
          transform: translateY(-2px);
          border-color: rgba(0, 161, 214, 0.28);
          box-shadow: 0 14px 34px rgba(28, 31, 36, 0.08);
      }

      .plugin-action strong {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 10px;
          font-size: 17px;
          font-weight: 780;
      }

      .plugin-action span {
          color: var(--muted);
          font-size: 14px;
          line-height: 1.6;
      }

      .plugin-action em {
          color: var(--primary-hover);
          font-style: normal;
          font-size: 13px;
          font-weight: 760;
      }

      .plugin-action--primary {
          background: linear-gradient(135deg, rgba(0, 161, 214, 0.12), rgba(255,255,255,0.82));
          border-color: rgba(0, 161, 214, 0.22);
      }

      .plugin-section {
          display: grid;
          gap: 18px;
          padding: 28px 0 0;
          border-top: 1px solid var(--line);
      }

      .plugin-section-head {
          display: grid;
          gap: 8px;
          max-width: 820px;
      }

      .plugin-section h2 {
          margin: 0;
          font-size: 30px;
          font-weight: 800;
          line-height: 1.22;
      }

      .plugin-steps {
          counter-reset: plugin-step;
          display: grid;
          gap: 0;
          margin: 0;
          padding: 0;
          list-style: none;
      }

      .plugin-steps li {
          counter-increment: plugin-step;
          display: grid;
          grid-template-columns: 42px minmax(0, 1fr);
          gap: 16px;
          padding: 16px 0;
          border-top: 1px solid var(--soft-line);
      }

      .plugin-steps li:first-child {
          border-top: 0;
      }

      .plugin-steps li::before {
          content: counter(plugin-step);
          display: inline-grid;
          width: 34px;
          height: 34px;
          place-items: center;
          border-radius: 50%;
          background: rgba(0, 161, 214, 0.12);
          color: var(--primary-hover);
          font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
          font-size: 15px;
          font-weight: 800;
      }

      .plugin-step-copy {
          display: grid;
          gap: 5px;
      }

      .plugin-step-copy strong {
          font-size: 17px;
          font-weight: 760;
      }

      .plugin-step-copy span {
          color: var(--muted);
          line-height: 1.72;
      }

      .plugin-inline-code {
          display: inline-flex;
          align-items: center;
          padding: 2px 8px;
          border-radius: 999px;
          background: rgba(23, 26, 31, 0.06);
          color: #28313d;
          font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
          font-size: 0.94em;
          font-weight: 700;
      }

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

      .plugin-shot {
          margin: 0;
      }

      .plugin-shot--wide {
          grid-column: 1 / -1;
      }

      .plugin-shot img {
          display: block;
          width: 100%;
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: 14px;
          background: rgba(255,255,255,0.72);
          box-shadow: 0 10px 22px rgba(28, 31, 36, 0.05);
      }

      .plugin-shot figcaption {
          margin-top: 9px;
          color: var(--muted);
          font-size: 14px;
          line-height: 1.58;
      }

      .plugin-step-shot {
          margin-top: 12px;
          max-width: 420px;
      }

      .plugin-step-shot--wide {
          max-width: 620px;
      }

      .plugin-step-shot--narrow {
          max-width: 360px;
      }

      .plugin-step-shot--extension-card {
          max-width: 620px;
      }

      .plugin-step-shot img {
          width: auto;
          max-width: 100%;
      }

      .plugin-step-shot--extension-card img {
          width: auto;
          height: 217px;
      }

      .loading {
          color: var(--muted);
          text-align: center;
      }

      .loading-spinner {
          width: 34px;
          height: 34px;
          border: 3px solid rgba(0, 161, 214, 0.16);
          border-top-color: var(--bili-blue);
          border-radius: 50%;
          animation: spin 900ms linear infinite;
          margin: 8px auto 12px;
      }

      .analysis-container,
      .site-footer {
          width: min(var(--max), calc(100% - 40px));
          margin-left: auto;
          margin-right: auto;
      }

      .section-title {
          font-size: 34px;
          font-weight: 800;
      }

      .analysis-container {
          display: none;
          padding: 42px 0 18px;
      }

      .analysis-container:focus {
          outline: none;
      }

      .grid {
          display: grid;
          gap: 28px;
      }

      .chart-row {
          display: grid;
          grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
          gap: 24px;
          min-width: 0;
          max-width: 100%;
      }

      .chart-row .chart-container:first-child,
      .chart-row .chart-container:nth-child(3) {
          min-height: 390px;
      }

      .chart-container,
      .content-analysis-section {
          background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(251,250,246,0.78));
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: var(--radius-panel);
          padding: 26px;
          box-shadow: var(--shadow-soft);
          min-width: 0;
          max-width: 100%;
      }

      .chart-container h3,
      .content-analysis-section h3 {
          margin-bottom: 18px;
          font-size: 22px;
          font-weight: 720;
      }

      .chart {
          height: 300px;
          width: 100%;
          min-width: 0;
          max-width: 100%;
          overflow: hidden;
      }

      .chart-summary {
          display: none;
      }

      #wordCloudChart {
          position: relative;
      }

      .video-info-container {
          grid-column: 1 / -1;
      }

      .video-info-container .section-title {
          padding-bottom: 18px;
          border-bottom: 1px solid var(--line);
      }

      .video-info-card {
          display: grid;
          gap: 18px;
          padding-top: 18px;
      }

      .video-info-layout {
          display: grid;
          grid-template-columns: minmax(0, 55%) minmax(500px, 45%);
          align-items: start;
          gap: 20px 32px;
      }

      .video-info-layout--no-cover {
          grid-template-columns: 1fr;
      }

      .video-info-main {
          min-width: 0;
          display: grid;
          gap: 14px;
      }

      .video-title {
          margin: 0;
      }

      .video-title a,
      .video-title span {
          display: block;
          font-size: 24px !important;
          font-weight: 760 !important;
          line-height: 1.32;
      }

      .video-title span {
          color: var(--ink) !important;
      }

      .video-title a {
          color: var(--primary) !important;
          text-decoration: none;
      }

      .video-title a:hover {
          color: var(--primary-hover) !important;
          text-decoration: underline;
          text-decoration-thickness: 1.2px;
          text-underline-offset: 0.14em;
      }

      .video-cover-frame {
          display: block;
          width: 100%;
          align-self: center;
          margin: 0;
          border: 1px solid var(--line);
          border-radius: 14px;
          overflow: hidden;
          background: rgba(23, 26, 31, 0.04);
          box-shadow: 0 12px 28px rgba(28, 31, 36, 0.08);
      }

      .video-cover-frame[hidden] {
          display: none !important;
      }

      .video-cover-image {
          display: block;
          width: 100%;
          aspect-ratio: 16 / 9;
          object-fit: cover;
      }

      .info-basic-row,
      .up-info {
          color: var(--muted);
          font-size: 14px;
      }

      .up-info {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          gap: 6px 12px;
      }

      .up-info span {
          display: inline-block;
          margin-right: 0;
      }

      .up-info span[style] {
          color: var(--ink);
      }

      .tags-list {
          display: flex;
          flex-wrap: wrap;
          gap: 9px 8px;
          max-height: 70px;
          overflow: hidden;
      }

      .tag-chip,
      .topic-tag {
          display: inline-flex;
          align-items: center;
          min-height: 31px;
          padding: 0 12px;
          border-radius: 999px;
          background: var(--bili-blue-soft);
          color: #14708a;
          font-size: 12px;
          font-weight: 620;
      }

      .info-stats {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          margin-top: 2px;
          overflow: hidden;
          border: 1px solid var(--line);
          border-radius: 16px;
          background: rgba(23, 27, 33, 0.025);
      }

      .stat-item {
          padding: 10px 12px;
          border-right: 1px solid var(--soft-line);
          border-bottom: 1px solid var(--soft-line);
          background: rgba(255, 255, 255, 0.5);
      }

      .stat-item:nth-child(3n) {
          border-right: 0;
      }

      .stat-item:nth-last-child(-n + 3) {
          border-bottom: 0;
      }

      .stat-value {
          color: var(--primary);
          font-size: 19px;
          font-weight: 760;
          line-height: 1.25;
      }

      .stat-label {
          margin-top: 3px;
          color: var(--muted);
          font-size: 12px;
      }

      .info-row {
          display: grid;
          gap: 8px;
      }

      .info-label {
          color: var(--muted);
          font-size: 14px;
      }

      .info-value {
          color: #2d333b;
          word-break: break-word;
      }

      .info-value.description {
          display: block;
          max-height: 145px;
          overflow-y: auto;
          -webkit-overflow-scrolling: touch;
          overscroll-behavior: contain;
          padding: 13px 14px;
          border-radius: 14px;
          background: rgba(23, 27, 33, 0.035);
          line-height: 1.7;
      }

      .info-value.description::-webkit-scrollbar {
          width: 6px;
      }

      .info-value.description::-webkit-scrollbar-thumb {
          border-radius: 999px;
          background: rgba(23, 27, 33, 0.16);
      }

      .content-analysis-section {
          margin-top: 8px;
          display: grid;
          gap: 18px;
      }

      .analysis-section-head {
          display: grid;
          gap: 16px;
          padding-bottom: 18px;
          border-bottom: 1px solid var(--line);
      }

      .custom-api-control {
          display: grid;
          gap: 2px;
      }

      .custom-api-shell {
          display: grid;
          gap: 8px;
      }

      .custom-api-toggle {
          min-height: 0;
          padding: 0;
          border: 0;
          border-radius: 0;
          background: transparent;
          color: var(--ink);
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 18px;
          box-shadow: none;
          font-size: 15px;
          font-weight: 700;
          list-style: none;
          cursor: pointer;
      }

      .custom-api-toggle::-webkit-details-marker {
          display: none;
      }

      .custom-api-toggle:hover {
          background: transparent;
          color: var(--ink);
          box-shadow: none;
          transform: none;
      }

      .custom-api-toggle-main {
          display: inline-flex;
          align-items: center;
          gap: 10px;
          color: var(--primary);
      }

      .custom-api-toggle-icon {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 12px;
          height: 12px;
          color: transparent;
          font-size: 0;
          line-height: 1;
          transform: none;
          transition: transform 160ms ease;
      }

      .custom-api-toggle-icon::before {
          content: "";
          display: block;
          width: 0;
          height: 0;
          border-top: 4px solid transparent;
          border-bottom: 4px solid transparent;
          border-left: 6px solid var(--primary);
      }

      .custom-api-shell[open] .custom-api-toggle-icon {
          transform: rotate(90deg);
      }

      .custom-api-toggle-status {
          color: var(--muted);
          font-size: 13px;
          font-weight: 600;
      }

      .custom-api-toggle-status[data-status="ready"] {
          color: var(--success);
      }

      .custom-api-toggle-status[data-status="failed"] {
          color: var(--error);
      }

      .custom-api-toggle-status[data-status="pending"] {
          color: var(--primary);
      }

      .custom-api-collapsed-note {
          margin: -4px 0 6px 22px;
          color: rgba(23, 26, 31, 0.48);
          font-size: 13px;
          font-style: italic;
          line-height: 1.5;
      }

      .custom-api-shell[open] + .custom-api-collapsed-note {
          display: none;
      }

      .custom-api-panel {
          display: none;
          gap: 18px;
          padding: 20px;
          border: 1px solid var(--soft-line);
          border-radius: 24px;
          background: rgba(255,255,255,0.62);
      }

      .custom-api-shell[open] .custom-api-panel {
          display: grid;
      }

      .custom-api-panel-grid {
          display: grid;
          gap: 18px;
      }

      .custom-api-block {
          display: grid;
          gap: 14px;
          padding: 18px 18px 20px;
          border: 1px solid var(--soft-line);
          border-radius: 22px;
          background: rgba(255,255,255,0.56);
      }

      .custom-api-block-head {
          display: flex;
          align-items: baseline;
          justify-content: space-between;
          gap: 12px;
          flex-wrap: wrap;
      }

      .custom-api-block-head h3 {
          font-size: 17px;
          font-weight: 740;
      }

      .custom-api-note,
      .config-hint,
      .custom-api-footnote p {
          margin: 0;
          color: var(--muted);
          font-size: 13px;
          line-height: 1.7;
      }

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

      .config-field {
          display: grid;
          gap: 8px;
      }

      .config-field--wide {
          grid-column: 1 / -1;
      }

      .config-label {
          color: var(--ink);
          font-size: 14px;
          font-weight: 650;
      }

      .config-label-row {
          display: inline-flex;
          align-items: center;
          justify-content: flex-start;
          gap: 6px;
          width: auto;
      }

      .config-label-link {
          color: var(--primary);
          font-size: 13px;
          font-weight: 520;
          text-decoration: none;
      }

      .config-label-link:hover {
          text-decoration: underline;
      }

      .config-label-inline-note {
          color: var(--muted);
          font-size: 13px;
          font-weight: 500;
      }

      .config-example {
          display: inline;
          margin-left: 6px;
          color: var(--muted);
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-size: 12px;
          word-break: break-all;
      }

      .custom-api-inline-actions,
      .custom-api-panel-actions {
          display: flex;
          align-items: center;
          gap: 12px;
          flex-wrap: wrap;
      }

      .compact-button {
          min-height: 42px;
          padding: 0 18px;
          border-radius: 14px;
      }

      .connection-indicator {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          min-height: 28px;
          color: var(--muted);
          font-size: 13px;
          font-weight: 600;
      }

      .connection-indicator-dot {
          width: 8px;
          height: 8px;
          border-radius: 999px;
          background: rgba(23, 27, 33, 0.18);
          flex: 0 0 auto;
      }

      .connection-indicator[data-status="ready"] {
          color: var(--success);
      }

      .connection-indicator[data-status="ready"] .connection-indicator-dot {
          background: var(--success);
      }

      .connection-indicator[data-status="failed"] {
          color: var(--error);
      }

      .connection-indicator[data-status="failed"] .connection-indicator-dot {
          background: var(--error);
      }

      .connection-indicator[data-status="testing"],
      .connection-indicator[data-status="pending"] {
          color: var(--primary);
      }

      .connection-indicator[data-status="testing"] .connection-indicator-dot,
      .connection-indicator[data-status="pending"] .connection-indicator-dot {
          background: var(--primary);
      }

      .sampling-mode-group {
          display: flex;
          flex-wrap: wrap;
          gap: 14px 18px;
      }

      .radio-option {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          color: var(--ink);
          font-size: 14px;
          font-weight: 650;
      }

      .radio-option input[type="radio"] {
          margin: 0;
          accent-color: var(--primary);
      }

      .sampling-balance-fields[hidden] {
          display: none !important;
      }

      .custom-api-footnote {
          display: grid;
          gap: 2px;
      }

      .analysis-tabs {
          display: inline-flex;
          flex-wrap: wrap;
          gap: 4px;
          width: max-content;
          max-width: 100%;
          padding: 4px;
          border: 1px solid var(--soft-line);
          border-radius: 999px;
          background: rgba(23, 27, 33, 0.035);
      }

      .analysis-tab {
          min-height: 38px;
          padding: 0 18px;
          border: 0;
          border-radius: 999px;
          background: transparent;
          color: var(--muted);
          font-size: 14px;
          font-weight: 700;
          box-shadow: none;
      }

      .analysis-tab:hover {
          background: rgba(255,255,255,0.92);
          color: var(--ink);
          box-shadow: none;
          transform: none;
      }

      .analysis-tab.is-active,
      .analysis-tab[aria-selected="true"] {
          background: rgba(255,255,255,0.96);
          color: var(--ink);
          box-shadow: none;
      }

      .analysis-tab:focus-visible {
          outline: none;
          box-shadow: 0 0 0 2px rgba(0, 161, 214, 0.14) inset;
      }

      .analysis-panels {
          display: grid;
          gap: 16px;
      }

      .analysis-panel[hidden] {
          display: none !important;
      }

      .analysis-card {
          display: grid;
          gap: 16px;
          min-width: 0;
          padding: 22px;
          border: 1px solid var(--line);
          border-radius: var(--radius-card);
          background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(251,250,246,0.70));
          box-shadow: 0 12px 30px rgba(28, 31, 36, 0.045);
      }

      .analysis-card h3,
      .analysis-card h4 {
          margin: 0;
      }

      .analysis-card--primary {
          padding: 24px;
      }

      .analysis-card-head {
          display: grid;
          gap: 12px;
          align-items: start;
          padding-bottom: 18px;
          border-bottom: 1px solid var(--line);
      }

      .analysis-card-copy {
          display: grid;
          gap: 8px;
          max-width: 680px;
      }

      .analysis-card-title-with-note {
          display: flex;
          flex-wrap: wrap;
          align-items: baseline;
          gap: 6px;
      }

      .analysis-title-note {
          color: var(--muted);
          font-size: 13px;
          font-weight: 520;
          line-height: 1.5;
      }

      .analysis-title-note a {
          color: var(--primary-hover);
          font-weight: 760;
          text-decoration: underline;
          text-underline-offset: 3px;
      }

      .analysis-card-copy p,
      .content-note {
          margin: 0;
          color: var(--muted);
          font-size: 14px;
          line-height: 1.7;
      }

      .analysis-card-copy .full-analysis-note {
          width: fit-content;
          max-width: 100%;
          margin-top: 2px;
          padding: 7px 12px;
          border: 1px solid rgba(7, 155, 211, 0.24);
          border-radius: 6px;
          background: rgba(7, 155, 211, 0.07);
          color: var(--primary-hover);
          font-size: 13px;
          line-height: 1.55;
          font-weight: 400;
      }

      .analysis-actions {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          align-items: center;
          justify-content: flex-start;
          width: max-content;
          max-width: 100%;
      }

      .analysis-card-body {
          display: grid;
          gap: 16px;
      }

      .content-analysis-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-height: 46px;
          padding-inline: 22px;
      }

      .subtitle-upload {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          gap: 10px;
      }

      #uploadStatus,
      .analysis-upload-status {
          display: inline-flex;
          align-items: center;
          min-height: 30px;
          color: var(--muted) !important;
          font-size: 14px;
      }

      .analysis-result-card {
          margin: 0;
          padding: 14px 0 0;
          border-top: 1px solid var(--line);
          animation: rise-in 360ms ease both;
      }

      .analysis-loading {
          min-height: 76px;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 12px;
          padding: 4px 0;
          color: var(--muted);
          text-align: center;
      }

      .analysis-loading .loading-spinner {
          width: 26px;
          height: 26px;
          margin: 0;
      }

      .analysis-content {
          display: grid;
          gap: 14px;
      }

      .result-section {
          padding: 18px 0;
          border-top: 1px solid var(--soft-line);
      }

      .result-section:first-child {
          padding-top: 0;
          border-top: 0;
      }

      .result-section:last-child {
          padding-bottom: 0;
      }

      .result-section-title {
          margin-bottom: 12px;
          color: var(--ink);
          font-size: 18px;
          font-weight: 740;
          line-height: 1.42;
      }

      .result-section-body {
          color: #2d333b;
      }

      .analysis-subsection {
          display: grid;
          gap: 8px;
      }

      .analysis-subsection + .analysis-subsection {
          margin-top: 14px;
      }

      .analysis-subsection-title {
          margin: 0 0 2px;
          color: var(--ink);
          font-size: 16px;
          font-weight: 760;
          line-height: 1.48;
      }

      .analysis-subtitle {
          color: var(--muted);
          font-size: 13px;
          font-weight: 650;
      }

      .markdown-content {
          color: #2d333b;
          font-size: 16px;
          line-height: 1.82;
          overflow-wrap: anywhere;
      }

      .markdown-content > :first-child {
          margin-top: 0;
      }

      .markdown-content > :last-child {
          margin-bottom: 0;
      }

      .markdown-content p,
      .markdown-content ul,
      .markdown-content ol,
      .markdown-content blockquote,
      .markdown-content pre {
          margin: 0 0 12px;
      }

      .markdown-content ul,
      .markdown-content ol {
          padding-left: 1.35em;
      }

      .markdown-content li + li {
          margin-top: 6px;
      }

      .markdown-content strong {
          color: var(--ink);
          font-weight: 740;
      }

      .markdown-content em {
          font-style: italic;
      }

      .markdown-content a {
          color: var(--primary);
          text-decoration: none;
      }

      .markdown-content a:hover {
          text-decoration: underline;
      }

      .markdown-content code {
          padding: 0.12em 0.36em;
          border-radius: 6px;
          background: rgba(23, 27, 33, 0.06);
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-size: 0.92em;
      }

      .markdown-content pre {
          padding: 14px;
          border-radius: 16px;
          background: rgba(23, 27, 33, 0.05);
          overflow-x: auto;
      }

      .share-report-panel {
          display: grid;
          gap: 14px;
          margin-top: 10px;
          padding-top: 22px;
          border-top: 3px double rgba(23, 26, 31, 0.12);
      }

      .share-report-head {
          display: grid;
          gap: 6px;
      }

      .share-report-title {
          margin: 0;
          color: var(--ink);
          font-size: 16px;
          font-weight: 740;
      }

      .share-report-copy {
          margin: 0;
          color: var(--muted);
          font-size: 13px;
          line-height: 1.7;
      }

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

      .share-report-btn {
          min-height: 42px;
          padding: 0 20px;
          border-radius: 14px;
      }

      .share-report-status {
          color: var(--muted);
          font-size: 13px;
          font-weight: 600;
      }

      .share-report-status.is-error {
          color: var(--error);
      }

      .share-report-status.is-success {
          color: var(--success);
      }

      .share-report-output {
          display: grid;
          gap: 12px;
          padding: 14px;
          border: 1px solid rgba(0, 161, 214, 0.12);
          border-radius: 18px;
          background: rgba(244, 251, 254, 0.72);
      }

      .share-report-output[hidden] {
          display: none !important;
      }

      .share-report-link-row {
          display: flex;
          gap: 10px;
          align-items: stretch;
          flex-wrap: wrap;
      }

      .share-report-link {
          flex: 1 1 360px;
          min-height: 42px;
          padding: 10px 14px;
          border: 1px solid var(--soft-line);
          border-radius: 12px;
          background: rgba(255,255,255,0.92);
          color: var(--ink);
          font-size: 13px;
          line-height: 1.5;
      }

      .share-report-copy-btn {
          min-height: 42px;
          padding: 0 18px;
          border-radius: 12px;
      }

      .share-report-meta {
          margin: 0;
          color: var(--muted);
          font-size: 13px;
          line-height: 1.7;
      }

      .share-report-qr-wrap {
          display: grid;
          gap: 8px;
          justify-items: center;
      }

      .share-report-qr {
          /* QR + 28px caption = card height, where card width = row - QR - 20px gap and height = width / 3.
             Solving gives (row - 104px) / 4; browsers without container units keep 150px. */
          width: 150px;
          width: calc((100cqw - 104px) / 4);
          aspect-ratio: 1;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: 14px;
          background: rgba(255,255,255,0.94);
          overflow: hidden;
      }

      .share-report-qr canvas,
      .share-report-qr img {
          display: block;
          width: 90.6% !important;
          height: 90.6% !important;
      }

      .share-report-qr-note {
          color: var(--muted);
          font-size: 12px;
          line-height: 20px;
          text-align: center;
          white-space: nowrap;
      }

      .share-report-qr-error {
          color: var(--muted);
          font-size: 12px;
          text-align: center;
          padding: 0 10px;
          line-height: 1.5;
      }

      .share-report-media-row {
          container-type: inline-size;
          display: grid;
          grid-template-columns: auto minmax(0, 1fr);
          gap: 20px;
          align-items: start;
      }

      .share-card-preview {
          position: relative;
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          margin: 0;
          background: transparent;
      }

      .share-card-placeholder {
          display: grid;
          width: 100%;
          /* Same box as the finished card, so the row keeps its height while waiting or on failure. */
          aspect-ratio: 2172 / 724;
          place-items: center;
          border: 1px solid rgba(0, 161, 214, 0.12);
          border-radius: 14px;
          color: var(--muted);
          font-size: 13px;
          line-height: 1.6;
          background: rgba(255,255,255,0.58);
          text-align: center;
      }

      .share-card-placeholder[hidden] {
          display: none !important;
      }

      .share-card-frame {
          position: relative;
          width: 100%;
          aspect-ratio: 2172 / 724;
          border-radius: 14px;
          overflow: hidden;
          background: #062b69;
          box-shadow: 0 18px 42px rgba(0, 40, 82, 0.14);
      }

      .share-card-frame[hidden] {
          display: none !important;
      }

      .share-card-image {
          display: block;
          width: 100%;
          height: 100%;
          aspect-ratio: 2172 / 724;
          object-fit: cover;
          background: #062b69;
      }

      .share-card-image[hidden] {
          display: none !important;
      }

      .share-card-frame::after {
          content: "";
          position: absolute;
          inset: 0;
          background:
              linear-gradient(180deg, rgba(0,0,0,0.26), rgba(0,0,0,0) 32%),
              linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0) 38%);
          opacity: 0;
          pointer-events: none;
          transition: opacity 0.18s ease;
      }

      .share-card-download {
          appearance: none;
          position: absolute;
          right: 18px;
          bottom: 16px;
          display: inline-grid;
          width: 32px;
          height: 32px;
          min-height: 0;
          padding: 0;
          place-items: center;
          border: 0;
          border-radius: 0;
          background: transparent !important;
          color: rgba(255,255,255,0.92);
          box-shadow: none !important;
          filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
          opacity: 0;
          pointer-events: none;
          transform: translateY(5px);
          transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease, filter 0.18s ease;
          cursor: pointer;
          z-index: 1;
      }

      .share-card-download:hover,
      .share-card-download:focus-visible,
      .share-card-download:active,
      .share-card-download:disabled {
          min-height: 0;
          padding: 0;
          border: 0;
          background: transparent !important;
          box-shadow: none !important;
      }

      .share-card-download:hover,
      .share-card-download:focus-visible {
          color: #fff;
          filter: drop-shadow(0 0 8px rgba(255,255,255,0.34)) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
          outline: 0;
      }

      .share-card-download svg {
          display: block;
          width: 28px;
          height: 28px;
      }

      .share-card-frame:hover::after,
      .share-card-frame:focus-within::after {
          opacity: 1;
      }

      .share-card-frame:hover .share-card-download,
      .share-card-frame:focus-within .share-card-download {
          opacity: 1;
          pointer-events: auto;
          transform: translateY(0);
      }

      .share-card-lightbox[hidden] {
          display: none !important;
      }

      .share-card-lightbox {
          position: fixed;
          inset: 0;
          z-index: 90;
          display: grid;
          place-items: center;
          padding: 18px;
          background: rgba(10, 13, 18, 0.78);
          backdrop-filter: blur(10px);
      }

      .share-card-lightbox-image {
          display: block;
          width: min(100%, 96vw);
          max-height: 82vh;
          object-fit: contain;
          border-radius: 14px;
          box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34);
          touch-action: manipulation;
          -webkit-user-select: auto;
          user-select: auto;
      }

      .share-card-lightbox-close {
          position: fixed;
          top: max(14px, env(safe-area-inset-top));
          right: max(14px, env(safe-area-inset-right));
          display: inline-grid;
          width: 42px;
          height: 42px;
          min-height: 0;
          padding: 0;
          place-items: center;
          border: 0;
          border-radius: 999px;
          background: rgba(17, 20, 24, 0.74);
          color: rgba(255,255,255,0.94);
          font-size: 28px;
          line-height: 1;
          box-shadow: 0 10px 30px rgba(0,0,0,0.22);
          z-index: 1;
      }

      .share-card-lightbox-close:hover,
      .share-card-lightbox-close:focus-visible {
          background: rgba(17, 20, 24, 0.86);
          box-shadow: 0 10px 30px rgba(0,0,0,0.24);
          transform: none;
      }

      @media (max-width: 760px) {
          .share-report-media-row {
              grid-template-columns: 1fr;
          }

          .share-report-qr {
              width: 150px;
          }

          .share-card-placeholder,
          .share-card-frame {
              width: 100%;
          }

          .share-card-image {
              cursor: zoom-in;
          }
      }

      .markdown-content pre code {
          padding: 0;
          background: transparent;
      }

      .markdown-content blockquote {
          padding-left: 14px;
          border-left: 3px solid rgba(0, 161, 214, 0.22);
          color: var(--muted);
      }

      .hot-topics-list {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
      }

      .suggestions-list {
          margin: 0;
          padding: 0;
          list-style: none;
          display: grid;
          gap: 10px;
      }

      .suggestion-item {
          position: relative;
          padding-left: 18px;
      }

      .suggestion-item::before {
          content: "";
          position: absolute;
          left: 0;
          top: 0.72em;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: var(--primary);
      }

      .suggestion-item-content {
          color: #2d333b;
          line-height: 1.75;
      }

      .analysis-log {
          display: grid;
          gap: 12px;
      }

      .analysis-log-head {
          display: block;
      }

      .log-content {
          width: 100%;
          min-height: 140px;
          max-height: 190px;
          overflow-y: auto;
          padding: 14px;
          border: 1px solid var(--soft-line);
          border-radius: 18px;
          background: var(--code-bg);
          color: #242b33;
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-size: 13px;
          line-height: 1.7;
      }

      .word-cloud-tooltip {
          position: absolute;
          left: 0;
          top: 0;
          display: grid;
          gap: 2px;
          min-width: 72px;
          padding: 8px 10px;
          border-radius: 12px;
          background: rgba(23, 27, 33, 0.92);
          color: #fff;
          font-size: 12px;
          line-height: 1.4;
          pointer-events: none;
          box-shadow: 0 12px 28px rgba(0,0,0,0.22);
          opacity: 0;
          transition: opacity 120ms ease;
          z-index: 5;
          white-space: nowrap;
      }

      .word-cloud-tooltip strong {
          font-size: 13px;
          font-weight: 700;
      }

      .log-entry {
          margin-bottom: 6px;
          word-wrap: break-word;
      }

      .log-time { color: var(--muted-2); }
      .log-error { color: var(--error); }
      .log-success { color: var(--success); }
      .log-api { color: var(--primary); }

      .site-footer {
          padding: 22px 0 30px;
          color: var(--muted);
          font-size: 14px;
          border-top: 1px solid var(--line);
      }

      .footer-inner {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 24px;
          flex-wrap: wrap;
      }

      .footer-product {
          display: flex;
          align-items: baseline;
          gap: 12px;
          min-width: 0;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
      }

      .footer-product span {
          min-width: 0;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
      }

      .footer-actions {
          display: flex;
          align-items: center;
          justify-content: flex-end;
          gap: 22px;
          flex-wrap: wrap;
      }

      .footer-link,
      .footer-link-button {
          color: var(--muted);
          text-decoration: none;
          white-space: nowrap;
          font: inherit;
          font-weight: 400;
      }

      .footer-link-button {
          appearance: none;
          min-height: 0;
          padding: 0;
          border: 0;
          border-radius: 0;
          background: transparent;
          box-shadow: none;
          cursor: pointer;
      }

      .footer-link:hover,
      .footer-link-button:hover,
      .footer-link-button:focus-visible {
          color: var(--primary);
          background: transparent;
          box-shadow: none;
          transform: none;
      }

      .footer-link-button:focus-visible {
          outline: 2px solid rgba(0, 161, 214, 0.22);
          outline-offset: 4px;
      }

      .coffee-modal[hidden] {
          display: none !important;
      }

      .coffee-modal {
          position: fixed;
          inset: 0;
          z-index: 80;
          display: grid;
          place-items: center;
          padding: 24px;
      }

      .coffee-modal-backdrop {
          position: absolute;
          inset: 0;
          background: rgba(17, 20, 24, 0.42);
          backdrop-filter: blur(8px);
      }

      .coffee-modal-panel {
          position: relative;
          width: min(360px, calc(100vw - 44px));
          padding: 18px;
          border: 1px solid rgba(23, 26, 31, 0.08);
          border-radius: 28px;
          background: rgba(255, 255, 255, 0.96);
          box-shadow: 0 24px 72px rgba(18, 22, 28, 0.22);
      }

      .coffee-modal-title {
          margin: 4px 44px 14px 4px;
          color: var(--ink);
          font-size: 18px;
          font-weight: 800;
          line-height: 1.35;
      }

      .coffee-modal-image {
          display: block;
          width: 100%;
          aspect-ratio: 1;
          border-radius: 18px;
          background: #fff;
      }

      .coffee-modal-close {
          position: absolute;
          top: 14px;
          right: 14px;
          display: inline-grid;
          width: 34px;
          height: 34px;
          min-height: 0;
          padding: 0;
          place-items: center;
          border: 0;
          border-radius: 999px;
          background: rgba(23, 26, 31, 0.06);
          color: var(--ink);
          font-size: 24px;
          line-height: 1;
          box-shadow: none;
      }

      .coffee-modal-close:hover,
      .coffee-modal-close:focus-visible {
          background: rgba(23, 26, 31, 0.10);
          box-shadow: none;
          transform: none;
      }

      @keyframes spin {
          to { transform: rotate(360deg); }
      }

      @keyframes rise-in {
          from {
              transform: translateY(14px);
          }
          to {
              transform: translateY(0);
          }
      }

      @media (prefers-reduced-motion: reduce) {
          *,
          *::before,
          *::after {
              animation-duration: 0.01ms !important;
              animation-iteration-count: 1 !important;
              scroll-behavior: auto !important;
          }
      }

      @media (max-width: 980px) {
          .hero {
              min-height: auto;
              padding: 50px 0 42px;
          }

          .hero-inner,
          .result-page .hero-inner {
              grid-template-columns: 1fr;
          }

          .plugin-actions,
          .plugin-shot-grid {
              grid-template-columns: 1fr;
          }

          .faq-category {
              grid-template-columns: 1fr;
              gap: 14px;
          }

          h1 {
              font-size: 42px;
          }

          .video-info-layout {
              grid-template-columns: 1fr;
          }

          .video-cover-frame {
              max-width: 560px;
          }

          .chart-row,
          .analysis-shell {
              grid-template-columns: 1fr;
          }

          .analysis-card-head {
              align-items: flex-start;
          }

          .analysis-actions {
              justify-content: flex-start;
          }

          .custom-api-fields {
              grid-template-columns: 1fr;
          }

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

      @media (max-width: 640px) {
          .site-nav,
          .hero-inner,
          .faq-content,
          .plugin-content,
          .analysis-container,
          .site-footer {
              width: min(var(--max), calc(100% - 28px));
          }

          .site-nav {
              display: grid;
              grid-template-columns: 1fr;
              justify-items: center;
              justify-content: space-between;
              min-height: 0;
              gap: 12px;
              padding: 14px 16px 16px;
              border-radius: 36px;
          }

          .brand-mark {
              justify-self: center;
          }

          .nav-controls {
              width: 100%;
              min-width: 0;
              margin-left: 0;
              justify-content: center;
              gap: 12px;
          }

          .nav-links {
              position: static;
              left: auto;
              transform: none;
              min-width: 0;
              margin-left: 0;
              gap: clamp(11px, 3.1vw, 18px);
              font-size: 14px;
              justify-content: center;
              flex: 0 1 auto;
          }

          .nav-links a {
              min-height: 34px;
          }

          .nav-language {
              margin-left: 0;
          }

          .language-switch {
              display: inline-flex;
          }

          .language-target {
              display: none;
          }

          .brand-dot {
              width: 30px;
              height: 30px;
              border-radius: 10px;
          }

          .brand-copy strong {
              font-size: 17px;
              font-weight: 800;
          }

          @media (max-width: 370px) {
              .site-nav {
                  padding-inline: 12px;
              }

              .nav-controls {
                  gap: 8px;
              }

              .nav-links {
                  gap: 9px;
                  font-size: 13px;
              }

              .language-switch {
                  min-height: 32px;
                  padding: 0 7px;
              }

              .language-option {
                  padding-inline: 7px;
                  font-size: 11px;
              }
          }

          .faq-content,
          .plugin-content {
              padding: 46px 0 44px;
          }

          .faq-head,
          .plugin-head {
              margin-bottom: 24px;
          }

          .faq-head h1,
          .plugin-head h1,
          .plugin-head--secondary h2 {
              font-size: 31px;
          }

          .plugin-actions {
              gap: 12px;
          }

          .plugin-action {
              min-height: 0;
              padding: 18px;
              border-radius: 18px;
          }

          .plugin-section {
              gap: 18px;
              padding-top: 24px;
          }

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

          .plugin-steps li {
              grid-template-columns: 34px minmax(0, 1fr);
              gap: 12px;
          }

          .plugin-steps li::before {
              width: 30px;
              height: 30px;
          }

          .faq-item summary {
              align-items: flex-start;
              padding: 15px 16px;
          }

          .faq-answer {
              padding: 0 16px 16px;
          }

          .analysis-tabs {
              display: grid;
              grid-template-columns: repeat(2, minmax(0, 1fr));
              width: 100%;
              min-width: 0;
              overflow-x: visible;
              flex-wrap: unset;
          }

          .custom-api-toggle {
              align-items: flex-start;
              gap: 10px;
          }

          .custom-api-panel {
              padding: 16px;
          }

          .config-label-row {
              flex-wrap: wrap;
              gap: 4px;
          }

          .analysis-tab {
              width: 100%;
              min-width: 0;
              max-width: 100%;
              padding-inline: 10px;
              white-space: normal;
              line-height: 1.25;
          }

          .analysis-card-head,
          .analysis-actions {
              gap: 12px;
          }

          .analysis-actions,
          .subtitle-upload {
              width: 100%;
          }

          .content-analysis-btn {
              box-sizing: border-box;
              max-width: 100%;
              min-width: 0;
          }

          h1 {
              font-size: 31px;
          }

          .hero-lede {
              font-size: 17px;
          }

          .tool-panel {
              padding: 16px;
          }

          .hero-inner > *,
          .hero-copy,
          .tool-panel {
              min-width: 0;
              max-width: 100%;
          }

          .tool-panel-title {
              display: grid;
              gap: 4px;
          }

          .analysis-card,
          .chart-container,
          .content-analysis-section {
              border-radius: 22px;
              padding: 18px;
          }

          .code-chip {
              display: inline-block;
              max-width: 100%;
              overflow-wrap: anywhere;
              word-break: break-all;
          }

          .input-group {
              grid-template-columns: 1fr;
          }

          button,
          .button-link {
              width: 100%;
          }

          .info-stats {
              grid-template-columns: repeat(2, minmax(0, 1fr));
          }

          .stat-item {
              border-right: 1px solid var(--soft-line);
              border-bottom: 1px solid var(--soft-line);
          }

          .stat-item:nth-child(3n) {
              border-right: 1px solid var(--soft-line);
          }

          .stat-item:nth-child(2n) {
              border-right: 0;
          }

          .stat-item:nth-last-child(-n + 3) {
              border-bottom: 1px solid var(--soft-line);
          }

          .stat-item:nth-last-child(-n + 2) {
              border-bottom: 0;
          }

          .info-value.description {
              display: block;
              -webkit-line-clamp: unset;
              max-height: 220px;
              overflow-y: auto;
              -webkit-overflow-scrolling: touch;
              overscroll-behavior: contain;
          }

          .chart-container,
          .content-analysis-section {
              padding: 16px;
          }

          .chart {
              height: 260px;
          }

          .log-content {
              height: 210px;
          }

          .footer-inner {
              gap: 14px;
          }

          .footer-actions {
              width: 100%;
              justify-content: center;
              flex-wrap: nowrap;
              gap: 28px;
          }

          .footer-link,
          .footer-link-button {
              flex: 0 0 auto;
              width: auto;
          }
      }

      .chart-note {
          margin: -10px 0 8px;
          color: var(--muted);
          font-size: 13px;
      }

      /* Peak moments and repeated danmaku: two cards in the same grid and pattern as the charts above. */
      .highlights-row {
          display: grid;
          grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
          gap: 24px;
          min-width: 0;
      }

      .highlights-row[hidden] {
          display: none;
      }

      .highlights-row .chart-note {
          margin-bottom: 12px;
      }

      .moment-list,
      .phrase-list {
          list-style: none;
          margin: 0;
          padding: 0;
      }

      .moment-list li,
      .phrase-list li {
          display: grid;
          gap: 4px 12px;
          padding: 11px 0;
          border-top: 1px solid var(--soft-line);
          min-width: 0;
      }

      .moment-list li:first-child,
      .phrase-list li:first-child {
          border-top: 0;
      }

      .moment-list li {
          grid-template-columns: auto 1fr;
          align-items: baseline;
      }

      .phrase-list li {
          grid-template-columns: 1fr auto;
          align-items: center;
      }

      .moment-time {
          display: inline-flex;
          align-items: center;
          padding: 3px 10px;
          border-radius: 999px;
          background: var(--bili-blue-soft);
          color: var(--bili-blue-dark);
          font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
          font-size: 13px;
          font-weight: 700;
          text-decoration: none;
          white-space: nowrap;
          transition: background-color 180ms ease;
      }

      .moment-time:hover {
          background: rgba(0, 161, 214, 0.18);
      }

      .moment-meta,
      .phrase-meta {
          color: var(--muted);
          font-size: 13px;
          white-space: nowrap;
      }

      .moment-samples {
          grid-column: 2;
          font-size: 14px;
          overflow-wrap: anywhere;
      }

      .phrase-text {
          font-size: 14px;
          overflow-wrap: anywhere;
      }

      .phrase-meta strong {
          color: var(--ink);
          font-weight: 720;
      }

      .highlights-empty {
          color: var(--muted);
          font-size: 14px;
      }

      @media (max-width: 980px) {
          .highlights-row {
              grid-template-columns: 1fr;
          }
      }
