@font-face{font-family:StampM;src:url(assets/myeongjo.ttf);font-display:swap}@font-face{font-family:StampG;src:url(assets/gothic.ttf);font-display:swap}@font-face{font-family:StampB;src:url(assets/brush.ttf);font-display:swap}@font-face{font-family:StampS;src:url(assets/song.ttf);font-display:swap}@font-face{font-family:StampT;src:url(assets/batang.ttf);font-display:swap}
#stamp-page{font-family:StampG,'Malgun Gothic',sans-serif;font-size:14px}#stamp-page nav a:first-child{border:0;color:var(--ink)}#stamp-page nav a[aria-current]{color:var(--blue);border-bottom:2px solid var(--blue)}#stamp-page .header-inner{gap:48px}#stamp-page .intro{margin-bottom:27px}#stamp-page .intro h1{font-size:34px}.benefits{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:15px;font-size:11px;color:#827079}.benefits span:before{content:'✓';color:#7d896c;margin-right:5px}#stamp-page .tool-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}#stamp-page .tool-card h2{font-size:13px}#stamp-page .tool-card p{font-size:11px}#stamp-page .rail-heading{font-size:13px}#stamp-page .tool-grid+.rail-heading{margin-top:25px}#stamp-page .work-title{padding:23px 25px 20px;border-bottom:1px solid var(--line)}#stamp-page .work-title h2{font-size:23px}.stamp-studio{display:grid;grid-template-columns:minmax(270px,.92fr) minmax(0,1.1fr);grid-template-areas:'settings preview' 'settings downloads';grid-template-rows:auto 1fr;align-items:start;gap:0;padding:0}.stamp-settings{grid-area:settings;padding:24px;background:#fcf8fa;border-right:1px solid #eee5e9}.stamp-settings fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}.stamp-settings fieldset:first-child{margin-top:0}.stamp-settings legend,.input-label{font-size:12px;font-weight:700;margin-bottom:9px}.input-label{display:block;margin-top:21px}.input-label span{float:right;font-size:10px;font-weight:400;color:#97868e}#stamp-page input[type=text]{width:100%;min-height:46px;padding:11px 13px;border:1px solid #e2d6dc;border-radius:8px;background:#fff;color:var(--ink);font-size:18px;outline-offset:2px}.choices{display:flex;gap:6px}.choices button{flex:1;min-width:0;min-height:39px;font-size:12px;padding:8px 5px;color:#75616d;background:#fff;border:1px solid #e5dce1;border-radius:7px;line-height:1.4}.choices button[aria-pressed=true]{border-color:#925b69;color:#78383f;background:#f3e7ec;box-shadow:inset 0 0 0 .5px #925b69}.choices button:hover{border-color:#925b69}.shape-icon{display:block;width:21px;height:21px;border:1.7px solid currentColor;margin:2px auto 8px}.shape-icon.circle{border-radius:50%}.shape-icon.oval{width:16px;border-radius:50%}.help{font-size:10px;line-height:1.6;margin:8px 0 0;color:#9a8590}#font{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#font button{padding:10px 8px;text-align:left;min-height:78px}#font button:last-child{grid-column:1/-1}.sample{font-size:26px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#49363f;line-height:1.4;min-height:37px}.myeongjo{font-family:StampM}.gothic{font-family:StampG}.brush{font-family:StampB}.song{font-family:StampS}.batang{font-family:StampT}.font-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#826e79;margin-top:3px}.font-label small{font-size:9px;color:#9c8b94}.fine-tune{margin-top:25px;border-top:1px solid #e9dfe4;padding-top:19px}.fine-tune summary{cursor:pointer;font-size:12px;font-weight:700}.range{display:block;font-size:11px;margin:17px 0}.range output{float:right;color:#805360;font-variant-numeric:tabular-nums}.range input{display:block;width:100%;margin:9px 0 0;accent-color:#78383f;cursor:pointer;height:15px}.colors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.colors button{background:none;border:1px solid transparent;border-radius:7px;padding:4px;color:#806e77}.colors button>span{display:grid;place-items:center;height:40px;border-radius:4px;color:#fff}.colors button small{display:block;font-size:10px;margin-top:5px;white-space:nowrap}.colors b{visibility:hidden}.colors button[aria-pressed=true]{border-color:#925b69}.colors button[aria-pressed=true] b{visibility:visible}.custom{display:flex;align-items:center;gap:10px;font-size:11px;margin-top:10px}.custom input{width:30px;height:26px;border:0;padding:0;background:none;cursor:pointer}.custom output{font-size:10px;color:#99828f}.reset{width:100%;background:none;border:1px solid #e2d7de;border-radius:7px;padding:10px;margin-top:22px;color:#88717e;font-size:11px}.stamp-preview{grid-area:preview;padding:24px 23px 0;min-width:0;position:sticky;top:0;background:#fff;z-index:2}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.preview-heading h3{font-size:13px;margin:0}.preview-heading>span{font-size:10px;color:#7c8a71;white-space:nowrap}.preview-heading i{display:inline-block;width:5px;height:5px;background:#8f9b81;border-radius:50%;margin-right:4px}#preview{aspect-ratio:1;display:grid;place-items:center;border:1px solid #e6dbe1;border-radius:12px;overflow:hidden;background-color:#fff;background-image:conic-gradient(#f0e9ed 25%,#fcfafb 0 50%,#f0e9ed 0 75%,#fcfafb 0);background-size:18px 18px;box-shadow:0 0 0 7px #fbf6f8}#preview.white{background:#fff}#art{width:92%;height:92%;display:grid;place-items:center}#art svg{width:100%;height:100%}.preview-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.zoom-controls{display:flex;align-items:center;gap:5px}.zoom-controls button{min-width:31px;min-height:32px;border:1px solid #e5dce1;background:#fff;border-radius:6px;color:#79626f;font-size:14px}.zoom-controls output{font-size:10px;min-width:37px;text-align:center;color:#8f7885}.preview-tools .choices button{min-height:32px;padding:6px 11px;font-size:10px}.preview-tip{font-size:10px;text-align:center;color:#9a8792;line-height:1.7;margin:14px 0 0}#stamp-page #status{margin:10px 0 0;padding:8px 0;background:none;font-size:10px;line-height:1.7;min-height:31px;color:#8f6c7d;border-radius:0}.downloads{grid-area:downloads;padding:8px 23px 25px;background:#fff;min-width:0}.export-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:12px}.export-heading select{padding:6px 9px;border:1px solid #e5dce1;background:white;border-radius:6px;color:#806977;font-size:11px}.download-buttons{display:flex;gap:8px}.download-buttons button{flex:1;border:1px solid #e0d4dc;border-radius:8px;padding:11px 8px;min-height:45px;font-size:11px;white-space:nowrap;background:white;color:#78383f}.download-buttons .primary{flex:1.6;background:#78383f;color:white;border-color:#78383f;box-shadow:none;gap:13px}.download-buttons .primary:disabled{background:#e9dfe5;border-color:#e9dfe5;color:#9c8793}.export-note{font-size:10px;text-align:center;margin:10px 0 20px;color:#99858f}.local-note{background:#eef1e9;border:1px solid #dfe5d7;border-radius:8px;padding:13px 14px;font-size:10px;color:#6e7b60;line-height:1.8}.local-note strong{font-size:11px;font-weight:500}.local-note p{color:#839076;margin:6px 0 0;font-size:10px}.analytics-note{font-size:9px;line-height:1.7;margin:10px 2px 0;color:#a4919c}.stamp-guide{max-width:980px;margin:42px auto 0}.stamp-guide>section{border-top:1px solid var(--line);padding:25px 0}.stamp-guide h2{font-size:21px;margin:0 0 12px}.stamp-guide p{font-size:13px;line-height:1.9}.stamp-guide .guide-grid{margin:20px 0 0;padding:24px;gap:30px;border-radius:12px}.stamp-guide h3{font-size:14px;margin:0}.stamp-guide details{padding:15px 0;border-bottom:1px solid var(--line)}.stamp-guide summary{font-size:13px;cursor:pointer}.legal{padding:20px;background:#eee9e5;border-radius:9px;color:#89756c;font-size:12px;line-height:1.9}#stamp-page .workspace{box-shadow:none}
@media(min-width:1500px){#stamp-page main,#stamp-page .header-inner{max-width:1440px}.stamp-studio{grid-template-columns:350px minmax(0,1fr)}#preview{max-height:490px}}
@media(max-width:1100px){#stamp-page .tool-layout{grid-template-columns:180px minmax(0,1fr);gap:17px}.stamp-studio{grid-template-columns:minmax(235px,.95fr) minmax(0,1fr)}.stamp-settings{padding:18px}.stamp-preview{padding:20px 17px 0}.downloads{padding:8px 17px 20px}#stamp-page .tool-card .tool-symbol{width:28px;height:33px}#stamp-page .tool-card p{font-size:10px}}
@media(max-width:950px){#stamp-page .tool-layout{grid-template-columns:1fr}#stamp-page .tool-rail{display:none}#stamp-page .header-inner{gap:30px}.stamp-studio{grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr)}}
@media(max-width:600px){#stamp-page .header-inner{padding:0 16px;gap:12px}#stamp-page nav{gap:12px;font-size:10px}#stamp-page nav a{padding:23px 0}#stamp-page nav a:last-child{display:none}#stamp-page .intro h1{font-size:27px}.benefits{font-size:10px;gap:4px 12px}#stamp-page .intro p{font-size:12px;max-width:none}#stamp-page .work-title{padding:18px 18px 16px}#stamp-page .work-title h2{font-size:19px}.stamp-studio{grid-template-columns:1fr;grid-template-areas:'preview' 'settings' 'downloads'}.stamp-preview{position:static;padding:20px 22px 0}#preview{max-width:340px;margin:auto;aspect-ratio:1.1}.preview-heading{max-width:340px;margin:0 auto 15px}.preview-tools{max-width:340px;margin:20px auto 0}.stamp-settings{border-right:0;border-top:1px solid #eee5e9;padding:22px}.downloads{padding:23px 22px;border-top:1px solid #eee5e9}.stamp-settings fieldset{margin-top:23px}#font{grid-template-columns:repeat(2,minmax(0,1fr))}.sample{font-size:29px}.colors button>span{height:47px}.stamp-guide{margin-top:32px}.stamp-guide h2{font-size:18px}.stamp-guide p{font-size:12px}.stamp-guide .guide-grid{padding:20px;gap:18px}.download-buttons button{font-size:13px}.stamp-guide summary{font-size:12px}#stamp-page .local-badge{font-size:10px}}

/* 2026-09 final polish: align Stamp Maker with the original Bakkuming utility UI */
#stamp-page .stamp-workspace{border-radius:22px;box-shadow:0 14px 42px rgba(54,43,48,.055)}
#stamp-page .stamp-studio{background:#fff}
#stamp-page .stamp-settings{background:linear-gradient(180deg,#fcf8fa 0%,#fbf7f9 100%)}
#stamp-page .stamp-settings fieldset{padding-bottom:2px}
#stamp-page .choices button{transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
#stamp-page .choices button:hover{background:#fdfafb;transform:translateY(-1px)}
#stamp-page .choices button[aria-pressed=true]{background:#f1e3e8;border-color:#8e5665;box-shadow:0 2px 8px rgba(120,56,63,.08),inset 0 0 0 .5px #8e5665}
#stamp-page #font button{border-radius:9px;background:#fff}
#stamp-page #font button[aria-pressed=true]{background:#f3e7eb}
#stamp-page .fine-tune{background:rgba(255,255,255,.6);border:1px solid #eee3e8;border-radius:10px;padding:14px 13px 4px;margin-top:24px}
#stamp-page .fine-tune summary{list-style:none;display:flex;align-items:center;justify-content:space-between}
#stamp-page .fine-tune summary::-webkit-details-marker{display:none}
#stamp-page .fine-tune summary:after{content:'−';font-size:16px;color:#9b7c89;font-weight:400}
#stamp-page .fine-tune:not([open]) summary:after{content:'＋'}
#stamp-page .colors button{transition:transform .15s ease,border-color .15s ease}
#stamp-page .colors button:hover{transform:translateY(-1px)}
#stamp-page .reset:hover{background:#fff;border-color:#cdb9c2;color:#78383f}
#stamp-page .stamp-preview{padding:28px 28px 0}
#stamp-page #preview{border-radius:16px;border-color:#e4d8de;box-shadow:0 0 0 8px #fbf7f9,0 12px 30px rgba(73,54,63,.05)}
#stamp-page .downloads{padding:10px 28px 28px}
#stamp-page .download-buttons button{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
#stamp-page .download-buttons button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 13px rgba(120,56,63,.08)}
#stamp-page .download-buttons .primary:hover:not(:disabled){background:#642e36;box-shadow:0 6px 14px rgba(120,56,63,.16)}
#stamp-page .benefits span{display:inline-flex;align-items:center}
@media(max-width:1100px){#stamp-page .stamp-preview{padding:22px 20px 0}#stamp-page .downloads{padding:10px 20px 22px}}
@media(max-width:600px){#stamp-page .stamp-preview{padding:21px 20px 0}#stamp-page .downloads{padding:22px 20px}#stamp-page .fine-tune{padding:13px 12px 3px}}
