:root{--paper:#f7f8f2;--surface:#fffef8;--ink:#243c31;--muted:#707f74;--green:#28553e;--green-dark:#183e2d;--sage:#e9f0e6;--line:#dbe3d6;--yellow:#f2d777;--error:#a43d31;--radius:13px;color:var(--ink);background:var(--paper);font-synthesis:none;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #b49832}button{transition:background .15s,transform .15s}input,textarea,select{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:7px;padding:10px 11px;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:var(--green)}textarea{resize:vertical}label{flex-direction:column;gap:7px;font-size:12px;font-weight:650;display:flex}label small{color:var(--muted);font-size:10px;font-weight:400;line-height:1.5}p{line-height:1.8}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.topbar{border-bottom:1px solid var(--line);background:#edf3ee;justify-content:space-between;align-items:center;height:90px;padding:0 4.5%;display:flex}.brand{letter-spacing:-1.1px;align-items:center;gap:12px;font-size:26px;font-weight:750;line-height:1;text-decoration:none;display:flex}.brand-mark{background:var(--green);color:var(--yellow);border-radius:13px;justify-content:center;align-items:center;width:42px;height:42px;padding-bottom:7px;font-size:38px;font-weight:800;display:flex;position:relative}.brand-mark span{font-size:18px;position:absolute;bottom:6px;right:5px}.brand-sub{letter-spacing:2.7px;color:var(--muted);margin-top:9px;font-size:8px;font-weight:600;display:block}.topbar-right{align-items:center;gap:29px;display:flex}.language-picker select{background:0 0;max-width:180px;padding:8px;font-size:12px}.edition{letter-spacing:1px;align-items:center;gap:8px;font-family:Consolas,monospace;font-size:10px;display:flex}.status-dot{background:#578363;border-radius:50%;width:6px;height:6px}.source-link{color:var(--muted);align-items:center;gap:5px;font-size:11px;text-decoration:none;display:flex}.source-link:hover{color:var(--green)}.workspace{grid-template-columns:260px minmax(0,1fr);max-width:1500px;min-height:calc(100vh - 132px);margin:0 auto;display:grid}.sidebar{border-inline-end:1px solid var(--line);background:linear-gradient(#f0f4ed,#f6f7ef);flex-direction:column;gap:25px;min-width:0;padding:28px 22px;display:flex}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-family:Consolas,Courier New,monospace;font-size:9px;font-weight:600}.sidebar-heading{justify-content:space-between;align-items:center;display:flex}.icon-button{color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:30px;min-width:30px;height:30px;padding:5px;display:inline-flex}.icon-button:hover{background:var(--sage);color:var(--green)}.icon-button.danger:hover{color:var(--error);background:#f7e9e3}.pack-identity{align-items:center;gap:11px;display:flex}.pack-identity>div{min-width:0}.pack-identity strong{overflow-wrap:anywhere;font-size:13px;line-height:1.5;display:block}.pack-identity small{color:var(--muted);margin-top:5px;font-family:Consolas,monospace;font-size:9px;display:block}.pack-icon{background:var(--yellow);border-radius:11px;flex-shrink:0;place-items:center;width:43px;height:47px;display:grid}.metadata{flex-direction:column;gap:17px;display:flex}.metadata input,.metadata textarea{background:#fafbf6;padding:8px 10px;font-size:11px}.metadata label{font-size:10px}.category-nav{border-top:1px solid var(--line);flex-direction:column;gap:5px;padding-top:23px;display:flex}.category-nav>.eyebrow{margin-bottom:10px}.category-item{text-align:start;color:var(--muted);background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:11px 10px;font-size:11px;display:flex}.category-item>span:not(.category-glyph){overflow-wrap:anywhere}.category-item b{flex-shrink:0;margin-inline-start:auto;font-family:Consolas,monospace;font-size:10px;font-weight:400}.category-item.active{color:var(--green);background:#dfe9dc;font-weight:650}.category-item:hover{background:#e6eee1}.category-glyph{flex-shrink:0;width:17px;font-family:Consolas,monospace;font-size:17px}.sidebar-bottom{flex-direction:column;gap:10px;margin-top:auto;padding-top:25px;display:flex}.save-status{color:var(--muted);align-items:center;gap:5px;font-size:9px;line-height:1.7;display:flex}.text-button{color:var(--green);text-align:start;background:0 0;border:0;justify-content:center;align-self:flex-start;align-items:center;gap:6px;padding:3px 0;font-size:11px;line-height:1.6;display:inline-flex}.text-button:hover{text-decoration:underline}.studio-main{min-width:0;padding:37px 42px 22px}.intro{justify-content:space-between;align-items:center;min-height:160px;padding-bottom:31px;display:flex}.intro h1{letter-spacing:1px;margin:14px 0 12px;font-size:clamp(25px,3vw,36px);font-weight:700}.intro p{color:var(--muted);margin-bottom:0;font-size:12px}.intro-art{flex-shrink:0;width:210px;height:125px;position:relative}.art-face{background:var(--yellow);width:80px;height:86px;color:var(--green-dark);letter-spacing:-4px;border:1px solid #dfc66c;border-radius:24px;place-items:center;font-family:Consolas,monospace;font-size:38px;display:grid;position:absolute;top:0;right:40px;transform:rotate(12deg);box-shadow:5px 7px #e5e9da}.art-leaf{color:#769a79;font-size:66px;position:absolute;top:22px;left:19px;transform:rotate(-12deg)}.art-spark{color:#c2a13d;font-size:30px;position:absolute;bottom:34px;right:6px}.art-label{color:#7b8e79;font-family:Georgia,serif;font-size:16px;font-style:italic;position:absolute;bottom:0;left:28px;transform:rotate(-4deg)}.collection-toolbar{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:23px 0 19px;display:flex}.collection-title{align-items:center;gap:10px;min-width:0;display:flex}.collection-title h2{letter-spacing:.3px;overflow-wrap:anywhere;margin:0;font-size:16px}.count-pill{border:1px solid var(--line);text-align:center;background:#edf2e9;border-radius:20px;min-width:25px;padding:3px 8px;font-family:Consolas,monospace;font-size:10px}.toolbar-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:11px;font-weight:650;line-height:1.5;display:inline-flex}.button.primary{background:var(--green);color:#fffff8;border-color:var(--green)}.button.primary:hover:enabled{background:var(--green-dark);transform:translateY(-1px)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.button.secondary:hover:enabled{background:var(--sage)}.search-row{color:var(--muted);border:1px solid var(--line);background:#eef2e9;border-radius:8px;align-items:center;gap:10px;margin-bottom:20px;padding:0 13px;display:flex}.search-row input{outline-offset:0;background:0 0;border:0;padding:12px 0;font-size:11px}.search-row>span{letter-spacing:1px;white-space:nowrap;font-family:Consolas,monospace;font-size:8px}.notice{color:var(--green);overflow-wrap:anywhere;background:#e6efdf;border:1px solid #c8d7bf;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;padding:8px 13px;font-size:12px;line-height:1.7;display:flex}.notice.error{color:var(--error);background:#f9ede6;border-color:#eccbbc}.collection-body{min-height:360px}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:13px;padding:2px 0 30px;display:grid}.emoji-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;padding:14px;transition:border-color .15s,box-shadow .15s}.emoji-card:hover{border-color:#a6bca2;box-shadow:0 3px 12px #29442c09}.emoji-card-top{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:14px;display:flex}.emoji-preview{background:repeating-conic-gradient(#edf0e8 0% 25%,#f7f8f1 0% 50%) 50%/12px 12px;border:1px solid #e5e9df;border-radius:10px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid}.emoji-preview img{object-fit:contain;image-rendering:auto;width:38px;height:38px}.emoji-preview.failed{color:#a1aea0}.emoji-card-actions{gap:1px;display:flex}.emoji-card-actions .icon-button{width:26px;min-width:26px;height:26px}.emoji-name{overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:12px;line-height:1.5;display:block}.emoji-category{color:#5b705c;overflow-wrap:anywhere;background:#ecf1e7;border-radius:4px;max-width:100%;margin-top:7px;padding:3px 7px;font-size:9px;display:inline-block}.emoji-url{white-space:nowrap;text-overflow:ellipsis;color:#869081;align-items:center;gap:3px;margin-top:11px;font-size:9px;line-height:1.6;text-decoration:none;display:flex;overflow:hidden}.emoji-url:hover{color:var(--green)}.emoji-url svg{margin-left:auto}.empty-state{text-align:center;flex-direction:column;align-items:center;padding:48px 10px 44px;display:flex}.empty-illustration{width:100px;height:90px;margin-bottom:23px;position:relative}.empty-square{color:#61805a;background:#e5ecdd;border:1px solid #ccdac4;border-radius:20px;place-items:center;width:75px;height:75px;display:grid;position:absolute;top:4px;left:6px;transform:rotate(-8deg)}.empty-small{background:var(--yellow);width:30px;height:30px;color:var(--green);border:3px solid var(--paper);border-radius:10px;font-size:25px;line-height:28px;position:absolute;bottom:3px;right:3px}.empty-state h3{letter-spacing:.6px;margin:13px 0 10px;font-size:21px;font-weight:650}.empty-state p{color:var(--muted);margin-bottom:23px;font-size:12px;line-height:1.9}.empty-state .text-button{align-self:center;margin-top:11px;font-size:10px}.empty-state.compact{padding-top:80px}.empty-state.compact>svg{color:#9bad91;margin-bottom:10px}.export-bar{background:#ecf0e0;border:1px solid #d7dfca;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;padding:19px 20px;display:flex}.export-description{align-items:center;gap:13px;min-width:0;display:flex}.export-description strong{font-size:12px}.export-description p{color:var(--muted);margin:5px 0 0;font-size:9px;line-height:1.6}.export-icon{background:var(--surface);width:39px;height:43px;color:var(--green);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.export-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.runtime-note{flex-wrap:wrap;justify-content:space-between;gap:5px 12px;padding:12px 3px;display:flex}.runtime-note p{color:var(--muted);width:100%;margin:0;font-size:9px;line-height:1.8}.overwrite{color:var(--muted);flex-direction:row;align-items:center;font-size:10px;font-weight:400;display:flex}.overwrite input{width:14px;height:14px;accent-color:var(--green)}.page-footer{border-top:1px solid var(--line);color:#94a08e;letter-spacing:.4px;justify-content:space-between;align-items:center;max-width:1500px;margin:0 auto;padding:14px 30px;font-family:Consolas,monospace;font-size:9px;display:flex}dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;width:min(620px,100% - 32px);max-height:calc(100vh - 40px);padding:28px;overflow:auto;box-shadow:0 20px 90px #172e3338}dialog::backdrop{backdrop-filter:blur(3px);background:#172e334a}.dialog-header{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px;display:flex}.dialog-header h2{letter-spacing:.4px;margin:9px 0 0;font-size:21px}.editor-form{flex-direction:column;gap:20px;display:flex}.editor-form label{font-size:12px}.editor-form input,.editor-form textarea,.editor-form select{font-size:13px}.form-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;margin-top:5px;padding-top:18px;display:flex}.dialog-actions .button{font-size:12px}.form-error{color:var(--error);background:#f9ede6;border-radius:7px;margin-bottom:16px;padding:12px;font-size:12px}.form-intro{color:var(--muted);margin:0;font-size:12px}.bulk-input{white-space:pre;font-family:Consolas,monospace;font-size:11px!important}.file-label{cursor:pointer;color:var(--green);background:#f0f4e9;border:1px dashed #b7c7af;border-radius:7px;justify-content:center;align-items:center;padding:12px;position:relative;overflow:hidden;flex-direction:row!important}.file-label input{opacity:0;cursor:pointer;position:absolute;inset:0}.format-help{color:var(--muted);background:#eff3e9;border-radius:8px;padding:14px 16px;font-size:10px}.format-help strong{color:var(--green);font-size:11px}.format-help p{margin:8px 0 0;line-height:1.8}.installed-list{flex-direction:column;gap:10px;display:flex}.installed-list>p{color:var(--muted);font-size:12px}.installed-item{border:1px solid var(--line);color:var(--green);text-align:start;background:#f0f4e9;border-radius:8px;align-items:center;gap:13px;padding:15px;display:flex}.installed-item>span{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.installed-item strong{overflow-wrap:anywhere;font-size:13px}.installed-item small{color:var(--muted);overflow-wrap:anywhere;font-size:10px}.confirm-dialog{width:min(450px,100% - 32px)}.confirm-dialog h2{font-size:18px}.confirm-dialog p{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.noscript{color:var(--error);padding:20px}[dir=rtl] .lucide-arrow-left,[dir=rtl] .lucide-chevron-right{transform:scaleX(-1)}@media (width>=1500px){.workspace{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media (width<=1100px){.workspace{grid-template-columns:230px minmax(0,1fr)}.sidebar{padding:26px 18px}.studio-main{padding:30px 25px 20px}.intro-art{width:160px}.art-leaf{left:0}.art-face{right:21px}.collection-toolbar{flex-direction:column;align-items:flex-start;gap:15px}.toolbar-actions{justify-content:flex-end;width:100%}.export-bar{flex-direction:column;align-items:flex-start;padding:16px}.export-actions{align-self:flex-end}}@media (width<=700px){.topbar{flex-wrap:wrap;gap:12px;height:auto;min-height:75px;padding:12px 20px}.brand{font-size:23px}.brand-mark{width:36px;height:36px;font-size:32px}.brand-sub{font-size:7px}.topbar-right{flex-wrap:wrap;gap:12px}.source-link{display:none}.edition{letter-spacing:.4px;font-size:8px}.workspace{display:block}.sidebar{border-inline-end:0;border-bottom:1px solid var(--line);gap:18px;padding:20px}.sidebar-heading{display:none}.pack-identity{margin-bottom:0}.metadata{grid-template-columns:1fr 1fr;gap:12px;display:grid}.metadata label:last-child{grid-column:1/-1}.metadata textarea{min-height:55px}.category-nav{border-top:0;flex-direction:row;gap:5px;padding-top:0;overflow:auto}.category-nav>.eyebrow{display:none}.category-item{flex-shrink:0;max-width:240px;padding:9px 12px}.sidebar-bottom{flex-direction:row;justify-content:space-between;align-items:center;margin:0;padding:0}.studio-main{padding:24px 20px 20px}.intro{min-height:130px;padding-bottom:25px}.intro .eyebrow{letter-spacing:.8px;font-size:7px}.intro h1{margin-top:12px;font-size:25px}.intro p{font-size:10px}.intro-art{width:100px;height:100px}.art-face{border-radius:16px;width:55px;height:62px;font-size:29px;top:3px;right:9px}.art-leaf{font-size:38px;top:33px;left:-2px}.art-spark{font-size:22px;bottom:22px;right:0}.art-label{font-size:11px;bottom:0;left:5px}.collection-toolbar{padding-top:21px}.collection-title h2{font-size:15px}.toolbar-actions{flex-wrap:wrap;justify-content:flex-start;gap:6px}.toolbar-actions .button{padding:9px 10px;font-size:10px}.search-row>span{display:none}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.emoji-card{padding:12px}.emoji-preview{width:48px;height:48px}.emoji-preview img{width:34px;height:34px}.emoji-card-actions .icon-button{width:24px;min-width:24px;padding:3px}.empty-state{padding:35px 0}.empty-state p{font-size:11px}.export-bar{padding:15px}.export-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}.export-actions .button{padding:10px 11px;font-size:10px}.runtime-note{gap:9px}.page-footer{padding:14px 20px;font-size:8px}.page-footer span:last-child{display:none}.form-columns{grid-template-columns:1fr}.editor-dialog{padding:22px}.collection-body{min-height:310px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
