/**
 * T2 — hreflang-generator 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="hreflang-generator"] {
    overflow-x: clip;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .tool-page-hero.hlgr-generator-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="hreflang-generator"] .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="hreflang-generator"] .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="hreflang-generator"] .tool-page-hero h1 .hlgr-h1-line {
    display: block;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .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="hreflang-generator"] .tool-page-hero p,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .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="hreflang-generator"] #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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-m-result-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    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="hreflang-generator"] .hlgr-m-result-nav button,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-format-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="hreflang-generator"] .hlgr-m-result-nav button.is-active,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-format-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="hreflang-generator"] .hlgr-tool:not(.hlgr-panel-input) .hlgr-m-panel-input,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-tool:not(.hlgr-panel-export) .hlgr-m-panel-export,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-tool:not(.hlgr-panel-checks) .hlgr-m-panel-checks {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-m-panel-input,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-m-panel-export,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-form {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-field-hint {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    opacity: 1 !important;
    line-height: 1.4;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-field-hint code {
    font-size: 0.6875rem;
    color: #2563eb !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-check-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 44px;
    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="hreflang-generator"] .hlgr-check-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-xdefault-wrap[hidden] {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-form :is(input, textarea) {
    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="hreflang-generator"] .hlgr-form textarea {
    min-height: 160px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px !important;
    line-height: 1.5;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-format-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 3px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-export-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="hreflang-generator"] .hlgr-export-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="hreflang-generator"] .hlgr-export-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="hreflang-generator"] .hlgr-code-output {
    min-height: 220px !important;
    max-height: 360px !important;
    overflow: auto !important;
    padding: 12px !important;
    border-radius: 12px !important;
    background: #0f172a !important;
    color: #e2e8f0 !important;
    border: 1px solid #1e293b !important;
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    margin: 0 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-output-note {
    margin: 8px 0 0;
    font-size: 0.75rem !important;
    line-height: 1.45;
    color: #475569 !important;
    opacity: 1 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-actions-desktop {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-stat-card strong {
    font-size: 1.125rem !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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-check-list li.is-info {
    border-color: #dbeafe;
    background: #f8fafc;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-check-list li span {
    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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-m-sticky-primary,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-m-sticky-secondary,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-generator-pro,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools[data-theme="dark"] main[data-tool="hreflang-generator"] .hlgr-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="hreflang-generator"] .hlgr-form :is(input, textarea),
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools[data-theme="dark"] main[data-tool="hreflang-generator"] .hlgr-form :is(input, textarea) {
    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="hreflang-generator"] .hlgr-m-result-nav,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-m-sticky-bar {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-tool .hlgr-m-panel-input,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-tool .hlgr-m-panel-export,
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-tool .hlgr-m-panel-checks {
    display: block !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-seo-tools main[data-tool="hreflang-generator"] .hlgr-actions-desktop {
    display: flex !important;
  }
}
