@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.wtpng-tool,
.wtpng-tool *,
.wtpng-tool *::before,
.wtpng-tool *::after {
  box-sizing: border-box;
}

.wtpng-tool {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fbfcff 0%, #f5f7fb 100%);
  color: #172033;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.wtpng-tool .wtpng-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.wtpng-tool .wtpng-header {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.wtpng-tool .wtpng-header-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  background: #ffffff;
  color: #4655d8;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(34, 63, 138, 0.07);
}

.wtpng-tool .wtpng-title {
  margin: 12px 0 8px;
  color: #111827;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.wtpng-tool .wtpng-subtitle {
  margin: 0;
  color: #5d687b;
  font-size: 16px;
}

.wtpng-tool .wtpng-widget {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(460px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.wtpng-tool .wtpng-left-column {
  display: grid;
  gap: 18px;
}

.wtpng-tool .wtpng-upload-panel,
.wtpng-tool .wtpng-settings-panel,
.wtpng-tool .wtpng-preview-panel {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.wtpng-tool .wtpng-upload-panel,
.wtpng-tool .wtpng-settings-panel {
  padding: 20px;
}

.wtpng-tool .wtpng-preview-panel {
  padding: 20px;
  min-width: 0;
}

.wtpng-tool .wtpng-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.wtpng-tool .wtpng-panel-title {
  margin: 0;
  color: #182235;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: 0;
}

.wtpng-tool .wtpng-panel-note {
  flex: 0 0 auto;
  color: #69758a;
  font-size: 12px;
  font-weight: 650;
}

.wtpng-tool .wtpng-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1.5px dashed #b8c7e6;
  border-radius: 16px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(42, 117, 255, 0.36), rgba(128, 78, 255, 0.34)) border-box;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
  outline: none;
}

.wtpng-tool .wtpng-drop-zone:hover,
.wtpng-tool .wtpng-drop-zone:focus-visible,
.wtpng-tool .wtpng-drop-zone.wtpng-is-dragging {
  border-color: #6674ff;
  box-shadow: 0 18px 42px rgba(73, 92, 255, 0.14);
  transform: translateY(-1px);
}

.wtpng-tool .wtpng-drop-zone.wtpng-is-dragging {
  background:
    linear-gradient(180deg, #f8fbff, #ffffff) padding-box,
    linear-gradient(135deg, #2f7bff, #8b5cf6) border-box;
}

.wtpng-tool .wtpng-file-icon {
  position: relative;
  width: 72px;
  height: 88px;
  border: 1px solid #c8d5ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f2f6ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 14px 28px rgba(34, 63, 138, 0.12);
}

.wtpng-tool .wtpng-file-icon::before {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 24px;
  height: 24px;
  border-left: 1px solid #c8d5ee;
  border-bottom: 1px solid #c8d5ee;
  border-radius: 0 11px 0 8px;
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 72%);
}

.wtpng-tool .wtpng-file-icon-line {
  position: absolute;
  left: 14px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3178ff, #8d5cf6);
}

.wtpng-tool .wtpng-file-icon-line-one {
  top: 36px;
  width: 38px;
}

.wtpng-tool .wtpng-file-icon-line-two {
  top: 50px;
  width: 44px;
  opacity: 0.72;
}

.wtpng-tool .wtpng-file-icon-line-three {
  top: 64px;
  width: 30px;
  opacity: 0.46;
}

.wtpng-tool .wtpng-drop-copy {
  display: grid;
  gap: 5px;
  max-width: 330px;
  margin: 14px auto 16px;
}

.wtpng-tool .wtpng-drop-copy strong {
  color: #162033;
  font-size: 17px;
  line-height: 1.25;
}

.wtpng-tool .wtpng-drop-copy span {
  color: #69758a;
  font-size: 13px;
}

.wtpng-tool .wtpng-choose-button,
.wtpng-tool .wtpng-action-button,
.wtpng-tool .wtpng-remove-file,
.wtpng-tool .wtpng-download-all,
.wtpng-tool .wtpng-output-button {
  appearance: none;
  border: 0;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.wtpng-tool .wtpng-choose-button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #246fff, #8057f5);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(56, 97, 255, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.wtpng-tool .wtpng-choose-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(56, 97, 255, 0.32);
}

.wtpng-tool .wtpng-choose-button:active {
  transform: translateY(0);
  filter: saturate(0.95);
}

.wtpng-tool .wtpng-choose-button:focus-visible,
.wtpng-tool .wtpng-action-button:focus-visible,
.wtpng-tool .wtpng-remove-file:focus-visible,
.wtpng-tool .wtpng-download-all:focus-visible,
.wtpng-tool .wtpng-output-button:focus-visible,
.wtpng-tool .wtpng-control:focus-visible,
.wtpng-tool .wtpng-toggle-input:focus-visible + .wtpng-toggle-visual {
  outline: 3px solid rgba(76, 111, 255, 0.26);
  outline-offset: 3px;
}

.wtpng-tool .wtpng-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wtpng-tool .wtpng-format-row {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
}

.wtpng-tool .wtpng-format-row span {
  padding: 4px 9px;
  border: 1px solid #e0e7f4;
  border-radius: 999px;
  background: #f8fafc;
  color: #5d687b;
  font-size: 11px;
  font-weight: 750;
}

.wtpng-tool .wtpng-file-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #e1e8f5;
  border-radius: 14px;
  background: #f8fbff;
}

.wtpng-tool .wtpng-file-summary[hidden],
.wtpng-tool [hidden] {
  display: none;
}

.wtpng-tool .wtpng-file-summary-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wtpng-tool .wtpng-file-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.wtpng-tool .wtpng-file-meta {
  display: grid;
  min-width: 0;
}

.wtpng-tool .wtpng-file-meta strong,
.wtpng-tool .wtpng-file-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wtpng-tool .wtpng-file-meta strong {
  color: #172033;
  font-size: 13px;
}

.wtpng-tool .wtpng-file-meta span {
  color: #68758a;
  font-size: 12px;
}

.wtpng-tool .wtpng-remove-file {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 10px;
  background: #eef2f8;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.wtpng-tool .wtpng-remove-file:hover {
  background: #e2e8f0;
}

.wtpng-tool .wtpng-inline-status,
.wtpng-tool .wtpng-footer-status {
  margin: 12px 0 0;
  color: #69758a;
  font-size: 12px;
}

.wtpng-tool .wtpng-inline-status.wtpng-error {
  color: #b42318;
}

.wtpng-tool .wtpng-inline-status.wtpng-success,
.wtpng-tool .wtpng-footer-status.wtpng-success {
  color: #16703b;
}

.wtpng-tool .wtpng-settings-grid {
  display: grid;
  gap: 12px;
}

.wtpng-tool .wtpng-settings-row {
  display: grid;
  gap: 7px;
}

.wtpng-tool .wtpng-label {
  color: #394456;
  font-size: 12px;
  font-weight: 750;
}

.wtpng-tool .wtpng-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wtpng-tool .wtpng-control:focus {
  border-color: #6574ff;
  box-shadow: 0 0 0 4px rgba(101, 116, 255, 0.12);
}

.wtpng-tool .wtpng-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px;
  border: 1px solid #e1e8f5;
  border-radius: 14px;
  background: #fbfcff;
  cursor: pointer;
}

