:root {
  --tools-text: #0f172a;
  --tools-text-soft: #4f5f72;
  --tools-muted: #6b7d90;
  --tools-line: rgba(15, 61, 78, 0.12);
  --tools-line-strong: rgba(15, 61, 78, 0.2);
  --tools-accent: #0085a1;
  --tools-warm: #b46f18;
  --tools-bg: #f7f9fc;
}

@media (min-width: 992px) {
  body.view-tools_index #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_compressor #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_resizer #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_color_picker #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-color_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-csv_to_json #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-yaml_json_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-cron_parser #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-sql_formatter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-json_to_typescript #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-qr_code_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-json_formatter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-timestamp_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-word_counter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-url_encoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-base64_encoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-hash_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-jwt_decoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-random_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-serp_preview #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-regex_tester #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-favicon_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-slug_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-chatgpt_price #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-totp_tool #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"] {
    position: relative;
    color: #fff;
    box-shadow: none !important;
  }

  body.view-tools_index #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_compressor #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_resizer #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_color_picker #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-color_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-csv_to_json #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-yaml_json_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-cron_parser #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-sql_formatter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-json_to_typescript #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-qr_code_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-json_formatter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-timestamp_converter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-word_counter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-url_encoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-base64_encoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-hash_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-jwt_decoder #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-random_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-serp_preview #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-regex_tester #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-favicon_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-slug_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-chatgpt_price #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-totp_tool #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.05rem;
    width: 2.1rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(120, 234, 247, 0.92);
    transform: translateX(-50%);
    pointer-events: none;
  }

  body.view-tools_index #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_compressor #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_resizer #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-image_color_picker #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-color_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-csv_to_json #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-yaml_json_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-cron_parser #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-sql_formatter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-json_to_typescript #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-qr_code_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-json_formatter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-timestamp_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-word_counter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-url_encoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-base64_encoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-hash_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-jwt_decoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-random_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-serp_preview #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-regex_tester #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-favicon_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-slug_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-chatgpt_price #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-totp_tool #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"] {
    color: var(--tools-accent);
  }

  body.view-tools_index #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_compressor #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_resizer #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-image_color_picker #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-color_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-csv_to_json #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-yaml_json_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-cron_parser #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-sql_formatter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-json_to_typescript #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-qr_code_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-json_formatter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-timestamp_converter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-word_counter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-url_encoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-base64_encoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-hash_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-jwt_decoder #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-random_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-serp_preview #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-regex_tester #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-favicon_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-slug_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-chatgpt_price #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-totp_tool #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after {
    background: rgba(0, 133, 161, 0.92);
  }
}

@media (min-width: 992px) {
  body.view-token_counter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-prompt_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-site_index_checker #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"] {
    position: relative;
    color: #fff;
    box-shadow: none !important;
  }

  body.view-token_counter #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-prompt_generator #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-site_index_checker #mainNav .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.05rem;
    width: 2.1rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(120, 234, 247, 0.92);
    transform: translateX(-50%);
    pointer-events: none;
  }

  body.view-token_counter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-prompt_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"],
  body.view-site_index_checker #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"] {
    color: var(--tools-accent);
  }

  body.view-token_counter #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-prompt_generator #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after,
  body.view-site_index_checker #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link[data-nav-key="tools"]::after {
    background: rgba(0, 133, 161, 0.92);
  }
}

.view-tools_index main.mb-4 > .container.px-4.px-lg-5,
.view-image_compressor main.mb-4 > .container.px-4.px-lg-5,
.view-image_converter main.mb-4 > .container.px-4.px-lg-5,
.view-image_resizer main.mb-4 > .container.px-4.px-lg-5,
.view-image_color_picker main.mb-4 > .container.px-4.px-lg-5,
.view-color_converter main.mb-4 > .container.px-4.px-lg-5,
.view-csv_to_json main.mb-4 > .container.px-4.px-lg-5,
.view-yaml_json_converter main.mb-4 > .container.px-4.px-lg-5,
.view-cron_parser main.mb-4 > .container.px-4.px-lg-5,
.view-sql_formatter main.mb-4 > .container.px-4.px-lg-5,
.view-json_to_typescript main.mb-4 > .container.px-4.px-lg-5,
.view-qr_code_generator main.mb-4 > .container.px-4.px-lg-5,
.view-json_formatter main.mb-4 > .container.px-4.px-lg-5,
.view-timestamp_converter main.mb-4 > .container.px-4.px-lg-5,
.view-word_counter main.mb-4 > .container.px-4.px-lg-5,
.view-url_encoder main.mb-4 > .container.px-4.px-lg-5,
.view-base64_encoder main.mb-4 > .container.px-4.px-lg-5,
.view-hash_generator main.mb-4 > .container.px-4.px-lg-5,
.view-jwt_decoder main.mb-4 > .container.px-4.px-lg-5,
.view-random_generator main.mb-4 > .container.px-4.px-lg-5,
.view-serp_preview main.mb-4 > .container.px-4.px-lg-5,
.view-regex_tester main.mb-4 > .container.px-4.px-lg-5,
.view-favicon_generator main.mb-4 > .container.px-4.px-lg-5,
.view-slug_generator main.mb-4 > .container.px-4.px-lg-5,
.view-chatgpt_price main.mb-4 > .container.px-4.px-lg-5,
.view-token_counter main.mb-4 > .container.px-4.px-lg-5,
.view-prompt_generator main.mb-4 > .container.px-4.px-lg-5,
.view-site_index_checker main.mb-4 > .container.px-4.px-lg-5,
.view-totp_tool main.mb-4 > .container.px-4.px-lg-5 {
  position: relative;
  z-index: 2;
  margin-top: -4.2rem;
  margin-bottom: 2rem;
}

.tools-page {
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.tools-shell,
.image-tool-shell,
.qr-shell,
.json-shell,
.timestamp-shell,
.word-counter-shell,
.url-tool-shell,
.base64-shell,
.hash-shell,
.csv-shell,
.yaml-shell,
.cron-shell,
.sql-shell,
.json-ts-shell,
.jwt-shell,
.random-shell,
.serp-shell,
.regex-shell,
.favicon-shell,
.slug-shell,
.chatgpt-price-shell,
.totp-shell {
  border: 1px solid var(--tools-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 253, 255, 1)),
    radial-gradient(circle at right top, rgba(180, 111, 24, 0.08), transparent 58%);
  box-shadow: 0 16px 30px rgba(11, 35, 54, 0.07);
  animation: tools-rise 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tools-shell {
  padding: 1.08rem;
}

.tools-hero {
  position: relative;
  padding: 0.28rem 0 0.9rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.1);
}

