/*
  Gutools L3 clean mother from public/tools/image/resize/index.html
  Source SHA256: 4F32D32F607ECAE7A9F033EB4D25420923BA2F4199A69AF5993FA66BB6128309
*/

:root {
  --l3-page-max: 1120px;
  --l3-card-bg: #ffffff;
  --l3-card-border: #dbe7f3;
  --l3-card-shadow: 0 18px 50px rgba(15, 35, 80, 0.08);
  --l3-blue: #1f5fbf;
  --l3-blue-dark: #174a98;
  --l3-blue-soft: #eef5ff;
  --l3-text: #102033;
  --l3-muted: #526987;
  --l3-soft: #f6f8fc;
}

* {
  box-sizing: border-box;
}

body.l3-tool-page.image-resize-l3-mother {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(31, 95, 191, 0.10), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(107, 91, 255, 0.09), transparent 32%),
    #f6f8fc;
  color: var(--l3-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.image-resize-l3-mother a {
  color: inherit;
}

.image-resize-l3-mother .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 231, 243, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.image-resize-l3-mother .site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.image-resize-l3-mother .brand,
.image-resize-l3-mother .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--l3-text);
  text-decoration: none;
}

.image-resize-l3-mother .brand {
  min-width: 180px;
}

.image-resize-l3-mother .brand__mark {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  flex: 0 0 auto;
}

.image-resize-l3-mother .brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.image-resize-l3-mother .brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.image-resize-l3-mother .brand__tagline {
  font-size: 12px;
  color: var(--l3-muted);
  white-space: nowrap;
}

.image-resize-l3-mother .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.image-resize-l3-mother .main-nav a {
  padding: 8px 10px;
  color: #405572;
  text-decoration: none;
  border-radius: 999px;
}

.image-resize-l3-mother .main-nav a:hover,
.image-resize-l3-mother .main-nav a.is-active {
  color: var(--l3-blue);
  background: #eef5ff;
}

.image-resize-l3-mother .l3-main-shell {
  display: block;
  width: 100%;
}

.image-resize-l3-mother .section {
  width: 100%;
  padding: 22px 0;
}

.image-resize-l3-mother .section--compact {
  padding: 16px 0;
}

.image-resize-l3-mother .section--muted {
  background: rgba(255, 255, 255, 0.40);
}

.image-resize-l3-mother .section__inner {
  width: min(var(--l3-page-max), calc(100% - 32px));
  max-width: var(--l3-page-max);
  margin-inline: auto;
}

.image-resize-l3-mother .tool-hero {
  padding: 34px 0 22px;
}

.image-resize-l3-mother .l3-hero-card {
  border: 1px solid rgba(219, 231, 243, 0.86);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.96)),
    #ffffff;
  box-shadow: var(--l3-card-shadow);
  padding: 30px;
}

.image-resize-l3-mother .hero-kicker {
  margin: 0 0 10px;
  color: var(--l3-blue);
  font-size: 14px;
  font-weight: 800;
}

.image-resize-l3-mother .l3-hero-card h1 {
  margin: 0;
  color: var(--l3-text);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.image-resize-l3-mother .hero-copy {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--l3-muted);
  font-size: 16px;
  line-height: 1.75;
}

.image-resize-l3-mother .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.image-resize-l3-mother .hero-tags li {
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #31577c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 12px;
}

.image-resize-l3-mother .tool-layout.operation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.image-resize-l3-mother .convert-card,
.image-resize-l3-mother .limit-card,
.image-resize-l3-mother .info-card,
.image-resize-l3-mother .l3-related-card,
.image-resize-l3-mother .return-card {
  border: 1px solid var(--l3-card-border);
  border-radius: 22px;
  background: var(--l3-card-bg);
  box-shadow: var(--l3-card-shadow);
}

.image-resize-l3-mother .convert-card,
.image-resize-l3-mother .limit-card {
  padding: 24px;
}

.image-resize-l3-mother .image-resize-parameter-card {
  position: sticky;
  top: 92px;
}

