*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;color:#17191e;background:#f1f3f5}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #436cff;outline-offset:4px}h1,h2,h3,p{margin:0}.topbar{height:76px;background:#17191e;color:white;padding:0 max(28px,calc((100vw - 1380px)/2));display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:750}.brand-icon{display:grid;place-items:center;background:#ffc844;color:#17191e;font-size:29px;line-height:1;width:36px;height:36px;border-radius:9px}.wordmark{font-size:12px;letter-spacing:.12em;color:#a2a8b4;margin-left:8px}.local-badge{font-size:14px;border:1px solid #4b4e56;padding:8px 12px;border-radius:6px}main{max-width:1436px;margin:auto;padding:44px 28px 20px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:14px;font-weight:650;color:#5d626c;margin-bottom:12px}h1{font-size:clamp(25px,3.1vw,40px);letter-spacing:-.045em;line-height:1.35}.intro-copy{font-size:16px;color:#686d77;line-height:1.65;margin-top:12px}.code-badge{font-size:14px;white-space:nowrap;background:#e4e8ee;color:#454b58;padding:10px 14px;border-radius:6px}.workspace{display:grid;grid-template-columns:350px 1fr;gap:24px;align-items:start}.controls{display:grid;gap:18px}.panel{background:white;border:1px solid #dde0e5;border-radius:12px;padding:24px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:17px;letter-spacing:-.025em}.step{color:#828995;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.dropzone{margin-top:22px;border:1.5px dashed #c4c9d3;border-radius:8px;display:flex;align-items:center;flex-direction:column;gap:12px;padding:30px 12px;background:#fafbfc;transition:background .15s,border-color .15s}.dropzone.drag{background:#fff6d9;border-color:#a77800}.dropzone svg{color:#747c8a;margin-bottom:2px}.dropzone strong{font-size:16px}.dropzone>span{font-size:14px;color:#717784;text-align:center;line-height:1.6}.button{border:0;border-radius:7px;font-size:14px;font-weight:650;min-height:44px;padding:12px 18px;transition:filter .15s}.button:not(:disabled):hover{filter:brightness(.92)}.dark{background:#242831;color:white}.accent{background:#ffc844;color:#17191e;width:100%;margin-top:22px;min-height:49px;font-size:16px}.small-note{font-size:12px;color:#7c828d;line-height:1.7;margin-top:12px}.setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0}.setting strong{font-size:14px}.setting p{font-size:14px;color:#7c828d;margin-top:6px}.on-label{font-size:12px;background:#edf1f5;color:#5c6472;border-radius:4px;padding:5px 8px;white-space:nowrap}details{border-top:1px solid #eceef1;padding-top:16px}summary{cursor:pointer;font-size:14px;color:#626a78}.field{display:flex;justify-content:space-between;font-size:14px;margin:20px 0 8px}.field span{font-size:12px;color:#828995}input[type=number]{border:1px solid #cbd0d9;border-radius:6px;width:100%;height:42px;padding:9px 12px}.privacy{text-align:center;font-size:12px;color:#747b87;margin-top:12px}.usage-note{padding:0 8px;color:#717784;font-size:14px;line-height:1.8}.queue{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px;max-height:230px;overflow:auto}.queue li{display:flex;align-items:center;gap:10px;background:#f4f6f8;border-radius:6px;padding:8px}.queue img{width:38px;height:38px;object-fit:contain;background:white;border-radius:4px}.queue .file-name{min-width:0;flex:1}.queue strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.queue small{font-size:12px;color:#747b87}.remove-file{background:none;border:0;font-size:20px;line-height:1;padding:8px;color:#6c7482}.results-panel{padding:0;min-height:645px;overflow:hidden}.results-header{padding:24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8ebf0;gap:16px}.results-header p{margin-top:9px;font-size:14px;color:#7b828f;line-height:1.6}.results-header .button{white-space:nowrap}.empty{min-height:490px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}.empty-grid{display:grid;grid-template-columns:repeat(2,38px);gap:9px;transform:rotate(-8deg);margin-bottom:28px}.empty-grid span{width:38px;height:38px;border:1px solid #cbd0d9;background:repeating-conic-gradient(#eef0f4 0% 25%,white 0% 50%) 0/12px 12px;border-radius:6px}.empty h3{font-size:17px;font-weight:600;color:#596170}.empty p{font-size:14px;color:#89909c;line-height:1.8;margin-top:12px}.status:empty{display:none}.status{margin:20px 24px 0;padding:12px 16px;background:#f1f4fa;border-radius:6px;font-size:14px;line-height:1.7;white-space:pre-line}.status.error{background:#fff0ed;color:#943b2f}.result-tools{padding:18px 24px 0;display:flex;align-items:center;justify-content:space-between;font-size:14px}.result-tools[hidden]{display:none}input[type=checkbox]{width:16px;height:16px;accent-color:#242831;vertical-align:middle;margin-right:6px}.text-button{background:none;border:0;color:#737b89;font-size:14px;padding:8px 0}.results-grid{padding:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.results-grid:empty{padding:0}.result-card{border:1px solid #e1e5eb;border-radius:8px;overflow:hidden}.preview{height:168px;position:relative;background:repeating-conic-gradient(#eef0f3 0% 25%,#fafbfc 0% 50%) 0/16px 16px;display:flex;align-items:center;justify-content:center;padding:18px}.preview img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #00000010)}.preview input{position:absolute;top:9px;left:9px;margin:0}.card-bottom{padding:12px}.card-bottom strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-bottom p{font-size:12px;color:#7f8794;margin:5px 0 10px;font-variant-numeric:tabular-nums}.card-bottom a{display:block;text-align:center;text-decoration:none;color:#434b59;background:#f0f2f5;border-radius:4px;font-size:14px;padding:7px}footer{margin-top:32px;padding:20px 0;border-top:1px solid #dce1e7;display:flex;justify-content:space-between;gap:16px;color:#9299a5;font-size:12px}footer>span{font-weight:700;letter-spacing:.1em}[hidden]{display:none!important}@media(max-width:1050px){.workspace{grid-template-columns:310px 1fr}.panel{padding:20px}.results-panel{padding:0}.results-header{align-items:flex-start;flex-direction:column}.results-header .button{width:100%}.wordmark{display:none}}@media(max-width:740px){.topbar{height:64px;padding:0 20px}.brand{font-size:18px}.local-badge{font-size:12px;padding:7px 9px}main{padding:28px 16px 12px}.intro{align-items:flex-start;margin-bottom:24px}.code-badge{display:none}.intro-copy{font-size:14px}.workspace{grid-template-columns:1fr;gap:24px}.controls{gap:14px}.dropzone{padding:24px 12px}.results-panel{min-height:420px}.empty{min-height:340px}.results-grid{padding:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview{height:150px;padding:14px}.results-header{padding:20px}.usage-note{font-size:12px}footer{flex-direction:column;gap:8px}.result-tools{padding:16px 20px 0}.status{margin:16px 20px 0}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Keep long filenames within the fixed control column. */
.controls,.controls>.panel,.results-panel{min-width:0}.workspace{grid-template-columns:350px minmax(0,1fr)}@media(max-width:1050px){.workspace{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:740px){.workspace{grid-template-columns:minmax(0,1fr)}}
.empty p{white-space:pre-line}footer a{color:#7b8595;text-decoration:none}

/* Each column and card contains its own content, including unbroken filenames. */
body,main,.workspace,.controls,.panel,.intro>div,.results-header>div,.results-grid,.result-card,.card-bottom{min-width:0}
.workspace{grid-template-columns:minmax(280px,350px) minmax(0,1fr)}
.controls,.results-panel{width:100%;max-width:100%}
.brand{text-decoration:none;color:inherit;min-width:0}
.brand-icon{flex:0 0 36px}
.brand>[data-copy]{overflow-wrap:anywhere;line-height:1.4}
.owner-mark{font-size:12px;font-weight:750;letter-spacing:.12em;margin-left:16px;flex-shrink:0;color:#ffc844}
h1,h2,h3,.intro-copy,.setting p,.usage-note,.small-note,.status,.results-header p,footer p{overflow-wrap:anywhere}
.queue{width:100%;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.queue li{display:grid;grid-template-columns:38px minmax(0,1fr) 44px;gap:8px;min-width:0;width:100%;max-width:100%}
.queue img{max-width:38px}
.queue .file-name{width:100%;overflow:hidden}
.queue strong{max-width:100%}
.remove-file{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;justify-self:end}
.setting>div{min-width:0}
.flow-note{font-size:12px;line-height:1.7;background:#f4f6f8;border-radius:6px;padding:10px 12px;margin-bottom:16px;color:#626a78;overflow-wrap:anywhere}
.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#f1f3f6;padding:4px;border-radius:8px;margin-top:16px}
.mode-button{border:0;background:transparent;border-radius:5px;color:#626a78;min-height:44px;font-size:14px}
.mode-button.active{background:#242831;color:white}
.noise-setting{margin-top:18px;padding-top:16px;border-top:1px solid #eceef1}
.noise-setting>label{display:flex;align-items:center;gap:7px;min-height:44px;font-size:14px;cursor:pointer}
.noise-setting input{flex-shrink:0}
.noise-setting .small-note{margin-top:2px}
.results-panel{isolation:isolate}
.results-header{flex-wrap:wrap}
.results-header>div{flex:1 1 240px}
.results-header .button{flex:0 1 auto;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.results-grid{grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr))}
.result-card{width:100%;max-width:100%}
.preview img{display:block;width:auto;height:auto;outline:1px dashed #bcc3ce}
.preview-note{font-size:12px;color:#7c828d;line-height:1.7;margin:16px 24px 0;overflow-wrap:anywhere}
.result-tools{gap:12px;flex-wrap:wrap}
.result-tools>label{display:flex;align-items:center;min-height:44px}
.text-button{min-height:44px}
.card-bottom a,.card-bottom button{width:100%;min-height:44px;display:grid;place-items:center;font-size:14px;overflow-wrap:anywhere}
.card-bottom button{border:1px solid #dce1e7;background:white;border-radius:4px;color:#626a78;margin-top:8px}
.card-bottom strong{width:100%;min-width:0}
.secondary{background:#e9edf2;color:#4f596b}
footer{align-items:flex-start;flex-wrap:wrap;line-height:1.7}
footer .footer-brand{margin:0;color:#4f596b;flex-shrink:0}
footer p{flex:1 1 400px}
footer a{display:inline-flex;align-items:center;min-height:44px}
dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;border:1px solid #dde0e5;border-radius:12px;padding:24px;overflow-y:auto;overscroll-behavior:contain}
dialog::backdrop{background:#17191e99}
.crop-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0}
.crop-heading h2{font-size:20px}
.icon-button{border:0;background:#f1f3f5;color:#4f596b;border-radius:6px;width:44px;height:44px;flex-shrink:0;font-size:24px}
.crop-stage{position:relative;display:block;max-width:100%;margin:26px auto;touch-action:none;background:repeating-conic-gradient(#e5e8ed 0% 25%,#fafbfc 0% 50%) 0/16px 16px;user-select:none}
.crop-stage>img{display:block;width:100%;height:100%;pointer-events:none}
.crop-selection{position:absolute;border:2px solid #436cff;box-shadow:0 0 0 999px #17191e30;cursor:crosshair;pointer-events:none}
.crop-stage{overflow:visible}
.crop-selection{clip-path:inset(-20px)}
.crop-handle{position:absolute;width:32px;height:32px;background:transparent;border:0;padding:0;pointer-events:auto;touch-action:none}
.crop-handle::after{content:'';display:block;margin:10px;width:12px;height:12px;background:#436cff;border:2px solid white;border-radius:3px;box-shadow:0 1px 4px #17191e55}
.crop-handle.nw{left:-17px;top:-17px;cursor:nwse-resize}
.crop-handle.ne{right:-17px;top:-17px;cursor:nesw-resize}
.crop-handle.sw{left:-17px;bottom:-17px;cursor:nesw-resize}
.crop-handle.se{right:-17px;bottom:-17px;cursor:nwse-resize}
.crop-coordinates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.crop-coordinates label{display:grid;gap:6px;font-size:12px;color:#626a78;min-width:0}
.crop-coordinates input{width:100%;min-width:0;font-size:16px}
.crop-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
.crop-actions .button{flex:1}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(270px,310px) minmax(0,1fr)}.results-header>div{flex-basis:100%}.results-header .button{flex:1 1 auto}}
@media(max-width:800px){.workspace{grid-template-columns:minmax(0,1fr)}.results-panel{min-height:420px}.topbar{height:auto;min-height:64px;padding:14px 20px;gap:12px}.brand{font-size:17px}.results-header{flex-direction:row}.results-header .button{width:100%}.empty{min-height:340px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.preview{height:150px;padding:12px}.preview-note{margin:14px 20px 0}footer{flex-direction:column;gap:8px}footer p{flex:0 1 auto}}
@media(max-width:400px){.owner-mark{font-size:10px;margin-left:0}.brand{gap:8px;font-size:15px}.panel{padding:18px}.results-panel{padding:0}.results-header{padding:18px}.results-grid{gap:10px;padding:12px}.preview{height:125px;padding:10px}.card-bottom{padding:10px}.crop-coordinates{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{padding:18px}}

/* Keep public counts readable within a 320px viewport and with long edited labels. */
.tool-nav{display:flex;gap:6px;margin-left:auto;padding-left:24px;flex-shrink:0}.tool-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:7px;text-decoration:none;font-size:14px;font-weight:600;color:#c4c9d3;white-space:nowrap}.tool-nav a:hover{background:#30343d;color:white}.tool-nav a[aria-current=page]{background:#ffc844;color:#17191e}.tool-nav a:focus-visible{outline:3px solid #ffc844;outline-offset:3px}@media(max-width:800px){.topbar{flex-wrap:wrap}.tool-nav{order:3;margin-left:0;padding-left:0;width:100%}.tool-nav a{flex:1}.owner-mark{margin-left:auto}.brand{flex:1;max-width:calc(100% - 70px)}}
.visitor-counter{flex:1 1 100%;width:100%;min-width:0;padding:16px;border:1px solid #dce1e7;border-radius:8px;background:#f7f8fa;color:#626a78}
.visitor-counter h2{font-size:12px;font-weight:650;color:#626a78;overflow-wrap:anywhere}
.visitor-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 0}
.visitor-stats>div{min-width:0}
.visitor-stats dt{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.visitor-stats dd{margin:5px 0 0;font-size:clamp(16px,2vw,23px);font-weight:700;line-height:1.5;color:#242831;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
footer .visitor-hint{flex:none;margin-top:12px;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:400px){.visitor-counter{padding:12px}.visitor-stats{gap:8px}.visitor-stats dt{font-size:11px}.visitor-stats dd{font-size:16px}}

/* The daily playground follows completed image work and has its own route. */
.playground-teaser{margin-top:32px;padding:26px;border:1px solid #e6dfcc;border-radius:12px;background:#fffaf0}
.playground-teaser-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
.playground-kicker{font-size:12px;font-weight:700;color:#8b6717;letter-spacing:.04em;margin-bottom:8px}
.playground-teaser h2{font-size:21px;letter-spacing:-.04em;line-height:1.5}
.playground-teaser-heading>div>p:last-child{font-size:14px;color:#777366;line-height:1.7;margin-top:6px}
.playground-all{display:flex;align-items:center;gap:22px;min-height:44px;text-decoration:none;white-space:nowrap;color:#383326;font-size:14px;font-weight:650}
.playground-teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.playground-teaser-grid>a{display:flex;align-items:center;gap:12px;padding:16px 14px;border:1px solid #e8e2d5;border-radius:8px;background:#fff;text-decoration:none;color:#242831;min-width:0;transition:transform .15s,border-color .15s}
.playground-teaser-grid>a:hover{transform:translateY(-2px);border-color:#d0af57}
.playground-teaser-grid>a>div{min-width:0;flex:1}
.playground-teaser-grid strong{display:block;font-size:14px;line-height:1.7}
.playground-teaser-grid div>span{display:block;font-size:12px;line-height:1.6;color:#818079;overflow-wrap:anywhere}
.playground-teaser-grid>a>span:last-child{font-size:18px;color:#8b887f}
.playground-mini-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#fff3cc;color:#886019;font-size:23px;font-weight:750}
.playground-mini-number{font-size:12px;line-height:1.25;letter-spacing:2px;text-align:center}
.playground-teaser a:focus-visible{outline:3px solid #436cff;outline-offset:4px}
@media(max-width:1100px){.playground-teaser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.playground-teaser{padding:20px}.playground-teaser-heading{align-items:flex-start;flex-direction:column;gap:12px}.playground-teaser h2{font-size:19px}.playground-teaser-grid{grid-template-columns:minmax(0,1fr);margin-top:14px}.playground-teaser-grid>a{padding:12px 14px}.tool-nav{gap:4px}.tool-nav a{padding:10px 8px;font-size:13px}}

.license-main{max-width:1000px;display:grid;gap:20px}.license-main .panel h2{font-size:19px;margin-bottom:16px}.license-main .panel p{font-size:14px;line-height:1.9;margin-top:12px;color:#626a78}.license-main .panel a{color:#695010;text-underline-offset:3px}.license-main footer{margin-top:4px}
