/**
 * T5 — redirect-checker mobile V2
 * Opt-in: html[data-tl-mobile-v2="tool-v1"]
 */

@media (max-width: 760px) {
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] {
    overflow-x: clip;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero.rdc-checker-legacy-mobile {
    display: block !important;
    margin: 0 0 8px !important;
    padding: 16px 16px 12px !important;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff, #f1f8ff);
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero .eyebrow {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero h1 {
    margin: 0 auto !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    color: #172033 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero h1 .rdc-h1-line {
    display: block;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero .c100kb-h1-tail {
    display: inline;
    margin-left: 0.28em;
    font-size: 0.78em;
    font-weight: 700;
    color: #2563eb !important;
    opacity: 1 !important;
    white-space: nowrap;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero p,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .tool-page-hero .tool-hero-sub {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    margin: 10px auto 0 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] #tool-workspace.tool-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-generator-pro {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: calc(100vw - 24px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding: 12px !important;
    padding-bottom: 88px !important;
    border-radius: 18px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: visible !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-result-nav,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mode-nav {
    display: grid;
    gap: 4px;
    padding: 3px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-result-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mode-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 4px;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-result-nav button,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mode-nav button {
    min-height: 40px;
    padding: 6px 4px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    opacity: 1 !important;
    appearance: none;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-result-nav button.is-active,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mode-nav button.is-active {
    background: #fff !important;
    color: #1d4ed8 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-tool:not(.rdc-panel-input) .rdc-m-panel-input,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-tool:not(.rdc-panel-results) .rdc-m-panel-results,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-tool:not(.rdc-panel-checks) .rdc-m-panel-checks {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-input,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-results,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-checks {
    width: 100%;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-input {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-field-hint {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    opacity: 1 !important;
    line-height: 1.45;
    margin: 0;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-input :is(input, select) {
    min-height: 44px;
    padding: 10px 12px !important;
    font-size: 15px !important;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #172033 !important;
    opacity: 1 !important;
    width: 100%;
    box-sizing: border-box;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-live-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b63ce, #2563eb);
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 700;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-live-btn:disabled {
    opacity: 0.65 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-results-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-results-head span {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    opacity: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-results-head strong {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #172033 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-summary-text {
    margin: 0 0 10px;
    font-size: 0.8125rem !important;
    line-height: 1.45;
    color: #334155 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-stage {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-empty {
    margin: 0;
    font-size: 0.8125rem !important;
    color: #475569 !important;
    opacity: 1 !important;
    text-align: center;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-hop {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #fff;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-url {
    margin: 0 0 4px;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #172033 !important;
    opacity: 1 !important;
    word-break: break-word;
    line-height: 1.4;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-status {
    margin: 0;
    font-size: 0.75rem !important;
    color: #2563eb !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-arrow {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    color: #64748b !important;
    font-size: 1rem;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    background: #f8fafc;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    opacity: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-url {
    margin: 0;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #172033 !important;
    opacity: 1 !important;
    word-break: break-word;
    line-height: 1.4;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #2563eb !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mapping-code {
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-info-block {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-info-block h3 {
    margin: 0 0 4px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    opacity: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-info-block p {
    margin: 0;
    font-size: 0.8125rem !important;
    color: #334155 !important;
    opacity: 1 !important;
    line-height: 1.45;
    word-break: break-word;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-estimate-note {
    margin: 10px 0 0;
    font-size: 0.75rem !important;
    color: #475569 !important;
    opacity: 1 !important;
    line-height: 1.45;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-actions-desktop {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-stats-grid[hidden],
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-mode-panel[hidden],
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] [data-rdc-live-stage][hidden],
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] [data-rdc-plan-stage][hidden],
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-list[hidden],
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-chain-empty[hidden] {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    background: #f8fafc;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-stat-card span {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-stat-card strong {
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    opacity: 1 !important;
    word-break: break-word;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li.is-ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li.is-warn {
    border-color: #fde68a;
    background: #fffbeb;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li.is-bad {
    border-color: #fecaca;
    background: #fef2f2;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li strong {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #172033 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li span,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-check-list li small {
    font-size: 0.8125rem !important;
    color: #334155 !important;
    opacity: 1 !important;
    line-height: 1.4;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-primary,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-secondary,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-tertiary {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    appearance: none;
    border: 0;
    white-space: nowrap;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-primary {
    background: linear-gradient(135deg, #0b63ce, #2563eb);
    color: #fff !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-secondary {
    background: #fff;
    color: #334155 !important;
    border: 1px solid #dbeafe;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-tertiary {
    background: #f8fafc;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    min-width: 56px;
  }

  html[data-tl-mobile-v2="tool-v1"] html[data-theme="dark"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-generator-pro,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools[data-theme="dark"] main[data-tool="redirect-checker"] .rdc-generator-pro {
    background: #fff !important;
    border-color: #e2e8f0 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] html[data-theme="dark"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-panel-input :is(input, select),
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools[data-theme="dark"] main[data-tool="redirect-checker"] .rdc-m-panel-input :is(input, select) {
    background: #fff !important;
    color: #172033 !important;
    border-color: #dbeafe !important;
  }
}

@media (min-width: 761px) {
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-result-nav,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="redirect-checker"] .rdc-m-sticky-bar {
    display: none !important;
  }
}