.wtpng-tool .wtpng-toggle-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wtpng-tool .wtpng-toggle-copy strong {
  color: #253044;
  font-size: 13px;
}

.wtpng-tool .wtpng-toggle-copy span {
  color: #69758a;
  font-size: 12px;
}

.wtpng-tool .wtpng-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wtpng-tool .wtpng-toggle-visual {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 160ms ease;
}

.wtpng-tool .wtpng-toggle-visual::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.24);
  transition: transform 160ms ease;
}

.wtpng-tool .wtpng-toggle-input:checked + .wtpng-toggle-visual {
  background: linear-gradient(135deg, #256fff, #8057f5);
}

.wtpng-tool .wtpng-toggle-input:checked + .wtpng-toggle-visual::before {
  transform: translateX(20px);
}

.wtpng-tool .wtpng-action-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.wtpng-tool .wtpng-action-button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

.wtpng-tool .wtpng-action-primary {
  background: linear-gradient(135deg, #216dff, #8257f5);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(56, 97, 255, 0.27);
}

.wtpng-tool .wtpng-action-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(56, 97, 255, 0.34);
}

.wtpng-tool .wtpng-action-secondary {
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #334155;
}

.wtpng-tool .wtpng-action-secondary:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.wtpng-tool .wtpng-action-button:active:not(:disabled) {
  transform: translateY(0);
}

.wtpng-tool .wtpng-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.wtpng-tool .wtpng-preview-area {
  min-height: 520px;
  border: 1px solid #e5ecf6;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(45, 116, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 16px;
}

.wtpng-tool .wtpng-empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 468px;
  text-align: center;
  gap: 10px;
  color: #68758a;
}

.wtpng-tool .wtpng-empty-state strong {
  color: #172033;
  font-size: 16px;
}

.wtpng-tool .wtpng-empty-state span {
  max-width: 330px;
  font-size: 13px;
}

