
:root{--bg:#f8f6f1;--ink:#3d443b;--muted:#92948a;--line:#e7e7de;--green:#526647;--orange:#d7774c;--font:system-ui,-apple-system,'Malgun Gothic',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}button{border:0;background:transparent}svg{display:block}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.topbar{height:88px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fffefa;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.brand-mark{color:var(--orange);width:42px;transform:rotate(-8deg)}.brand-name{font-family:Georgia,serif;font-size:29px;letter-spacing:-1.4px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#8c9385;margin-top:3px}.top-nav{display:flex;gap:30px;height:100%;align-items:center}.nav-item{height:100%;display:flex;align-items:center;gap:8px;font-weight:600;font-size:13px;border-bottom:2px solid transparent}.nav-item.active{color:var(--green);border-bottom-color:var(--green)}.header-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:7px;font-size:12px;font-weight:600;min-height:40px;white-space:nowrap}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:#415736}.btn.secondary{border:1px solid #dcded5;background:#fffefa}.btn.secondary:hover{background:#f1f2e9}.titlebar{max-width:1560px;padding:27px 38px 23px;margin:auto;display:flex;justify-content:space-between;align-items:end}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--orange);margin:0 0 8px;font-weight:700}.titlebar h1{font-size:23px;font-weight:500;letter-spacing:-.9px;margin:0}.titlebar p.subtitle{margin:8px 0 0;color:#8a8f81;font-size:12px}.saved{font-size:11px;color:#7e8b73;display:flex;gap:7px;align-items:center}.status-dot{width:6px;height:6px;background:#8ea77c;border-radius:50%}.workspace{max-width:1560px;margin:0 auto;display:grid;grid-template-columns:244px minmax(360px,1fr) 268px;gap:22px;padding:0 38px 28px;align-items:start}.panel{background:#fffefa;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 19px 17px;border-bottom:1px solid #efefe7}.panel-heading h2{font-size:14px;margin:0;font-weight:650}.tiny{font-size:10px;color:#92988a}.panel-section{padding:21px 19px;border-bottom:1px solid #efefe7}.panel-section:last-child{border:0}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;font-size:11px;font-weight:650}.color-list{display:flex;gap:11px}.swatch{width:30px;height:30px;border-radius:50%;border:1px solid #0000000b;position:relative}.swatch.active:after{content:'';position:absolute;inset:-4px;border:1.5px solid #78886b;border-radius:50%}.color-name{margin:12px 0 0;font-size:10px;color:#969b8c}.paper-patterns{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pattern{font-size:10px;color:#8d9286;padding:0}.pattern-preview{height:66px;border-radius:5px;border:1px solid #e5e5dc;background-color:#f9f8f0;margin-bottom:7px;position:relative;overflow:hidden}.pattern.active .pattern-preview{border:1.5px solid #718363;box-shadow:0 0 0 2px #f0f2e8}.pattern.active{color:var(--green)}.pattern-preview.lined{background-image:repeating-linear-gradient(transparent 0 12px,#d8dfcf 12px 13px)}.font-options{display:flex;flex-direction:column;gap:8px}.font-choice{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#f8f8f2;border:1px solid transparent;border-radius:6px;font-size:12px;text-align:left}.font-choice.active{border-color:#aab79d;background:#f3f5ed;color:#526647}.font-choice span:last-child{font-size:9px;color:#8d9587}.range-line{display:flex;gap:10px;align-items:center;font-size:11px;color:#959a8f}input[type=range]{width:100%;accent-color:var(--green);height:5px;cursor:pointer}.text-colors{display:flex;gap:10px;margin-top:17px}.text-colors .swatch{width:22px;height:22px}.note-box{margin:16px 0 0;padding:17px 16px;background:#eef0e7;border-radius:9px;display:flex;gap:10px;color:#7b8770;line-height:1.8;font-size:11px}.note-box .icon{width:16px;margin-top:2px}.note-box strong{font-weight:600;color:#657657}.editor{min-width:0}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 2px 13px;gap:10px;height:36px}.title-input{border:0;background:transparent;color:#65735e;width:190px;font-size:11px;outline-offset:0;padding:3px 0}.tool-group{display:flex;align-items:center;gap:4px;margin-left:auto}.icon-btn{width:31px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:5px}.icon-btn:hover{background:#eaece3}.icon-btn .icon{width:16px;height:16px}.divider{height:13px;width:1px;background:#d9ddcf;margin:0 6px}.zoom-label{font-size:10px;color:#969d8c}.stage{background:#edeee7;border:1px solid #e6e8dd;border-radius:10px;padding:29px 25px 25px;min-height:700px;background-image:radial-gradient(#bdc5b544 .8px,transparent .8px);background-size:13px 13px;overflow:hidden}.sheet-wrap{margin:auto;position:relative}.sheet{position:relative;width:600px;transform-origin:top left;box-shadow:0 5px 14px #65705712,0 19px 35px #5a634614;border-radius:2px;overflow:hidden}.sheet canvas{display:block;position:absolute;inset:0;width:100%;height:100%}.letter-fields{position:absolute;inset:0;pointer-events:none}.letter-field{position:absolute;left:66px;width:468px;border:0;background:transparent;color:inherit;padding:0;outline:none!important;box-shadow:none;border-radius:0;resize:none;pointer-events:auto;overflow:hidden;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-all;letter-spacing:0}.letter-field:focus{background:#ffffff38;box-shadow:0 1px 0 #85936a55}.letter-field::placeholder{font:inherit;color:inherit;opacity:1}.to-field{top:151px;height:42px}.body-field{top:220px;line-height:38px}.from-field{text-align:right;height:38px}.sticker-layer{position:absolute;inset:0;pointer-events:none}.sticker-object{position:absolute;padding:0;border:0;background:none;touch-action:none;pointer-events:auto;cursor:grab;transform:translate(-50%,-50%) rotate(var(--rotation));filter:drop-shadow(0 2px 1px #55542214)}.sticker-object:active{cursor:grabbing}.sticker-object svg,.sticker-object img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.sticker-object.selected:after{content:'';position:absolute;inset:-8px;border:1.5px dashed #7b9364;border-radius:4px}.sticker-object.selected:before{content:'';position:absolute;width:7px;height:7px;background:#fff;border:1.5px solid #7b9364;right:-12px;bottom:-12px;border-radius:50%}.stage-bottom{display:flex;justify-content:center;align-items:center;gap:7px;color:#8c9581;font-size:10px;margin-top:19px}.stage-bottom .icon{width:13px;height:13px}.editor-foot{display:flex;justify-content:space-between;padding:12px 4px;font-size:10px;color:#979d91}.sticker-tabs{display:flex;gap:5px;padding:14px 15px 12px;flex-wrap:wrap}.chip{padding:7px 11px;border-radius:5px;background:transparent;color:#979b90;font-size:10px}.chip.active{background:#e9efdf;color:#5b704b;font-weight:600}.sticker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 15px 19px}.sticker-tile{height:73px;background:#f9f8f2;border:1px solid #f0efe7;border-radius:8px;padding:9px;transition:transform .18s,background .18s}.sticker-tile:hover{transform:translateY(-3px) rotate(-3deg);background:#eef1e5}.sticker-tile svg{width:100%;height:100%}.upload-area{margin:0 15px 18px;padding:13px 9px;width:calc(100% - 30px);display:flex;justify-content:center;align-items:center;gap:7px;border:1px dashed #cbd3c1;border-radius:7px;color:#7d8c6f;font-size:10px}.upload-area:hover{background:#f2f5e9}.upload-area .icon{width:14px}.selection-panel{border-top:1px solid #efefe7;padding:17px}.selection-panel h3{margin:0 0 17px;font-size:11px}.selection-panel .range-label{display:flex;justify-content:space-between;color:#8e9685;font-size:10px;margin:14px 0 8px}.selection-actions{display:flex;justify-content:space-between;margin-top:15px;gap:4px}.selection-actions button{display:flex;gap:4px;font-size:10px;align-items:center;padding:6px;border-radius:4px}.selection-actions .icon{width:13px;height:13px}.selection-actions button:hover{background:#eff1e9}.selection-empty{border-top:1px solid #efefe7;padding:21px 18px;font-size:11px;text-align:center;color:#9da391;line-height:1.8}.mini-card{padding:18px;margin-top:15px;border:1px solid #e2e5d6;border-radius:10px;display:flex;align-items:center;gap:14px}.mini-flower{width:38px;height:38px;flex:none}.mini-flower svg{width:100%;height:100%}.mini-card p{margin:0;font-size:10px;line-height:1.8;color:#929987}.mini-card strong{font-size:11px;color:#78866b;font-weight:500}.footer{max-width:1484px;margin:0 auto 20px;border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;color:#9aa08f;font-size:10px}.footer button{font-size:10px;color:#7f8a73;padding:0 8px}.footer-links{display:flex;gap:10px}.mobile-tabs{display:none}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#3e4b35;color:#fff;border-radius:8px;padding:13px 22px;box-shadow:0 6px 25px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:12px;max-width:90vw;text-align:center;line-height:1.6}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #e0e2d6;border-radius:14px;background:#fffef9;color:var(--ink);padding:0;max-width:min(700px,92vw);width:700px;box-shadow:0 15px 80px #27302124}dialog::backdrop{background:#35402e70;backdrop-filter:blur(3px)}.dialog-head{padding:24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eceee3}.dialog-head h2{font-size:18px;font-weight:500;margin:0}.dialog-content{padding:24px}.dialog-content p{font-size:13px;color:#7e8874;line-height:1.9}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.letter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-height:55vh;overflow:auto}.saved-card{position:relative;border:1px solid #e0e4d5;border-radius:9px;padding:18px;text-align:left;min-width:0;background:#f5f5ec}.saved-card h3{font-size:14px;margin:7px 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-card p{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 18px}.saved-card small{color:#8b9580;font-size:10px}.saved-card .delete-doc{position:absolute;right:11px;bottom:11px;font-size:11px;padding:6px;color:#a38171}.saved-card.current{border-color:#7f936e}.library-actions{display:flex;gap:9px;margin-bottom:19px;flex-wrap:wrap}.download-note{font-size:11px!important}.help-list{line-height:2.2;font-size:13px;padding-left:20px;color:#75816b}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.hidden{display:none!important}.shortcut{font-size:9px;background:#f1f2e9;color:#8c9681;padding:3px 5px;border-radius:3px}
@media(min-width:1500px){.workspace{grid-template-columns:264px minmax(360px,1fr) 288px;gap:28px}.sticker-tile{height:80px}.panel-section{padding:24px 23px}.stage{padding-left:42px;padding-right:42px}}
@media(max-width:1150px){.workspace{padding:0 20px 20px;grid-template-columns:207px minmax(300px,1fr) 220px;gap:14px}.topbar{padding:0 22px}.titlebar{padding:25px 22px}.stage{padding:22px 16px;min-height:550px}.sticker-grid{gap:5px;padding:0 10px 15px}.sticker-tile{height:60px;padding:6px}.panel-section{padding:19px 15px}.color-list{gap:9px}.swatch{width:26px;height:26px}.top-nav{gap:17px}.footer{margin:0 20px 10px}.brand-name{font-size:26px}.header-actions .new-btn{padding:10px}.pattern-preview{height:58px}}
@media(max-width:900px){.workspace{grid-template-columns:185px minmax(280px,1fr)}.right-column{grid-column:1/-1;display:grid;grid-template-columns:1fr 185px;gap:14px}.right-column .panel{display:flex;flex-wrap:wrap}.right-column .panel-heading{width:100%}.right-column .sticker-tabs{width:100%}.sticker-grid{grid-template-columns:repeat(9,1fr);width:100%}.right-column .upload-area{width:180px}.selection-panel{width:100%;padding:15px}.selection-empty{width:100%}.mini-card{margin-top:0}.top-nav{display:none}.stage{min-height:570px}.note-box{padding:13px}.color-list{gap:8px}.swatch{width:22px;height:22px}.font-choice{padding:10px}.font-choice span:last-child{font-size:8px}.footer{line-height:1.8}}
@media(max-width:620px){.topbar{height:70px;padding:0 16px;gap:8px}.brand-mark{width:30px}.brand{gap:7px}.brand-name{font-size:24px}.brand small{font-size:7px;letter-spacing:1px}.header-actions{gap:7px}.header-actions .new-btn{width:33px;padding:0;min-height:34px;border:0;background:transparent}.new-btn span{display:none}.header-actions .btn.primary{padding:9px 12px;min-height:36px;font-size:11px}.header-actions .icon{width:16px}.titlebar{padding:23px 18px 19px;align-items:center}.titlebar h1{font-size:21px}.titlebar .subtitle{font-size:11px!important;max-width:240px;line-height:1.7}.saved{font-size:9px;gap:5px}.eyebrow{font-size:8px}.workspace{display:flex;flex-direction:column;padding:0 12px 15px;gap:12px}.editor{width:100%;order:1}.left-column{width:100%;order:2}.right-column{display:block;width:100%;order:3}.mobile-tabs{display:flex;gap:6px;margin:0 12px 15px}.mobile-tabs button{flex:1;background:#eeeee5;border-radius:6px;padding:11px 5px;font-size:11px;color:#7b8771}.mobile-tabs button.active{background:#dfe6d3;color:#4d6540}.left-column,.right-column{display:none}.workspace[data-mobile=paper] .left-column{display:block}.workspace[data-mobile=stickers] .right-column{display:block}.workspace[data-mobile=paper] .editor,.workspace[data-mobile=stickers] .editor{order:0}.stage{padding:17px 12px;min-height:0}.stage-bottom{font-size:9px;margin-top:13px}.editor-foot{padding-bottom:0}.editor-toolbar{padding:0 6px 11px}.panel-heading{padding:16px}.left-column .panel{display:grid;grid-template-columns:1fr 1fr}.left-column .panel-heading{grid-column:1/-1}.panel-section{padding:17px}.paper-patterns{gap:7px}.pattern-preview{height:50px}.color-list{gap:11px}.swatch{width:26px;height:26px}.font-choice span:last-child{display:none}.left-column .note-box,.mini-card{display:none}.sticker-grid{grid-template-columns:repeat(6,1fr)}.sticker-tile{height:58px}.right-column .panel{display:block}.right-column .upload-area{width:calc(100% - 30px)}.footer{margin:0 17px 10px;display:block;text-align:center;font-size:9px}.footer-links{justify-content:center;margin-top:12px}.selection-panel{padding:16px}.selection-panel .range-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px}.letter-list{grid-template-columns:1fr}.dialog-content,.dialog-head{padding:20px}.dialog-actions{flex-wrap:wrap}}

/* WeLetter: font and paper choices */
.brand-name{font-family:"TT_jua",var(--font);font-size:30px;letter-spacing:-1px;color:#526647}.brand small{font-size:10px;letter-spacing:1px}
.color-list{display:grid;grid-template-columns:repeat(5,1fr);gap:14px 9px;justify-items:center;padding:4px 0}.color-list .swatch{width:28px;height:28px}.color-list .swatch.active:before{content:'✓';font-size:13px;color:#53664b;position:absolute;inset:4px;display:grid;place-items:center}
.font-scroll-hint{font-size:10px;color:#8a9380;margin:-4px 0 11px}.font-options{max-height:274px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9eae8d #f0f2e8;padding:3px 7px 4px 2px;gap:8px;scroll-behavior:smooth;scrollbar-gutter:stable}.font-options::-webkit-scrollbar{width:5px}.font-options::-webkit-scrollbar-thumb{background:#a7b597;border-radius:8px}.font-choice{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;gap:7px;min-height:105px;padding:12px;scroll-margin:4px}.font-choice-top{display:flex;align-items:center;justify-content:space-between}.font-title{font-family:var(--font);font-size:12px;font-weight:650}.font-check{visibility:hidden;font-size:12px;color:#647d51}.font-choice.active .font-check{visibility:visible}.font-sample{display:block;line-height:1.25;white-space:nowrap;color:#59644f}.font-choice .font-caption{font-size:9px!important;line-height:1.4;color:#8a9380;display:block!important}.font-current{font-size:10px;color:#617750;margin:12px 0 0}.license-entry{border-bottom:1px solid #e6e9dc;padding:12px 0}.license-entry summary{cursor:pointer;font-size:13px}.license-entry pre{white-space:pre-wrap;word-break:break-word;font-size:10px;line-height:1.6;color:#78816e}
@media(max-width:1150px){.font-choice{padding:10px 8px}.font-sample{white-space:normal}.color-list{gap:12px 7px}.color-list .swatch{width:25px;height:25px}}
@media(max-width:620px){.brand-name{font-size:25px}.brand small{font-size:8px;letter-spacing:.5px}.font-section{grid-column:1/-1}.font-options{max-height:260px}.font-choice{min-height:96px;padding:12px 15px}.font-choice-top{display:flex!important}.font-sample{display:block!important}.font-title{font-size:13px}.color-list{gap:14px 8px}.color-list .swatch{width:24px;height:24px}}


.editor-foot{align-items:center;gap:10px;flex-wrap:wrap}.editor-stats-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.editor-stats-actions #letterStats{white-space:nowrap}.clear-stickers-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid #c4a7b3;background:#fff7f8;color:#986574;box-shadow:2px 2px 0 #e3d0d8;font-size:10px;white-space:nowrap}.clear-stickers-btn .icon{width:13px;height:13px}.clear-stickers-btn:hover:not(:disabled){background:#f8e5eb;border-color:#ad8090}.clear-stickers-btn:disabled{opacity:.5;box-shadow:none}.editor-foot>span{margin-left:auto}


@font-face{font-family:"TT_kopubbatang";src:url("fonts/kopubbatang.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_notoserifkr";src:url("fonts/notoserifkr.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_gowunbatang";src:url("fonts/gowunbatang.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_gowundodum";src:url("fonts/gowundodum.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_hahmlet";src:url("fonts/hahmlet.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_gamjaflower";src:url("fonts/gamjaflower.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_gaegu";src:url("fonts/gaegu.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_himelody";src:url("fonts/himelody.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_jua";src:url("fonts/jua.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_singleday";src:url("fonts/singleday.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_sunflower";src:url("fonts/sunflower.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_dongle";src:url("fonts/dongle.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}

/* Scrollable sticker collection and personal uploads */
.sticker-tabs{flex-wrap:nowrap;gap:4px;padding-bottom:6px}.sticker-tabs .chip{flex:1;padding:8px 5px;white-space:nowrap}
.sticker-browse-info{width:100%;padding:0 15px;margin:7px 0 13px;font-size:10px;line-height:1.6;color:#7b8771;min-height:16px}
.sticker-grid{max-height:465px;overflow-y:auto;overflow-x:hidden;align-content:start;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b3c2a5 #f4f5ef;overscroll-behavior-y:contain;padding-top:4px;padding-bottom:12px;margin-bottom:14px;scroll-padding:6px}
.sticker-grid::-webkit-scrollbar{width:7px}.sticker-grid::-webkit-scrollbar-thumb{background:#b3c2a5;border:2px solid #f4f5ef;border-radius:5px}
.sticker-tile img{width:100%;height:100%;object-fit:contain}.my-sticker-empty{grid-column:1/-1;white-space:pre-line;line-height:1.9;text-align:center;font-size:12px;color:#8b9480;padding:32px 5px;margin:0}
@media(max-width:1150px){.sticker-grid{max-height:386px}.sticker-tabs{padding-left:10px;padding-right:10px}.sticker-browse-info{padding:0 10px}}
@media(max-width:900px){.sticker-grid{max-height:210px}.sticker-tabs{max-width:390px}.sticker-browse-info{width:100%}}
@media(max-width:620px){.sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:290px;gap:8px;padding:4px 15px 12px}.sticker-tile{height:82px;padding:12px}.sticker-tabs{max-width:none;padding:12px 15px 6px}.sticker-browse-info{padding:0 15px}}
/* WeLetter · the uploaded logo's blue, cream and rose pixel desktop */
:root{--bg:#eaf1fa;--ink:#344e72;--muted:#7889a1;--line:#c8d4e6;--green:#496a96;--orange:#bf7787;--pixel-edge:#7e96b8;--pixel-shadow:#c3d2e8}
body{background-color:var(--bg);background-image:linear-gradient(#b4c8e333 1px,transparent 1px),linear-gradient(90deg,#b4c8e333 1px,transparent 1px),linear-gradient(90deg,#fff8e633 50%,transparent 50%);background-size:16px 16px,16px 16px,128px 128px;color:var(--ink)}
.topbar{height:118px;background:#f9fbff;border-bottom:2px solid var(--pixel-edge);box-shadow:0 4px 0 #d7e2f2;padding-top:4px;padding-bottom:4px}
.brand{gap:16px;flex:none;min-width:112px}
.brand-logo{display:block;width:108px;height:108px;object-fit:contain;image-rendering:auto;flex:none}
.brand small{font-size:10px;color:#6b7f9b;letter-spacing:.4px;line-height:1.8;max-width:100px}
.top-nav{gap:14px;align-items:center}
.nav-item{height:42px;padding:0 14px;border:2px solid transparent;border-radius:0;color:#687e9c;font-size:12px}
.nav-item.active{color:#344f77;border:2px solid #7e96b8;background:#e6effc;box-shadow:3px 3px 0 #cad8ec}
.nav-item:hover{background:#edf3fc}
.btn,.icon-btn,.chip,.pattern-preview,.font-choice,.sticker-tile,.upload-area,.selection-actions button,.saved-card,.shortcut,.mobile-tabs button{border-radius:0}
.btn{border:2px solid #6983a6;box-shadow:3px 3px 0 #c6d4e7;transition:background .12s,transform .12s,box-shadow .12s}
.btn.primary{background:#496a96;color:#fff;box-shadow:3px 3px 0 #b7cae4}
.btn.primary:hover{background:#3c5b86}
.btn.secondary{border:2px solid #91a6c3;background:#fffdf5;color:#4c6384}
.btn.secondary:hover{background:#f1f5fc}
.btn:active:not(:disabled){transform:translate(2px,2px);box-shadow:1px 1px 0 #b7cae4}
.titlebar{padding-top:29px;padding-bottom:25px}
.titlebar h1{color:#344f76;font-family:"TT_jua",var(--font);font-size:26px;letter-spacing:-.4px}
.eyebrow{color:#ab6f82;letter-spacing:1.5px}
.titlebar p.subtitle{color:#72849e}
.saved{color:#697f9b;background:#f8fbff;border:1px solid #bdcde3;box-shadow:2px 2px 0 #d1dff0;padding:7px 10px}
.status-dot{border-radius:0;background:#87a596;box-shadow:2px 2px 0 #d8e7db}
.panel{background:#fffdf7;border:2px solid var(--pixel-edge);border-radius:0;box-shadow:4px 4px 0 var(--pixel-shadow)}
.panel-heading{position:relative;background:#dce9fb;border-bottom:2px solid #95acca;box-shadow:inset 0 2px 0 #f8fbff;padding-top:16px;padding-bottom:15px}
.panel-heading h2{color:#3a547a;font-size:13px}
.panel-heading .tiny{color:#6780a3;letter-spacing:.8px;font-size:9px}
.panel-section{border-bottom-color:#e2e8f0}
.section-label{color:#526783}
.tiny,.color-name,.range-line,.zoom-label,.editor-foot{color:#7688a1}
.swatch{border-radius:4px;border-color:#8fa2bd44}
.swatch.active:after{border-radius:6px;border-color:#7a91b3}
.color-list .swatch.active:before{color:#43618a}
.pattern-preview{border-color:#c4cfdd;background-color:#fbfaf4}
.pattern.active .pattern-preview{border-color:#7895bb;box-shadow:0 0 0 2px #e4ecf8}
.pattern{color:#7a8ba3}
.pattern.active{color:#43618a}
.font-scroll-hint{color:#8090a5}
.font-options{scrollbar-color:#9bb0cf #edf2f9}
.font-options::-webkit-scrollbar-thumb{background:#9bb0cf;border-radius:0}
.font-choice{background:#f4f7fc;border:1px solid #dce5f1}
.font-choice.active{background:#eaf1fc;border:1px solid #8da6c9;color:#3e5b83;box-shadow:2px 2px 0 #d2dff0}
.font-sample{color:#4b6080}
.font-check,.font-current{color:#53739e}
.font-choice .font-caption{color:#7b8da7}
.note-box{border-radius:0;background:#f7e9e9;border:1px solid #dec1c8;box-shadow:3px 3px 0 #e6cdd4;color:#957582}
.note-box strong{color:#896372}
.editor-toolbar{height:38px;background:#dce9fb;border:2px solid var(--pixel-edge);border-bottom:0;padding:2px 8px;box-shadow:inset 0 2px 0 #f8fbff}
.editor-toolbar:before{content:'';width:7px;height:7px;background:#f2b6be;box-shadow:12px 0 0 #f1d897,24px 0 0 #aac9bb;flex:none;margin-right:26px}
.icon-btn{color:#647fa5}
.icon-btn:hover{background:#cbdcf3}
.divider{background:#aabdd6}
.stage{background-color:#dfeafa;background-image:linear-gradient(#bfd0e755 1px,transparent 1px),linear-gradient(90deg,#bfd0e755 1px,transparent 1px);background-size:12px 12px;border:2px solid var(--pixel-edge);border-top:1px solid #a9bdd9;border-radius:0;box-shadow:4px 4px 0 var(--pixel-shadow)}
.stage-bottom{color:#7c8fa9}
.sheet{box-shadow:5px 6px 0 #aec0d855,0 9px 18px #4f6c8b12}
.sticker-tabs{gap:4px}
.chip{color:#7c8da5;border:1px solid transparent;padding:7px 9px}
.chip.active{background:#e1ecfc;color:#3e5d87;border-color:#8ca6cb;box-shadow:2px 2px 0 #d2dff0}
.chip:hover{background:#eef3fb}
.sticker-tile{background:#f7f8fa;border:1px solid #dbe3ef}
.sticker-tile:hover{background:#e9f0fb;transform:translateY(-2px);border-color:#b1c4df;box-shadow:2px 2px 0 #d7e2f2}
.upload-area{border-color:#a8bad3;color:#6b82a2;background:#f6f9fd}
.upload-area:hover{background:#eaf1fc}
.selection-empty,.selection-panel{border-top-color:#dfe7f2}
.selection-empty{color:#8797ad}
.selection-panel .range-label{color:#7b8fa9}
.selection-actions button:hover{background:#eaf0fa}
.mini-card{border-radius:0;border:1px solid #a5b9d5;background:#f4f8fd;box-shadow:3px 3px 0 #d2dff0}
.mini-card strong{color:#6b7f9c}
.mini-card p{color:#8796ac}
.footer{border-top:1px solid #bbcee7;color:#8a9bb1}
.footer button{color:#6c83a4}
.toast{background:#3d587f;border:2px solid #29415f;border-radius:0;box-shadow:4px 4px 0 #bed0e7;font-size:12px}
dialog{background:#fffdf7;border:2px solid var(--pixel-edge);border-radius:0;box-shadow:6px 6px 0 #738eb69c}
dialog::backdrop{background:#334c7180;backdrop-filter:blur(2px)}
.dialog-head{background:#dce9fb;border-bottom:2px solid #95acca;box-shadow:inset 0 2px 0 #f8fbff}
.dialog-content p,.help-list{color:#70819a}
.saved-card{border-color:#bdcce0;background:#f4f7fc}
.saved-card.current{border-color:#6c8cb7;box-shadow:2px 2px 0 #c8d8ed}
.saved-card small{color:#8293aa}
.mobile-tabs button{border:1px solid #b8cce6;background:#edf3fb;color:#6c81a0;box-shadow:2px 2px 0 #ceddef}
.mobile-tabs button.active{border-color:#7998c1;background:#dbe8fa;color:#385982}
.shortcut{background:#eaf0f9;color:#7b8ea8}
@media(max-width:1150px){.brand-logo{width:100px;height:100px}.topbar{height:110px}.brand{min-width:100px;gap:10px}.brand small{max-width:88px;font-size:9px}.nav-item{padding:0 10px}.top-nav{gap:8px}}
@media(max-width:900px){.brand small{max-width:none}.right-column .panel-heading{flex-basis:100%}.saved{padding:6px 8px}}
@media(max-width:620px){.topbar{height:88px;padding:3px 14px;gap:8px}.brand{min-width:78px;gap:0}.brand-logo{width:78px;height:78px}.brand small{display:none}.header-actions .new-btn{border:1px solid #a8bdd8;background:#f5f8fd;box-shadow:2px 2px 0 #d2dff0;width:32px}.header-actions .btn.primary{border-width:1px;box-shadow:2px 2px 0 #b7cae4}.titlebar{padding-top:23px;padding-bottom:21px;gap:9px}.titlebar h1{font-size:23px}.titlebar .subtitle{max-width:217px}.saved{font-size:8px;padding:5px 6px;white-space:nowrap}.saved .status-dot{width:4px;height:4px;flex:none}.panel,.stage{box-shadow:3px 3px 0 var(--pixel-shadow)}.editor-toolbar{padding:2px 7px;height:36px}.editor-toolbar:before{width:6px;height:6px;box-shadow:10px 0 0 #f1d897,20px 0 0 #aac9bb;margin-right:22px}.panel-heading{padding-top:14px;padding-bottom:13px}.chip{padding:8px 13px}.footer{padding-top:16px}}
@media(prefers-reduced-motion:reduce){.btn,.sticker-tile{transition:none}}

.sticker-browse-info,.my-sticker-empty{color:#7b8fa9}.sticker-grid{scrollbar-color:#9bb0cf #edf2f9}.sticker-grid::-webkit-scrollbar-thumb{background:#9bb0cf;border-color:#edf2f9;border-radius:0}
@font-face{font-family:"TT_poorstory";src:url("fonts/poorstory.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_stylish";src:url("fonts/stylish.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_blackandwhitepicture";src:url("fonts/blackandwhitepicture.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_nanumpenscript";src:url("fonts/nanumpenscript.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_nanumbrushscript";src:url("fonts/nanumbrushscript.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_nanumgothic";src:url("fonts/nanumgothic.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_nanummyeongjo";src:url("fonts/nanummyeongjo.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_ibmplexsanskr";src:url("fonts/ibmplexsanskr.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_lxgwwenkaikr";src:url("fonts/lxgwwenkaikr.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"TT_mulmaru";src:url("fonts/mulmaru.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}


#handwritingToolStatus:empty{display:none}
/* Personal handwriting entry; keep the label beside its action on narrow panels. */
.font-heading-row{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:14px}.font-heading-row .section-label{margin:0;white-space:nowrap;font-size:11px}.make-handwriting-btn{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:32px;padding:5px 6px;border:1px solid #b18b9e;background:#fff1f5;color:#79556b;box-shadow:2px 2px 0 #e6cdd9;font-size:10px;font-weight:650;white-space:nowrap}.make-handwriting-btn .icon{width:12px;height:12px}.make-handwriting-btn:hover{background:#f9e2eb;border-color:#976f84}.make-handwriting-btn:active{transform:translate(1px,1px);box-shadow:1px 1px 0 #e6cdd9}@media(min-width:621px) and (max-width:900px){.font-section{padding-left:10px;padding-right:10px}.font-heading-row{gap:3px}.font-heading-row .section-label{font-size:10px}.make-handwriting-btn{font-size:9px;padding:5px 4px}.make-handwriting-btn .icon{display:none}}

.personal-font-heading{font-size:11px;font-weight:700;color:#6c5876;padding:13px 4px 6px;border-top:1px solid #c7cfe1;margin-top:5px}.personal-font-notice{font-size:10px;color:#617e9f;line-height:1.8;background:#edf4fc;border:1px solid #cbd9ec;padding:9px;margin:12px 0 0}.personal-font-notice.font-missing{background:#fff0f3;color:#9a536b;border-color:#dfb8c5}.personal-font-notice[hidden]{display:none}.personal-font-heading small{display:block;font-size:9px;font-weight:400;line-height:1.6;padding-top:5px;color:#7d7890}.personal-font-entry{position:relative}.personal-font-entry .font-choice{width:100%;padding-right:52px}.personal-font-remove{position:absolute;right:5px;top:5px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;padding:0;font-size:24px;line-height:1;color:#9a536b;border:1px solid #dfb8c5;background:#fff6f8;z-index:1}.personal-font-remove:hover:not(:disabled){background:#fbe4eb}.personal-font-remove:focus-visible{outline:2px solid #9a536b;outline-offset:2px}.personal-font-remove:disabled{color:#8e8c99;border-color:#d9d7df;cursor:default}

.ink-contrast-hint{font-size:10px;line-height:1.7;color:#a36d7c;margin:8px 0 0}.ink-contrast-hint[hidden]{display:none}
.letter-field::placeholder{font:inherit;color:inherit;opacity:1}.sheet[data-tone="dark"] .letter-field:focus{background:#ffffff13;box-shadow:0 1px 0 #b9cbe66b}.sheet[data-tone="dark"] .sticker-object.selected:after{border-color:#bed2ed}.sheet[data-tone="dark"] .sticker-object.selected:before{border-color:#8eabd3}.color-list .swatch.active:before{color:var(--swatch-check,#43618a)}.text-colors{flex-wrap:wrap;margin-top:11px}.text-colors .swatch{border:1px solid #99aac1}.text-colors .swatch.active:after{border-color:#6e8cb7}.ink-section-label{font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:6px;margin:18px 0 0;color:#526783}.ink-section-label span{font-size:9px;font-weight:400;color:#8191a8}.font-license-help{margin-top:22px;border-top:1px solid #d9e2ef;padding-top:14px}.font-license-help>summary{cursor:pointer;font-size:12px;color:#7a8da9}.font-license-help>p{font-size:11px}.remove-ads-btn{font-size:11px;padding:9px 12px;background:#fff5f7!important;color:#896076!important;border-color:#c6a3b5!important}.app-cover{width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:0;background:#fff9ec;border:2px solid #7593bc;box-shadow:7px 7px 0 #b6cbe8;border-radius:0;overflow:hidden}.app-cover::backdrop{background:#d9e7f6ed;backdrop-filter:blur(4px)}.app-cover-bar{height:32px;background:#d6e8ff;border-bottom:2px solid #93add1;display:flex;align-items:center;gap:6px;padding:0 12px;box-shadow:inset 0 2px 0 #f7fbff}.app-cover-bar span{width:7px;height:7px;background:#e6a4b5}.app-cover-bar span:nth-child(2){background:#e5c47c}.app-cover-bar span:nth-child(3){background:#9ebdaf}.app-cover-content{padding:16px 25px 28px;text-align:center;background-image:linear-gradient(#c6d9f22b 1px,transparent 1px),linear-gradient(90deg,#c6d9f22b 1px,transparent 1px);background-size:14px 14px}.app-cover-logo{display:block;width:min(260px,70vw);height:auto;margin:0 auto}.app-cover-tagline{font-size:16px;color:#537198;line-height:1.8;margin:5px 0 23px;font-family:"TT_gowundodum",sans-serif}.app-cover #startWritingBtn{min-width:170px;font-size:13px;gap:20px}.app-cover-note{margin:20px 0 0;font-size:10px;color:#8497b2;line-height:1.8}@media(max-width:620px){.header-actions{gap:5px}.header-actions .remove-ads-btn{padding:8px 7px;font-size:10px;border-width:1px;min-height:34px}.header-actions .btn.primary{padding-left:9px;padding-right:9px}.brand{min-width:65px}.brand-logo{width:68px;height:68px}.topbar{padding-left:10px;padding-right:10px;gap:5px}.app-cover-content{padding:10px 18px 24px}.app-cover-logo{width:225px;max-width:65vw}.app-cover-tagline{font-size:15px}.ink-section-label{flex-wrap:wrap}}


.account-gate-actions .btn{min-height:48px}.account-bar strong{overflow-wrap:anywhere;min-width:0}.account-bar button,.account-bar a{min-height:40px;display:inline-flex;align-items:center;padding:8px}.footer-links button{min-height:44px;padding:10px 12px}.account-gate-actions #accountRetry{background:transparent;box-shadow:none;border-color:transparent;text-decoration:underline;text-underline-offset:4px}
@media(max-width:620px){.account-bar{gap:6px 10px}.account-bar strong{flex-basis:100%;font-size:12px}.account-bar #accountSyncStatus{font-size:11px}.account-bar button{font-size:11px}.footer-links{flex-wrap:wrap;gap:8px}.account-gate h1{font-size:22px}.account-gate p{font-size:13px}}

.account-gate{max-width:510px;margin:7vh auto;padding:30px 28px;text-align:center;background:#fffdf5;border:2px solid #8da9cb;box-shadow:7px 7px 0 #bed2ec;color:#405b7f}.account-gate img{width:210px;max-width:60vw}.account-gate h1{font-size:20px;line-height:1.7;margin:4px 0 12px}.account-gate p{font-size:12px;line-height:1.9;color:#788ca8}.account-gate-actions{display:flex;flex-direction:column;gap:10px;margin:22px auto 8px;max-width:310px}.account-gate a{color:#6e71a2;text-underline-offset:4px}.account-gate .btn{white-space:normal;line-height:1.6}.account-gate .account-apple{background:#303644;color:#fff;border-color:#303644}.account-gate [hidden],#editorApp[hidden]{display:none!important}.account-bar{max-width:1500px;margin:0 auto;padding:11px 38px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#7186a3;font-size:10px}.account-bar strong{color:#506b8f;font-weight:600}.account-bar button,.account-bar a{font-size:10px;padding:5px;color:#6c729c;text-decoration:underline;text-underline-offset:3px}.account-bar #accountSyncStatus{margin-right:auto}.account-notice{width:100%;margin:0;color:#9b637d;line-height:1.7}.account-bar [hidden]{display:none}@media(max-width:620px){.account-gate{margin:32px 14px;padding:20px 16px}.account-bar{padding:9px 12px;gap:5px}}