@font-face{font-family:NotoSansJP;src:url("./font-NotoSansJP.woff") format("woff")}@font-face{font-family:ZenOldMincho;src:url("./font-ZenOldMincho.woff") format("woff")}@font-face{font-family:DelaGothicOne;src:url("./font-DelaGothicOne.woff") format("woff")}@font-face{font-family:ZenMaruGothic;src:url("./font-ZenMaruGothic.woff") format("woff")}@font-face{font-family:YuseiMagic;src:url("./font-YuseiMagic.woff") format("woff")}@font-face{font-family:KaiseiDecol;src:url("./font-KaiseiDecol.woff") format("woff")}
:root{font-family:NotoSansJP,system-ui,sans-serif;color:#25282e;background:#eceef0;font-size:14px;--accent:#e3fb79;--ink:#202328;--muted:#777d85;--border:#e6e8ec;--coral:#ff775e}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s,box-shadow .15s;color:inherit}button:disabled{opacity:.35;cursor:default}button,input,select,textarea{outline-offset:3px}button:focus-visible{outline:2px solid #607a14}button{border:1px solid var(--border);background:white;border-radius:7px;padding:8px 11px}button:hover{background:#f1f3f4}input,select,textarea{border:1px solid #e0e3e6;border-radius:6px;background:#f8f9fa;color:var(--ink);padding:8px;min-width:0;max-width:100%}input[type=number]{width:100%}input[type=color]{height:34px;width:38px;padding:3px;cursor:pointer}input[type=range]{padding:0;accent-color:#343a2c;width:100%;height:23px}textarea{resize:vertical;min-height:90px;line-height:1.65;width:100%;font-size:17px}button.primary{background:var(--accent);color:#24281b;border-color:var(--accent);font-weight:650;padding:10px 18px}button.primary:hover{background:#d5f353}.topbar{height:68px;background:var(--ink);color:white;display:flex;align-items:center;padding:0 22px;gap:30px}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--accent);color:var(--ink);width:32px;height:32px;border-radius:9px;font-family:ZenOldMincho,serif;font-weight:900;font-size:23px;transform:rotate(-7deg)}.brand strong{font-family:ZenOldMincho,serif;font-size:23px;font-weight:900}.latin{font-size:13px;letter-spacing:2px;align-self:flex-end;margin-bottom:3px}.beta{font-size:11px;letter-spacing:1px;color:#858b94;border-left:1px solid #454950;margin-left:5px;padding-left:16px}.project-heading{margin:auto;display:flex;align-items:center;gap:14px}.project-heading input{background:transparent;border:1px solid transparent;color:#f4f5f6;width:180px;padding:5px}.project-heading input:focus{border-color:#858b94}.project-heading span{color:#adb2b9;font-size:12px}.top-actions{display:flex;align-items:center;gap:8px}.topbar .quiet{background:transparent;color:#e6e8ea;border-color:#4b5058}.primary span{margin-right:4px}.editor{height:calc(100dvh - 68px);min-height:660px;display:grid;grid-template-columns:238px minmax(300px,1fr) 290px}.left-panel,.right-panel{background:white;display:flex;flex-direction:column;min-height:0;z-index:3}.left-panel{border-right:1px solid var(--border)}.right-panel{border-left:1px solid var(--border)}.panel-title{padding:19px 18px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:650;height:63px}.icon-btn{border-color:transparent;background:transparent;width:33px;height:33px;padding:2px;font-size:22px;line-height:1}.panel-title .icon-btn{font-size:14px;border:1px solid #d5d9dd;border-radius:50%;width:21px;height:21px;color:#767c83}.add-buttons{display:flex;gap:7px;padding:0 16px 20px}.add-buttons button{background:#f2f4f5}.add-buttons .add-text{flex:1;background:var(--ink);color:white;border-color:var(--ink)}.add-text b{font-family:Georgia,serif;font-size:20px;margin-right:8px}.left-tabs,.inspector-tabs{display:flex;padding:0 12px;border-bottom:1px solid var(--border)}.left-tabs button,.inspector-tabs button{border:0;border-radius:0;background:none;padding:10px 7px;font-size:13px;color:#757b83;flex:1;border-bottom:2px solid transparent}.left-tabs button.active,.inspector-tabs button.active{color:var(--ink);border-bottom-color:var(--ink);font-weight:700}.left-content{padding:14px 10px;overflow:auto;flex:1}.layer{display:flex;gap:9px;align-items:center;padding:10px 8px;margin-bottom:4px;border:1px solid transparent;border-radius:7px;cursor:pointer;min-height:57px}.layer:hover{background:#f5f6f7}.layer.selected{background:#f2f5e9;border-color:#c1cd9a}.layer-type{width:32px;height:35px;border:1px solid #dedfe0;background:white;display:grid;place-items:center;font-family:Georgia,serif;font-size:21px;flex:none;border-radius:4px}.layer-main{flex:1;min-width:0}.layer-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px}.layer-meta{font-size:11px;color:var(--muted);margin-top:4px}.layer-tools{display:flex;flex-direction:column}.layer-tools button{padding:0;border:0;background:none;color:#9298a0;width:20px;height:20px;font-size:13px}.layer.hidden{opacity:.5}.layer-order{display:flex;gap:5px;padding:10px 7px}.layer-order button{font-size:12px;flex:1}.section-label{font-size:11px;letter-spacing:1px;color:#999da4;padding:5px 8px 13px}.left-footer{border-top:1px solid var(--border);padding:18px 16px;font-size:11px;color:#8b929a}.left-footer>span{color:#727b5a;margin-right:4px}.left-footer button{margin-top:13px;display:flex;justify-content:space-between;width:100%;font-size:13px}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.canvas-toolbar{height:54px;flex-shrink:0;background:#fafbfc;border-bottom:1px solid #dfe2e6;display:flex;justify-content:space-between;align-items:center;padding:0 17px;gap:8px}.toolbar-group{display:flex;gap:3px;align-items:center}.divider{height:20px;width:1px;background:#d8dce1;margin:0 7px}.tool{border:0;background:transparent;display:flex;gap:6px;align-items:center;font-size:16px;padding:7px 10px}.tool span{font-size:12px}.tool.active{background:var(--ink);color:white}.zoom-label{font-size:12px;padding:6px;border:0;background:none;min-width:58px}.stage{flex:1;min-height:280px;overflow:auto;display:flex;flex-direction:column;align-items:center;position:relative;padding:24px 30px 15px;background-color:#eceef1;background-image:radial-gradient(#ced2d8 .7px,transparent .7px);background-size:12px 12px}.artboard-meta{display:flex;justify-content:space-between;gap:20px;margin:0 auto 10px;font-size:11px;color:#858b93;flex-shrink:0;letter-spacing:.4px}.canvas-shell{position:relative;box-shadow:0 4px 22px #20232818;flex:none;background:repeating-conic-gradient(#f3f3f3 0 25%,#fff 0 50%) 0/16px 16px}.canvas-shell canvas{display:block;touch-action:none;width:100%;height:100%}#selectionOverlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.stage-hint{font-size:11px;color:#848a93;text-align:center;padding-top:14px;white-space:nowrap;flex-shrink:0}.variants{height:158px;flex-shrink:0;background:#fafbfc;border-top:1px solid #dfe2e6;padding:12px 20px}.variants-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;gap:8px}.variants-title strong{font-size:13px}.variants-title span{font-size:11px;margin-left:9px;color:#8a9098}.text-button{padding:3px 7px;border:0;background:none;font-size:12px}.variant-list{display:flex;gap:11px;overflow:auto;padding-bottom:3px}.variant-card{display:flex;align-items:center;gap:13px;border:1px solid #e0e3e6;background:white;padding:7px 15px 7px 7px;border-radius:7px;min-width:156px;text-align:left;position:relative}.variant-card.selected{border:1.5px solid #363e24;box-shadow:0 0 0 2px #e3fb794a}.variant-card canvas{width:48px;height:64px;object-fit:contain;background:#eee;border-radius:2px}.variant-card b{font-size:12px;display:block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.variant-card small{font-size:10px;color:#8a9098;margin-top:5px;display:block}.variant-card .variant-dot{width:6px;height:6px;background:#8b9c5e;border-radius:50%;position:absolute;right:8px;top:8px}.selection-badge{font-size:10px;letter-spacing:1px;background:#f0f2f3;color:#7d838c;padding:4px 6px;border-radius:4px}.inspector{overflow:auto;padding:18px 18px 10px;flex:1}.field{margin-bottom:17px}.field>label{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px;font-weight:550;color:#59616b}.field select{width:100%;height:38px;font-size:13px}.field-note{font-size:11px;color:#8b919a;line-height:1.7;margin:8px 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.segment{display:flex;border:1px solid #e0e3e6;border-radius:6px;overflow:hidden}.segment button{border:0;border-radius:0;flex:1;font-size:12px;background:#f8f9fa}.segment button.active{background:#e8edda;box-shadow:inset 0 0 0 1px #b9c492}.range-line{display:flex;align-items:center;gap:10px}.range-line input[type=number]{width:70px;font-size:12px;flex:none;padding:6px}.color-line{display:flex;align-items:center;gap:7px}.color-line span{font-size:11px;color:#7d838c}.color-line input[type=color]{flex:none}.color-line input[type=number]{width:65px}.section-divider{border:0;border-top:1px solid var(--border);margin:22px -18px 18px}.inspector h3{font-size:12px;margin:0 0 14px;color:#555e69;display:flex;justify-content:space-between;font-weight:600}.glyph-list{display:flex;flex-wrap:wrap;gap:5px;padding:9px;background:#f5f6f7;border-radius:7px;max-height:140px;overflow:auto}.glyph-list button{font-size:17px;min-width:34px;height:35px;padding:3px 6px;border-color:#e3e5e8}.glyph-list button.active{background:var(--ink);color:var(--accent);border-color:var(--ink)}.glyph-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.glyph-info b{font-size:24px}.tiny-button{font-size:11px;padding:5px 7px}.empty-selection{padding:20px 0;line-height:1.9;color:#7c848f;font-size:13px}.inspector-footer{display:flex;border-top:1px solid var(--border);gap:10px;padding:12px 18px}.inspector-footer button{flex:1;font-size:12px}.inspector-footer button:last-child{color:#8a6562}.font-card{width:100%;text-align:left;display:block;margin-bottom:7px;padding:13px 11px}.font-card strong{font-size:21px;display:block;font-weight:400}.font-card small{font-size:11px;color:#8c9198;display:block;margin-top:5px}.font-card.selected{border-color:#aab976;background:#f7f9f0}.font-upload{width:100%;margin-bottom:13px;font-size:12px}.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.style-card{padding:0;overflow:hidden;text-align:left}.style-card .preview{height:65px;display:grid;place-items:center;font-family:DelaGothicOne,sans-serif;font-size:25px}.style-card small{display:block;padding:7px;font-size:11px}.full-button{width:100%;font-size:12px}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0}.checkbox-row input{accent-color:#606e39}.mobile-btn{display:none}dialog{border:1px solid #dedfe3;border-radius:14px;padding:0;max-width:min(1000px,94vw);max-height:90dvh;box-shadow:0 20px 100px #0004;color:var(--ink)}dialog::backdrop{background:#10161f80;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:18px 24px}.modal-head h2{font-size:17px;margin:0}.modal-body{padding:24px;min-width:350px;max-height:73dvh;overflow:auto}.modal-body p{line-height:1.9;color:#707883;font-size:13px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 24px 22px}.compare-grid{display:flex;gap:18px;overflow:auto;max-width:88vw;align-items:flex-start}.compare-item{width:260px;flex:none}.compare-item canvas{width:260px;height:auto;box-shadow:0 4px 16px #0002}.compare-item label{display:block;padding:12px 0;font-size:13px}.compare-item button{width:100%}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#252b31;color:#fff;padding:12px 21px;border-radius:8px;opacity:0;pointer-events:none;transition:all .2s;z-index:20;font-size:13px;box-shadow:0 4px 18px #0002;max-width:85vw}#toast.show{opacity:1;transform:translate(-50%,0)}.shortcut-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:13px}.shortcut-list kbd{background:#f0f2f4;padding:4px 7px;border-radius:4px;font-size:12px}.inline-action{display:flex;gap:6px}.inline-action input{flex:1}.danger{color:#a83936}.canvas-preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:20px}.canvas-preset-grid button{font-size:12px}.effect-toggle{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px}.effect-toggle input{accent-color:#586331}.mask-options{border:1px solid #dce2ca;border-radius:7px;background:#f7f9f0;padding:13px;margin-bottom:18px;font-size:12px}.pill{font-size:11px;background:#f1f4e8;padding:3px 6px;border-radius:4px}.hidden{display:none!important}
@media(min-width:1700px){.editor{grid-template-columns:260px minmax(400px,1fr) 310px}.variants{height:166px}.inspector{padding:22px}.stage{padding-top:30px}}
@media(max-width:1180px){.editor{grid-template-columns:205px minmax(300px,1fr) 266px}.topbar{padding:0 16px;gap:14px}.beta,.project-heading span{display:none}.tool{padding:7px}.canvas-toolbar{padding:0 9px}.stage{padding:22px 16px 10px}.inspector{padding:16px 13px}.project-heading input{width:150px}.variants{padding:12px}.left-tabs button{font-size:12px}.tool span{display:none}}
@media(max-width:950px){.editor{grid-template-columns:minmax(300px,1fr) 275px}.left-panel{display:none;position:fixed;top:68px;bottom:0;left:0;width:255px;box-shadow:8px 0 35px #0002}.left-panel.open{display:flex}.mobile-btn{display:block}.toolbar-group>button[data-action=toggle-right]{display:none}.top-actions{gap:5px}.top-actions button{font-size:12px;padding:8px 10px}.stage-hint{white-space:normal}.brand .latin{display:none}.variants-title strong{font-size:12px}.variants-title button{font-size:11px}.variants-title span{display:none}}
@media(max-width:700px){.topbar{height:60px;padding:0 12px;gap:7px}.brand strong{font-size:20px}.brand-mark{display:none}.project-heading input{width:105px;font-size:12px}.top-actions button{font-size:11px;padding:8px}.top-actions button span{display:none}.editor{height:calc(100dvh - 60px);min-height:590px;grid-template-columns:minmax(280px,1fr)}.right-panel{display:none;position:fixed;right:0;top:114px;bottom:0;width:290px;box-shadow:-8px 0 35px #0002}.right-panel.open{display:flex}.left-panel{top:60px}.toolbar-group>button[data-action=toggle-right]{display:block}.tool span{display:inline}.stage{padding:18px 15px 10px}.variants{height:151px}.canvas-toolbar{padding:0 10px}.stage-hint{font-size:10px}.modal-body{min-width:0}.compare-item,.compare-item canvas{width:215px}.canvas-preset-grid{grid-template-columns:1fr 1fr}}
.field,.inspector{min-width:0}.inspector{overflow-x:hidden}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.left-tabs button,.inspector-tabs button{white-space:nowrap}.layer.hidden-layer{opacity:.45}.stage{scrollbar-gutter:stable}.field>label{line-height:1.6}.modal-body label{font-size:13px}.compare-item canvas{background:repeating-conic-gradient(#f3f3f3 0 25%,#fff 0 50%) 0/16px 16px}
.download-link{display:block;text-align:center;color:#263017;background:var(--accent);text-decoration:none;border-radius:7px;padding:13px 18px;font-weight:600}.download-link:hover{background:#d5f353}.export-preview{display:block;max-width:100%;max-height:48dvh;margin:auto;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0/16px 16px}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.effect-group{border-bottom:1px solid #414449;padding:14px 0}.effect-group summary{font-weight:700;font-size:14px;cursor:pointer;margin-bottom:14px}.effect-group:not([open]) summary{margin-bottom:0}
@media(min-width:951px){.editor{grid-template-columns:var(--layers-width,260px) minmax(0,1fr) var(--edit-width,310px)}.left-panel{grid-column:1;grid-row:1}.workspace{grid-column:2;grid-row:1}.right-panel{grid-column:3;grid-row:1}html[data-layers-side="right"] .editor{grid-template-columns:var(--edit-width,310px) minmax(0,1fr) var(--layers-width,260px)}html[data-layers-side="right"] .left-panel{grid-column:3;border-left:1px solid #414449;border-right:0}html[data-layers-side="right"] .right-panel{grid-column:1;border-right:1px solid #414449;border-left:0}}
@media(max-width:950px){html[data-layers-side="right"] .left-panel{left:auto;right:0}html[data-layers-side="right"] .right-panel{right:auto;left:0}}

.effect-group{border-color:var(--border)}
@media(min-width:701px) and (max-width:950px){html[data-layers-side="right"] .editor{grid-template-columns:275px minmax(300px,1fr)}html[data-layers-side="right"] .right-panel{grid-column:1;grid-row:1}html[data-layers-side="right"] .workspace{grid-column:2;grid-row:1}}
@media(max-width:700px){.project-heading{display:none}.topbar{justify-content:space-between}.brand .beta{display:none}.top-actions{gap:3px}}

@font-face{font-family:'ReggaeOne';src:url("./font-ReggaeOne.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'RocknRollOne';src:url("./font-RocknRollOne.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'RampartOne';src:url("./font-RampartOne.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'MochiyPopOne';src:url("./font-MochiyPopOne.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'HachiMaruPop';src:url("./font-HachiMaruPop.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'YujiSyuku';src:url("./font-YujiSyuku.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'ShipporiMinchoB1';src:url("./font-ShipporiMinchoB1.woff") format("woff");font-display:swap;font-weight:400;}
@font-face{font-family:'DotGothic16';src:url("./font-DotGothic16.woff") format("woff");font-display:swap;font-weight:400;}
.gradient-preview{height:28px;border:1px solid #bac0c8;border-radius:5px;margin:8px 0}.gradient-help{padding:10px;background:#edf3de;border-radius:6px;font-size:13px;line-height:1.7}.gradient-positions{margin-top:12px}.gradient-positions .field{margin-bottom:9px}
.mark-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mark-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 3px;color:#df438a;background:#fff;border:1px solid #eadbe2;border-radius:9px}.mark-grid svg{width:46px;height:46px}.mark-grid span{font-size:10px;color:#343844}.direction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.direction-grid button{padding:7px;font-size:20px;background:#fff;border:1px solid #d9dfe8;border-radius:6px}.direction-grid+small{color:#84909c}

.direction-center{display:grid;place-items:center;color:#a2acb4}

.pattern-gradient{border-top:1px solid #e2e5ec;margin-top:15px;padding-top:6px}.pattern-gradient .full-button{margin-bottom:12px}

@font-face{font-family:"Shizuru";src:url("./font-Shizuru.woff") format("woff");font-display:swap;}
@font-face{font-family:"Stick";src:url("./font-Stick.woff") format("woff");font-display:swap;}
@font-face{font-family:"TrainOne";src:url("./font-TrainOne.woff") format("woff");font-display:swap;}
@font-face{font-family:"PottaOne";src:url("./font-PottaOne.woff") format("woff");font-display:swap;}
@font-face{font-family:"YujiBoku";src:url("./font-YujiBoku.woff") format("woff");font-display:swap;}
@font-face{font-family:"ZenAntique";src:url("./font-ZenAntique.woff") format("woff");font-display:swap;}
@font-face{font-family:"ZenKurenaido";src:url("./font-ZenKurenaido.woff") format("woff");font-display:swap;}
@font-face{font-family:"KleeOne";src:url("./font-KleeOne.woff") format("woff");font-display:swap;}
@font-face{font-family:"HinaMincho";src:url("./font-HinaMincho.woff") format("woff");font-display:swap;}
@font-face{font-family:"KiwiMaru";src:url("./font-KiwiMaru.woff") format("woff");font-display:swap;}
.version-badge{border:1px solid #727a52;border-radius:5px;background:#30372b;color:#e3fb79;padding:5px 7px;white-space:nowrap;font-size:11px}.selection-mode-label select{max-width:133px;font-size:11px;padding:7px;background:#f4f6fa;border:1px solid #d9dfe8;border-radius:5px}.canvas-toolbar{flex-wrap:wrap;gap:5px}

.selection-switch{display:flex;align-items:center;gap:7px;font-size:11px;padding:5px 8px;text-align:left;white-space:nowrap}.selection-switch small{display:block;font-size:9px;color:#667047}.switch-track{display:block;width:30px;height:18px;border-radius:20px;background:#b9bec6;position:relative;flex:none}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;background:white;border-radius:50%;transition:transform .15s}.selection-switch[aria-checked=true] .switch-track{background:#6d8535}.selection-switch[aria-checked=true] .switch-track:after{transform:translateX(12px)}.variant-item{flex:none;min-width:156px}.variant-item .variant-card{width:100%}.variant-delete{display:block;margin:4px 0 0 auto;padding:3px 8px;font-size:11px;color:#934b47}.variants{height:184px}.variant-list{max-height:136px}.variant-card:focus-visible{outline:2px solid #607a14}

.layer-actions{flex:none;padding:10px 14px;border-top:1px solid #e6e8ec;background:#fafbfc}.layer-actions[hidden]{display:none}.layer-action-target{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:7px}.layer-action-buttons{display:flex;gap:8px}.layer-action-buttons button{flex:1;font-size:12px}.layer-actions small{display:block;font-size:10px;color:#78808b;margin-top:7px}

.canvas-zoom-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.canvas-zoom-controls button{font-size:12px;padding:6px 8px;min-height:32px}.zoom-caption{font-size:10px;color:#68727b;margin-right:3px}.zoom-value{display:flex;align-items:center;font-size:12px;gap:3px}.zoom-value input[type=number]{width:64px;padding:5px}.zoom-reset{background:#eef3df;border-color:#c5d59a}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.stage{align-items:flex-start;overscroll-behavior:contain}.canvas-shell{margin-left:auto;margin-right:auto}.stage-hint{align-self:center}.canvas-toolbar{height:auto;min-height:54px;padding-top:6px;padding-bottom:6px;flex-wrap:wrap}.canvas-toolbar>.toolbar-group:last-child{margin-left:auto}

@font-face{font-family:MPlusRounded;src:url("./font-MPlusRounded.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:MPlusRoundedBold;src:url("./font-MPlusRoundedBold.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:MPlusRoundedBlack;src:url("./font-MPlusRoundedBlack.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:KosugiMaru;src:url("./font-KosugiMaru.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:Yomogi;src:url("./font-Yomogi.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:DarumadropOne;src:url("./font-DarumadropOne.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:MochiyPopPOne;src:url("./font-MochiyPopPOne.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:TsukimiRounded;src:url("./font-TsukimiRounded.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:TsukimiRoundedBold;src:url("./font-TsukimiRoundedBold.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:ZenAntiqueSoft;src:url("./font-ZenAntiqueSoft.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:YujiMai;src:url("./font-YujiMai.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:Chokokutai;src:url("./font-Chokokutai.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:Murecho;src:url("./font-Murecho.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"KaiseiTokuminBlack";src:url("./font-KaiseiTokuminBlack.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"KaiseiHarunoUmi";src:url("./font-KaiseiHarunoUmi.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"KaiseiOpti";src:url("./font-KaiseiOpti.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"ShipporiAntiqueB1";src:url("./font-ShipporiAntiqueB1.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"GenEiPOPle";src:url("./font-GenEiPOPle.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"GenEiKiwamiGo";src:url("./font-GenEiKiwamiGo.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"GenEiAntique";src:url("./font-GenEiAntique.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"GenEiLateGo";src:url("./font-GenEiLateGo.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:"GenEiLateMin";src:url("./font-GenEiLateMin.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap;}
.cover-style-intro{font-size:12px;line-height:1.7;color:#637080;margin:12px 0}.style-filter{width:100%;margin:8px 0 14px;padding:10px;border:1px solid #dbe0e5;border-radius:7px;background:white}.style-grid{grid-template-columns:1fr;gap:14px}.style-entry{border:1px solid #dde1e7;border-radius:10px;overflow:hidden;background:#fff}.style-entry .style-card{width:100%;border:0;border-radius:0;padding:0;text-align:left}.style-entry canvas{display:block;width:100%;height:auto;aspect-ratio:640/230}.style-entry .style-card small{display:block;padding:10px 12px 3px;font-size:13px;font-weight:650}.style-note{display:block;color:#6b7483;font-size:11px;padding:0 12px 10px}.style-example{width:100%;border:0;border-top:1px solid #e7e9ed;padding:9px;background:#f6f7fa;color:#536078;font-size:11px;cursor:pointer}.style-example:hover{background:#eaf0dc}.style-entry .style-card:hover{box-shadow:inset 0 0 0 2px #a8bc72}.style-entry button:focus-visible{outline:2px solid #789844;outline-offset:-3px}

.phone-nav,.phone-sheet-bar,.phone-pan-button{display:none}.phone-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.phone-menu-grid button{min-height:48px}
@media(max-width:700px),(max-width:950px) and (max-height:500px) and (pointer:coarse){
 :root{--phone-bottom:calc(62px + env(safe-area-inset-bottom));--phone-sheet:min(48dvh,430px)}
 html,body{height:100%;overflow:hidden}body{padding-top:env(safe-area-inset-top)}
 .topbar{height:52px;padding:0 10px;gap:8px}.brand{gap:6px}.brand strong{font-size:20px}.brand .latin,.brand-mark,.project-heading,.top-actions [data-action="workspace-settings"]{display:none}.brand .version-button,.brand .version-badge{font-size:10px}.top-actions{margin-left:auto;gap:4px}.top-actions button{min-height:38px;padding:7px 9px;font-size:12px}.top-actions button span{display:none}
 .editor,html[data-layers-side="right"] .editor{height:calc(100dvh - 52px - var(--phone-bottom) - env(safe-area-inset-top));min-height:0;display:block;width:100%}
 .workspace,html[data-layers-side="right"] .workspace{height:100%;min-width:0;width:100%;padding-bottom:0}.canvas-toolbar{height:auto;min-height:91px;flex-wrap:wrap;padding:4px 7px;gap:0;align-content:center}.toolbar-group{min-width:0;max-width:100%;gap:2px}.canvas-toolbar .toolbar-group:last-child{width:100%;justify-content:flex-end}.canvas-toolbar button{min-height:40px}.canvas-toolbar .tool{padding:6px;font-size:14px}.tool span{display:none}.canvas-toolbar .divider{margin:0 2px}.canvas-toolbar .mobile-btn{display:none!important}.selection-switch{padding:3px 5px;gap:4px}.selection-switch small{display:none}.selection-switch>span:last-child{font-size:11px}.phone-pan-button{display:block;font-size:11px;padding:5px 8px}.phone-pan-button[aria-pressed="true"]{background:#e3fb79;border-color:#8da34d}.phone-panning #stage,.phone-panning #artboard{touch-action:none;cursor:grab}.canvas-zoom-controls{gap:3px;max-width:100%;flex-wrap:nowrap}.canvas-zoom-controls .zoom-caption{font-size:10px}.canvas-zoom-controls button{padding:5px 7px;font-size:11px}.canvas-zoom-controls .zoom-value input{width:44px!important;font-size:16px}.canvas-zoom-controls [data-action="zoom-actual"]{display:none}
 .stage{min-height:0;padding:12px 16px 8px;align-items:safe center}.artboard-meta{font-size:10px;gap:8px;max-width:100%}.stage-hint{display:none}
 .left-panel,.right-panel,.left-panel.open,.right-panel.open,html[data-layers-side="right"] .left-panel,html[data-layers-side="right"] .right-panel,.variants{display:none;position:fixed;top:auto;left:0;right:0;bottom:var(--phone-bottom);width:100%;height:var(--phone-sheet);min-height:0;max-height:none;border:1px solid #dce1e5;border-radius:15px 15px 0 0;box-shadow:0 -5px 24px #20232817;background:#fff;z-index:12;padding:0}
 body[data-phone-panel="layers"] .left-panel,body[data-phone-panel="styles"] .left-panel,body[data-phone-panel="edit"] .right-panel,body[data-phone-panel="designs"] .variants{display:flex;flex-direction:column}
 body[data-phone-panel="layers"] .workspace,body[data-phone-panel="styles"] .workspace,body[data-phone-panel="edit"] .workspace,body[data-phone-panel="designs"] .workspace{padding-bottom:var(--phone-sheet)}
 .phone-sheet-bar{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:40px;padding:2px 13px;font-size:12px;color:#65715b;border-bottom:1px solid #eff0f2}.phone-sheet-bar button{border:0;background:transparent;min-height:38px;font-size:12px}.panel-title{display:none}.add-buttons{padding:7px 12px;gap:8px}.add-buttons button{min-height:42px}.left-tabs,.inspector-tabs{flex:none}.left-tabs button,.inspector-tabs button{min-height:44px;font-size:13px}.left-content,.inspector{padding:12px 15px;overscroll-behavior:contain}.left-footer{display:none}.layer{min-height:62px}.layer-tools{flex-direction:row}.layer-tools button{height:42px;width:36px}.layer-actions{padding:5px 12px}.inspector-footer{padding:5px 12px}.inspector-footer button{min-height:42px}.field input:not([type="range"]):not([type="color"]),.field select,textarea{font-size:16px;min-height:44px}.range-line input[type="range"]{height:36px}.field input[type="color"]{height:42px;width:48px}.glyph-grid button{min-width:44px;min-height:44px}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.style-entry .style-card small{font-size:12px;padding:8px}.style-note{padding:0 8px 8px;font-size:10px}.style-example{min-height:44px;font-size:11px}.style-filter{font-size:16px;min-height:44px}.cover-style-intro{font-size:11px}.variants-title{padding:8px 12px;margin:0;flex-wrap:wrap}.variants-title button{min-height:40px}.variant-list{display:grid;grid-template-columns:1fr 1fr;padding:8px 12px 16px;gap:10px;overflow:auto;min-height:0}.variant-item{min-width:0}.variant-card{width:100%;min-width:0;padding:6px;gap:6px}.variant-card canvas{width:32px;height:43px}.variant-card b{max-width:95px;font-size:10px}.variant-delete{min-height:40px;width:100%}
 .phone-nav{position:fixed;display:grid;grid-template-columns:repeat(6,1fr);left:0;right:0;bottom:0;height:var(--phone-bottom);padding:4px 3px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe3e7;z-index:20;gap:2px}.phone-nav button{border:0;border-radius:8px;background:transparent;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;font-size:20px;padding:3px 0;min-height:48px}.phone-nav button span{font-size:10px;white-space:nowrap}.phone-nav button[aria-pressed="true"]{background:#edf4d7;color:#405822}.phone-nav button:active{background:#e3fb79}
 dialog{width:calc(100% - 20px);max-width:560px;max-height:calc(100dvh - 30px);padding:0}.modal-body{min-width:0;padding:16px}.modal-head{padding:14px 16px}.modal-actions{padding:12px}.modal-body input,.modal-body select{font-size:16px}.modal-body button{min-height:44px}#toast{bottom:calc(var(--phone-bottom) + 12px);max-width:calc(100% - 24px);white-space:normal;font-size:12px}
}
@media(max-width:950px) and (max-height:500px) and (pointer:coarse){body[data-phone-panel] .workspace{padding-bottom:0}.left-panel,.right-panel,.variants,html[data-layers-side="right"] .left-panel,html[data-layers-side="right"] .right-panel{left:auto;right:0;width:55%;height:calc(100dvh - 52px - var(--phone-bottom));border-radius:12px 0 0 0}.canvas-toolbar{min-height:46px;flex-wrap:nowrap}.canvas-toolbar .toolbar-group:last-child{width:auto}}

@media(max-width:700px){.artboard-meta{white-space:nowrap;overflow:hidden}.artboard-meta #artboardName{overflow:hidden;text-overflow:ellipsis}.artboard-meta #artboardSize{display:none}}

.font-card .font-load-state{display:block;font-size:10px;color:#7a806f;margin-top:5px}.font-card[data-font-state="error"]{border-color:#dc8c8c}.font-card[data-font-state="loading"] strong{font-family:system-ui!important;opacity:.45}.font-card strong{font-weight:400}
/* Desktop panel splitters keep the artwork itself unchanged. */
.panel-resizer{display:none}
@media(min-width:951px){
 .left-panel,.right-panel{position:relative;min-width:0}
 .panel-resizer{display:block;position:absolute;top:0;bottom:0;width:12px;right:-6px;z-index:30;cursor:col-resize;touch-action:none;outline-offset:-3px}
 .right-panel .panel-resizer{left:-6px;right:auto}
 html[data-layers-side="right"] .left-panel .panel-resizer{left:-6px;right:auto}
 html[data-layers-side="right"] .right-panel .panel-resizer{right:-6px;left:auto}
 .panel-resizer::before{content:'';position:absolute;left:5px;top:0;bottom:0;width:2px;background:transparent;transition:background .15s}
 .panel-resizer::after{content:'';position:absolute;top:46%;left:3px;width:6px;height:42px;border-radius:8px;background:#aab1bb;box-shadow:0 0 0 2px white;opacity:.6}
 .panel-resizer:hover::before,.panel-resizer:focus-visible::before{background:#93ab4e}
 .panel-resizer:hover::after,.panel-resizer:focus-visible::after{background:#749036;opacity:1}
 body.resizing-panel,body.resizing-panel *{cursor:col-resize!important;user-select:none!important}
 .left-panel .style-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:start}
 .left-panel .left-tabs{flex-shrink:0}
}

.style-apply-mode{display:block;margin:12px 0;font-size:12px;line-height:1.6}.style-font-mode{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #cdd6b8;border-radius:8px;background:#f5f8ed;color:#202328}

.style-hide{display:block;width:100%;padding:8px;border:0;background:transparent;color:#697080;font-size:11px;cursor:pointer}.style-hide:hover{background:#f4eeee;color:#994044}

.style-quick-apply{display:flex;flex-wrap:wrap;gap:4px;padding:7px 8px}.style-quick-apply button{flex:1 1 110px;font-size:11px;line-height:1.4;padding:7px 4px;border:1px solid #d7ddc8;border-radius:6px;background:#f5f8ed;color:#354128;cursor:pointer}.style-quick-apply button:hover{background:#e7efca}.style-quick-apply button:focus-visible{outline:2px solid #768b39;outline-offset:2px}

.hue-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.hue-current{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px}.hue-current i{width:24px;height:24px;border:1px solid #ccd2db;border-radius:50%}.hue-current small{display:block;color:#85909e;font-size:10px}.hue-spectrum[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:18px;background:var(--hue-track);border-radius:9px;border:1px solid #bcc2cb;cursor:ew-resize;margin:7px 0 10px;accent-color:auto}.hue-spectrum::-webkit-slider-runnable-track{height:18px;border-radius:9px;background:transparent}.hue-spectrum::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:28px;margin-top:-5px;background:transparent;border:3px solid white;border-radius:5px;box-shadow:0 0 0 1px #343b48,0 1px 4px #0006}.hue-spectrum::-moz-range-track{height:18px;background:transparent}.hue-spectrum::-moz-range-thumb{width:7px;height:24px;background:transparent;border:3px solid white;border-radius:5px;box-shadow:0 0 0 1px #343b48}.hue-spectrum:focus-visible{outline:2px solid #667846;outline-offset:5px}

.group-toolbar{padding:8px 0}.group-toolbar button{width:100%;padding:10px;border:1px solid #becb9a;background:#f0f5df;border-radius:7px;cursor:pointer}.group-toolbar p{font-size:11px;color:#768195;line-height:1.5}.layer-check{flex-shrink:0;border:0;background:transparent;font-size:22px;color:#748940;padding:4px;cursor:pointer}

.layer-group{border:2px solid #8a9e57;border-radius:10px;background:#f5f8eb;margin:10px 0;padding:5px}.layer-group.active-group{border-color:#526d27;box-shadow:0 0 0 2px #dfeabf}.layer-group-header{display:flex;align-items:center;gap:6px;padding:4px 2px 9px;border-bottom:1px solid #c7d4a6;margin-bottom:4px}.layer-group-header button{border:0;border-radius:6px;background:#e3eccd;color:#354c1c;padding:7px;cursor:pointer}.layer-group-header button:first-child{flex:1;text-align:left;font-weight:700}.layer-group-header span{display:block;font-size:10px;font-weight:400;margin-top:4px}.layer-group .layer{margin-left:8px;border-left:3px solid #afbf8b}.group-state-banner{padding:12px;border:1px solid #a9bf75;border-radius:8px;background:#eaf2d9;color:#344a19;font-weight:700;margin-bottom:14px}.group-state-banner strong{display:block;font-size:12px;margin-top:6px;font-weight:400}.group-state-banner button{margin-top:10px;padding:8px;width:100%;cursor:pointer}#layerActionTarget{line-height:1.5}

.layer{user-select:none}.layer.multi-selected{background:#e6efd3;border-color:#7d9846;box-shadow:inset 4px 0 #77923e}.layer.multi-selected .layer-check{color:#456118}.layer:focus-visible{outline:2px solid #4c7399;outline-offset:-2px}

.random-title-launch{margin:0 16px 10px;padding:10px;border:1px solid #adbe77;background:#f2f6e6;font-size:12px;font-weight:600;flex-shrink:0}.random-title-form{width:min(680px,75vw)}.random-title-form textarea,.random-title-form input:not([type=checkbox]):not([type=color]),.random-title-form select{width:100%}.random-title-form textarea{min-height:85px}.random-title-form input[type=color]{width:100%;height:38px}.title-split-preview{padding:10px;border-radius:7px;background:#f3f5f0;margin-bottom:12px;line-height:2}.title-split-preview small{display:block;color:#727c63}.title-split-preview span{display:inline-block;padding:0 6px;margin:3px;border:1px solid #d5ddc3;border-radius:5px;background:white;font-size:12px}.title-split-preview .emphasis{border-color:#ba477f;background:#ffe9f4;font-weight:700}.title-split-preview .particle{color:#687261;font-size:11px}.title-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.title-candidate{border:1px solid #dfe3d5;border-radius:8px;overflow:hidden}.title-candidate canvas{display:block;width:100%;height:auto}.title-candidate button{width:100%;font-size:11px;border-radius:0;padding:10px 3px;background:#eff5de}@media(max-width:700px){.random-title-form{width:100%}.title-candidates{grid-template-columns:1fr}.title-candidate canvas{max-height:300px;object-fit:contain;background:#f1f2f5}.random-title-launch{margin:0 10px 8px}}
.group-visibility-state{display:inline-block;font-size:10px;padding:2px 5px;margin-left:3px;border-radius:4px;background:#dbe9ba;color:#405524}.group-visibility-state.is-hidden{background:#e5e7eb;color:#667080}.layer-group.hidden-group{border-color:#a1a7b0;background:#f5f6f8}.layer-group.hidden-group .layer-group-header{border-color:#d2d6dd}.layer-group.hidden-group .layer-group-header button{background:#e8ebef;color:#4d5665}.group-visibility-button{margin:10px 0;background:#f0f5df;border-color:#bbc994}.title-split-preview .title-break-marker{display:flex;flex-basis:100%;border:0;background:transparent;color:#54672e;font-size:10px;padding:2px 0}
.layer-group-header button{font-size:11px;padding:6px;flex-shrink:0}.layer-group-header button:first-child{min-width:0;flex-shrink:1}

.title-palette{display:flex;align-items:center;justify-content:space-between;gap:6px;background:#fff;padding:8px;font-size:10px;line-height:1.5;color:#4e5661}.title-palette-swatches{display:flex;flex-shrink:0;border-radius:4px;overflow:hidden;border:1px solid #dfe3e8}.title-palette-swatches span{display:block;width:18px;height:18px}
.title-templates-launch{margin:0 16px 6px;padding:11px;border:1px solid #22272c;background:#252933;color:#fff;font-size:12px;font-weight:600;flex-shrink:0}.title-workshop{width:min(830px,80vw);min-width:0}.title-workshop h3{font-size:13px;margin:24px 0 12px}.title-workshop input:not([type=checkbox]):not([type=file]),.title-workshop select,.title-workshop textarea{width:100%;min-width:0}.title-workshop textarea{min-height:100px}.title-workshop input[type=color]{height:38px}.title-workshop input[type=range]{height:25px;padding:0}.template-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.template-card{padding:0;text-align:left;overflow:hidden;display:flex;flex-direction:column;min-width:0;border:1px solid #dce0e6;background:white}.template-card canvas{display:block;width:100%;height:150px;object-fit:contain;background:#272438}.template-card strong{font-size:12px;padding:8px 8px 4px;line-height:1.5}.template-card small{font-size:10px;color:#6c7481;padding:0 8px 10px;line-height:1.6}.template-card[aria-pressed=true]{border:2px solid #718d3a;box-shadow:0 0 0 2px #dceab7;background:#f5f8eb}.template-card:focus-visible{outline:3px solid #4c789b;outline-offset:3px}.workshop-selected{padding:12px;margin:14px 0;background:#f0f4e4;border:1px solid #cbd7ae;border-radius:7px;font-size:12px;line-height:1.7}.workshop-options{border-top:1px solid #e0e4e8;padding:16px 0 8px}.workshop-options>summary{cursor:pointer;font-size:13px;font-weight:650;margin-bottom:15px}.placement-buttons,.workshop-draw-tools{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.placement-buttons button,.workshop-draw-tools button{font-size:11px;padding:8px 10px}.placement-buttons button[aria-pressed=true],.workshop-draw-tools button[aria-pressed=true]{background:#e5efd0;border-color:#819b48;color:#334822}.workshop-background-preview{display:flex;justify-content:center;background:#eff0f3;border:1px solid #dbe0e5;border-radius:8px;padding:12px}.workshop-background-preview canvas{display:block;max-width:100%;max-height:420px;width:auto;height:auto;touch-action:none;cursor:crosshair;box-shadow:0 2px 12px #0002}.workshop-generate{position:sticky;bottom:-24px;background:#fffefbeF;padding:10px 0;z-index:1}.workshop-generate button{font-size:13px;padding:13px}.title-workshop output{font-size:11px;font-weight:400}.title-workshop .title-candidate button{font-size:12px}.title-workshop .field-note{color:#737c87}.title-workshop .title-palette{min-height:54px}.title-workshop .two-col{align-items:start}
@media(max-width:700px){.title-templates-launch{margin:0 10px 6px}.title-workshop{width:100%}.template-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.template-card canvas{height:135px}.workshop-background-preview{padding:7px}.workshop-background-preview canvas{max-height:350px}.workshop-generate{bottom:-16px}.title-workshop .two-col{grid-template-columns:1fr}.title-workshop .field{margin-bottom:14px}}

.style-shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 14px}.style-shelf-toolbar button{font-size:12px;flex:none}.style-shelf-toolbar span{font-size:10px;color:#7a818a;text-align:right}.style-trash-intro{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px}.style-trash-intro p{flex-basis:100%;margin:0}.style-trash-intro span{font-size:12px;color:#777d85;flex:1}.style-trash-list{display:grid;gap:9px;min-width:min(460px,75vw)}.style-trash-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:13px;border:1px solid #e1e4e8;border-radius:9px;background:#fafbfc}.style-trash-row strong{font-size:13px;overflow-wrap:anywhere;font-weight:550}.style-trash-row>div{display:flex;gap:6px;flex:none}.style-trash-row button{font-size:11px;padding:7px 9px}.style-trash-confirm{padding:15px;border:1px solid #e1b9bd;border-radius:9px;background:#fff4f5;margin-bottom:14px}.style-trash-confirm strong{font-size:13px}.style-trash-confirm p{font-size:12px;margin:8px 0}.style-trash-confirm>div{display:flex;gap:8px}.style-trash-empty{padding:24px;text-align:center;color:#8b919a}@media(max-width:600px){.style-trash-row{align-items:flex-start;flex-direction:column}.style-trash-row>div{width:100%}.style-trash-row button{flex:1}}

/* Style selection and trash previews */
.style-select-check{display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:11px;color:var(--muted);background:#f7f8f4;border-bottom:1px solid var(--border);cursor:pointer}
.style-select-check input,.style-selection-toolbar input,.style-trash-check input,.style-trash-selection input{width:16px;height:16px;accent-color:#738744;margin:0;cursor:pointer}
.style-entry.style-picked{outline:2px solid #91a45e;outline-offset:-2px}
.style-entry.style-picked .style-select-check{background:#eef4dc;color:#35451d}
.style-selection-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#f5f8ea;border:1px solid #c5d49a;border-radius:8px;padding:10px;margin:10px 0 13px;box-shadow:0 3px 8px #20232010}
.style-selection-toolbar label,.style-trash-selection label{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;margin:0}
.style-selection-toolbar span,.style-trash-selection span{font-size:11px;color:var(--muted)}
.style-selection-toolbar button,.style-trash-selection button{padding:7px 10px;font-size:11px;min-height:32px}
.style-selection-toolbar .style-selection-trash{background:#e9efcd;border-color:#b5c67e;margin-left:auto}
.style-selection-toolbar small{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.6}
.style-trash-selection{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border:1px solid #dce3d0;border-radius:8px;background:#f7f9f1;padding:10px;margin:12px 0}
.style-trash-row{display:grid;grid-template-columns:20px 230px minmax(0,1fr);align-items:center;gap:12px;padding:12px}
.style-trash-check{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer}
.style-trash-preview{aspect-ratio:640/230;background:#30283d;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#ddd2e2;min-width:0}
.style-trash-preview canvas{display:block;width:100%;height:100%}
.style-trash-preview span{font-size:11px;text-align:center;line-height:1.6;padding:8px}
.style-trash-row .style-trash-description{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.style-trash-description strong{overflow-wrap:anywhere}
.style-trash-description small{font-size:10px;line-height:1.5;color:var(--muted)}
.style-trash-row .style-trash-row-actions{display:flex;flex-wrap:wrap;gap:7px}
.style-trash-row.style-picked{border-color:#9bad67;background:#f4f7eb}
@media(max-width:600px){.style-trash-row{grid-template-columns:18px minmax(0,1fr);gap:9px}.style-trash-preview{grid-column:2;width:min(100%,290px)}.style-trash-row .style-trash-description{grid-column:2}.style-selection-toolbar .style-selection-trash{margin-left:0}.style-trash-selection button{flex:1 1 auto}}

/* Reserve a separate row for style actions; never cover scrolling previews. */
.style-actions{flex-shrink:0;border-bottom:1px solid var(--border);background:#f7f9f0}
.style-actions[hidden]{display:none}
.style-actions .style-selection-toolbar{position:static;z-index:auto;margin:0;padding:7px 10px;min-height:42px;gap:7px;border:0;border-radius:0;box-shadow:none}
.style-actions .style-selection-toolbar small.sr-only{flex-basis:auto}
.style-actions .style-selection-toolbar button[hidden]{display:none}
.style-actions .style-selection-toolbar .style-selection-trash{margin-left:auto}
.font-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:8px;align-items:start}
.font-grid .font-card{margin:0;min-width:0;height:100%;overflow-wrap:anywhere}
.style-technique{display:inline-block;margin:3px 12px 7px;padding:2px 6px;border-radius:4px;background:#f1eee8;color:#716273;font-size:10px;line-height:1.5}
.style-note{line-height:1.65}
@media(min-width:951px){.canvas-toolbar>.toolbar-group{min-width:0;max-width:100%;flex-wrap:wrap}}

/* Author-supplied assets; Ronde B's original OTF remains unchanged. */
@font-face{font-family:PopRumKiwi;src:url("./font-PopRumKiwi.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:CherryBombOne;src:url("./font-CherryBombOne.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:RondeB;src:url("./font-RondeB.otf") format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:Kinkakuji;src:url("./font-Kinkakuji.woff?v=59") format("woff"),url("./font-Kinkakuji.woff2?v=59") format("woff2");font-weight:400;font-display:swap}
.title-font-pair{padding:9px 10px;border-top:1px solid #e7e5eb;background:#fcfbfd;color:#56505e;font-size:10px;line-height:1.6;text-align:left}
.title-font-pair strong,.title-font-pair span,.title-font-pair small{display:block}
.title-font-pair strong{font-size:11px;color:#393044;margin-bottom:4px}
.title-font-pair small{color:#78717e;margin-top:5px}
.inspector{scrollbar-gutter:stable;overflow-anchor:none}
.inspector input[type=number]{font-variant-numeric:tabular-nums;transition:none}
.inspector input[type=number]::-webkit-inner-spin-button{opacity:1}
.parameter-field{position:relative;box-shadow:inset 3px 0 transparent;border-radius:5px;padding-left:7px}
.parameter-field>label{gap:6px;align-items:flex-start}
.parameter-status{flex:0 0 46px;width:46px;min-height:18px;padding:1px 3px;font-size:10px;line-height:16px;text-align:center;background:#edf3e4;color:#56702f;border-radius:4px;font-weight:500;white-space:nowrap}
.parameter-off .parameter-status{background:#f0f1f3;color:#9499a1}
.parameter-editing{background:#f0f7e9;box-shadow:inset 3px 0 #698d34}
.parameter-editing .parameter-status{background:#56782e;color:#fff}
.parameter-editing>label{color:#344d20}
.effect-status{float:right;min-width:48px;text-align:center;margin-left:6px;font-size:10px;line-height:18px;background:#f0f1f3;color:#8a9098;border-radius:4px;font-weight:500}
.effect-enabled .effect-status{background:#e6efd9;color:#526b2d}
.effect-group:focus-within>summary{color:#496623}
.control-row-on{color:#526b2d}
.direction-grid button.direction-selected{background:#e2efce;border-color:#769747;box-shadow:inset 0 0 0 1px #769747;color:#324c1c}
.direction-current{display:block;min-height:18px;margin-top:4px;font-size:11px;line-height:18px;color:#506a2e;font-variant-numeric:tabular-nums}
.image-drop-notice{display:none;position:fixed;z-index:8;border:3px dashed #799748;border-radius:12px;align-items:center;justify-content:center;background:#f1f8e9e8;color:#3d5926;font-size:18px;font-weight:700;pointer-events:none}
.stage.image-drop-active .image-drop-notice{display:flex}
