@font-face{font-family:GenEiAntiquePv6;src:url(./GenEiAntiquePv6-M-8GjUvlsi.ttf) format("truetype")}@font-face{font-family:GenEiAntiqueNv6;src:url(./GenEiAntiqueNv6-M-Bw5srmuB.ttf) format("truetype")}*{box-sizing:border-box}[hidden]{display:none}body{font-family:Yu Gothic,Meiryo,sans-serif;margin:0;display:flex;height:100vh;background:#2b2b2b;color:#eee}#stage{flex:1;min-width:0;position:relative;display:flex}#canvasArea{flex:1;min-width:0;display:flex;overflow:auto;background:#1e1e1e;position:relative}#canvasWrap{margin:auto;flex:none;position:relative;box-shadow:0 0 20px #0009}canvas{display:block;background:#fff;max-width:85vw;max-height:90vh;touch-action:none}#panel{width:340px;padding:16px;background:#333;overflow-y:auto;border-left:1px solid #444}#panel h2{font-size:15px;margin:18px 0 8px;border-bottom:1px solid #555;padding-bottom:4px}.title{font-size:18px;margin:0 0 12px;color:#fff}.row{margin-bottom:10px}label{display:block;font-size:12px;margin-bottom:4px;color:#ccc}input[type=text],input[type=number],textarea,select{width:100%;box-sizing:border-box;padding:6px;border-radius:4px;border:1px solid #555;background:#222;color:#eee;font-size:13px}textarea{resize:vertical;min-height:60px}input[type=range]{width:100%}input[type=color]{width:100%;height:30px;border:none;padding:0;background:none;cursor:pointer}button{cursor:pointer;border:none;border-radius:4px;padding:8px 10px;font-size:13px;color:#fff;background:#4a6fa5;margin-bottom:6px;width:100%}button:hover{background:#5c86c2}button:disabled{opacity:.5;cursor:default}button[aria-pressed=true]{background:#d9822b}button.danger{background:#a54a4a}button.danger:hover{background:#c25c5c}button.export{background:#3f9a5c;font-weight:700;font-size:14px;padding:12px}button.export:hover{background:#4bb56d}button.export.secondary{background:#1d9bf0;margin-top:0}button.export.secondary:hover{background:#3fb0ff}.outputRow{display:flex;flex-direction:column;gap:8px}.outputRow button{width:100%;margin-bottom:0}.bubbleTypeRow{display:flex;flex-wrap:wrap;gap:6px}.bubbleTypeRow button{flex:1 1 30%}#zoomControls{position:absolute;left:10px;bottom:10px;display:flex;gap:4px;z-index:1}#zoomControls button{width:auto;min-width:40px;height:36px;margin:0;padding:0 10px;background:#1e1e1ebf;border:1px solid #555;font-size:15px}#zoomControls button:hover{background:#3c3c3ce6}#zoomResetBtn{min-width:56px;font-size:13px}#fileLabel{display:block;text-align:center;padding:10px;background:#4a6fa5;border-radius:4px;cursor:pointer;margin-bottom:10px}#fileLabel:hover{background:#5c86c2}#fileInput{display:none}.hint{font-size:11px;color:#999;margin-top:4px}.hint-freehand{color:#f50}.twoCol{display:flex;gap:8px}.twoCol>div{flex:1;min-width:0}#noSelection{font-size:13px;color:#999;padding:10px 0}.check-label{display:flex;align-items:center;gap:6px;font-size:12px;color:#ccc}.check-label input{width:auto}.split-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.split-label .check-label{white-space:nowrap;margin-bottom:0}@media(max-width:820px){body{flex-direction:column;height:auto;min-height:100vh}#stage{flex:none;width:100%}#canvasArea{min-height:50vh;max-height:70vh;padding:10px}canvas{max-width:94vw;max-height:55vh}#panel{width:100%;border-left:none;border-top:1px solid #444;max-height:none}}