.image-resize-l3-mother .card-eyebrow,
.image-resize-l3-mother .image-resize-setting-title {
  margin: 0 0 8px;
  color: var(--l3-blue);
  font-size: 13px;
  font-weight: 800;
}

.image-resize-l3-mother .card-title {
  margin: 0;
  color: var(--l3-text);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.image-resize-l3-mother .card-copy {
  margin: 10px 0 0;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.7;
}

.image-resize-l3-mother .l3-blue-notice {
  margin: 20px 0 0;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 16px;
  background: #f3f8ff;
  color: #31577c;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
}

.image-resize-l3-mother .image-resize-contract-upload-block,
.image-resize-l3-mother .image-resize-contract-status-block,
.image-resize-l3-mother .image-resize-contract-result-block {
  margin-top: 22px;
}

.image-resize-l3-mother .image-resize-drop-zone,
.image-resize-l3-mother .l3-dropzone-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border: 1.5px dashed #b9cce6;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff, #f4f8ff);
  color: var(--l3-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.image-resize-l3-mother .image-resize-drop-zone:hover,
.image-resize-l3-mother .image-resize-drop-zone.is-dragover,
.image-resize-l3-mother .l3-dropzone-upload:hover {
  border-color: var(--l3-blue);
  background: #eef5ff;
  transform: translateY(-1px);
}

.image-resize-l3-mother .image-resize-drop-zone input,
.image-resize-l3-mother .file-input,
.image-resize-l3-mother .l3-file-input-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-resize-l3-mother .upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--l3-blue);
  box-shadow: 0 10px 24px rgba(31, 95, 191, 0.14);
  font-size: 24px;
  font-weight: 900;
}

