#root .mm-welcome{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:0;
  padding:38px clamp(18px,5vw,64px) 30px;
  overflow-y:auto;
  background:
    radial-gradient(circle at 14% 12%,rgba(10,143,120,.14),transparent 30%),
    radial-gradient(circle at 88% 6%,rgba(47,127,229,.12),transparent 32%),
    linear-gradient(160deg,#f7fbff 0%,#eef8f5 58%,#f9fbff 100%);
  font-family:"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  color:#102b43;
}
#root .mm-welcome::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(16,43,67,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(16,43,67,.035) 1px,transparent 1px);
  background-size:28px 28px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 88%);
  mask-image:linear-gradient(180deg,#000,transparent 88%);
  pointer-events:none;
}
#root .mm-welcome > div[class*="h-16"][class*="grow"]{height:24px!important;min-height:24px!important;flex:0 0 auto!important}
#root .mm-welcome > div[class*="h-8"][class*="grow"]{height:14px!important;flex:0 0 auto!important}
#root .mm-welcome h1{
  position:relative;
  z-index:1;
  margin:0!important;
  color:#102b43!important;
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif!important;
  font-size:clamp(30px,4.2vw,44px)!important;
  font-weight:800!important;
  letter-spacing:-1px!important;
  line-height:1.2!important;
  text-align:center!important;
}
#root .mm-welcome h1::before{
  content:"隐私安全 · 照片不上传服务器";
  display:block;
  margin-bottom:12px;
  color:#0a8f78;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2em;
}
#root .mm-welcome h1 .mm-h1-tail{
  font-size:.56em;
  font-weight:800;
  color:#0a8f78;
  letter-spacing:0;
  margin-left:4px;
}
#root .mm-welcome h1::after{
  content:"上传一张照片，完成抠图、裁剪与换底";
  display:block;
  margin-top:12px;
  color:#63798d;
  font-size:15px;
  font-weight:500;
  letter-spacing:0;
}
#root .mm-chips{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px;
  margin-top:16px;
}
#root .mm-chips span{
  padding:6px 14px;
  border:1px solid rgba(10,143,120,.2);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#0b6b5a;
  font-size:12px;
  font-weight:700;
  backdrop-filter:blur(4px);
}
#root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon){
  position:relative;
  z-index:1;
  width:min(460px,94vw)!important;
  height:298px!important;
  max-width:none!important;
  max-height:none!important;
  margin:24px auto 0!important;
  overflow:hidden;
  border:1px solid #dce8e4!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 24px 55px -30px rgba(16,43,67,.45)!important;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
