@media not all and (min-width: 1200px) {
  .mtg-generator-desktop-only,
  html body main.mtg-generator-seo-page[data-tool="meta-tag-generator"] .mtg-generator-desktop-only {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .mtg-generator-legacy-mobile {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-seo-tools.compress-100kb-pro main#main.mtg-generator-seo-page[data-tool="meta-tag-generator"] {
    --c100kb-seo-wide: min(94vw, 1600px);
    --jfmt-toolbar-height: 64px;
    --jfmt-intent-block: clamp(118px, 14vh, 152px);
  }

  body.mtg-generator-editor-active.compress-100kb-ready {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    background: #eef2f7 !important;
  }

  html:has(body.mtg-generator-editor-active.compress-100kb-pro.compress-100kb-ready) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready nav.mtg-generator-legacy-mobile,
  body.mtg-generator-editor-active.compress-100kb-ready section.tool-page-hero.mtg-generator-legacy-mobile,
  body.mtg-generator-editor-active.compress-100kb-ready #tool-workspace,
  body.mtg-generator-editor-active.compress-100kb-ready .tool-workspace-note {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready section.tool-layout.mtg-generator-legacy-mobile {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: var(--c100kb-seo-wide, min(94vw, 1600px)) !important;
    margin: 0 auto !important;
    padding: 1.25rem 1rem 2.5rem !important;
    box-sizing: border-box !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready section.tool-layout.mtg-generator-legacy-mobile .tool-main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready section.tool-layout.mtg-generator-legacy-mobile .tool-content-stack {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #eef3fb !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-workspace.jfmt-desktop-intent-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100dvh - var(--jfmt-toolbar-height, 64px)) !important;
    padding: 0.45rem 0 0 !important;
    border: 0 !important;
    background: linear-gradient(180deg, #eff9ff, #eef3fb) !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-workspace.jfmt-desktop-intent-panel > * {
    position: relative;
    z-index: 1;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell .c100kb-tool-intent-header {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 0.2rem !important;
    padding: 0.15rem 1.25rem 0.2rem !important;
    max-width: min(94vw, 960px) !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell .c100kb-tool-intent-header h1,
  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell .c100kb-tool-intent-header .c100kb-h1-tail,
  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell .c100kb-tool-intent-header .c100kb-hero-lead {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    opacity: 1 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-shell .c100kb-tool-intent-header .c100kb-hero-lead {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    max-width: 42rem !important;
    margin: 0.25rem auto 0 !important;
    font-size: clamp(0.875rem, 0.95vw, 0.9375rem) !important;
    line-height: 1.55 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-mount {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--jfmt-intent-block, 148px));
    max-height: calc(100dvh - var(--jfmt-intent-block, 148px));
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready #mtg-generator-desktop-mount .jfmt-editor-host {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-editor-header {
    flex: 0 0 var(--jfmt-toolbar-height, 64px);
    min-height: var(--jfmt-toolbar-height, 64px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 10px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-editor-header-actions {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .mtg-header-downloads {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-editor-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-header-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-header-download:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    color: #1d4ed8;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-header-copy {
    border-color: #2563eb;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .c100kb-header-copy:hover {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-editor-main {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.35fr) minmax(260px, 0.88fr) !important;
    gap: 12px !important;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    align-items: stretch;
    padding: 0 10px 10px;
    box-sizing: border-box;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-col {
    min-height: 0;
    min-width: 0;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input-col .mtg-settings-card,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-side-col .jfmt-side-card {
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-card > .jfmt-input-head,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-card > .jfmt-card-title {
    flex: 0 0 auto;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-card,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-card-wrap,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-card,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-card {
    background: #fff !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06) !important;
    color: #334155 !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-card-title {
    margin: 0;
    padding: 0.68rem 0.85rem 0.28rem;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-card > .jfmt-input-head {
    padding: 0.68rem 0.85rem 0.15rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
    scrollbar-gutter: stable;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body {
    gap: 0.82rem;
    padding: 0.3rem 0.85rem 0.72rem;
    padding-right: 0.55rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body {
    gap: 0.62rem;
    padding: 0.28rem 0.85rem 0.72rem;
    padding-right: 0.55rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body > *,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body > * {
    flex: 0 0 auto;
    min-height: auto;
    width: 100%;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-body {
    gap: 0.55rem;
    padding: 0.35rem 0.85rem 0.72rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body::-webkit-scrollbar,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-center-col::-webkit-scrollbar {
    width: 8px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body::-webkit-scrollbar-thumb,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar-thumb,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-center-col::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.42);
    border-radius: 999px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body::-webkit-scrollbar-track,
  body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar-track,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-center-col::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.45);
    border-radius: 999px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-helper {
    margin: 0;
    line-height: 1.45;
  }

  /* Flat field stack — override global flux/json-formatter label chrome */
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor p,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor label,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor button,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor span,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor strong {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-label {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor label.jfmt-field,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-body .jfmt-field,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-advanced-body .jfmt-field,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor label.jfmt-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.42rem !important;
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-textarea,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-select,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-textarea,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    appearance: none;
    -webkit-appearance: none;
    margin: 0 !important;
    vertical-align: top;
    background: #fff !important;
    background-image: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-select,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-select {
    min-height: 44px;
    padding: 0.55rem 0.72rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-textarea,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-textarea {
    min-height: 96px;
    padding: 0.58rem 0.72rem;
    resize: vertical;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .mtg-description-field .jfmt-textarea {
    min-height: 110px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-input:focus,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-textarea:focus,
  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-field-meter {
    margin-top: 0.12rem;
    line-height: 1.35;
    font-size: 0.74rem;
    color: #64748b !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-center-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0.1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
    scrollbar-gutter: stable;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-card-wrap {
    flex: 0 0 auto;
    min-height: 0;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-body {
    flex: 0 0 auto;
    overflow: visible;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-head {
    flex: 0 0 auto;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-panels {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.35rem 0.85rem 0.72rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-panels > .mtg-code-output:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    display: block;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-panels > .mtg-json-panel:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-code-output {
    margin: 0;
    padding: 0.72rem 0.8rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #0f172a !important;
    color: #e2e8f0 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.55;
    flex: 1 1 auto;
    min-height: 160px;
    max-height: none;
    overflow-x: auto;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    white-space: pre;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.55) rgba(15, 23, 42, 0.85);
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-code-output::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-code-output::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
    border: 2px solid #0f172a;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-code-output::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-json-panel:not([hidden]) .mtg-code-output {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-json-panel:not([hidden]) .mtg-json-empty {
    flex: 0 0 auto;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-tabs,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-device-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-tab,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-tab,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-device-tab {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-tab.is-active,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-tab.is-active,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-device-tab.is-active {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 0.8rem 0.9rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-title {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: #1308a8 !important;
    line-height: 1.3;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-title.is-truncated {
    color: #9a3412 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-url {
    display: block;
    font-size: 0.82rem;
    color: #137333 !important;
    font-style: normal;
    margin-bottom: 0.35rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-desc {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #202124 !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-image {
    min-height: 140px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0) center/cover no-repeat;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-image.is-placeholder {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card strong,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card p,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card small {
    display: block;
    padding: 0.45rem 0.8rem 0;
    color: #0f172a !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card strong {
    font-size: 0.92rem;
    font-weight: 700;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card small {
    color: #475569 !important;
    font-size: 0.74rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card p {
    padding-bottom: 0.65rem;
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #1e293b !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-block {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.35rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-ring {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#2563eb calc(var(--score, 0) * 1%), #e2e8f0 0);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-copy > strong {
    margin-top: 0.05rem;
    line-height: 1.25;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-copy .jfmt-label {
    letter-spacing: 0.04em;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-ring::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-ring strong {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: #0f172a !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-quality-note {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    color: #64748b !important;
    line-height: 1.45;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.05rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .c100kb-mtg-generator-editor .jfmt-metric {
    display: grid;
    gap: 0.18rem;
    padding: 0.48rem 0.58rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-title {
    margin: 0.2rem 0 0.38rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a !important;
    line-height: 1.25;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-breakdown-wrap {
    margin-top: 0.05rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list-wrap {
    margin-top: 0.05rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.52rem 0.65rem;
    background: #f8fafc;
    font-size: 0.78rem;
    display: grid;
    gap: 0.22rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li strong {
    color: #0f172a !important;
    font-size: 0.76rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li span {
    color: #334155 !important;
    line-height: 1.35;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li.is-neutral {
    border-color: #e2e8f0;
    background: #f8fafc;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li.is-ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li.is-warn {
    border-color: #fde68a;
    background: #fffbeb;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-check-list li.is-bad {
    border-color: #fecaca;
    background: #fef2f2;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-advanced-panel {
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    padding: 0.62rem 0.75rem;
    margin: 0.15rem 0 0;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-advanced-panel summary {
    cursor: pointer;
    font-weight: 700;
    color: #334155 !important;
    line-height: 1.35;
    padding: 0.05rem 0;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-advanced-body {
    display: grid;
    gap: 0.72rem;
    margin-top: 0.62rem;
    padding-top: 0.15rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-breakdown-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.28rem 0.5rem;
    align-items: center;
    margin-bottom: 0.38rem;
    font-size: 0.78rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-breakdown-row i {
    grid-column: 1 / -1;
    display: block;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-breakdown-row i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value, 0%);
    background: #2563eb;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-head,
  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.62rem 0.85rem 0.35rem;
    flex-wrap: wrap;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-head {
    padding-bottom: 0.28rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-head .mtg-output-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.48rem;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-output-head .mtg-output-tab {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 0.38rem 0.82rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-preview-head {
    padding-bottom: 0.12rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-action-row {
    margin-top: 0.15rem;
    padding-top: 0.2rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-estimate-note {
    font-size: 0.74rem;
    color: #64748b !important;
    margin: 0.35rem 0 0;
    line-height: 1.4;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-json-panel {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-json-empty {
    margin: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #475569 !important;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a !important;
    line-height: 1.35;
    padding: 0.45rem 0;
    user-select: none;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-checkbox-field input[type="checkbox"] {
    margin: 0.12rem 0 0;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    accent-color: #2563eb;
    cursor: pointer;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-checkbox-field span {
    flex: 1 1 auto;
    color: #0f172a !important;
  }

  body.mtg-generator-editor-active.compress-100kb-ready .mtg-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 0.82rem;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-advanced-panel,
  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-settings-card,
  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .jfmt-side-card {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    color: #e2e8f0 !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-card {
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-title {
    color: #93c5fd !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-url {
    color: #86efac !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-google-desc {
    color: #e2e8f0 !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card strong,
  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-social-card p {
    color: #f1f5f9 !important;
  }

  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-checkbox-field,
  html[data-theme="dark"] body.mtg-generator-editor-active.compress-100kb-ready .mtg-checkbox-field span {
    color: #f1f5f9 !important;
  }
}