.image-resize-l3-mother .upload-title,
.image-resize-l3-mother .l3-upload-title {
  display: block;
  color: var(--l3-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.image-resize-l3-mother .upload-note,
.image-resize-l3-mother .l3-upload-desc {
  display: block;
  margin-top: 8px;
  max-width: 520px;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.6;
}

.image-resize-l3-mother .image-resize-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.image-resize-l3-mother .image-resize-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.image-resize-l3-mother .image-resize-field label {
  color: var(--l3-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.image-resize-l3-mother .image-resize-field input,
.image-resize-l3-mother .image-resize-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfe0f1;
  border-radius: 14px;
  background: #ffffff;
  color: var(--l3-text);
  font-size: 15px;
  padding: 10px 12px;
  outline: none;
}

.image-resize-l3-mother .image-resize-field input:focus,
.image-resize-l3-mother .image-resize-field select:focus {
  border-color: var(--l3-blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.12);
}

.image-resize-l3-mother .image-resize-preset-grid,
.image-resize-l3-mother .l3-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.image-resize-l3-mother .image-resize-preset-grid button,
.image-resize-l3-mother .l3-option-grid button {
  border: 1px solid #d5e4f4;
  border-radius: 14px;
  background: #ffffff;
  color: #31577c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 44px;
  padding: 9px 10px;
  text-align: left;
}

.image-resize-l3-mother .image-resize-preset-grid button:hover,
.image-resize-l3-mother .image-resize-preset-grid button.is-active,
.image-resize-l3-mother .l3-option-grid button:hover,
.image-resize-l3-mother .l3-option-grid button.is-active {
  border-color: var(--l3-blue);
  background: var(--l3-blue-soft);
  color: var(--l3-blue-dark);
}

.image-resize-l3-mother .image-resize-mode-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.image-resize-l3-mother .image-resize-mode-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #d5e4f4;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  padding: 12px;
}

.image-resize-l3-mother .image-resize-mode-option strong {
  display: block;
  color: var(--l3-text);
  font-size: 14px;
  line-height: 1.35;
}

.image-resize-l3-mother .image-resize-mode-option span {
  display: block;
  margin-top: 4px;
  color: var(--l3-muted);
  font-size: 13px;
  line-height: 1.55;
}

.image-resize-l3-mother .image-resize-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.image-resize-l3-mother .gutools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.image-resize-l3-mother .gutools-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.image-resize-l3-mother .image-resize-primary-action,
.image-resize-l3-mother .l3-primary-action {
  background: linear-gradient(180deg, #2d75db, var(--l3-blue));
  border-color: rgba(31, 95, 191, 0.88);
  color: #ffffff;
  min-height: 48px;
  box-shadow: 0 12px 24px rgba(31, 95, 191, 0.20);
}

.image-resize-l3-mother .image-resize-primary-action:hover:not(:disabled),
.image-resize-l3-mother .l3-primary-action:hover:not(:disabled) {
  background: linear-gradient(180deg, #2b70d2, var(--l3-blue-dark));
  box-shadow: 0 16px 30px rgba(31, 95, 191, 0.24);
}

.image-resize-l3-mother .image-resize-clear-btn,
.image-resize-l3-mother .l3-secondary-action {
  border-color: #d8e3ef;
  background: #f8fbff;
  color: #66778d;
  box-shadow: none;
}

.image-resize-l3-mother .image-resize-status,
.image-resize-l3-mother .l3-form-message {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f7f8fb;
  color: #344256;
  font-size: 14px;
  line-height: 1.65;
  padding: 13px 14px;
}

.image-resize-l3-mother .image-resize-status[data-state="success"],
.image-resize-l3-mother .l3-form-message[data-state="success"] {
  border-color: rgba(31, 95, 191, 0.22);
  background: #eef5ff;
  color: var(--l3-blue-dark);
}

.image-resize-l3-mother .image-resize-status[data-state="error"],
.image-resize-l3-mother .l3-form-message[data-state="error"] {
  border-color: rgba(185, 28, 28, 0.22);
  background: #fff5f5;
  color: #9f1d1d;
}

.image-resize-l3-mother .result-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.image-resize-l3-mother .result-heading-row h3 {
  margin: 0;
  color: var(--l3-text);
  font-size: 17px;
  line-height: 1.4;
}

.image-resize-l3-mother .image-resize-zip-btn,
.image-resize-l3-mother .l3-export-action {
  border-color: rgba(31, 95, 191, 0.88);
  background: linear-gradient(180deg, #2d75db, var(--l3-blue));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 95, 191, 0.18);
}

.image-resize-l3-mother .image-resize-zip-btn:disabled,
.image-resize-l3-mother .image-resize-zip-btn[aria-disabled="true"],
.image-resize-l3-mother .l3-export-action:disabled {
  border-color: #d8e3ef;
  background: #f2f6fb;
  color: #8797aa;
  cursor: not-allowed;
  box-shadow: none;
}

.image-resize-l3-mother .image-resize-result-list,
.image-resize-l3-mother .l3-result-list {
  display: grid;
  gap: 12px;
  min-height: 126px;
}

.image-resize-l3-mother .image-resize-result-list a,
.image-resize-l3-mother .image-resize-result-list button,
.image-resize-l3-mother .l3-result-list a,
.image-resize-l3-mother .l3-result-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: fit-content;
  border: 1px solid rgba(31, 95, 191, 0.26);
  border-radius: 13px;
  background: #eef5ff;
  color: var(--l3-blue-dark);
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
}

.image-resize-l3-mother .image-resize-empty-state,
.image-resize-l3-mother .l3-empty-state {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfddeb;
  border-radius: 18px;
  background: #fbfdff;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.7;
  padding: 18px;
  text-align: center;
}

.image-resize-l3-mother .image-resize-support-list,
.image-resize-l3-mother .info-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.75;
}

.image-resize-l3-mother .info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-resize-l3-mother .info-card {
  padding: 20px;
}

.image-resize-l3-mother .info-card h2,
.image-resize-l3-mother .info-card h3 {
  margin: 0;
  color: var(--l3-text);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}

.image-resize-l3-mother .info-card p {
  margin: 10px 0 0;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.75;
}

.image-resize-l3-mother .related-tools.l3-related-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.image-resize-l3-mother .l3-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
  color: var(--l3-text);
  padding: 16px;
  text-decoration: none;
}

.image-resize-l3-mother .l3-related-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.image-resize-l3-mother .l3-related-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--l3-blue-soft);
  color: var(--l3-blue-dark);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.image-resize-l3-mother .return-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--l3-blue-dark);
  font-size: 14px;
  font-weight: 800;
  padding: 13px 16px;
  text-decoration: none;
}

