*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Pretendard,system-ui,-apple-system,sans-serif;color:#172036;background:linear-gradient(145deg,#f5f8ff,#fff8f5 50%,#f5efff)}body{padding-bottom:max(24px,env(safe-area-inset-bottom))}.tool-topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:62px;padding:10px max(16px,env(safe-area-inset-left)) 10px max(16px,env(safe-area-inset-right));background:rgba(255,255,255,.94);border-bottom:1px solid #e4e9f5;backdrop-filter:blur(14px)}.back-home,.switch-tool{text-decoration:none;color:#40537f;font-weight:900}.switch-tool{justify-self:end;padding:9px 13px;border:1px solid #d9e2f6;border-radius:12px;background:#fff}.tool-brand{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:1000}.remove-shell{width:min(1120px,calc(100% - 28px));margin:24px auto 0}.intro-card,.tool-card,.preview-card,.help-card{border:1px solid #dce5f6;border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 16px 40px rgba(47,73,132,.09)}.intro-card{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:clamp(24px,5vw,54px)}.eyebrow{display:block;color:#6c7cb0;font-size:11px;font-weight:1000;letter-spacing:.16em}.intro-card h1{margin:8px 0 10px;font-size:clamp(34px,5vw,66px);line-height:1.02;letter-spacing:-.055em}.intro-card h1 strong{color:#6c56e7}.intro-card p{max-width:700px;margin:0;color:#63708c;font-weight:750;line-height:1.6}.cutout-demo{display:flex;align-items:center;gap:10px;flex:0 0 auto}.checker{display:grid;place-items:center;width:150px;height:150px;border-radius:28px;background-color:#fff;background-image:linear-gradient(45deg,#e6e8ee 25%,transparent 25%),linear-gradient(-45deg,#e6e8ee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6e8ee 75%),linear-gradient(-45deg,transparent 75%,#e6e8ee 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.checker span{font-size:82px;filter:drop-shadow(0 8px 8px rgba(31,45,85,.18))}.cutout-demo>b{font-family:"Black Han Sans",sans-serif;font-size:34px;line-height:.85;color:#2e3f79}.tool-card,.preview-card,.help-card{margin-top:18px;padding:clamp(18px,3.2vw,32px)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}.section-head h2{margin:4px 0 0;font-size:clamp(23px,3vw,34px);letter-spacing:-.035em}.privacy-note{color:#347563;font-size:12px;font-weight:900}.drop-zone{min-height:260px;border:2px dashed #a9b9e4;border-radius:24px;background:linear-gradient(145deg,#f7f9ff,#fbfbff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:25px;text-align:center;cursor:pointer;transition:.18s}.drop-zone:hover,.drop-zone.dragover{border-color:#6c56e7;background:#f6f3ff;transform:translateY(-2px)}.drop-icon{font-size:50px}.drop-zone b{font-size:21px}.drop-zone small{color:#75829d;font-weight:750}.choose-btn,.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:13px;border:0;text-decoration:none;font-weight:1000;cursor:pointer}.choose-btn,.primary-btn{background:linear-gradient(135deg,#6c56e7,#4f7ce8);color:#fff;box-shadow:0 8px 18px rgba(83,91,210,.22)}.secondary-btn{background:#f1f4fb;color:#42537c;border:1px solid #d9e2f3}.status-panel{margin-top:16px;padding:16px;border:1px solid #dce4f7;border-radius:17px;background:#f8faff}.status-line{display:flex;justify-content:space-between;gap:12px}.status-line b{font-size:14px}.status-line span{font-weight:1000;color:#6554d8}.progress-track{height:10px;margin:9px 0 8px;border-radius:999px;overflow:hidden;background:#e5e9f4}.progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7358e8,#4cb6e8);transition:width .2s}.status-panel small{color:#73809c}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.preview-box{min-width:0}.preview-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.preview-title b{font-size:17px}.preview-title small{color:#78859f}.image-stage{height:min(48vw,430px);min-height:280px;display:grid;place-items:center;overflow:hidden;border:1px solid #dfe5f0;border-radius:20px;background:#f3f5f9}.image-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain}.checker-stage{background-color:#fff;background-image:linear-gradient(45deg,#e1e4e9 25%,transparent 25%),linear-gradient(-45deg,#e1e4e9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e1e4e9 75%),linear-gradient(-45deg,transparent 75%,#e1e4e9 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.checker-stage.preview-white{background:#fff}.checker-stage.preview-green{background:#00ff00}.checker-stage.preview-black{background:#05070d}.preview-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;flex-wrap:wrap}.bg-preview-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.bg-preview-buttons>span{margin-right:3px;color:#697793;font-size:12px;font-weight:900}.bg-preview-buttons button{border:1px solid #d9e1f1;border-radius:10px;background:#fff;padding:8px 10px;color:#4e5e7c;font-weight:900;cursor:pointer}.bg-preview-buttons button.active{background:#6757db;color:#fff;border-color:#6757db}.action-row{display:flex;gap:8px}.primary-btn.disabled{pointer-events:none;opacity:.45}.help-card h2{margin:0 0 15px}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.help-grid>div{padding:16px;border-radius:16px;background:#f7f9fd}.help-grid b{display:block;margin-bottom:5px;color:#3a4d82}.help-grid span{color:#6c7892;font-size:13px;line-height:1.5}.adsense-zone{display:none}body.adsense-enabled .adsense-zone{position:relative;display:block;width:min(728px,90vw);min-height:90px;margin:20px auto;padding:16px 8px 6px;border:1px solid rgba(136,119,151,.18);border-radius:13px;background:rgba(255,255,255,.65);overflow:hidden}.adsense-label{position:absolute;left:50%;top:3px;transform:translateX(-50%);color:#a298aa;font-size:9px;font-weight:900;letter-spacing:.12em}.adsbygoogle{min-height:72px}.tool-ad-row{min-height:18px}footer{text-align:center;padding:25px 12px 32px;color:#78849d;font-size:11px;font-weight:900;letter-spacing:.08em}@media(max-width:760px){.tool-topbar{grid-template-columns:auto 1fr auto}.tool-brand{justify-self:center;font-size:15px}.back-home,.switch-tool{font-size:12px}.remove-shell{width:min(100% - 18px,1120px);margin-top:12px}.intro-card{padding:22px 18px}.cutout-demo{display:none}.preview-grid{grid-template-columns:1fr}.image-stage{height:360px;min-height:240px}.help-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.privacy-note{font-size:11px}.preview-controls{align-items:stretch;flex-direction:column}.action-row{display:grid;grid-template-columns:1fr 1fr}.drop-zone{min-height:220px}}@media(max-width:430px){.tool-brand span{display:none}.switch-tool{padding:8px}.intro-card h1{font-size:35px}.tool-card,.preview-card,.help-card{padding:16px}.image-stage{height:320px}.bg-preview-buttons button{padding:7px 8px;font-size:11px}.action-row{grid-template-columns:1fr}.primary-btn,.secondary-btn{width:100%}}
/* v20260907_1538: ratio-fit preview + manual erase/restore editor */
.quality-row{display:grid;grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:8px 12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #e4e9f5}.quality-row label{font-size:13px;color:#3e4d72}.quality-row select{min-height:42px;border:1px solid #d7def0;border-radius:12px;background:#fff;padding:8px 12px;color:#263551;font-weight:900}.quality-row small{grid-column:1/-1;color:#77839b;font-weight:700}
.preview-card{--photo-ratio:4 / 3}.image-stage{width:100%;height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio);position:relative}.image-stage img,.image-stage canvas{display:block;width:100%;height:100%;object-fit:contain}.editor-stage{touch-action:none;user-select:none}.editor-stage canvas{cursor:crosshair}.brush-cursor{position:absolute;left:0;top:0;width:46px;height:46px;border:2px solid rgba(255,255,255,.96);border-radius:50%;box-shadow:0 0 0 1px rgba(20,26,40,.7),0 2px 7px rgba(0,0,0,.18);pointer-events:none;transform:translate(-50%,-50%);z-index:4}.manual-editor{margin-top:16px;padding:16px;border:1px solid #dce5f6;border-radius:19px;background:linear-gradient(145deg,#fbfcff,#f7f5ff)}.editor-copy h3{margin:5px 0 5px;font-size:20px}.editor-copy p{margin:0;color:#6b7891;font-size:13px;line-height:1.55}.editor-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.mode-buttons{display:flex;gap:7px}.edit-mode{min-height:42px;padding:9px 14px;border:1px solid #d7def0;border-radius:12px;background:#fff;color:#425274;font-weight:1000;cursor:pointer}.edit-mode.active{border-color:#6558dd;background:#6558dd;color:#fff;box-shadow:0 7px 16px rgba(86,78,202,.2)}.brush-size{display:flex;align-items:center;gap:8px;min-height:42px;padding:7px 11px;border:1px solid #d7def0;border-radius:12px;background:#fff;color:#4e5b75;font-size:12px;font-weight:900}.brush-size input{width:145px}.brush-size b{min-width:30px;text-align:right;color:#6558dd}.small-btn{min-height:42px;padding:8px 12px}.editor-tip{margin-top:10px;color:#61708c;font-size:12px;font-weight:800}.examples-title{margin:24px 0 12px!important}.example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.example-grid figure{margin:0;border:1px solid #e0e5ef;border-radius:18px;overflow:hidden;background:#fff}.example-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef1f6}.example-grid figcaption{display:flex;flex-direction:column;gap:3px;padding:11px 12px 13px}.example-grid figcaption b{color:#3a4d82}.example-grid figcaption span{color:#727d93;font-size:12px;line-height:1.4}.primary-btn:disabled,.secondary-btn:disabled{cursor:not-allowed;opacity:.48}
@media(max-width:760px){.preview-grid{grid-template-columns:1fr}.image-stage{aspect-ratio:var(--photo-ratio)!important}.editor-tools{align-items:stretch}.mode-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%}.brush-size{width:100%;justify-content:space-between}.brush-size input{flex:1}.example-grid{grid-template-columns:1fr 1fr}.example-grid figure:last-child{grid-column:1/-1}.quality-row{grid-template-columns:1fr}.quality-row small{grid-column:auto}}
@media(max-width:430px){.example-grid{grid-template-columns:1fr}.example-grid figure:last-child{grid-column:auto}.manual-editor{padding:13px}.edit-mode{padding:8px 10px}.editor-tools>.secondary-btn{width:100%}}