.tools-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(180, 111, 24, 0.38), rgba(0, 133, 161, 0.65));
}

.tools-eyebrow {
  margin: 0;
  color: #5d7388;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.tools-title {
  margin: 0.54rem 0 0;
  color: var(--tools-text);
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: 0;
}

.tools-summary {
  margin: 0.58rem 0 0;
  color: var(--tools-text-soft);
  font-size: 0.93rem;
  line-height: 1.75;
  max-width: 100%;
  text-wrap: pretty;
}

.tools-filter {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-top: 0.92rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.1);
}

.tools-filter-label {
  flex: 0 0 auto;
  color: #5d7388;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.tools-filter-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.tools-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.28rem 0.74rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #42556b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tools-filter-button:hover,
.tools-filter-button:focus {
  border-color: rgba(0, 133, 161, 0.32);
  color: var(--tools-accent);
  box-shadow: 0 6px 14px rgba(15, 61, 78, 0.06);
  outline: none;
}

.tools-filter-button.is-active {
  border-color: rgba(0, 133, 161, 0.32);
  background: rgba(0, 133, 161, 0.1);
  color: #006f87;
}

.tools-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.tools-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 118px;
  padding: 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--tools-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tools-card:hover,
.tools-card:focus {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(0, 133, 161, 0.24);
  box-shadow: 0 12px 22px rgba(12, 32, 49, 0.08);
}

.tools-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.09);
  color: var(--tools-accent);
  font-size: 1.12rem;
}

.tools-card-main {
  min-width: 0;
}

.tools-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.46rem;
  margin-bottom: 0.35rem;
}

.tools-card-top strong {
  color: var(--tools-text);
  font-size: 1rem;
  line-height: 1.3;
}

.tools-card-top em {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.14rem 0.48rem;
  border: 1px solid rgba(180, 111, 24, 0.24);
  border-radius: 8px;
  background: rgba(180, 111, 24, 0.08);
  color: #6b420f;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.tools-card-main > span:last-child {
  display: block;
  color: var(--tools-text-soft);
  font-size: 0.9rem;
  line-height: 1.58;
}

.tool-seo-content {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--tools-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.tool-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.tool-seo-content article,
.tool-faq {
  min-width: 0;
}

.tool-seo-content h2 {
  margin: 0 0 0.52rem;
  color: var(--tools-text);
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 800;
}

.tool-seo-content p,
.tool-seo-content li {
  color: var(--tools-text-soft);
  font-size: 0.9rem;
  line-height: 1.72;
}

.tool-seo-content p {
  margin: 0;
}

.tool-seo-content ul {
  display: grid;
  gap: 0.26rem;
  margin: 0;
  padding-left: 1.12rem;
}

.tool-faq {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
}

.tool-faq details {
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.72);
}

.tool-faq details + details {
  margin-top: 0.5rem;
}

