@font-face{font-family:Gowun;src:url('assets/fonts/GowunDodum-Regular.woff') format('woff');font-display:swap;font-weight:400}
:root{--paper:#fff8fa;--ink:#624d56;--muted:#8e757f;--pink:#b65378;--petal:#f7d5e1;--line:#ecdde3;--blue:#dcecf7;--yellow:#fff0bf;--font:Gowun,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:15px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,label{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;color:inherit;background:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{max-width:100%;display:block}h1,h2,p{margin:0}button:focus-visible,a:focus-visible,label:focus-visible,input:focus-visible{outline:3px solid #b65378;outline-offset:5px}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}.wrap{width:min(1160px,calc(100% - 88px));margin-inline:auto}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{display:flex;align-items:center;justify-content:space-between;padding-top:31px;padding-bottom:25px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-size:22px;letter-spacing:-.8px}.brand small{display:block;font-size:10px;letter-spacing:1.2px;color:var(--muted);margin-top:3px}.site-header nav{display:flex;align-items:center;gap:32px;font-size:13px}.site-header nav a:hover,.site-header nav button:hover{color:var(--pink)}.nav-heart{border:1px solid var(--line);width:37px;height:37px;border-radius:50%;display:grid;place-items:center}.nav-heart svg{width:17px;height:17px;color:var(--pink)}
.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:64px;min-height:645px;padding-block:58px 66px}.hero-copy{position:relative;z-index:2}.little-note{font-size:14px;color:var(--pink);display:flex;gap:8px;align-items:center;margin-bottom:23px}.little-note>span{font-size:22px}h1{font-size:56px;line-height:1.35;letter-spacing:-2.6px;font-weight:400;word-break:keep-all}.heading-dot{color:var(--pink)}.hero-description{font-size:15px;line-height:1.95;color:var(--muted);margin-top:24px;letter-spacing:-.35px}.dropzone{margin-top:32px;border:1.5px dashed #dba4b8;display:flex;align-items:center;gap:16px;padding:23px 21px;background:#fffdfd;border-radius:14px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s;position:relative}.dropzone:hover,.dropzone.dragging{background:#fce9f0;border-color:var(--pink);transform:translateY(-2px)}.upload-icon{background:#fbe9ef;display:grid;place-items:center;color:var(--pink);width:47px;height:47px;flex-shrink:0;border-radius:50%}.upload-icon svg{width:21px;height:21px}.upload-text{display:grid;gap:7px}.upload-text strong{font-size:17px;font-weight:400;color:var(--pink)}.upload-text>span{font-size:11px;color:var(--muted)}.upload-arrow{margin-left:auto;width:20px;color:var(--pink)}.upload-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-top:12px;padding-inline:3px}.upload-meta button{font-size:11px;text-decoration:underline;text-underline-offset:4px}.upload-meta button span{margin-left:3px}.privacy-note{margin-top:22px;font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted)}.privacy-note svg{width:13px;height:13px}.privacy-note button{padding:1px 3px;font-size:12px}
.hero-art{position:relative;min-height:510px;display:flex;align-items:center;justify-content:center;padding-top:16px}.photo-card{width:345px;transform:rotate(5deg);padding:15px 15px 0;background:#fff;box-shadow:0 14px 35px #79556614,0 3px 7px #7955660d;position:relative;z-index:1;border-radius:3px;transition:transform .8s}.tape{position:absolute;z-index:3;width:117px;height:33px;top:-16px;left:calc(50% - 58px);background:#efc2d4b8;transform:rotate(-8deg);clip-path:polygon(0 5%,97% 0,100% 90%,3% 100%);background-image:repeating-linear-gradient(90deg,transparent 0 5px,#fff2 5px 6px)}.photo-window{height:337px;background:#fbeaf0;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:1px}.photo-window:before{position:absolute;inset:0;content:'';background-image:radial-gradient(#dcaec263 .8px,transparent .8px);background-size:14px 14px;opacity:.5}.photo-window>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:1;margin:0}.photo-window canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}.photo-stamp{position:absolute;bottom:15px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:2px;color:#aa7289;z-index:3}.photo-caption{height:65px;display:flex;align-items:center;justify-content:center;gap:15px}.handwritten{font-family:var(--font)}.photo-caption>span{font-size:19px;letter-spacing:-.5px}.photo-caption svg{width:18px;height:18px;color:#d191aa;transform:rotate(-15deg)}.art-note{position:absolute;top:2px;left:9px;font-size:15px;transform:rotate(-7deg);color:#aa7a8e;z-index:2}.art-note>span{display:block;font-size:44px;position:relative;left:94px;top:-4px;height:38px}.doodle{position:absolute;line-height:1;user-select:none}.doodle-star{color:#dfb35f}.doodle-star.one{font-size:49px;top:85px;right:4px;transform:rotate(12deg)}.doodle-star.two{font-size:29px;top:115px;right:-12px}.doodle-flower{font-size:34px;color:#e7a9bf;bottom:87px;left:3px}.side-friend{position:absolute;z-index:2;bottom:35px;right:-6px;width:122px;height:145px;object-fit:contain;transform:rotate(-11deg);filter:drop-shadow(2px 3px 0 white) drop-shadow(-2px -2px 0 white)}.friend-bubble{position:absolute;bottom:178px;right:-1px;border:1px solid #e5d0b0;background:#fff8dc;border-radius:50%;padding:10px 15px;font-size:15px;transform:rotate(12deg);z-index:3}.art-footer{position:absolute;bottom:-5px;font-size:12px;letter-spacing:.6px;color:#ad8a99}.art-footer>span{margin-right:5px}.hero-art.is-result .photo-card{transform:rotate(-3deg)}.hero-art.is-result .photo-window{background:#fbeaf0}.hero-art.is-result .side-friend,.hero-art.is-result .friend-bubble{display:none}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.section-note{color:#ae7a8e;font-size:11px;margin-bottom:8px;letter-spacing:.5px}.section-heading h2{font-size:23px;letter-spacing:-.8px;font-weight:400}.text-button{font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:5px;padding:6px 0}.text-button:hover{color:var(--pink)}.small-letter{text-align:center;padding-block:52px 51px}.small-letter>svg{color:#d29bb1;width:22px;height:22px;margin-bottom:16px}.small-letter h2{font-size:21px;font-weight:400;line-height:1.8;letter-spacing:-.5px}.small-letter p{font-size:12px;color:var(--muted);margin-top:14px}.small-letter button{font-size:11px;margin-top:13px}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;padding-block:23px 30px}.footer-brand{font-size:15px}.footer-brand>span{color:#c693a7;margin-left:4px}.site-footer>div{display:flex;gap:20px;font-size:11px;color:var(--muted)}.site-footer>p{font-size:9px;line-height:1.9;color:#9c8590;flex-basis:100%;margin-top:16px}
.busy-panel{margin-top:32px;background:#fff;padding:24px;border:1px solid var(--line);border-radius:14px;display:flex;gap:17px;align-items:center;min-height:96px}.busy-panel strong{font-weight:400;color:var(--pink);font-size:16px}.busy-panel p{font-size:12px;color:var(--muted);margin-top:8px}.spinner{width:27px;height:27px;border:2px solid var(--petal);border-top-color:var(--pink);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.error-message{font-size:12px;line-height:1.7;color:#9c3550;padding:12px 14px;background:#ffe5ed;border-radius:9px;margin-top:12px}.result-copy{align-self:center}.result-title{font-size:45px;line-height:1.4;letter-spacing:-1.7px}.result-title small{font-size:23px;display:block;margin-bottom:4px;color:var(--muted)}.character-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}.character-tags span{font-size:12px;padding:6px 12px;background:#f8e5ed;border-radius:30px;color:#9e5f79}.result-description{margin-top:22px;line-height:1.95;font-size:15px;word-break:keep-all;max-width:430px}.share-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.primary-button,.secondary-button{padding:14px 21px;border-radius:10px;display:flex;gap:8px;justify-content:center;align-items:center;font-size:14px}.primary-button{background:var(--pink);color:#fff}.primary-button:hover{background:#a2476a}.secondary-button{border:1px solid #dec7d1;background:#fff}.primary-button svg,.secondary-button svg{width:17px;height:17px}.result-bottom{display:flex;gap:22px;margin-top:14px}.hero:has(.result-copy:not([hidden])){gap:55px}
dialog{border:1px solid #e4cbd6;background:var(--paper);color:var(--ink);border-radius:22px;width:min(760px,calc(100% - 32px));max-height:85dvh;padding:28px;box-shadow:0 20px 100px #6d425333}dialog::backdrop{background:#55434d66;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.dialog-head h2{font-size:23px;font-weight:400}.close-button{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#f5e5ec;flex-shrink:0}.close-button svg{width:18px;height:18px}#dialog-content{font-size:14px;line-height:1.9}#dialog-content p+p{margin-top:17px}#dialog-content a{color:var(--pink);text-decoration:underline;text-underline-offset:3px}#dialog-content h3{font-size:17px;font-weight:400;margin:22px 0 8px}.dialog-grid .source-list{font-size:12px;line-height:2.2;padding-left:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#624d56;color:#fff;padding:14px 23px;border-radius:14px;z-index:10;box-shadow:0 5px 25px #624d5626;font-size:13px;max-width:calc(100% - 32px);text-align:center}.noscript{padding:25px;text-align:center;background:#ffe5ed}
@media(min-width:1450px){.hero{min-height:690px;gap:95px}.hero-art{transform:scale(1.06)}h1{font-size:61px}.hero-description{font-size:16px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:28px}h1{font-size:48px}.photo-card{width:310px}.photo-window{height:309px}.hero-art{min-height:485px}.side-friend{width:103px;right:-4px}.upload-text strong{font-size:15px}.dropzone{padding:20px 15px;gap:11px}.upload-text>span{font-size:10px}.art-note{left:0;font-size:13px}.privacy-note{font-size:9px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.site-header{padding-block:24px 20px}.brand{font-size:20px}.site-header nav{gap:20px;font-size:12px}.site-header nav .nav-heart{display:none}.hero{grid-template-columns:1fr;gap:23px;padding-block:34px 43px;min-height:auto}.hero-copy{text-align:center;max-width:500px;margin-inline:auto;width:100%}.little-note{justify-content:center;margin-bottom:17px;font-size:13px}h1{font-size:45px;letter-spacing:-1.9px;line-height:1.35}.hero-description{margin-top:18px;font-size:14px}.dropzone{margin-top:26px;padding:20px;text-align:left;gap:15px}.upload-text strong{font-size:16px}.upload-text>span{font-size:11px}.upload-meta{font-size:10px}.privacy-note{justify-content:center;font-size:10px;margin-top:18px}.hero-art{min-height:455px;max-width:450px;width:100%;margin-inline:auto;padding-top:24px}.photo-card{width:307px}.photo-window{height:300px}.art-note{left:8px;top:3px;font-size:12px}.art-note>span{font-size:35px;height:25px;top:-2px}.doodle-star.one{right:7px;top:87px}.doodle-star.two{right:-1px;top:118px}.doodle-flower{left:8px;bottom:60px}.side-friend{right:0;bottom:23px;width:110px;height:130px}.friend-bubble{right:0;bottom:155px}.art-footer{bottom:0;font-size:11px}.section-heading h2{font-size:20px}.section-note{font-size:10px}.small-letter{padding-block:35px}.small-letter h2{font-size:19px}.result-copy{max-width:490px;margin-inline:auto;text-align:center;width:100%}.result-title{font-size:39px}.result-title small{font-size:21px}.character-tags{justify-content:center;margin-top:18px}.result-description{font-size:14px;margin:19px auto 0;max-width:390px}.share-actions,.result-bottom{justify-content:center}.hero:has(.result-copy:not([hidden])){gap:15px}.hero:has(.result-copy:not([hidden])) .hero-art{grid-row:1;min-height:420px}.hero-art.is-result .art-note{display:none}.hero-art.is-result .art-footer{bottom:-2px}.hero-art.is-result .doodle-flower{display:none}.busy-panel{text-align:left}}
@media(max-width:390px){.wrap{width:calc(100% - 32px)}.site-header nav{gap:13px;font-size:11px}.brand{font-size:18px;gap:9px}.brand small{font-size:9px}h1{font-size:40px}.hero-description{font-size:12px}.upload-text strong{font-size:14px}.upload-text>span{font-size:9px}.dropzone{padding:17px 12px;gap:11px}.privacy-note{font-size:8px}.hero-art{min-height:420px}.photo-card{width:270px}.photo-window{height:273px}.photo-caption{height:57px}.photo-caption>span{font-size:16px}.side-friend{width:93px}.section-heading h2{font-size:18px}.result-title{font-size:35px}.primary-button,.secondary-button{padding:13px 16px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.photo-card{transform:none!important}}
/* Allow the single-column grid to shrink below the min-content width of its steps. */
.hero>div{min-width:0}
@media(max-width:350px){.hero-art{min-height:415px}.doodle-star.two{right:3px}.side-friend{right:4px}.friend-bubble{right:4px}h1{font-size:36px}.upload-icon{width:39px;height:39px}.upload-arrow{width:17px}.dropzone{gap:9px}.upload-text strong{font-size:13px}.upload-text>span{font-size:8px}}
.hero-art.is-result .photo-stamp{font-size:9px;letter-spacing:1px}.hero:has(.result-copy:not([hidden])) .character-tags{margin-top:14px}

@media(max-width:800px){.site-header nav{gap:13px}}
@media(max-width:350px){.site-header nav{gap:7px}}



.brand-image{width:43px;height:48px;object-fit:contain;flex-shrink:0;display:block}
@media(max-width:350px){.brand-image{width:35px;height:39px}}

/* Keep the soft photo-paper palette; give reading text a clearer hierarchy. */
:root{--ink:#49343e;--muted:#765967;--body-font:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}
body{font-family:var(--body-font)}
.brand,h1,h2,.handwritten,.little-note,.photo-caption{font-family:var(--font)}
.hero-description{color:#694d5b;font-size:17px;line-height:1.85}
.result-title{color:#49313f;font-weight:600}
.result-title small{color:#755060}

.result-description{font-family:var(--body-font);font-size:18px;line-height:1.85;color:#3e2d35;font-weight:500;text-align:left;letter-spacing:-.15px;max-width:440px;margin-top:24px}
.result-description>span{display:block}.result-description>span+span{margin-top:10px}.result-description>span:first-child{font-weight:600}
.character-tags span{font-size:14px;font-weight:500;color:#7d3652;background:#f4dce6}
.primary-button,.secondary-button{font-weight:600;font-size:15px;min-height:48px}
.text-button{font-size:14px;color:#745060;line-height:1.6}
.privacy-note{font-size:12px;color:#765967;line-height:1.65;flex-wrap:wrap}.upload-meta{font-size:12px}.upload-text>span{font-size:13px}
.small-letter button{font-size:13px}.site-footer>div{font-size:13px}.site-footer>p{font-size:11px;color:#765967}
@media(max-width:800px){.hero-description{font-size:16px}.result-description{font-size:17px;max-width:390px;line-height:1.85}.character-tags span{font-size:13px}.privacy-note{font-size:12px}.upload-text>span{font-size:12px}.primary-button,.secondary-button{font-size:14px}.brand{font-size:19px}}
.photo-window .photo-stamp,.hero-art.is-result .photo-stamp{font-family:var(--body-font);font-size:12px;letter-spacing:.3px;color:#6c3f54;font-weight:600;line-height:1.5;left:12px;right:12px;bottom:10px;width:max-content;max-width:calc(100% - 24px);margin-inline:auto;padding:4px 8px;border-radius:6px;background:rgba(255,248,250,.92)}
.photo-caption>span{color:#573d4b;font-weight:500}.art-footer{color:#765967}.brand small{color:#765967}

/* Mobile card height is determined by its content, never an overlapping fixed stage. */
.photo-caption{height:auto;min-height:64px;padding:14px 6px;text-align:center}
.photo-caption>span{font-size:18px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.photo-caption>svg{flex-shrink:0}
@media(max-width:800px){
 .hero .hero-art,.hero:has(.result-copy:not([hidden])) .hero-art{min-height:0;height:auto;padding:32px 14px 38px;display:flex;align-items:center;justify-content:center}
 .hero .photo-card,.hero-art.is-result .photo-card{max-width:100%;transform:rotate(-2deg)}
 .hero:has(.result-copy:not([hidden])){gap:22px}
}

/* Bold Gowun title; compact, centered mobile result composition. */
#hero-title{font-weight:700;color:#573d4b}
.result-description{text-align:center;margin-inline:auto}
@media(max-width:800px){
 .hero:has(.result-copy:not([hidden])){gap:8px;padding-block:16px 28px}
 .hero:has(.result-copy:not([hidden])) .hero-art{padding:22px 12px 10px}
 .hero-art.is-result .photo-card{width:250px}
 .hero-art.is-result .photo-window{height:244px}
 .hero-art.is-result .photo-caption{min-height:48px;padding:10px 2px;gap:8px}
 .hero-art.is-result .photo-caption>span{font-size:16px}
 .result-copy .little-note{margin-bottom:8px}
 .result-title{font-size:34px;line-height:1.3;margin:0}
 .result-title small{font-size:19px;line-height:1.45;margin-bottom:6px}
 .hero:has(.result-copy:not([hidden])) .character-tags{margin-top:12px;gap:6px}
 .character-tags span{padding:5px 10px}
 .result-description{margin-top:14px;font-size:16px;line-height:1.65;max-width:390px}
 .result-description>span+span{margin-top:6px}
 .share-actions{margin-top:18px}
}
@media(max-width:350px){
 .hero-art.is-result .photo-card{width:226px}
 .hero-art.is-result .photo-window{height:218px}
 .result-title{font-size:30px}
 .result-description{font-size:15px}
}
/* Readable photo-privacy note without the redundant inline info button. */
.privacy-note{font-size:13px;line-height:1.6}
/* Intro-only motion: tape-hung Polaroid sway + occasional Usagi double hop. */
.hero-art:not(.is-result) .photo-card{transform-origin:50% 12%;animation:polaroid-sway 4.2s ease-in-out infinite}
.hero-art:not(.is-result) .side-friend{animation:usagi-hop 4.2s ease-in-out infinite}
.hero:has(#busy-panel:not([hidden])) .photo-card,.hero:has(#busy-panel:not([hidden])) .side-friend{animation:none}
@keyframes polaroid-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(2deg)}}
@keyframes usagi-hop{0%,20%,42%,100%{transform:translateY(0) rotate(-11deg)}10%{transform:translateY(-23px) rotate(-3deg)}30%{transform:translateY(-17px) rotate(-16deg)}}
@media(prefers-reduced-motion:reduce){.hero-art .photo-card,.hero-art .side-friend{animation:none!important}}
/* Clear upload affordance and platform-appropriate hints. */
.dropzone{background:#fcebf2;border:1.5px solid #c77c9b;box-shadow:0 3px 12px #9b315d0a}
.upload-text strong{font-weight:700;color:#94385f}
.upload-text>.upload-helper-mobile{display:none}
.small-letter{padding-block:22px}
@media(max-width:800px){
 .upload-text>.upload-helper-desktop{display:none}
 .upload-text>.upload-helper-mobile{display:block;font-size:13px;color:#795466}
 .small-letter{padding-block:18px}
 .small-letter h2{font-size:17px;line-height:1.65}
}
/* One result-frame ratio at every viewport: matches the 720x800 morph/hero. */
.hero-art.is-result .photo-window{height:auto;aspect-ratio:9/10}
/* Desktop follows the mobile result's single centered copy axis. */
.result-copy{text-align:center}
.result-copy .little-note,.result-copy .character-tags,.result-copy .share-actions,.result-copy .result-bottom{justify-content:center}
/* Bring the closing message closer to the intro artwork, without overlap. */
.hero:has(.hero-copy:not([hidden])){min-height:0;padding-bottom:20px}
@media(max-width:800px){
 .hero:has(.hero-copy:not([hidden])){padding-bottom:8px}
 .hero:has(.hero-copy:not([hidden])) .hero-art{padding-bottom:14px}
 .hero:has(.hero-copy:not([hidden])) + .small-letter{padding-top:8px}
}