.example-note{margin:0 0 14px;color:#66748f;font-size:13px;line-height:1.6;font-weight:800}.example-note b{color:#40537f}


/* v20260907_1625 magic brush */
.magic-mode{background:#fff8e6;border-color:#efd28b;color:#8a6100}.magic-mode.active{background:#f2b82b!important;border-color:#e2a714!important;color:#402c00!important;box-shadow:0 7px 16px rgba(198,145,20,.2)!important}.magic-tolerance{border-color:#eadba9;background:#fffdf5}.magic-tolerance b{color:#a67800}
@media(max-width:760px){.mode-buttons{grid-template-columns:repeat(2,1fr)!important}}

.chroma-key-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:13px;border:1px solid #dce5f6;border-radius:16px;background:#fff}
.chroma-key-copy{display:grid;gap:2px;min-width:210px;flex:1 1 260px}
.chroma-key-copy b{color:#395084}
.chroma-key-copy span{color:#73809a;font-size:11px;font-weight:800;line-height:1.45}
.chroma-color{display:flex;align-items:center;gap:8px;min-height:42px;padding:7px 10px;border:1px solid #d7def0;border-radius:12px;color:#4e5b75;font-size:12px;font-weight:900;background:#fff}
.chroma-color input{width:38px;height:30px;border:0;background:none;padding:0}
.chroma-apply{background:#eefcf2!important;color:#247044!important;border-color:#bfe9ca!important}
@media(max-width:760px){.chroma-key-tools>*{width:100%}.chroma-color{justify-content:space-between}}


/* searchable tool information */
.seo-info-card{margin:22px auto 0;padding:26px 28px;border:1px solid rgba(84,105,150,.16);border-radius:24px;background:rgba(255,255,255,.86);box-shadow:0 12px 32px rgba(38,56,96,.06);line-height:1.7}
.seo-info-card h2{margin:0 0 10px;font-size:24px;letter-spacing:-.04em}
.seo-info-card>p{margin:0;color:#53617f;font-size:14px}
.seo-faq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.seo-faq-grid article{padding:16px;border-radius:18px;background:rgba(245,248,255,.9);border:1px solid rgba(104,124,166,.12)}
.seo-faq-grid h3{margin:0 0 7px;font-size:15px;letter-spacing:-.02em}
.seo-faq-grid p{margin:0;color:#65718c;font-size:12px;line-height:1.65}
@media(max-width:760px){.seo-info-card{padding:20px}.seo-info-card h2{font-size:20px}.seo-faq-grid{grid-template-columns:1fr}}

/* v20260908_0630 broadcast-tool shortcuts */
.tool-top-actions{justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap}
.tool-top-actions .switch-tool{justify-self:auto;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 12px;white-space:nowrap}
.tool-top-actions .mission-top-link{background:#f1efff;color:#6250c7;border-color:#d8d0ff}
.tool-top-actions .mission-top-link:hover{background:#e9e5ff}
@media(max-width:760px){.tool-top-actions{gap:5px}.tool-top-actions .switch-tool{padding:8px 9px;font-size:10px}}
@media(max-width:500px){.tool-topbar{grid-template-columns:auto 1fr}.tool-brand{justify-self:end}.tool-top-actions{grid-column:1/-1;justify-self:stretch;justify-content:flex-end}.tool-top-actions .switch-tool{min-height:34px}}