.wtpng-tool .wtpng-doc-illustration {
  position: relative;
  width: 126px;
  height: 158px;
  margin-bottom: 4px;
  border: 1px solid #cfdaec;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.wtpng-tool .wtpng-doc-fold {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 38px;
  height: 38px;
  border-left: 1px solid #cfdaec;
  border-bottom: 1px solid #cfdaec;
  border-radius: 0 16px 0 12px;
  background: linear-gradient(135deg, #f2f6ff, #ffffff);
}

.wtpng-tool .wtpng-doc-line,
.wtpng-tool .wtpng-doc-image {
  position: absolute;
  left: 20px;
  border-radius: 999px;
}

.wtpng-tool .wtpng-doc-line {
  height: 7px;
  background: #c4d0e3;
}

.wtpng-tool .wtpng-doc-line-one {
  top: 54px;
  width: 68px;
}

.wtpng-tool .wtpng-doc-line-two {
  top: 72px;
  width: 84px;
}

.wtpng-tool .wtpng-doc-image {
  top: 99px;
  width: 76px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a73ff, #8a5cf6);
  opacity: 0.9;
}

.wtpng-tool .wtpng-ready-state {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #ffffff;
}

.wtpng-tool .wtpng-ready-thumb {
  flex: 0 0 auto;
  width: 54px;
  height: 66px;
  border: 1px solid #cbd7eb;
  border-radius: 10px;
  background:
    linear-gradient(90deg, #c7d2fe 0 58%, transparent 58% 100%) 13px 20px / 28px 5px no-repeat,
    linear-gradient(90deg, #dbeafe 0 76%, transparent 76% 100%) 13px 32px / 32px 5px no-repeat,
    linear-gradient(180deg, #ffffff, #f1f6ff);
}

.wtpng-tool .wtpng-ready-state strong,
.wtpng-tool .wtpng-ready-state span {
  display: block;
}

.wtpng-tool .wtpng-ready-state strong {
  color: #172033;
  font-size: 15px;
}

.wtpng-tool .wtpng-ready-state span {
  color: #68758a;
  font-size: 13px;
}

.wtpng-tool .wtpng-progress-state {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #ffffff;
}

.wtpng-tool .wtpng-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #172033;
  font-size: 14px;
  font-weight: 800;
}

.wtpng-tool .wtpng-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf7;
}

.wtpng-tool .wtpng-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #216dff, #8057f5);
  transition: width 180ms ease;
}

.wtpng-tool .wtpng-progress-state p {
  margin: 0;
  color: #68758a;
  font-size: 13px;
}

.wtpng-tool .wtpng-output-wrap {
  display: grid;
  gap: 14px;
}

.wtpng-tool .wtpng-output-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #ffffff;
}

.wtpng-tool .wtpng-output-toolbar strong,
.wtpng-tool .wtpng-output-toolbar span {
  display: block;
}

.wtpng-tool .wtpng-output-toolbar strong {
  color: #172033;
  font-size: 14px;
}

.wtpng-tool .wtpng-output-toolbar span {
  color: #68758a;
  font-size: 12px;
}

