/**
 * P5-A — image-compressor mobile SEO patch (style.min replacements)
 * Sourced from style.css tool-content-stack / section-kicker / premium-content rules.
 */
@media (max-width: 760px) {
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack {
    margin: 1.2rem 0.72rem 0;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 90px rgba(30, 64, 175, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    box-sizing: border-box;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack > section.premium-content-section {
    overflow: visible !important;
    max-width: 100%;
    margin-inline: auto;
    padding-block: 1.15rem;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .section-kicker {
    display: inline-flex;
    align-items: center;
    color: #0f4f8f !important;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(219, 234, 254, 0.9) 54%, rgba(224, 242, 254, 0.86)) !important;
    border: 1px solid rgba(14, 165, 233, 0.34) !important;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.86) inset, 0 0 24px rgba(14, 165, 233, 0.14) !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack :is(.premium-content-section h2, .premium-content-section h3) {
    color: #172033 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    max-width: 100% !important;
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.14 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-benefit-grid article {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    box-shadow: 0 18px 54px rgba(30, 64, 175, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  }

  /* Backup parity — use cases 2-col grid with Lucide icons (matches backup) */
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-use-case-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 0 !important;
  }

  /* Backup parity — steps centered “Step 01” cards (style.min mobile, no icons) */
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .c100kb-how-intro {
    max-width: 68ch;
    margin: 0 0 12px;
    color: #53657d;
    font-size: 15px;
    line-height: 1.6;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.3rem !important;
    position: relative;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid article {
    display: grid !important;
    place-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    min-height: 190px !important;
    padding: 1.05rem 1.1rem !important;
    border-radius: 20px !important;
    background:
      radial-gradient(circle at 8% 0, rgba(59, 130, 246, 0.12), transparent 38%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.82)) !important;
    border: 1px solid rgba(147, 197, 253, 0.34) !important;
    box-shadow: 0 14px 38px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid article::before {
    content: "Step " attr(data-step) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 0.28rem 0.66rem !important;
    border-radius: 999px !important;
    color: #1e3a8a !important;
    background: linear-gradient(180deg, #eff6ff, #dbeafe) !important;
    border: 1px solid rgba(147, 197, 253, 0.42) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid article .c100kb-step-badge {
    display: none !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid article h3 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    #how-to-compress-image-to-image-compressor .step-card-grid article p {
    margin: 0 !important;
    color: #43546b !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack :is(.premium-faq details, .faq-list details) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.72)) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    box-shadow: 0 16px 44px rgba(30, 64, 175, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack :is(.premium-content-section p, .premium-content-section li) {
    color: #526274 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Section shell parity — flat sections (no extra bordered boxes on visual-block / related) */
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack > section.premium-content-section:is(.c100kb-visual-block, .c100kb-related-tools-panel) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* SEO content: hide Lucide in other blocks — use-case grid keeps backup icons */
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack :is(i[data-lucide], svg[data-lucide]) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-use-case-grid span :is(i[data-lucide], svg[data-lucide], i[data-lucide] svg, svg) {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #2563eb !important;
    flex: 0 0 20px !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-intro-tip {
    display: block !important;
    gap: 0 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-tip-card {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-when-grid li {
    display: block !important;
    gap: 0 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-requirement-grid span {
    display: block !important;
    gap: 0 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .tool-content-stack .c100kb-ba-bridge-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
    background: rgba(239, 246, 255, 0.95) !important;
    border: 1px solid rgba(147, 197, 253, 0.55) !important;
    color: #2563eb !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .c100kb-requirement-grid span {
    width: 100%;
    max-width: 100%;
    border-radius: 12px !important;
    white-space: normal !important;
    box-sizing: border-box;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    .c100kb-trust-badges--below-upload {
    position: relative;
    z-index: 1;
  }

  /* Trust pills — 4-row centered grid (2+2+2+1), compact premium, no overlap */
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 5px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.4rem 0 0.25rem !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
    min-height: 0 !important;
    contain: none !important;
    box-sizing: border-box !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload > li {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload > li:last-child {
    grid-column: 1 / -1 !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload
    .c100kb-trust-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.32rem !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 24px !important;
    padding: 0.28rem 0.55rem !important;
    border: 1px solid rgba(191, 219, 254, 0.95) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.07) !important;
    box-sizing: border-box !important;
  }

  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload
    .c100kb-trust-badge i,
  html[data-tl-mobile-shell="v1"][data-tl-mobile-v2="tool-v1"]
    body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro:not(.generic-tool-studio-active):not(.passport-editor-active):not(.compress-100kb-ready)
    main.image-compressor-seo-page[data-tool="image-compressor"]
    form.image-optimizer-100kb-form:not(.has-uploaded-file)
    .c100kb-trust-badges.c100kb-trust-badges--below-upload
    .c100kb-trust-badge svg {
    width: 12px !important;
    height: 12px !important;
    flex: 0 0 12px !important;
    stroke-width: 2.1 !important;
  }
}
