*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,"Noto Serif SC",Songti SC,serif;background:#f4efe6;color:#1e1a14;-webkit-user-select:none;user-select:none}.page{height:100%;display:flex;flex-direction:column;background:#f4efe6;position:relative}.more,.sheet-h button,.layers button,.cats button,.sheet.slim button{border:1px solid #ddd;background:#fff;border-radius:999px;padding:6px 14px}.more{width:36px;padding:6px 0}.float-more{position:absolute;top:8px;right:12px;z-index:5}.obj-hud{position:absolute;left:50%;top:10px;transform:translate(-50%);z-index:6;display:flex;gap:6px;background:#15241de6;padding:6px 8px;border-radius:10px}.obj-hud button{border:0;background:transparent;color:#fffaf3;font-size:12px;padding:4px 8px;border-radius:6px}.obj-hud button.del{background:#8a3b2a}.stage{flex:1;position:relative;overflow:hidden;background:#2c2c2c;display:flex;align-items:center;justify-content:center}.stage canvas{display:block}.viewbar{position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));height:40px;background:#24352c;display:flex;align-items:center;justify-content:center;gap:8px;z-index:4;padding:0 12px}.viewbar button{border:0;background:#ffffff14;color:#f7f2e8;border-radius:8px;min-width:36px;height:28px;font-size:12px;padding:0 10px}.viewbar .zoom-label{min-width:52px;color:#efd08a}.wm{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-wrap:wrap;align-content:space-around;justify-content:space-around;opacity:.12;font-size:28px;font-weight:700;color:#888;transform:rotate(-24deg) scale(1.2)}.dock{position:fixed;left:0;right:0;bottom:0;height:58px;padding-bottom:env(safe-area-inset-bottom);background:#1c2a22;color:#fff;display:flex;justify-content:space-around;z-index:4}.item{flex:1;background:none;border:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;gap:2px}.item i{font-style:normal;font-size:16px;font-weight:700}.item.on{color:#f5c451;box-shadow:inset 0 -3px #f5c451}.subdock{position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));background:#24352c;display:flex;align-items:center;gap:12px;padding:8px 12px;z-index:4}.chips{display:flex;gap:8px;flex:1;overflow:auto}.chip{width:18px;height:18px;border-radius:50%;border:1px solid rgba(255,255,255,.35);padding:0}.chip.on{outline:2px solid #f5c451}.widths button{background:none;border:0;color:#ffffffb3;font-size:11px}.widths button.on{color:#f5c451}.hint{font-size:12px;color:#7a7368;margin:0 0 8px}.mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:5}.sheet{position:fixed;left:0;right:0;bottom:98px;max-height:55%;background:#fffaf3;border-radius:16px 16px 0 0;z-index:6;padding:12px;overflow:auto}.sheet.slim{max-height:42%;display:flex;flex-direction:column;gap:8px}.sheet-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.tabs{display:flex;gap:16px;margin-bottom:10px}.tabs button{border:0;background:none;color:#7a7368;font-size:14px;padding:0}.tabs button.on{color:#1e1a14;font-weight:700}.search{display:flex;gap:8px;margin-bottom:10px;align-items:center}.search input{flex:1;border:0;background:#f4efe6;border-radius:999px;padding:8px 14px;font-size:13px}.search button{border:0;background:none;color:#3f5a46;font-size:13px}.cats{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.cats.subcats button{background:#fff}.cats button.on{background:#1c2a22;color:#fff;border-color:#1c2a22}.more-load{width:100%;margin-top:8px;border:1px solid #ece4d4;background:#fff;border-radius:999px;padding:8px;color:#5a5348;font-size:13px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tile{border:1px solid #eee;background:#fafafa;border-radius:10px;padding:8px;display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit}.tile img{width:100%;height:72px;object-fit:contain}.tile em{font-style:normal;font-size:12px;margin-top:4px}.layers{list-style:none;margin:0;padding:0}.layers li{display:flex;gap:6px;align-items:center;padding:6px 0;border-bottom:1px solid #f0f0f0}.layers .name{flex:1;text-align:left;border-radius:8px}.toast{position:fixed;top:72px;left:50%;transform:translate(-50%);background:#e74c3c;color:#fff;padding:8px 14px;border-radius:8px;z-index:9;font-size:13px}.material-page .sticky{padding:0 12px}.pad{padding:12px}