.wtpng-tool .wtpng-download-all {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #172033;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wtpng-tool .wtpng-download-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.wtpng-tool .wtpng-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wtpng-tool .wtpng-output-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 236px;
  padding: 14px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.wtpng-tool .wtpng-output-card:hover {
  transform: translateY(-2px);
  border-color: #cbd7eb;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.wtpng-tool .wtpng-output-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(34, 109, 255, 0.12), rgba(128, 87, 245, 0.14)),
    linear-gradient(180deg, #ffffff, #f7faff);
  overflow: hidden;
}

.wtpng-tool .wtpng-output-thumb::before {
  content: "";
  position: absolute;
  inset: 18% 21%;
  border-radius: 10px;
  background:
    linear-gradient(90deg, #c4d0e4 0 72%, transparent 72% 100%) 0 14px / 100% 6px no-repeat,
    linear-gradient(90deg, #dbe3f0 0 58%, transparent 58% 100%) 0 30px / 100% 6px no-repeat,
    linear-gradient(90deg, #dbe3f0 0 82%, transparent 82% 100%) 0 46px / 100% 6px no-repeat,
    #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.wtpng-tool .wtpng-page-label {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.wtpng-tool .wtpng-output-name {
  display: block;
  min-width: 0;
  margin: 11px 0 10px;
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wtpng-tool .wtpng-output-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wtpng-tool .wtpng-output-button {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.wtpng-tool .wtpng-output-button-download {
  background: linear-gradient(135deg, #216dff, #8057f5);
  color: #ffffff;
}

.wtpng-tool .wtpng-output-button-copy {
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #334155;
}

.wtpng-tool .wtpng-output-button:hover {
  transform: translateY(-1px);
}

.wtpng-tool .wtpng-output-button-download:hover {
  box-shadow: 0 10px 20px rgba(56, 97, 255, 0.22);
}

.wtpng-tool .wtpng-output-button-copy:hover {
  background: #f8fafc;
}

.wtpng-tool .wtpng-card-message {
  min-height: 18px;
  margin-top: 8px;
  color: #16703b;
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  .wtpng-tool .wtpng-drop-zone,
  .wtpng-tool .wtpng-choose-button,
  .wtpng-tool .wtpng-action-button,
  .wtpng-tool .wtpng-output-card,
  .wtpng-tool .wtpng-output-button,
  .wtpng-tool .wtpng-download-all,
  .wtpng-tool .wtpng-progress-bar,
  .wtpng-tool .wtpng-toggle-visual,
  .wtpng-tool .wtpng-toggle-visual::before {
    transition: none;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .wtpng-tool .wtpng-shell {
    width: min(100% - 24px, 1200px);
    padding: 28px 0;
  }

  .wtpng-tool .wtpng-title {
    font-size: 27px;
  }

  .wtpng-tool .wtpng-subtitle {
    font-size: 14px;
  }

  .wtpng-tool .wtpng-widget {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wtpng-tool .wtpng-upload-panel,
  .wtpng-tool .wtpng-settings-panel,
  .wtpng-tool .wtpng-preview-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .wtpng-tool .wtpng-drop-zone {
    min-height: 230px;
    padding: 18px 12px;
    border-radius: 13px;
  }

  .wtpng-tool .wtpng-action-row,
  .wtpng-tool .wtpng-output-actions,
  .wtpng-tool .wtpng-output-grid {
    grid-template-columns: 1fr;
  }

  .wtpng-tool .wtpng-output-toolbar,
  .wtpng-tool .wtpng-file-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .wtpng-tool .wtpng-preview-area {
    min-height: 430px;
    padding: 12px;
    border-radius: 13px;
  }

  .wtpng-tool .wtpng-empty-state {
    min-height: 360px;
  }

  .wtpng-tool .wtpng-output-card {
    min-height: 224px;
    padding: 12px;
    border-radius: 12px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .wtpng-tool .wtpng-shell {
    width: min(100% - 28px, 1200px);
    padding: 30px 0;
  }

  .wtpng-tool .wtpng-title {
    font-size: 30px;
  }

  .wtpng-tool .wtpng-subtitle {
    font-size: 14px;
  }

  .wtpng-tool .wtpng-widget {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .wtpng-tool .wtpng-upload-panel,
  .wtpng-tool .wtpng-settings-panel,
  .wtpng-tool .wtpng-preview-panel {
    padding: 15px;
    border-radius: 15px;
  }

  .wtpng-tool .wtpng-drop-zone {
    min-height: 238px;
    padding: 20px 14px;
  }

  .wtpng-tool .wtpng-output-grid {
    grid-template-columns: 1fr;
  }

  .wtpng-tool .wtpng-preview-area {
    min-height: 450px;
    padding: 13px;
  }

  .wtpng-tool .wtpng-empty-state {
    min-height: 378px;
  }

  .wtpng-tool .wtpng-output-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .wtpng-tool .wtpng-output-card {
    min-height: 228px;
    padding: 13px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .wtpng-tool .wtpng-shell {
    width: min(100% - 32px, 1200px);
    padding: 34px 0;
  }

  .wtpng-tool .wtpng-title {
    font-size: 33px;
  }

  .wtpng-tool .wtpng-widget {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wtpng-tool .wtpng-upload-panel,
  .wtpng-tool .wtpng-settings-panel,
  .wtpng-tool .wtpng-preview-panel {
    padding: 17px;
    border-radius: 16px;
  }

  .wtpng-tool .wtpng-drop-zone {
    min-height: 248px;
  }

  .wtpng-tool .wtpng-output-grid {
    grid-template-columns: 1fr;
  }

  .wtpng-tool .wtpng-preview-area {
    min-height: 470px;
  }

  .wtpng-tool .wtpng-empty-state {
    min-height: 395px;
  }

  .wtpng-tool .wtpng-output-toolbar {
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wtpng-tool .wtpng-shell {
    width: min(100% - 36px, 1200px);
    padding: 38px 0;
  }

  .wtpng-tool .wtpng-title {
    font-size: 36px;
  }

  .wtpng-tool .wtpng-widget {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 16px;
  }

  .wtpng-tool .wtpng-upload-panel,
  .wtpng-tool .wtpng-settings-panel,
  .wtpng-tool .wtpng-preview-panel {
    padding: 17px;
    border-radius: 16px;
  }

  .wtpng-tool .wtpng-drop-zone {
    min-height: 246px;
  }

  .wtpng-tool .wtpng-output-grid {
    grid-template-columns: 1fr;
  }

  .wtpng-tool .wtpng-preview-area {
    min-height: 540px;
  }

  .wtpng-tool .wtpng-output-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .wtpng-tool .wtpng-shell {
    padding: 46px 0;
  }

  .wtpng-tool .wtpng-widget {
    grid-template-columns: minmax(350px, 0.88fr) minmax(520px, 1.12fr);
  }

  .wtpng-tool .wtpng-output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}