@media not all and (min-width: 1200px) {
  .combine-images-desktop-only,
  html body main.combine-images-seo-page[data-tool="combine-images"] section.combine-images-desktop-only {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (min-width: 1200px) {
  .combine-images-legacy-mobile {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main.combine-images-seo-page[data-tool="combine-images"] {
    --c100kb-seo-wide: min(94vw, 1600px);
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-editor[data-c100kb-portaled="true"] {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 34vw) !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-editor .c100kb-history-controls {
    display: none !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-editor .c100kb-editor-main.c100kb-combine-main {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 18px !important;
    overflow: hidden !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-editor .c100kb-combine-preview {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    position: relative;
    overflow: hidden !important;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-editor .c100kb-ocr-preview-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-canvas-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-canvas {
    display: block;
    max-width: min(100%, 720px);
    max-height: min(100%, 620px);
    width: auto;
    height: auto;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    border-radius: 4px;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-preview-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-sidebar {
    overflow: auto;
    border-left: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-panel {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.05rem 1.2rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-meta {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-section {
    display: grid;
    gap: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-field {
    display: grid;
    gap: 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-select,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-number {
    width: 100%;
    min-height: 40px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    background: #fff;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 600;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-col-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-col-btn {
    min-width: 36px;
    min-height: 36px;
    padding: 0 0.55rem;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-col-btn.is-active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-col-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-fit-group {
    display: flex;
    gap: 0.4rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-fit-btn {
    flex: 1 1 0;
    min-height: 38px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-fit-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-align-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    max-width: 132px;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-align-btn {
    width: 100%;
    aspect-ratio: 1;
    min-height: 34px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    position: relative;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-align-btn::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #94a3b8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-align-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-align-btn.is-active::after {
    background: #2563eb;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    padding: 0.35rem 0.15rem 0;
    max-height: 88px;
    overflow: auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-item {
    position: relative;
    flex: 0 0 auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-item.is-dragging {
    opacity: 0.55;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-btn {
    display: block;
    width: 52px;
    height: 52px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    cursor: grab;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-item.is-active .c100kb-combine-thumb-btn {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-remove svg,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-thumb-remove i {
    width: 12px;
    height: 12px;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-range-row {
    display: grid;
    gap: 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-range-row input[type="range"] {
    width: 100%;
    accent-color: #2563eb;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-range-badge {
    justify-self: end;
    font-size: 0.78rem;
    font-weight: 800;
    color: #334155;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-advanced {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-advanced .c100kb-combine-advanced-body {
    display: grid;
    gap: 0.75rem;
    padding: 0 0.75rem 0.75rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-advanced summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.75rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    list-style: none;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-advanced summary::-webkit-details-marker {
    display: none;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-color-control {
    margin-top: 0.15rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-color-control .c100kb-color-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 38px;
    border: 1px dashed #93c5fd;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-actions {
    display: grid;
    gap: 0.55rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-apply-btn,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-download-btn,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-apply-btn {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-apply-btn.is-applied:not(.is-processing) {
    background: linear-gradient(135deg, #059669, #10b981);
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-apply-btn:disabled,
  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-download-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-download-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-download-btn.is-primary-ready {
    border-color: #2563eb;
    background: #0f172a;
    color: #fff;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-reset-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-notice {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-combine-notice--warning {
    color: #b45309;
  }

  body.compress-100kb-pro .upload-box.is-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  }

  body.compress-100kb-pro .c100kb-combine-upload-error {
    margin: 0.75rem 0 0;
    text-align: center;
    font-weight: 600;
  }
}