.tool-faq summary {
  cursor: pointer;
  padding: 0.7rem 0.8rem;
  color: var(--tools-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.tool-faq details p {
  padding: 0 0.8rem 0.78rem;
}

.tools-card-arrow {
  color: var(--tools-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.tools-card:hover .tools-card-arrow,
.tools-card:focus .tools-card-arrow {
  color: var(--tools-accent);
  transform: translateX(3px);
}

.totp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  grid-template-areas:
    "toolbar toolbar"
    "input code";
  gap: 1px;
  padding: 1px;
  background:
    linear-gradient(135deg, rgba(0, 133, 161, 0.34), rgba(180, 111, 24, 0.22)),
    #fff;
  overflow: hidden;
}

.totp-toolbar {
  grid-area: toolbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.82rem 0.95rem;
  background:
    linear-gradient(90deg, rgba(247, 251, 253, 0.98), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(135deg, rgba(0, 133, 161, 0.05) 0 1px, transparent 1px 10px);
}

.totp-panel {
  min-width: 0;
  padding: 1.22rem;
  background: rgba(255, 255, 255, 0.98);
}

.totp-input-panel {
  grid-area: input;
}

.totp-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #315268;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.totp-back-link:hover,
.totp-back-link:focus {
  border-color: rgba(0, 133, 161, 0.24);
  color: var(--tools-accent);
}

.totp-trust-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.totp-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 2.15rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(180, 111, 24, 0.22);
  border-radius: 8px;
  background: rgba(180, 111, 24, 0.07);
  color: #684313;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.totp-trust-strip i {
  color: var(--tools-warm);
}

.totp-section-heading {
  margin-bottom: 1rem;
}

.totp-eyebrow {
  margin: 0;
  color: var(--tools-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.totp-section-heading h2 {
  margin: 0.28rem 0 0;
  color: var(--tools-text);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
}

.totp-field label,
.totp-options span {
  display: block;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.totp-secret-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 0.58rem;
  margin-top: 0.48rem;
}

.totp-secret-input,
.totp-options select,
.totp-options input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.totp-secret-input {
  padding: 0 0.88rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

.totp-secret-input:focus,
.totp-options select:focus,
.totp-options input:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.totp-icon-button,
.totp-copy-button,
.totp-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 78, 0.16);
  background: #fff;
  color: #2f4054;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.totp-icon-button {
  width: 46px;
  height: 48px;
}

.totp-icon-button:hover,
.totp-icon-button:focus,
.totp-clear-button:hover,
.totp-clear-button:focus {
  border-color: rgba(0, 133, 161, 0.28);
  background: rgba(0, 133, 161, 0.06);
  color: var(--tools-accent);
}

.totp-field-hint {
  margin: 0.5rem 0 0;
  color: var(--tools-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.totp-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  margin-top: 1.1rem;
}

.totp-options select,
.totp-options input {
  margin-top: 0.42rem;
  padding: 0 0.76rem;
}

.totp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
  margin-top: 1.12rem;
}

.totp-copy-button,
.totp-clear-button {
  min-height: 44px;
  padding: 0 0.92rem;
  gap: 0.46rem;
  font-size: 0.86rem;
}

.totp-copy-button {
  border-color: #007891;
  background: linear-gradient(180deg, #0790ad, #007891);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 133, 161, 0.18);
}

.totp-copy-button:hover,
.totp-copy-button:focus {
  background: linear-gradient(180deg, #0786a1, #026f86);
  border-color: #026f86;
  color: #fff;
  transform: translateY(-1px);
}

.totp-copy-button:disabled {
  border-color: rgba(100, 116, 139, 0.16);
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
}

.totp-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  padding: 0.48rem 0.64rem;
  border: 1px solid rgba(0, 133, 161, 0.12);
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.05);
  color: #3f647a;
  font-size: 0.84rem;
  line-height: 1.55;
}

.totp-status.is-error {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.05);
  color: #b42318;
}

.totp-code-panel {
  grid-area: code;
  display: grid;
  place-items: stretch;
  min-height: 360px;
  background:
    linear-gradient(145deg, rgba(11, 62, 73, 0.94), rgba(17, 89, 103, 0.9)),
    radial-gradient(circle at left top, rgba(255, 210, 137, 0.2), transparent 58%);
  text-align: center;
}

.totp-code-panel-inner {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.08rem;
  min-height: 100%;
  padding: 1.45rem 1.12rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.totp-code-ring {
  --totp-progress: 0deg;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0d4652 56%, transparent 58%),
    conic-gradient(#f0b75d var(--totp-progress), rgba(255, 255, 255, 0.18) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 16px 28px rgba(0, 0, 0, 0.18);
  color: #ffe0a8;
  font-size: 1.34rem;
  font-weight: 800;
}

.totp-code-block {
  width: 100%;
}

.totp-code-label {
  margin: 0;
  color: rgba(239, 252, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.totp-code {
  display: block;
  min-height: 4.7rem;
  margin-top: 0.24rem;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 3.25rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.totp-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  margin: 0.1rem 0 0;
  padding: 0 0.72rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(239, 252, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.image-tool-shell {
  overflow: hidden;
}

.image-tool-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.1);
  background:
    linear-gradient(90deg, rgba(247, 251, 253, 0.98), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(135deg, rgba(0, 133, 161, 0.05) 0 1px, transparent 1px 10px);
}

.image-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.image-tool-panel {
  min-width: 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.98);
}

.image-drop-zone {
  display: grid;
  justify-items: center;
  gap: 0.48rem;
  padding: 1.18rem;
  border: 1px dashed rgba(0, 133, 161, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 252, 254, 0.9), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at center top, rgba(0, 133, 161, 0.08), transparent 66%);
  color: var(--tools-text-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.image-drop-zone:hover,
.image-drop-zone:focus-within,
.image-drop-zone.is-dragging {
  border-color: rgba(0, 133, 161, 0.72);
  background-color: rgba(0, 133, 161, 0.04);
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.09);
}

.image-drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.image-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.1);
  color: var(--tools-accent);
  font-size: 1.35rem;
}

.image-drop-zone strong {
  color: var(--tools-text);
  font-size: 1rem;
  line-height: 1.35;
}

.image-drop-zone span:last-child {
  max-width: 42ch;
  color: var(--tools-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.image-tool-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.32fr) minmax(150px, 0.32fr);
  gap: 0.82rem;
  margin-top: 1rem;
}

.image-quality-control,
.image-format-control,
.image-size-control {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.image-quality-control > span,
.image-format-control > span,
.image-size-control > span {
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.image-quality-control strong {
  color: var(--tools-accent);
  font-size: 1.02rem;
  line-height: 1.2;
}

.image-quality-control input[type="range"] {
  width: 100%;
  accent-color: var(--tools-accent);
}

.image-quality-control.is-muted {
  opacity: 0.76;
}

.image-quality-control.is-muted input[type="range"] {
  cursor: not-allowed;
}

.image-format-control select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  padding: 0 0.76rem;
}

.image-format-control select:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.image-resizer-options {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.image-resizer-options label {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 42px;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.image-resizer-options input {
  width: 16px;
  height: 16px;
  accent-color: var(--tools-accent);
}

.image-color-canvas-wrap {
  min-height: 260px;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(15, 61, 78, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15, 61, 78, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(15, 61, 78, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(15, 61, 78, 0.05) 75%);
  background-color: #fff;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.image-color-canvas-wrap canvas {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  cursor: crosshair;
  object-fit: contain;
}

.image-color-picked {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.82rem;
  align-items: stretch;
  margin-top: 0.9rem;
  padding: 0.78rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.image-color-swatch {
  min-height: 92px;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 78, 0.12);
  background: #0085a1;
}

.image-color-values,
.image-color-palette {
  display: grid;
  gap: 0.58rem;
}

.image-color-value,
.image-color-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
}

.image-color-value code,
.image-color-card code {
  min-width: 0;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.image-color-card {
  justify-content: flex-start;
}

.image-color-card-swatch {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 78, 0.12);
}

.image-color-card button,
.image-color-value button {
  margin-left: auto;
  min-height: 32px;
  padding: 0.34rem 0.64rem;
}

.color-converter-preview {
  min-height: 220px;
  margin-top: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 78, 0.12);
  background: #0085a1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.color-converter-inputs {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.color-converter-output {
  display: grid;
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.color-converter-output .image-color-value {
  align-items: flex-start;
  flex-direction: column;
}

.color-converter-output .image-color-value span {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.color-converter-output .image-color-value button {
  margin-left: 0;
}

.image-size-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 46px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  overflow: hidden;
}

.image-size-input-row:focus-within {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.image-size-input-row input {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  padding: 0 0.72rem;
}

.image-size-input-row em {
  padding: 0 0.72rem 0 0.2rem;
  color: var(--tools-muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.image-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
  margin-top: 1rem;
}

.image-tool-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  padding: 0.52rem 0.66rem;
  border: 1px solid rgba(0, 133, 161, 0.12);
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.05);
  color: #3f647a;
  font-size: 0.84rem;
  line-height: 1.58;
}

.image-tool-status.is-error {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.05);
  color: #b42318;
}

.image-tool-summary {
  display: grid;
  align-content: start;
  gap: 0.78rem;
  background:
    linear-gradient(145deg, rgba(11, 62, 73, 0.96), rgba(17, 89, 103, 0.9)),
    radial-gradient(circle at left top, rgba(255, 210, 137, 0.2), transparent 58%);
}

.image-summary-card {
  padding: 0.86rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.image-summary-card span {
  display: block;
  color: rgba(239, 252, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.image-summary-card strong {
  display: block;
  margin-top: 0.22rem;
  color: #fff;
  font-size: 1.36rem;
  line-height: 1.2;
}

.image-summary-note {
  margin: 0.12rem 0 0;
  color: rgba(239, 252, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.68;
}

.image-results-section {
  padding: 1.05rem 1.12rem 1.2rem;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(248, 251, 253, 0.82);
}

.image-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.82rem;
  margin-bottom: 0.8rem;
}

.image-results-heading h2 {
  margin: 0;
  color: var(--tools-text);
  font-size: 1.12rem;
  font-weight: 800;
}

.image-results-heading span {
  color: var(--tools-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.image-results-empty {
  display: grid;
  justify-items: center;
  gap: 0.48rem;
  min-height: 160px;
  padding: 1.1rem;
  border: 1px dashed rgba(15, 61, 78, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--tools-muted);
  text-align: center;
}

.image-results-empty[hidden] {
  display: none;
}

.image-results-empty i {
  color: rgba(0, 133, 161, 0.58);
  font-size: 1.6rem;
}

.image-results-empty p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.65;
}

.image-results-list {
  display: grid;
  gap: 0.72rem;
}

.image-result-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.84rem;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
}

.image-result-preview {
  width: 86px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #eef4f7;
}

.image-result-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-result-main {
  min-width: 0;
}

.image-result-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.image-result-title-row h3 {
  margin: 0;
  max-width: 100%;
  color: var(--tools-text);
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.image-result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.42rem;
  padding: 0.1rem 0.44rem;
  border: 1px solid rgba(0, 133, 161, 0.17);
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.07);
  color: #0b5e70;
  font-size: 0.72rem;
  font-weight: 800;
}

.image-result-badge.is-error {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.05);
  color: #b42318;
}

.image-result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.58rem;
  margin: 0.58rem 0 0;
}

.image-result-metrics div {
  min-width: 0;
}

.image-result-metrics dt {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.image-result-metrics dd {
  margin: 0.12rem 0 0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
}

.image-result-actions {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.image-result-actions .totp-clear-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
}

.image-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  min-height: 40px;
  padding: 0 0.7rem;
  border: 1px solid #007891;
  border-radius: 8px;
  background: linear-gradient(180deg, #0790ad, #007891);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.image-download-link:hover,
.image-download-link:focus {
  color: #fff;
  background: linear-gradient(180deg, #0786a1, #026f86);
}

.image-download-link.is-disabled {
  pointer-events: none;
  border-color: rgba(100, 116, 139, 0.16);
  background: #e2e8f0;
  color: #64748b;
}

.qr-shell {
  overflow: hidden;
}

.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.qr-panel {
  min-width: 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.98);
}

.qr-input-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.qr-control-grid,
.qr-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.qr-fields {
  min-width: 0;
}

.qr-field-group {
  display: none;
  gap: 0.82rem;
}

.qr-field-group.is-active {
  display: grid;
}

.qr-field-group label,
.qr-style-grid label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.qr-field-group input,
.qr-field-group select,
.qr-field-group textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  outline: none;
  padding: 0.72rem 0.76rem;
}

.qr-field-group input,
.qr-field-group select {
  height: 46px;
}

.qr-field-group textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.qr-field-group input:focus,
.qr-field-group select:focus,
.qr-field-group textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.qr-checkbox {
  display: inline-flex !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 0.48rem !important;
  min-height: 46px;
}

.qr-checkbox input {
  width: auto;
  height: auto;
  accent-color: var(--tools-accent);
}

.qr-style-grid {
  align-items: end;
}

.qr-style-grid input[type="color"] {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  padding: 0.2rem;
  cursor: pointer;
}

.qr-style-grid input[type="file"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.52rem;
}

.qr-preview-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  background:
    linear-gradient(145deg, rgba(11, 62, 73, 0.96), rgba(17, 89, 103, 0.9)),
    radial-gradient(circle at left top, rgba(255, 210, 137, 0.2), transparent 58%);
}

.qr-preview-card {
  width: min(100%, 390px);
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 32px rgba(5, 28, 42, 0.2);
}

.qr-preview-card canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.qr-preview-panel .image-tool-actions {
  justify-content: center;
  margin-top: 0;
}

.qr-preview-panel .totp-clear-button,
.qr-preview-panel .totp-copy-button {
  min-width: 124px;
}

.json-shell {
  overflow: hidden;
}

.json-toolbar {
  display: grid;
  grid-template-columns: minmax(160px, 0.18fr) minmax(0, 1fr);
  gap: 0.82rem;
  padding: 0.95rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(248, 251, 253, 0.92);
}

.json-option {
  display: grid;
  gap: 0.42rem;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.json-option select,
.json-option input[type="text"] {
  height: 44px;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  padding: 0 0.74rem;
}

.json-option select:focus,
.json-option input[type="text"]:focus {
  border-color: rgba(0, 133, 161, 0.62);
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.json-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 0.56rem;
}

.csv-checkbox-option {
  align-content: end;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fff;
}

.csv-checkbox-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--tools-accent);
}

.csv-file-button {
  cursor: pointer;
}

.csv-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.json-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.json-editor-panel {
  min-width: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.json-editor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.72rem;
  margin-bottom: 0.72rem;
}

.json-editor-heading h2 {
  margin: 0.16rem 0 0;
  color: var(--tools-text);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
}

.json-editor-heading > span {
  color: var(--tools-muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.json-editor-panel textarea {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 61, 78, 0.035) 1px, transparent 1px) 0 0 / 3.2rem 100%,
    #fbfdff;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  outline: none;
  padding: 0.86rem;
  resize: vertical;
  tab-size: 2;
}

.json-editor-panel textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.json-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(248, 251, 253, 0.82);
}

.json-footer .image-tool-status {
  margin: 0;
}

.json-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.json-stats div {
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
}

.json-stats span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.json-stats strong {
  display: block;
  margin-top: 0.16rem;
  color: var(--tools-text);
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 800;
}

.json-stats strong.is-error {
  color: #b42318;
}

.timestamp-shell {
  overflow: hidden;
}

.timestamp-now {
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(248, 251, 253, 0.92);
}

.timestamp-now h2 {
  margin: 0.16rem 0 0;
  color: var(--tools-text);
  font-size: 1.08rem;
  font-weight: 800;
}

.timestamp-now-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 0.72rem;
}

.timestamp-copy-card {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  min-height: 86px;
  padding: 0.74rem;
  border: 1px solid rgba(0, 133, 161, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--tools-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.timestamp-copy-card:hover,
.timestamp-copy-card:focus {
  border-color: rgba(0, 133, 161, 0.42);
  background: rgba(0, 133, 161, 0.05);
  transform: translateY(-1px);
}

.timestamp-copy-card span,
.timestamp-copy-card em {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.timestamp-copy-card strong {
  min-width: 0;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.96rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.timestamp-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.timestamp-panel {
  min-width: 0;
  padding: 1.12rem;
  background: rgba(255, 255, 255, 0.98);
}

.timestamp-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(136px, 0.34fr);
  gap: 0.78rem;
  margin-top: 1rem;
}

.timestamp-input-row label {
  display: grid;
  gap: 0.44rem;
  min-width: 0;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.timestamp-input-row input,
.timestamp-input-row select {
  width: 100%;
  height: 46px;
  min-width: 0;
  border: 1px solid rgba(15, 61, 78, 0.18);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  padding: 0 0.76rem;
}

.timestamp-input-row input:focus,
.timestamp-input-row select:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.timestamp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.timestamp-result-grid {
  display: grid;
  gap: 0.58rem;
  margin: 1rem 0 0;
}

.timestamp-result-grid div {
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.78);
}

.timestamp-result-grid dt {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.timestamp-result-grid dd {
  margin: 0.16rem 0 0;
  color: var(--tools-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.timestamp-shell > .image-tool-status {
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.word-counter-shell {
  overflow: hidden;
}

.word-counter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.word-editor-panel,
.word-stats-panel {
  min-width: 0;
  padding: 1.12rem;
  background: rgba(255, 255, 255, 0.98);
}

.word-editor-panel textarea {
  display: block;
  width: 100%;
  min-height: 430px;
  margin-top: 0.9rem;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.72;
  outline: none;
  padding: 0.9rem;
  resize: vertical;
}

.word-editor-panel textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.word-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.word-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.word-stat-grid div {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.word-stat-grid span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.word-stat-grid strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--tools-text);
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
}

.word-check-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
}

.word-check-panel h2 {
  margin: 0 0 0.76rem;
  color: var(--tools-text);
  font-size: 1rem;
  font-weight: 800;
}

.word-check-item + .word-check-item {
  margin-top: 0.9rem;
}

.word-check-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.word-check-heading strong {
  color: var(--tools-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.word-meter {
  height: 8px;
  margin-top: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 61, 78, 0.1);
}

.word-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 133, 161, 0.82), rgba(180, 111, 24, 0.72));
  transition: width 0.18s ease, background-color 0.18s ease;
}

.word-meter span.is-warning {
  background: #b42318;
}

.word-check-item p {
  margin: 0.42rem 0 0;
  color: var(--tools-muted);
  font-size: 0.8rem;
  line-height: 1.58;
}

.url-tool-shell {
  overflow: hidden;
}

.url-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.url-editor-panel,
.url-param-panel {
  min-width: 0;
  padding: 1.12rem;
  background: rgba(255, 255, 255, 0.98);
}

.url-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.url-text-grid {
  display: grid;
  gap: 0.82rem;
  margin-top: 1rem;
}

.url-text-grid label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.url-text-grid textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.62;
  outline: none;
  padding: 0.86rem;
  resize: vertical;
}

.url-text-grid textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.url-info-list {
  display: grid;
  gap: 0.58rem;
  margin: 1rem 0;
}

.url-info-list div {
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.8);
}

.url-info-list dt,
.url-param-table th {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.url-info-list dd {
  margin: 0.14rem 0 0;
  color: var(--tools-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.url-param-table {
  min-height: 120px;
  overflow: auto;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.8);
}

.url-param-table p {
  margin: 0;
  padding: 0.85rem;
  color: var(--tools-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.url-param-table table {
  width: 100%;
  border-collapse: collapse;
}

.url-param-table th,
.url-param-table td {
  padding: 0.62rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.08);
  text-align: left;
  vertical-align: top;
}

.url-param-table td {
  color: var(--tools-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.base64-shell {
  overflow: hidden;
}

.base64-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.base64-panel {
  min-width: 0;
  padding: 1.12rem;
  background: rgba(255, 255, 255, 0.98);
}

.base64-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin-top: 0.9rem;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.base64-field textarea {
  display: block;
  width: 100%;
  min-height: 168px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.62;
  outline: none;
  padding: 0.86rem;
  resize: vertical;
}

.base64-field textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.base64-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.base64-image-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.base64-image-summary div {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.base64-image-summary span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.base64-image-summary strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--tools-text);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.base64-drop-zone {
  min-height: 170px;
}

.hash-shell {
  overflow: hidden;
}

.hash-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.hash-panel {
  min-width: 0;
  padding: 1.12rem;
  background: rgba(255, 255, 255, 0.98);
}

.hash-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin-top: 0.9rem;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.hash-field textarea {
  display: block;
  width: 100%;
  min-height: 190px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.62;
  outline: none;
  padding: 0.86rem;
  resize: vertical;
}

.hash-field input,
.hash-field select,
.random-control-grid input,
.random-control-grid select {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  padding: 0.62rem 0.72rem;
}

.hash-field textarea:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.hash-field input:focus,
.hash-field select:focus,
.random-control-grid input:focus,
.random-control-grid select:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.hash-drop-zone {
  min-height: 156px;
  margin-top: 0.9rem;
}

.hash-file-summary,
.hash-algorithm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.hash-file-summary div {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.hash-file-summary span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.hash-file-summary strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--tools-text);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hash-algorithm-grid label {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 42px;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.hash-algorithm-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--tools-accent);
}

.hash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.hash-result-list {
  display: grid;
  gap: 0.68rem;
  min-height: 146px;
  margin-top: 0.9rem;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.78);
}

.hash-result-list p {
  align-self: center;
  margin: 0;
  color: var(--tools-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.hash-result-item {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
}

.hash-result-heading {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.48rem;
}

.hash-result-heading strong {
  color: var(--tools-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.hash-result-heading span {
  min-width: 0;
  color: var(--tools-muted);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hash-result-heading button {
  margin-left: auto;
  min-height: 32px;
  padding: 0.38rem 0.72rem;
}

.hash-result-item code {
  display: block;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: normal;
}

.jwt-shell,
.random-shell,
.serp-shell,
.regex-shell,
.favicon-shell,
.slug-shell {
  overflow: hidden;
}

.jwt-claims-grid,
.random-control-grid,
.serp-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.jwt-claims-grid div,
.serp-metrics div {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.jwt-claims-grid span,
.random-control-grid span,
.serp-metrics span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.jwt-claims-grid strong,
.serp-metrics strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--tools-text);
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.serp-metrics em {
  display: inline-block;
  margin-top: 0.24rem;
  color: #147a48;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.serp-metrics em.is-error {
  color: #a84220;
}

.jwt-result-grid {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.9rem;
}

.jwt-result-grid section,
.serp-preview-card,
.random-result-list {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.jwt-result-grid pre {
  min-height: 150px;
  max-height: 280px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

.jwt-result-grid code {
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.62;
}

.random-control-grid label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
}

.random-result-list {
  display: grid;
  gap: 0.58rem;
  min-height: 260px;
  margin-top: 0.9rem;
}

.random-result-list p {
  align-self: center;
  margin: 0;
  color: var(--tools-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.random-result-item {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
}

.random-result-item code {
  min-width: 0;
  flex: 1;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.serp-preview-card {
  margin-top: 0.9rem;
  background: #fff;
}

.serp-url {
  color: #202124;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.serp-preview-card h3 {
  margin: 0.34rem 0 0;
  color: #1a0dab;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.12rem;
  line-height: 1.32;
  font-weight: 400;
}

.serp-preview-card p {
  margin: 0.34rem 0 0;
  color: #4d5156;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
}

.regex-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.regex-summary div,
.favicon-snippet,
.slug-preview {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
}

.regex-summary span,
.favicon-snippet span,
.slug-preview span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.regex-summary strong,
.slug-preview strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--tools-text);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.regex-highlight {
  min-height: 170px;
  margin-top: 0.9rem;
  padding: 0.86rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-size: 0.9rem;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.regex-highlight mark {
  border-radius: 4px;
  background: rgba(0, 133, 161, 0.18);
  color: inherit;
  padding: 0.04rem 0.12rem;
}

.favicon-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
  margin-top: 0.9rem;
}

.favicon-preview-item {
  display: grid;
  gap: 0.42rem;
  place-items: center;
  min-height: 118px;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.86);
  color: var(--tools-text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.favicon-preview-item img {
  max-width: 64px;
  max-height: 64px;
  image-rendering: auto;
}

.favicon-snippet {
  margin-top: 0.9rem;
}

.favicon-snippet pre,
.slug-preview code {
  display: block;
  margin: 0.42rem 0 0;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.slug-preview {
  margin-top: 0.9rem;
}

.chatgpt-price-shell {
  overflow: hidden;
}

.chatgpt-price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(15, 61, 78, 0.1);
}

.chatgpt-price-summary div {
  min-width: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.chatgpt-price-summary span,
.chatgpt-price-controls span {
  display: block;
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.chatgpt-price-summary strong {
  display: block;
  margin-top: 0.24rem;
  color: var(--tools-text);
  font-size: 1.42rem;
  line-height: 1.25;
  font-weight: 800;
}

.chatgpt-price-summary small {
  display: block;
  margin-top: 0.22rem;
  color: var(--tools-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.chatgpt-price-controls {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(240px, 1.25fr) minmax(170px, 0.75fr) minmax(170px, 0.75fr);
  gap: 0.72rem;
  padding: 1rem;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.chatgpt-price-controls label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.chatgpt-price-controls input,
.chatgpt-price-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  padding: 0.62rem 0.72rem;
}

.chatgpt-price-controls input:focus,
.chatgpt-price-controls select:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.11);
}

.chatgpt-price-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(15, 61, 78, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.chatgpt-price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.chatgpt-price-table th,
.chatgpt-price-table td {
  padding: 0.72rem 0.86rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.08);
  color: var(--tools-text);
  font-size: 0.86rem;
  text-align: left;
  vertical-align: middle;
}

.chatgpt-price-table th {
  color: var(--tools-muted);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(248, 251, 253, 0.9);
}

.chatgpt-price-table td:nth-child(1) {
  color: var(--tools-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.chatgpt-price-table td:nth-child(3),
.chatgpt-price-table td:nth-child(4) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.chatgpt-price-table td strong {
  display: block;
  color: var(--tools-text);
  font-weight: 800;
}

.chatgpt-price-table td span {
  display: block;
  margin-top: 0.12rem;
  color: var(--tools-muted);
  font-size: 0.74rem;
}

.chatgpt-price-diff {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 0 !important;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(15, 61, 78, 0.08);
  color: var(--tools-muted) !important;
  font-weight: 800;
}

.chatgpt-price-diff.is-low {
  background: rgba(0, 133, 161, 0.12);
  color: var(--tools-accent) !important;
}

.chatgpt-price-diff.is-high {
  background: rgba(180, 111, 24, 0.14);
  color: var(--tools-warm) !important;
}

.chatgpt-price-shell > .image-tool-status {
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.token-note-list {
  margin-top: 0.95rem;
}

.token-note-list code {
  white-space: normal;
}

.prompt-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.prompt-framework-hints {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: center;
  margin: 0.76rem 0 1rem;
  padding: 0.78rem 0.86rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(28, 91, 112, 0.08), rgba(180, 111, 24, 0.08)),
    rgba(255, 255, 255, 0.88);
}

.prompt-framework-hints span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 34px;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: #0f3d4e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prompt-framework-hints p {
  margin: 0;
  color: #3f5268;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.prompt-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
  margin-top: 0.9rem;
}

.prompt-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  min-height: 42px;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.9);
  color: #2f4054;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.prompt-checkbox-grid input {
  flex: 0 0 auto;
}

.prompt-output-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
  margin-bottom: 0.85rem;
  padding: 0.34rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 12px;
  background: rgba(248, 251, 253, 0.92);
}

.prompt-output-tabs button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #51657a;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  padding: 0.62rem 0.45rem;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.prompt-output-tabs button.is-active {
  background: #0f3d4e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 61, 78, 0.18);
}

.prompt-shell [data-prompt-output] {
  min-height: 360px;
}

.prompt-stats {
  margin-top: 0.88rem;
}

.site-index-form {
  display: grid;
  gap: 0.9rem;
}

.site-index-form .hash-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 61, 78, 0.16);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.94rem;
  padding: 0.72rem 0.78rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.site-index-form .hash-field input:focus {
  border-color: rgba(0, 133, 161, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 133, 161, 0.1);
}

.site-index-actions,
.site-index-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.site-index-domain-card {
  display: grid;
  gap: 0.48rem;
  margin-top: 1rem;
  padding: 0.86rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.95), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at right top, rgba(0, 133, 161, 0.08), transparent 60%);
}

.site-index-domain-card span {
  color: #60758a;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-index-domain-card strong {
  color: var(--tools-text);
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.site-index-domain-card code {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.42rem 0.58rem;
  border-radius: 8px;
  background: rgba(15, 61, 78, 0.06);
  color: #0f3d4e;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.site-index-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.site-index-result-grid > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--tools-text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-index-result-card {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid rgba(15, 61, 78, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
}

.site-index-result-card.is-ok {
  border-color: rgba(0, 133, 161, 0.24);
  background: linear-gradient(180deg, rgba(245, 252, 254, 0.98), rgba(255, 255, 255, 0.98));
}

.site-index-result-card.is-error,
.site-index-result-card.is-unparsed,
.site-index-result-card.is-manual {
  border-color: rgba(180, 111, 24, 0.26);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 255, 255, 0.98));
}

.site-index-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
}

.site-index-result-head strong {
  color: var(--tools-text);
  font-size: 0.96rem;
  line-height: 1.3;
}

.site-index-result-head span {
  flex: 0 0 auto;
  padding: 0.22rem 0.46rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 999px;
  background: rgba(248, 251, 253, 0.9);
  color: #60758a;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-index-count {
  color: #0f3d4e;
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.site-index-result-card p {
  min-height: 2.8em;
  margin: 0;
  color: var(--tools-text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-index-result-meta {
  display: grid;
  gap: 0.34rem;
  margin: 0;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(15, 61, 78, 0.09);
}

.site-index-result-meta div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
}

.site-index-result-meta dt,
.site-index-result-meta dd {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.site-index-result-meta dt {
  color: #708397;
  font-weight: 700;
}

.site-index-result-meta dd {
  color: #34495e;
  overflow-wrap: anywhere;
}

.site-index-card-actions a,
.site-index-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(15, 61, 78, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--tools-accent);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}

.site-index-card-actions a:hover,
.site-index-card-actions button:hover {
  border-color: rgba(0, 133, 161, 0.34);
  background: rgba(0, 133, 161, 0.06);
  color: #006f87;
}

.site-index-note {
  margin: 0.9rem 0 0;
  padding: 0.76rem 0.82rem;
  border-left: 3px solid rgba(180, 111, 24, 0.62);
  border-radius: 8px;
  background: rgba(255, 249, 241, 0.78);
  color: #5d4a33;
  font-size: 0.84rem;
  line-height: 1.65;
}

.site-index-manual-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.46rem;
}

.site-index-manual-form input {
  min-width: 0;
  min-height: 36px;
  border: 1px solid rgba(15, 61, 78, 0.16);
  border-radius: 8px;
  padding: 0.42rem 0.56rem;
  color: var(--tools-text);
  font: inherit;
  font-size: 0.78rem;
}

.site-index-manual-form button {
  min-height: 36px;
  border: 1px solid rgba(0, 133, 161, 0.28);
  border-radius: 8px;
  background: rgba(0, 133, 161, 0.08);
  color: #006f87;
  padding: 0.42rem 0.64rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.site-index-wide-panel {
  margin-top: 1rem;
}

.site-index-sitemap-summary > p,
.site-index-history > p {
  margin: 0;
  color: var(--tools-text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-index-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.site-index-sitemap-grid div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(15, 61, 78, 0.1);
  border-radius: 8px;
  background: #fbfdff;
}

.site-index-sitemap-grid strong {
  color: #0f3d4e;
  font-size: 1.18rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.site-index-sitemap-grid span {
  color: #667b90;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-index-sitemap-meta {
  margin: 0.78rem 0 0;
  color: var(--tools-text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-index-sitemap-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--tools-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-index-issue-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.site-index-issue-list li {
  display: grid;
  gap: 0.24rem;
  padding: 0.62rem;
  border-left: 3px solid rgba(180, 111, 24, 0.62);
  background: rgba(255, 249, 241, 0.72);
}

.site-index-issue-list code {
  color: #34495e;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.site-index-issue-list span {
  color: #6d573b;
  font-size: 0.78rem;
}

.site-index-history {
  overflow-x: auto;
}

.site-index-history-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.site-index-history-table th,
.site-index-history-table td {
  padding: 0.58rem 0.64rem;
  border-bottom: 1px solid rgba(15, 61, 78, 0.09);
  text-align: left;
}

.site-index-history-table th {
  color: #52677c;
  background: #f7fafc;
  font-weight: 800;
}

.site-index-history-table td {
  color: #34495e;
}

@keyframes tools-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 991.98px) {
  .view-tools_index main.mb-4 > .container.px-4.px-lg-5,
  .view-image_compressor main.mb-4 > .container.px-4.px-lg-5,
  .view-image_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-image_resizer main.mb-4 > .container.px-4.px-lg-5,
  .view-image_color_picker main.mb-4 > .container.px-4.px-lg-5,
  .view-color_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-csv_to_json main.mb-4 > .container.px-4.px-lg-5,
  .view-yaml_json_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-cron_parser main.mb-4 > .container.px-4.px-lg-5,
  .view-sql_formatter main.mb-4 > .container.px-4.px-lg-5,
  .view-json_to_typescript main.mb-4 > .container.px-4.px-lg-5,
  .view-qr_code_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-json_formatter main.mb-4 > .container.px-4.px-lg-5,
  .view-timestamp_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-word_counter main.mb-4 > .container.px-4.px-lg-5,
  .view-url_encoder main.mb-4 > .container.px-4.px-lg-5,
  .view-base64_encoder main.mb-4 > .container.px-4.px-lg-5,
  .view-hash_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-jwt_decoder main.mb-4 > .container.px-4.px-lg-5,
  .view-random_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-serp_preview main.mb-4 > .container.px-4.px-lg-5,
  .view-regex_tester main.mb-4 > .container.px-4.px-lg-5,
  .view-favicon_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-slug_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-chatgpt_price main.mb-4 > .container.px-4.px-lg-5,
  .view-token_counter main.mb-4 > .container.px-4.px-lg-5,
  .view-prompt_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-site_index_checker main.mb-4 > .container.px-4.px-lg-5,
  .view-totp_tool main.mb-4 > .container.px-4.px-lg-5 {
    margin-top: -3rem;
    margin-bottom: 1.5rem;
  }

  .tools-grid,
  .tool-seo-grid,
  .image-tool-layout,
  .qr-layout,
  .json-layout,
  .json-footer,
  .timestamp-now,
  .timestamp-layout,
  .word-counter-layout,
  .url-tool-layout,
  .base64-layout,
  .hash-layout,
  .site-index-result-grid,
  .site-index-sitemap-grid,
  .totp-shell {
    grid-template-columns: 1fr;
  }

  .json-toolbar {
    grid-template-columns: 1fr;
  }

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

  .timestamp-now-grid {
    grid-template-columns: 1fr;
  }

  .image-tool-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .image-summary-note {
    grid-column: 1 / -1;
  }

  .totp-shell {
    grid-template-areas:
      "toolbar"
      "code"
      "input";
  }

  .totp-code-panel {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .view-tools_index main.mb-4 > .container.px-4.px-lg-5,
  .view-image_compressor main.mb-4 > .container.px-4.px-lg-5,
  .view-image_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-image_resizer main.mb-4 > .container.px-4.px-lg-5,
  .view-image_color_picker main.mb-4 > .container.px-4.px-lg-5,
  .view-color_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-csv_to_json main.mb-4 > .container.px-4.px-lg-5,
  .view-yaml_json_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-cron_parser main.mb-4 > .container.px-4.px-lg-5,
  .view-sql_formatter main.mb-4 > .container.px-4.px-lg-5,
  .view-json_to_typescript main.mb-4 > .container.px-4.px-lg-5,
  .view-qr_code_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-json_formatter main.mb-4 > .container.px-4.px-lg-5,
  .view-timestamp_converter main.mb-4 > .container.px-4.px-lg-5,
  .view-word_counter main.mb-4 > .container.px-4.px-lg-5,
  .view-url_encoder main.mb-4 > .container.px-4.px-lg-5,
  .view-base64_encoder main.mb-4 > .container.px-4.px-lg-5,
  .view-hash_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-jwt_decoder main.mb-4 > .container.px-4.px-lg-5,
  .view-random_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-serp_preview main.mb-4 > .container.px-4.px-lg-5,
  .view-regex_tester main.mb-4 > .container.px-4.px-lg-5,
  .view-favicon_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-slug_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-chatgpt_price main.mb-4 > .container.px-4.px-lg-5,
  .view-token_counter main.mb-4 > .container.px-4.px-lg-5,
  .view-prompt_generator main.mb-4 > .container.px-4.px-lg-5,
  .view-site_index_checker main.mb-4 > .container.px-4.px-lg-5,
  .view-totp_tool main.mb-4 > .container.px-4.px-lg-5 {
    margin-top: -2.2rem;
  }

  .tools-shell,
  .tool-seo-content,
  .image-tool-panel,
  .qr-panel,
  .json-editor-panel,
  .timestamp-panel,
  .word-editor-panel,
  .word-stats-panel,
  .url-editor-panel,
  .url-param-panel,
  .base64-panel,
  .hash-panel,
  .regex-shell .hash-panel,
  .favicon-shell .hash-panel,
  .slug-shell .hash-panel,
  .site-index-shell .hash-panel,
  .totp-panel {
    padding: 0.9rem;
  }

  .site-index-manual-form {
    grid-template-columns: 1fr;
  }

  .image-tool-toolbar,
  .qr-shell .image-tool-toolbar,
  .json-shell .image-tool-toolbar,
  .yaml-shell .image-tool-toolbar,
  .cron-shell .image-tool-toolbar,
  .sql-shell .image-tool-toolbar,
  .json-ts-shell .image-tool-toolbar,
  .timestamp-shell .image-tool-toolbar,
  .word-counter-shell .image-tool-toolbar,
  .url-tool-shell .image-tool-toolbar,
  .base64-shell .image-tool-toolbar,
  .hash-shell .image-tool-toolbar,
  .jwt-shell .image-tool-toolbar,
  .random-shell .image-tool-toolbar,
  .serp-shell .image-tool-toolbar,
  .regex-shell .image-tool-toolbar,
  .favicon-shell .image-tool-toolbar,
  .slug-shell .image-tool-toolbar,
  .chatgpt-price-shell .image-tool-toolbar,
  .totp-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.78rem;
  }

  .totp-trust-strip {
    justify-content: flex-start;
  }

  .tools-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.54rem;
  }

  .tools-filter-scroll {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.18rem;
    scrollbar-width: thin;
  }

  .tools-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 112px;
  }

  .tools-card-arrow {
    display: none;
  }

  .totp-options {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .image-tool-controls,
  .image-tool-summary,
  .qr-control-grid,
  .qr-style-grid,
  .json-stats,
  .timestamp-input-row,
  .word-stat-grid,
  .image-resizer-options,
  .image-color-picked,
  .image-result-card,
  .image-result-metrics,
  .prompt-option-grid,
  .prompt-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .json-toolbar,
  .json-footer {
    padding: 0.82rem;
  }

  .json-actions .totp-copy-button,
  .json-actions .totp-clear-button {
    flex: 1 1 calc(50% - 0.56rem);
    min-width: 0;
  }

  .json-editor-panel textarea {
    min-height: 300px;
    font-size: 0.82rem;
  }

  .timestamp-now {
    padding: 0.9rem;
  }

  .timestamp-actions .totp-copy-button,
  .timestamp-actions .totp-clear-button,
  .word-actions .totp-clear-button,
  .url-mode-row .totp-copy-button,
  .url-mode-row .totp-clear-button,
  .base64-actions .totp-copy-button,
  .base64-actions .totp-clear-button,
  .hash-actions .totp-copy-button,
  .hash-actions .totp-clear-button {
    flex: 1 1 100%;
  }

  .word-editor-panel textarea {
    min-height: 320px;
  }

  .base64-field textarea {
    min-height: 150px;
  }

  .base64-image-summary {
    grid-template-columns: 1fr;
  }

  .hash-field textarea {
    min-height: 160px;
  }

  .hash-file-summary,
  .hash-algorithm-grid,
  .regex-summary,
  .favicon-preview-grid {
    grid-template-columns: 1fr;
  }

  .hash-result-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hash-result-heading button {
    margin-left: 0;
  }

  .chatgpt-price-summary,
  .chatgpt-price-controls {
    grid-template-columns: 1fr;
  }

  .chatgpt-price-summary div,
  .chatgpt-price-controls {
    padding: 0.9rem;
  }

  .chatgpt-price-table {
    min-width: 640px;
  }

  .image-result-card {
    align-items: start;
  }

  .image-result-preview {
    width: 100%;
    max-width: 180px;
  }

  .image-result-actions {
    justify-content: flex-start;
  }

  .qr-preview-panel .image-tool-actions {
    width: 100%;
    justify-content: stretch;
  }

  .qr-preview-panel .totp-clear-button,
  .qr-preview-panel .totp-copy-button {
    flex: 1 1 100%;
    min-width: 0;
  }

  .totp-code-panel {
    min-height: 260px;
  }

  .totp-code-ring {
    width: 86px;
    height: 86px;
    font-size: 1.12rem;
  }

  .totp-code {
    min-height: 3.7rem;
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tools-shell,
  .image-tool-shell,
  .qr-shell,
  .json-shell,
  .timestamp-shell,
  .word-counter-shell,
  .url-tool-shell,
  .base64-shell,
  .hash-shell,
  .csv-shell,
  .jwt-shell,
  .yaml-shell,
  .cron-shell,
  .sql-shell,
  .json-ts-shell,
  .random-shell,
  .serp-shell,
  .regex-shell,
  .favicon-shell,
  .slug-shell,
  .chatgpt-price-shell,
  .totp-shell,
  .tools-card,
  .tools-card-arrow,
  .tools-filter-button,
  .totp-icon-button,
  .totp-copy-button,
  .totp-clear-button,
  .image-drop-zone,
  .image-download-link,
  .qr-preview-card,
  .json-editor-panel textarea,
  .timestamp-copy-card,
  .word-editor-panel textarea,
  .base64-field textarea,
  .hash-field textarea,
  .hash-field input,
  .random-control-grid input,
  .random-control-grid select,
  .regex-highlight,
  .favicon-preview-item,
  .slug-preview {
    animation: none;
    transition: none;
    transform: none;
  }
}