#root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon):hover{
  border-color:#0a8f78!important;
  box-shadow:0 28px 60px -28px rgba(10,143,120,.45)!important;
  transform:translateY(-2px);
}
#root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon)::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 30%,rgba(10,143,120,.08),transparent 62%);
  pointer-events:none;
}
#root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon) > div{height:100%;gap:10px}
#root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon) > div > div.relative{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}
#root .mm-welcome svg[data-testid="AddPhotoAlternateIcon"]{
  width:44px!important;
  height:44px!important;
  padding:10px!important;
  box-sizing:content-box!important;
  border-radius:14px;
  background:#e7f7f2!important;
  color:#0a8f78!important;
}
#root .mm-card-copy{
  position:relative;
  z-index:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  margin-top:14px;
  pointer-events:none;
}
#root .mm-card-copy b{color:#102b43;font-size:17px;font-weight:800}
#root .mm-card-copy span{color:#8193a3;font-size:12px}
#root .mm-welcome .MuiAvatarGroup-root{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  margin:0;
  z-index:2;
  border:0;
}
#root .mm-welcome .MuiAvatar-root{
  width:34px!important;
  height:34px!important;
  border:2px solid #fff!important;
  box-shadow:0 3px 10px rgba(16,43,67,.16);
}
#root .mm-demo-label{
  position:absolute;
  bottom:60px;
  left:50%;
  transform:translateX(-50%);
  z-index:0;
  color:#93a4b3;
  font-size:11px;
  white-space:nowrap;
  pointer-events:none;
}
#root .mm-note{
  position:relative;
  z-index:1;
  width:min(460px,94vw);
  margin:14px auto 0;
  color:#72869a;
  font-size:12px;
  line-height:1.7;
  text-align:center;
}
#root .mm-note span{color:#0a8f78;margin-right:4px}
#root .mm-info{position:relative;z-index:1;width:min(760px,94vw);margin:26px auto 0;display:grid;gap:12px}
#root .mm-info-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#root .mm-info-steps div{padding:11px 8px;border:1px solid #dce8e4;border-radius:14px;background:rgba(255,255,255,.82);text-align:center}
#root .mm-info-steps b{display:block;color:#0a8f78;font-size:12px;letter-spacing:.08em}
#root .mm-info-steps span{display:block;margin-top:3px;color:#4c6478;font-size:12px;font-weight:700}
#root .mm-info-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#root .mm-info-cards article{padding:13px 15px;border:1px solid #dce8e4;border-radius:14px;background:#fff;box-shadow:0 12px 26px -24px rgba(16,43,67,.45)}
#root .mm-info-cards h3{margin:0 0 4px;color:#102b43;font-size:13px;font-weight:800}
#root .mm-info-cards p{margin:0;color:#7b8fa3;font-size:11.5px;line-height:1.6}
#root .github-fork-ribbon{display:none!important}
body{background:#eaf1ee}
.mm-side-panel{position:fixed;left:6vw;top:50%;transform:translateY(-50%);width:300px;display:none;z-index:5;padding:26px;border:1px solid #dce8e4;border-radius:20px;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);box-shadow:0 22px 60px -34px rgba(16,43,67,.45);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.mm-side-kicker{color:#0a8f78;font-size:11px;font-weight:800;letter-spacing:.16em}
.mm-side-title{margin:8px 0 10px;color:#102b43;font-size:24px;font-weight:800}
.mm-side-desc{margin:0;color:#63798d;font-size:13px;line-height:1.85}
.mm-side-steps{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:8px}
.mm-side-steps li{padding:8px 12px;border:1px solid #e2ece8;border-radius:10px;color:#9aabb8;font-size:12px;font-weight:700}
.mm-side-steps li.is-done{color:#0a8f78;background:#e7f7f2;border-color:#d3eee4}
.mm-side-steps li.is-active{color:#102b43;background:#fff;border-color:#0a8f78;box-shadow:inset 3px 0 0 #0a8f78}
.mm-side-note{margin-top:18px;padding-top:14px;border-top:1px dashed #dce8e4;color:#8fa2b1;font-size:11px;line-height:1.6}
#root .mm-next-hint{position:absolute;right:96px;top:50%;transform:translateY(-50%);padding:3px 8px;border-radius:999px;background:#e7f7f2;color:#0a6f5d;font-size:11px;font-weight:700;white-space:nowrap;pointer-events:none}
@media(max-width:1040px){.mm-side-panel{display:none!important}}
#root .mm-editor{left:50%!important;right:auto!important;width:min(520px,100vw)!important;transform:translateX(-50%);border-radius:20px;overflow:hidden;box-shadow:0 24px 70px -30px rgba(16,43,67,.5)}
#root .mm-editor > div:first-child{background:linear-gradient(160deg,#f7fbff,#eef8f5 58%,#f9fbff)!important}
#root .mm-editor .MuiAppBar-root{position:absolute!important;left:0!important;right:0!important;top:0!important;width:100%!important;transform:none!important;border-radius:18px 18px 0 0;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px);color:#102b43!important;box-shadow:0 8px 26px -20px rgba(16,43,67,.55)!important;border-bottom:1px solid #e2ece8}
#root .mm-editor .MuiToolbar-root{min-height:64px!important;padding:0 18px!important}
#root .mm-editor .MuiToolbar-root .MuiTypography-root{color:#102b43!important;font-weight:800!important;font-size:16px!important}
#root .mm-editor .MuiAppBar-root [class*="cursor-pointer"]{background:#e7f7f2!important;border-radius:12px;width:38px!important;height:38px!important;margin-right:12px}
#root .mm-editor .MuiAppBar-root [class*="cursor-pointer"] svg:first-child{display:none}
#root .mm-editor .MuiAppBar-root [class*="cursor-pointer"] svg{color:#0a8f78!important}
#root .mm-editor .reactEasyCrop_Container{background:#eef4f2!important;border-radius:16px}
#root .mm-editor .reactEasyCrop_CropArea{color:rgba(31,58,78,.35)!important;border:2px solid rgba(255,255,255,.92)!important;border-radius:10px}
#root .mm-editor div[style*="9999em"],
#root .mm-editor .css-1w80iiu,
#root .mm-editor .mm-preview-mask{box-shadow:0 0 0 159984px rgba(226,238,234,.94)!important;color:rgba(16,43,67,.28)!important;outline:1px solid rgba(10,143,120,.35)!important;border-radius:10px}
#root .mm-editor .MuiPaper-root:not(.MuiAppBar-root){position:relative;z-index:2;background:#fff!important;border:1px solid #dce8e4!important;border-radius:18px!important;box-shadow:0 18px 40px -26px rgba(16,43,67,.55)!important;overflow:hidden}
#root .mm-editor .MuiPaper-root:not(.MuiAppBar-root) .MuiButton-root{color:#4c6478!important;border-radius:12px!important;margin:4px!important;font-weight:700!important}
#root .mm-editor .MuiPaper-root:not(.MuiAppBar-root) .MuiButton-root svg{color:#0a8f78!important}
#root .mm-editor .MuiPaper-root:not(.MuiAppBar-root) .MuiButton-root[class*="textPrimary"]{background:#e7f7f2!important;color:#0a6f5d!important}
#root .mm-editor .MuiBackdrop-root{background:rgba(16,43,67,.45)!important;backdrop-filter:blur(2px)}
.MuiTooltip-popper{display:none!important}
#root .mm-welcome > div[class*="w-[400px]"].mm-daemon{position:fixed!important;top:12px!important;right:calc(50% - 260px + 12px)!important;left:auto!important;bottom:auto!important;width:auto!important;height:auto!important;margin:0!important;z-index:30!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
#root .mm-welcome > div.mm-daemon > div{position:static!important;width:auto!important;height:auto!important;transform:none!important;display:flex!important;align-items:center;gap:6px;padding:6px 10px!important;background:rgba(16,43,67,.86)!important;border-radius:999px!important;box-shadow:none!important}
#root .mm-welcome > div.mm-daemon > div::after{content:'正在本地抠图…';color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
#root .mm-welcome > div.mm-daemon div[class*="text-white"]{display:none!important}
#root .MuiCircularProgress-root{color:#7fd8c1!important}
#root .mm-loading{position:absolute;inset:0;z-index:15;display:none;align-items:center;justify-content:center;background:rgba(232,243,239,.84);backdrop-filter:blur(6px)}
#root .mm-loading-card{width:270px;padding:28px 24px 22px;border:1px solid #dce8e4;border-radius:20px;background:#fff;box-shadow:0 24px 60px -28px rgba(16,43,67,.5);text-align:center}
#root .mm-loading-ring{position:relative;width:66px;height:66px;margin:0 auto 16px;border:5px solid #e3f3ee;border-top-color:#0a8f78;border-radius:50%;animation:mm-spin 1s linear infinite}
#root .mm-loading-ring::after{content:"";position:absolute;inset:10px;border:3px dashed rgba(10,143,120,.25);border-radius:50%;animation:mm-spin 2s linear infinite reverse}
@keyframes mm-spin{to{transform:rotate(360deg)}}
#root .mm-loading-card b{display:block;color:#102b43;font-size:16px;font-weight:800}
#root .mm-loading-card p{margin:7px 0 0;color:#8193a3;font-size:12px;line-height:1.6}
#root .mm-loading-bar{height:5px;margin:18px 0 12px;border-radius:99px;background:#e7f1ed;overflow:hidden}
#root .mm-loading-bar i{display:block;width:40%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7fd8c1,#0a8f78);animation:mm-load 1.4s ease-in-out infinite}
@keyframes mm-load{0%{transform:translateX(-110%)}100%{transform:translateX(260%)}}
#root .mm-loading-card > span{color:#a0b0bd;font-size:11px}
.MuiBackdrop-root{background:rgba(16,43,67,.45)!important;backdrop-filter:blur(2px)}
.MuiDialog-paper{background:#fff!important;border:1px solid #dce8e4!important;border-radius:18px!important;box-shadow:0 24px 60px -28px rgba(16,43,67,.5)!important;padding:6px 8px 4px!important}
.MuiDialogTitle-root{color:#102b43!important;font-weight:800!important;font-size:18px!important;padding:16px 20px 8px!important}
.MuiDialogContent-root{padding:0 20px 8px!important}
.MuiDialogContentText-root{color:#63798d!important;font-size:13px!important;line-height:1.8!important}
.MuiDialogActions-root{padding:8px 16px 16px!important;gap:8px}
.MuiDialogActions-root .MuiButton-root{border-radius:10px!important;font-weight:700!important;font-size:12px!important}
.MuiDialogActions-root .MuiButton-root:first-child{color:#0a8f78!important}
.MuiDialogActions-root .MuiButton-root:last-child{background:#0a8f78!important;color:#fff!important;padding:5px 18px!important}
.MuiDialogActions-root .MuiButton-root:last-child:hover{background:#087a66!important}
#root .mm-range{background:#fff!important;border-radius:12px!important}
#root .mm-range::before,#root .mm-range::after{width:70px!important;background:linear-gradient(to right,#fff,rgba(255,255,255,0))!important}
#root .mm-range::after{background:linear-gradient(to left,#fff,rgba(255,255,255,0))!important}
#root .mm-range-value{background:#e7f7f2!important;color:#0a6f5d!important;border-radius:8px!important;font-weight:800!important}
#root .MuiToggleButtonGroup-root{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;padding:10px 12px!important}
#root .MuiToggleButton-root{min-width:34px!important;width:34px!important;height:34px!important;border:1px solid #dce8e4!important;border-radius:10px!important;color:#4c6478!important;background:#fff!important;font-size:11px!important;font-weight:800!important;text-transform:none!important}
#root .MuiToggleButton-root.Mui-selected{background:#e7f7f2!important;color:#0a6f5d!important;border-color:#0a8f78!important}
#root .MuiBackdrop-root .MuiCard-root{border:1px solid #dce8e4!important;border-radius:20px!important;box-shadow:0 24px 60px -28px rgba(16,43,67,.5)!important;overflow:hidden;color:#102b43!important}
#root .MuiBackdrop-root .MuiCard-root > div[class*="h-[400px]"]{height:auto!important;min-height:0!important;max-height:none!important;position:relative}
#root .MuiBackdrop-root .MuiCard-root > div[class*="h-[400px]"] > ul{height:auto!important;max-height:296px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px 0 6px!important}
#root .MuiBackdrop-root .MuiCard-root > div[class*="h-[400px]"] > ul::-webkit-scrollbar{width:6px;height:6px}
#root .MuiBackdrop-root .MuiCard-root > div[class*="h-[400px]"] > ul::-webkit-scrollbar-thumb{background:#cfe2dc;border-radius:8px;border:2px solid #fff}
#root .MuiBackdrop-root .MuiCard-root > div[class*="h-[400px]"] > ul::-webkit-scrollbar-track{background:transparent}
#root .MuiBackdrop-root .MuiTabs-root .MuiTab-root{color:#4c6478!important;font-weight:700!important;text-transform:none!important}
#root .MuiBackdrop-root .MuiTabs-root .MuiTab-root.Mui-selected{color:#0a8f78!important}
#root .MuiBackdrop-root .MuiTabs-indicator{background:#0a8f78!important}
#root .MuiBackdrop-root .MuiListItemButton-root{border-radius:10px!important;margin:0 8px 6px!important;padding:8px 10px!important;align-items:flex-start!important;min-height:0!important;gap:8px!important}
#root .MuiBackdrop-root .MuiListItemButton-root:hover{background:#f3f9f7!important}
#root .MuiBackdrop-root .MuiListItemButton-root.Mui-selected{background:#e7f7f2!important}
#root .MuiBackdrop-root .MuiListItemIcon-root{min-width:26px!important;margin:0!important;padding-top:2px!important;color:#0a8f78!important}
#root .MuiBackdrop-root .MuiListItemIcon-root svg{font-size:20px!important;fill:currentColor!important}
#root .MuiBackdrop-root .MuiListItemText-root{margin:0!important;min-width:0!important}
#root .MuiBackdrop-root .MuiListItemText-primary{color:#102b43!important;font-weight:700!important;font-size:13.5px!important;line-height:1.45!important}
#root .MuiBackdrop-root .MuiListItemText-secondary{color:#7b8fa3!important;font-size:12px!important;line-height:1.45!important;margin-top:2px!important}
#root .MuiBackdrop-root .MuiListSubheader-root{background:transparent!important;line-height:44px!important}
#root .MuiBackdrop-root .MuiListSubheader-root .MuiButton-root{color:#0a8f78!important;font-weight:700!important}
#root .MuiBackdrop-root .MuiCardHeader-root{padding:14px 18px 8px!important;border-bottom:1px solid #eef4f2!important}
#root .MuiBackdrop-root .MuiCardHeader-subheader{color:#102b43!important;font-weight:800!important;font-size:15px!important}
#root .MuiBackdrop-root .MuiCardContent-root{padding:6px 18px 18px!important}
#root .MuiBackdrop-root .MuiFormControl-root{margin:12px 0!important}
#root .MuiBackdrop-root .MuiFormLabel-root{color:#93a4b3!important;font-size:13px!important}
#root .MuiBackdrop-root .MuiInputLabel-root.MuiInputLabel-shrink{color:#0a8f78!important}
#root .MuiBackdrop-root .MuiInputBase-input{color:#102b43!important;font-size:14px!important}
#root .MuiBackdrop-root .MuiInput-root:before{border-bottom-color:#dce8e4!important}
#root .MuiBackdrop-root .MuiInput-root:hover:not(.Mui-disabled):before{border-bottom-color:#0a8f78!important}
#root .MuiBackdrop-root .MuiInput-root:after{border-bottom-color:#0a8f78!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiButton-root.MuiButton-contained{background:#0a8f78!important;color:#fff!important;box-shadow:none!important;font-weight:700!important;height:46px!important;border-radius:999px!important;margin:16px 0 0!important;padding:0 18px!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiButton-root.MuiButton-contained:hover{background:#087a66!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiButton-root.MuiButton-contained svg{color:#fff!important;fill:#fff!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiButton-root.MuiButton-contained.MuiButton-colorError{background:#e2574c!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiListSubheader-root .MuiButton-root{color:#0a8f78!important;font-weight:700!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiListSubheader-root .MuiButton-root svg{color:#0a8f78!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiIconButton-root{color:#7b8fa3!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiIconButton-root:hover{background:#f0f6f4!important;color:#0a8f78!important}
#root .mm-editor .MuiBackdrop-root .MuiCard-root .MuiIconButton-root svg{fill:currentColor!important}
#root .mm-save-placeholder{position:absolute;right:30px;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border-radius:12px;background:#e7f7f2;border:1px dashed #a9dccd;display:flex;align-items:center;justify-content:center;pointer-events:none}
#root .mm-save-placeholder i{position:absolute;width:20px;height:20px;border-radius:50%;border:2px solid rgba(10,143,120,.2);border-top-color:#0a8f78;animation:mm-spin .9s linear infinite}
#root .mm-save-placeholder svg{width:18px;height:18px;fill:#93cfbe}
#root .mm-spec-tip{padding:12px 18px 18px;color:#8193a3;font-size:11.5px;line-height:1.6;text-align:center;border-top:1px dashed #dce8e4}
@media(max-width:640px){
  #root .mm-welcome{padding:26px 14px 22px}
  #root .mm-welcome > div[class*="w-[400px]"]:not(.mm-daemon){height:270px!important}
  #root .mm-welcome h1::after{font-size:13px}
  #root .mm-info-steps{grid-template-columns:repeat(2,1fr)}
  #root .mm-info-cards{grid-template-columns:1fr}
}
