@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--paper:#f4f3e9;--ink:#272923;--muted:#818478;--line:#dcded2;--lime:#dcf77b;--white:#fffef7;--green:#516443;font-family:'Noto Sans KR',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7d9842;outline-offset:4px}button:hover{filter:brightness(.96)}[hidden]{display:none!important}.header{height:96px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5.5%;gap:24px}.logo{text-decoration:none;font-size:28px;letter-spacing:-2px;font-weight:900;white-space:nowrap}.logo-eye{display:inline-flex;background:var(--lime);width:28px;height:30px;align-items:center;justify-content:center;transform:rotate(-10deg);border-radius:50%}.logo-star{display:inline-block;font-size:34px;margin-left:8px;vertical-align:middle}.header nav{display:flex;gap:36px;height:100%;align-items:center}.nav-button{height:100%;font-size:14px;font-weight:600;position:relative;padding:0 2px;color:var(--muted)}.nav-button.active{color:var(--ink)}.nav-button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--ink)}.nav-dot{display:inline-block;background:#8aa04c;border-radius:50%;width:5px;height:5px;margin-left:3px;vertical-align:top}.header-note{font-size:12px;color:var(--muted)}main{max-width:1280px;margin:auto;padding:0 54px}.intro{display:flex;justify-content:space-between;align-items:center;padding:52px 0 38px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:var(--green)}.tiny-star{font-size:22px;vertical-align:middle;margin-right:8px}h1{font-size:46px;line-height:1.35;letter-spacing:-2.2px;margin:14px 0 16px;font-weight:800}.highlight{position:relative;z-index:0;white-space:nowrap}.highlight:after{content:'';background:var(--lime);position:absolute;left:-4px;right:-5px;bottom:4px;height:19px;z-index:-1;transform:rotate(-1deg)}.hand-arrow{display:inline-block;font-family:serif;font-size:57px;font-weight:400;margin-left:20px;transform:rotate(12deg);color:var(--green)}.intro p{font-size:14px;color:#777b6e;line-height:1.9;margin:0}.intro-doodle{width:180px;margin-right:40px;transform:rotate(7deg);color:var(--green);text-align:center}.intro-doodle svg{width:160px}.intro-doodle span{display:block;font-family:'Gowun Dodum',sans-serif;font-size:15px;transform:rotate(-5deg)}.mobile-break{display:none}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.09fr);border:1px solid #ced1c2;border-radius:16px;overflow:hidden;background:#fafbf5;box-shadow:0 6px 0 #e7e8dc}.portrait-panel{padding:24px;background:#e9eddf;border-right:1px solid #ced1c2}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#69715d;margin-bottom:16px}.status-dot{display:inline-block;width:6px;height:6px;background:#79914b;border-radius:50%;margin-right:7px}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:9px;letter-spacing:1.2px}.paper{aspect-ratio:1.13;background:var(--white);position:relative;border-radius:4px;box-shadow:0 3px 10px #33452409;overflow:hidden;background-image:radial-gradient(#b5bba92e .7px,transparent .7px);background-size:10px 10px}.paper #portrait{position:absolute;inset:5% 8% 0}.paper svg{width:100%;height:100%;filter:url('#none')}.paper-note{position:absolute;left:22px;top:22px;font-family:'Gowun Dodum',sans-serif;font-size:14px;color:#8d9382;transform:rotate(-9deg)}.paper-stamp{position:absolute;right:20px;bottom:23px;font-size:9px;line-height:1.8;letter-spacing:1px;border:1px solid #a9b394;color:#9ca889;padding:5px 9px;transform:rotate(-12deg);text-align:center;opacity:.8}.paper-corner{position:absolute;width:13px;height:13px;border-color:#bdc5b0;border-style:solid;z-index:1}.tl{left:14px;top:14px;border-width:1px 0 0 1px}.tr{right:14px;top:14px;border-width:1px 1px 0 0}.bl{left:14px;bottom:14px;border-width:0 0 1px 1px}.br{right:14px;bottom:14px;border-width:0 1px 1px 0}.portrait-caption{display:flex;justify-content:space-between;gap:10px;margin:14px 0 20px;font-size:10px;color:#717965}.portrait-caption span:last-child{color:#9aA18d;white-space:nowrap}.portrait-tools{display:flex;gap:8px}.button{min-height:44px;border-radius:8px;padding:11px 16px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s}.button:active{transform:translateY(2px)}.light{background:#f6f8ee;border:1px solid #cfd6c3;flex:1}.icon-button{border:1px solid #cfd6c3;background:#f6f8ee;border-radius:8px;min-width:44px;font-size:23px}.dark{background:var(--ink);color:#f7f8ee}.lime{background:var(--lime);border:1px solid #c5df6c}.research-note{display:flex;gap:9px;align-items:center;margin-top:19px;color:#858d79}.research-note>span{font-size:20px}.research-note p{font-size:10px;line-height:1.8;margin:0;flex:1}.text-button{font-size:10px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.editor-panel{padding:26px}.editor-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.editor-title>div{display:flex;gap:9px;align-items:center}.step-number{font-family:monospace;font-size:10px;color:var(--green);background:#e9efdd;border-radius:4px;padding:4px 6px}.editor-title h2{font-size:15px;letter-spacing:-.5px;margin:0}.editor-title>span{font-size:10px;color:var(--muted)}.category-tabs{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;border-bottom:1px solid var(--line);padding:20px 0 10px}.category-tab{padding:5px 0 8px;border-radius:7px;font-size:10px;color:var(--muted)}.category-tab .symbol{display:block;font-size:22px;height:32px;font-family:serif;color:#68735b}.category-tab.active{background:var(--lime);color:var(--ink);font-weight:700}.selection-heading{display:flex;justify-content:space-between;align-items:center;margin:19px 0 12px}.selection-heading h3{font-size:12px;font-weight:500;margin:0}.selection-heading .mono{color:var(--muted)}.options-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.option{border:1px solid var(--line);border-radius:9px;position:relative;background:#fffef8;height:104px;padding:7px 4px 10px;font-size:10px;overflow:hidden}.option.active{border:1.5px solid #617344;background:#f0f5e2}.option .option-check{position:absolute;right:6px;top:5px;width:15px;height:15px;font-size:9px;line-height:15px;border-radius:50%;background:#637749;color:white}.option svg{display:block;width:100%;height:65px;margin-bottom:6px}.fine-tune{margin-top:16px;border:1px solid var(--line);border-radius:7px}.fine-tune>button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 13px;gap:10px;font-size:11px}.fine-tune>button span:last-child{font-size:9px;color:var(--muted)}#fine-controls{padding:0 14px 14px}#fine-controls label{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:15px;margin:10px 0}input[type=range]{width:65%;accent-color:#647b42}.finish{border-top:1px dashed #cfd4c3;padding-top:22px;margin-top:22px}.title-input{display:block;width:100%;border:1px solid var(--line);border-radius:8px;background:var(--white);padding:13px 14px;font-size:12px;margin:15px 0 11px;color:var(--ink)}.title-input::placeholder{color:#a0a493}.finish-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.finish-buttons .lime{justify-content:space-between}.finish-note{font-size:9px;color:#8b9180;line-height:1.7;margin:12px 0 0}.presets-heading{display:flex;justify-content:space-between;align-items:center;margin:40px 0 17px}.presets-heading>div{display:flex;align-items:center}.presets-heading h2{font-size:17px;letter-spacing:-.5px;margin:0}.presets-heading>div>span:last-child{font-size:11px;color:var(--muted);margin-left:16px}.presets-heading>.mono{color:#8b9280}.presets-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.preset-card{text-align:left;border:1px solid var(--line);background:#f9f9f1;border-radius:10px;overflow:hidden;padding:0;transition:transform .2s,border-color .2s}.preset-card:hover{transform:translateY(-4px);border-color:#8a9c6c}.preset-image{height:142px;background:#e9eddf;position:relative}.preset-card:nth-child(2n) .preset-image{background:#f0ecdE}.preset-card:nth-child(3n) .preset-image{background:#e5e9e6}.preset-image svg{width:100%;height:100%;transform:scale(1.13);transform-origin:50% 65%}.preset-number{position:absolute;left:10px;top:10px;z-index:1;font-family:monospace;font-size:8px;color:#89927b}.preset-info{padding:12px 10px 13px}.preset-info strong{display:block;font-size:11px;font-weight:600;letter-spacing:-.3px}.preset-info span{display:block;margin-top:6px;font-size:9px;color:#89917f}.preset-info .preset-go{float:right;color:var(--ink);font-size:14px;margin:0}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:27px 0;margin-top:48px;color:#919684;font-size:10px}.footer-logo{font-weight:800;font-size:15px;color:#5f6853;letter-spacing:-1px}footer .mono{font-size:8px}.gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:12px 0 28px}.gallery-heading h2{font-size:30px;letter-spacing:-1.3px;margin:10px 0}.gallery-heading p{font-size:13px;color:var(--muted);margin:0}.gallery-sort{display:flex;gap:5px;background:#e8ecdc;border-radius:8px;padding:4px}.gallery-sort button{font-size:11px;padding:9px 12px;border-radius:5px}.gallery-sort button.active{background:var(--white);box-shadow:0 1px 4px #0001}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.gallery-card{background:var(--white);border:1px solid var(--line);border-radius:12px;overflow:hidden}.gallery-image{position:relative;background:#e9eddf;aspect-ratio:1.05}.gallery-image svg{width:100%;height:100%}.gallery-body{padding:15px}.gallery-body h3{font-size:13px;line-height:1.6;margin:0 0 6px;overflow-wrap:anywhere}.gallery-body p{font-size:10px;color:var(--muted);line-height:1.8;min-height:18px;margin:0 0 14px}.gallery-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.gallery-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.scream{border:1px solid var(--line);background:#f7f7ee;border-radius:20px;padding:7px 12px;font-size:12px}.scream.active{background:var(--lime);border-color:#b5ca7c}.gallery-actions .text-button{font-size:11px}.gallery-empty{grid-column:1/-1;text-align:center;padding:38px;background:#e9eddf;border:1px dashed #b4c09f;border-radius:12px}.gallery-empty h3{font-size:17px;margin:10px 0}.gallery-empty p{color:var(--muted);font-size:12px}.gallery-empty button{margin:auto}.examples-heading{display:flex;align-items:center;gap:15px;margin:36px 0 18px}.examples-heading h3{font-size:16px;margin:0}.examples-heading span{font-size:11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;background:var(--white);color:var(--ink);padding:32px;width:min(540px,calc(100% - 32px));box-shadow:0 20px 100px #2225;max-height:85dvh}dialog::backdrop{background:#27312077;backdrop-filter:blur(3px)}dialog h2{font-size:24px;letter-spacing:-1px;margin:12px 0}dialog p{font-size:12px;line-height:1.9;color:#777e6c}.dialog-close{position:absolute;right:13px;top:7px;font-size:29px;padding:5px 10px}#share-url{width:100%;font-size:12px;border:1px solid var(--line);background:#f5f7ed;padding:13px;border-radius:7px;margin:10px 0 12px}#copy-link{width:100%}.dialog-note{font-size:10px!important}.research-entry{border-top:1px dashed var(--line);margin-top:20px;padding-top:9px}.research-entry h3{font-size:14px}.research-entry a{display:block;font-size:11px;line-height:1.9;text-underline-offset:3px;color:var(--green);margin-bottom:7px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 32px);border-radius:10px;background:var(--ink);color:var(--white);padding:13px 22px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:5;text-align:center;width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1400px){main{padding:0 32px}.intro{padding-top:65px}h1{font-size:50px}.paper{aspect-ratio:1.09}.option{height:114px}.option svg{height:74px}.preset-image{height:160px}}
@media(max-width:1050px){.header{padding:0 28px}.header-note{display:none}main{padding:0 28px}.intro-doodle{margin-right:8px}.portrait-panel,.editor-panel{padding:20px}.presets-grid{grid-template-columns:repeat(3,1fr)}.preset-image{height:160px}.gallery-grid{grid-template-columns:repeat(3,1fr)}.presets-heading>.mono{display:none}.portrait-caption span:last-child{display:none}.option{height:96px}.option svg{height:57px}.editor-title>span{display:none}.fine-tune>button span:last-child{font-size:8px}}
@media(max-width:740px){.header{height:74px;padding:0 18px;gap:10px}.logo{font-size:23px}.logo-eye{width:23px;height:25px}.logo-star{font-size:25px;margin-left:5px}.header nav{gap:17px}.nav-button{font-size:11px}.nav-dot{display:none}main{padding:0 18px}.intro{padding:30px 0 27px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:33px;letter-spacing:-1.6px;margin:12px 0}.highlight:after{height:14px;bottom:2px}.hand-arrow{font-size:38px;margin-left:8px}.intro p{font-size:11px;line-height:1.9}.mobile-break{display:block}.intro-doodle{display:none}.studio-grid{grid-template-columns:1fr;border-radius:12px}.portrait-panel{padding:17px;border-right:0;border-bottom:1px solid #ced1c2}.paper{aspect-ratio:1.25;max-height:350px}.paper #portrait{inset:0 9% -2%}.panel-heading{margin-bottom:12px;font-size:10px}.paper-note{font-size:12px}.portrait-caption{margin:10px 0 13px}.portrait-tools .button{font-size:11px;min-height:40px}.research-note{margin-top:13px}.editor-panel{padding:20px 17px}.category-tabs{padding-top:14px;gap:2px}.category-tab{font-size:9px}.category-tab .symbol{font-size:21px;height:28px}.options-grid{gap:8px}.option{height:97px;font-size:9px}.option svg{height:60px}.fine-tune{margin-top:14px}.finish{padding-top:18px;margin-top:18px}.finish-note{font-size:9px}.presets-heading{margin-top:30px}.presets-heading>div{flex-wrap:wrap}.presets-heading h2{font-size:16px}.presets-heading>div>span:last-child{margin:5px 0 0 30px;font-size:10px;width:100%}.presets-grid{grid-template-columns:repeat(2,1fr);gap:10px}.preset-image{height:155px}.preset-info{padding:12px}.preset-info strong{font-size:11px}.gallery-heading{display:block;margin-top:0}.gallery-heading h2{font-size:24px}.gallery-heading p{font-size:11px}.gallery-sort{margin-top:18px;width:max-content}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}.gallery-body{padding:12px}.gallery-body h3{font-size:11px}.gallery-body p{font-size:9px}.gallery-actions .text-button{font-size:9px}.scream{padding:6px 9px;font-size:11px}.examples-heading{display:block}.examples-heading span{display:block;margin-top:7px;font-size:10px}footer{margin-top:30px;padding:23px 0;flex-wrap:wrap;gap:10px;font-size:9px}footer .mono{width:100%;font-size:7px}dialog{padding:27px 22px}dialog h2{font-size:22px}}
.options-grid{max-height:344px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b4c09f transparent;padding:2px 4px 4px 2px;scroll-padding:5px}.hair-options .option{height:128px}.hair-options .option svg{height:90px}.part-details{margin-top:16px;border:1px solid var(--line);border-radius:9px;padding:14px;background:#f3f6eb}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-heading h4{font-size:12px;margin:0}.detail-note{font-size:10px;color:var(--muted);line-height:1.8;margin:8px 0}.lip-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:10px 0 14px}.lip-chip{font-size:10px;border:1px solid #d6ddca;background:var(--white);border-radius:6px;padding:9px 5px}.lip-chip.active{background:var(--lime);border-color:#92a766}.adjustment-row{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:13px}.adjustment-row label{font-size:11px}.adjustment-row output{font-size:10px;color:var(--green);font-family:monospace}.range-track{grid-column:1/-1;display:flex;align-items:center;gap:10px}.range-track span{font-size:9px;color:var(--muted);min-width:34px}.range-track span:last-child{text-align:right}.range-track input[type=range]{width:auto;flex:1;min-width:0;margin:4px 0;height:22px}#fine-controls .adjustment-row label{margin:0;display:block}.presets-grid{grid-template-columns:repeat(4,1fr)}.preset-image{height:176px}.portrait-panel{align-self:start;border-radius:0 0 14px 0}.studio-grid{background:#e9eddf}.editor-panel{background:#fafbf5}.paper svg{filter:none}
@media(max-width:1050px){.presets-grid{grid-template-columns:repeat(3,1fr)}.preset-image{height:160px}}
@media(max-width:740px){.options-grid{max-height:320px}.hair-options .option{height:116px}.hair-options .option svg{height:78px}.presets-grid{grid-template-columns:repeat(2,1fr)}.preset-image{height:155px}.part-details{padding:12px}.detail-heading .text-button{font-size:9px}.portrait-panel{border-radius:0}.paper{position:relative}.range-track input[type=range]{height:28px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep the live preview in view while the editing controls are scrolled. */
.studio-grid{overflow:visible}
.portrait-panel{position:sticky;top:24px;align-self:start;z-index:1}
@media(max-width:740px){.portrait-panel{top:12px}}

.makeup-section{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.makeup-group{min-width:0;margin:14px 0 0;padding:12px 14px 16px;border:1px solid var(--line);border-radius:9px;background:#f3f6eb}.makeup-group legend{font-size:12px;font-weight:700;padding:0 6px}.makeup-colors{display:flex;flex-wrap:wrap;gap:8px}.makeup-color{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:48px;padding:6px;border:1px solid transparent;border-radius:7px;background:transparent;font-size:10px;color:var(--ink)}.makeup-color.active{border-color:#92a766;background:var(--white)}.color-swatch{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #27292326;border-radius:50%}.no-color{background:var(--white);color:var(--muted)}