.image-resize-l3-mother .site-footer {
  width: 100%;
  border-top: 1px solid var(--l3-card-border);
  background: #ffffff;
  color: var(--l3-muted);
  margin-top: 48px;
}

.image-resize-l3-mother .site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

.image-resize-l3-mother .site-footer__minimal-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.image-resize-l3-mother .footer-brand {
  min-width: 230px;
}

.image-resize-l3-mother .footer-brand strong {
  display: block;
  color: var(--l3-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.image-resize-l3-mother .footer-brand p {
  margin: 3px 0 0;
  color: var(--l3-muted);
  font-size: 13px;
  line-height: 1.35;
}

.image-resize-l3-mother .site-records {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  color: var(--l3-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.image-resize-l3-mother .site-records a,
.image-resize-l3-mother .footer-link-group a,
.image-resize-l3-mother .footer-link-group-minimal a {
  color: var(--l3-muted);
  text-decoration: none;
}

.image-resize-l3-mother .police-record {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.image-resize-l3-mother .police-record img {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}

.image-resize-l3-mother .footer-link-group,
.image-resize-l3-mother .footer-link-group-minimal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .image-resize-l3-mother .tool-layout.operation-grid,
  .image-resize-l3-mother .info-grid,
  .image-resize-l3-mother .related-tools.l3-related-tools {
    grid-template-columns: 1fr;
  }

  .image-resize-l3-mother .image-resize-parameter-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .image-resize-l3-mother .site-header__inner {
    padding: 12px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .image-resize-l3-mother .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .image-resize-l3-mother .main-nav a {
    white-space: nowrap;
  }

  .image-resize-l3-mother .site-footer__minimal-top {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .image-resize-l3-mother .footer-brand,
  .image-resize-l3-mother .site-records,
  .image-resize-l3-mother .footer-link-group,
  .image-resize-l3-mother .footer-link-group-minimal {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .image-resize-l3-mother .section__inner {
    width: min(100% - 24px, var(--l3-page-max));
  }

  .image-resize-l3-mother .l3-hero-card,
  .image-resize-l3-mother .convert-card,
  .image-resize-l3-mother .limit-card {
    border-radius: 18px;
    padding: 18px;
  }

  .image-resize-l3-mother .image-resize-form-grid,
  .image-resize-l3-mother .image-resize-preset-grid,
  .image-resize-l3-mother .l3-option-grid {
    grid-template-columns: 1fr;
  }

  .image-resize-l3-mother .result-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .image-resize-l3-mother .result-heading-row .gutools-btn,
  .image-resize-l3-mother .image-resize-actions .gutools-btn {
    width: 100%;
  }
}

/* GUTOOLS_L3_COMPONENT_STANDARD_0ZB_START */

.image-resize-l3-mother .l3-upload-zone {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed rgba(57, 111, 191, 0.36);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 255, 0.96)),
    #f7fbff;
  color: var(--l3-muted);
  text-align: center;
  cursor: pointer;
  padding: 26px 20px;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.image-resize-l3-mother .l3-upload-zone:hover,
.image-resize-l3-mother .l3-upload-zone:focus-within {
  border-color: rgba(31, 95, 191, 0.72);
  background:
    linear-gradient(180deg, #ffffff, #eef5ff),
    #eef5ff;
  box-shadow: 0 14px 34px rgba(31, 95, 191, 0.12);
  transform: translateY(-1px);
}

.image-resize-l3-mother .l3-upload-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-resize-l3-mother .l3-upload-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 95, 191, 0.16);
  border-radius: 18px;
  background: #ffffff;
  color: var(--l3-blue);
  box-shadow: 0 12px 28px rgba(31, 95, 191, 0.14);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.image-resize-l3-mother .l3-upload-title {
  margin-top: 4px;
  color: var(--l3-text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.45;
}

.image-resize-l3-mother .l3-upload-desc {
  max-width: 520px;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.65;
}

.image-resize-l3-mother .l3-file-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.image-resize-l3-mother .l3-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(207, 224, 241, 0.9);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--l3-text);
  padding: 13px 14px;
}

.image-resize-l3-mother .l3-file-row strong {
  display: block;
  color: var(--l3-text);
  font-size: 14px;
  line-height: 1.45;
}

.image-resize-l3-mother .l3-file-row p {
  margin: 5px 0 0;
  color: var(--l3-muted);
  font-size: 13px;
  line-height: 1.55;
}

.image-resize-l3-mother .l3-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.image-resize-l3-mother .l3-field-label {
  color: var(--l3-text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.image-resize-l3-mother .l3-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfe0f1;
  border-radius: 14px;
  background: #ffffff;
  color: var(--l3-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  padding: 11px 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.image-resize-l3-mother .l3-input:focus {
  border-color: rgba(31, 95, 191, 0.82);
  box-shadow: 0 0 0 4px rgba(31, 95, 191, 0.12);
}

.image-resize-l3-mother .l3-field-help {
  color: var(--l3-muted);
  font-size: 13px;
  line-height: 1.6;
}

.image-resize-l3-mother .l3-primary-action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 95, 191, 0.88);
  border-radius: 15px;
  background: linear-gradient(180deg, #2d75db, var(--l3-blue));
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  padding: 13px 18px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(31, 95, 191, 0.20);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.image-resize-l3-mother .l3-primary-action:not(:disabled):hover {
  background: linear-gradient(180deg, #2b70d2, var(--l3-blue-dark));
  box-shadow: 0 16px 30px rgba(31, 95, 191, 0.24);
  transform: translateY(-1px);
}

.image-resize-l3-mother .l3-primary-action:focus-visible {
  outline: 4px solid rgba(31, 95, 191, 0.16);
  outline-offset: 3px;
}

.image-resize-l3-mother .l3-primary-action:disabled {
  border-color: #d8e3ef;
  background: #eef3f9;
  color: #8da0b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.image-resize-l3-mother .info-grid > .l3-info-grid {
  grid-column: 1 / -1;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-resize-l3-mother .l3-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-resize-l3-mother .l3-info-card {
  border: 1px solid var(--l3-card-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 35, 80, 0.07);
  padding: 20px;
}

.image-resize-l3-mother .l3-info-card strong,
.image-resize-l3-mother .l3-info-card h2,
.image-resize-l3-mother .l3-info-card h3 {
  display: block;
  margin: 0;
  color: var(--l3-text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: 0;
}

.image-resize-l3-mother .l3-info-card p {
  margin: 10px 0 0;
  color: var(--l3-muted);
  font-size: 14px;
  line-height: 1.75;
}

.image-resize-l3-mother .l3-related-card {
  border: 1px solid var(--l3-card-border);
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.image-resize-l3-mother .l3-related-card:hover {
  border-color: rgba(31, 95, 191, 0.30);
  box-shadow: 0 16px 34px rgba(31, 95, 191, 0.10);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .image-resize-l3-mother .info-grid > .l3-info-grid,
  .image-resize-l3-mother .l3-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .image-resize-l3-mother .l3-upload-zone {
    min-height: 170px;
    border-radius: 18px;
    padding: 22px 16px;
  }

  .image-resize-l3-mother .l3-file-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* GUTOOLS_L3_COMPONENT_STANDARD_0ZB_END */

/* GUTOOLS_L3_INTERACTION_STATE_STANDARD_0ZF_START */

.image-resize-l3-mother .l3-form-message[data-state="normal"],
.image-resize-l3-mother .l3-status-card[data-state="normal"] {
  border-color: rgba(31, 95, 191, 0.18);
  background: #f3f8ff;
  color: #31577c;
}

.image-resize-l3-mother .l3-form-message[data-state="warning"],
.image-resize-l3-mother .l3-status-card[data-state="warning"] {
  border-color: rgba(202, 138, 4, 0.24);
  background: #fffaf0;
  color: #8a5d10;
}

.image-resize-l3-mother .l3-form-message[data-state="error"],
.image-resize-l3-mother .l3-status-card[data-state="error"] {
  border-color: rgba(185, 28, 28, 0.22);
  background: #fff5f5;
  color: #9f1d1d;
}

.image-resize-l3-mother .l3-form-message[data-state="success"],
.image-resize-l3-mother .l3-status-card[data-state="success"] {
  border-color: rgba(31, 95, 191, 0.22);
  background: #eef5ff;
  color: var(--l3-blue-dark);
}

.image-resize-l3-mother .l3-download-action,
.image-resize-l3-mother [data-download-list] .l3-download-action {
  display: inline-flex;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 95, 191, 0.30);
  border-radius: 13px;
  background: #eef5ff;
  color: var(--l3-blue-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  padding: 0 18px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 95, 191, 0.10);
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.image-resize-l3-mother .l3-download-action:hover,
.image-resize-l3-mother [data-download-list] .l3-download-action:hover {
  border-color: rgba(31, 95, 191, 0.55);
  background: #e3efff;
  color: var(--l3-blue-dark);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(31, 95, 191, 0.16);
  transform: translateY(-1px);
}

.image-resize-l3-mother .l3-download-action:focus-visible,
.image-resize-l3-mother [data-download-list] .l3-download-action:focus-visible {
  outline: 3px solid rgba(31, 95, 191, 0.18);
  outline-offset: 3px;
}

.image-resize-l3-mother .l3-download-action[aria-disabled="true"],
.image-resize-l3-mother [data-download-list] .l3-download-action[aria-disabled="true"] {
  border-color: #d8e3ef;
  background: #f2f6fb;
  color: #8797aa;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* GUTOOLS_L3_INTERACTION_STATE_STANDARD_0ZF_END */

/* GUTOOLS_L3_DYNAMIC_SLOT_CONTROL_STYLE_START */

/* 动态文件列表：由具体工具 JS 生成，统一纳入 Gutools L3 控件风格 */
.l3-file-list,
[data-file-list] {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #0f2748;
}

.l3-file-list > *,
[data-file-list] > * {
  border: 1px solid rgba(148, 176, 214, 0.42);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.88);
  padding: 10px 12px;
}

.l3-file-list button,
[data-file-list] button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 4px 6px 0 0;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #1554b7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(22, 78, 158, 0.06);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.l3-file-list button:not(:disabled):hover,
[data-file-list] button:not(:disabled):hover {
  background: #edf5ff;
  border-color: rgba(37, 99, 235, 0.42);
  color: #0b4eb3;
  box-shadow: 0 8px 18px rgba(22, 78, 158, 0.12);
  transform: translateY(-1px);
}

.l3-file-list button:focus-visible,
[data-file-list] button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  outline-offset: 2px;
}

.l3-file-list button:disabled,
[data-file-list] button:disabled {
  background: rgba(241, 245, 249, 0.82);
  border-color: rgba(148, 163, 184, 0.28);
  color: #9aa8bd;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* 动态结果下载：避免下载链接变成大方块，统一为正式下载按钮 */
.l3-result-list,
[data-download-list] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.l3-result-list a,
.l3-result-list button,
[data-download-list] a,
[data-download-list] button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, #2f7af0 0%, #2468d9 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.20);
  transition: box-shadow .16s ease, transform .16s ease, filter .16s ease;
}

.l3-result-list a:hover,
.l3-result-list button:not(:disabled):hover,
[data-download-list] a:hover,
[data-download-list] button:not(:disabled):hover {
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.l3-result-list a:focus-visible,
.l3-result-list button:focus-visible,
[data-download-list] a:focus-visible,
[data-download-list] button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 3px;
}

.l3-result-list button:disabled,
[data-download-list] button:disabled {
  background: #e8eef7;
  border-color: rgba(148, 163, 184, 0.24);
  color: #9aa8bd;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 720px) {
  .l3-file-list button,
  [data-file-list] button {
    min-height: 30px;
    padding: 0 11px;
  }

  .l3-result-list,
  [data-download-list] {
    align-items: stretch;
  }

  .l3-result-list a,
  .l3-result-list button,
  [data-download-list] a,
  [data-download-list] button {
    width: 100%;
  }
}

/* GUTOOLS_L3_DYNAMIC_SLOT_CONTROL_STYLE_END */
