.yuWidget{--yu-ink:#30313c;--yu-muted:#63646e;--yu-edge:#dad8dd;--yu-accent:#804257;position:relative;background:#fff;color:var(--yu-ink);border:1px solid var(--yu-edge);border-radius:15px;overflow:hidden;font:15px/1.5 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}
.yuWidget button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;color:inherit;cursor:pointer;border:0;background:transparent;padding:6px 9px;border-radius:7px;line-height:1.3;white-space:nowrap}.yuWidget button:disabled{cursor:not-allowed;opacity:.48}.yuWidget button:hover:not(:disabled){background:#eee8ed}.yuWidget button:focus-visible,.yuCanvas:focus-visible{outline:3px solid #95587c;outline-offset:-3px}
.yuStage{isolation:isolate;position:relative;height:clamp(310px,37vw,486px);overflow:hidden;background:radial-gradient(ellipse at 64% 22%,#f4f4f5 0%,#e6e5ea 45%,#d6d4dc 80%,#cfccd6 100%)}
.yuStage:before{content:"";pointer-events:none;position:absolute;inset:0;background-image:radial-gradient(#a3a1ae 0.6px,transparent .9px);background-size:15px 15px;opacity:.24;mask-image:linear-gradient(to top,#000,transparent 47%)}.yuGlass,.yuCanvas{position:absolute;inset:0;width:100%;height:100%}.yuCanvas{display:block;cursor:grab;touch-action:none}.yuCanvas.yuHeld{cursor:grabbing}
.yuStageTop,.yuStageBottom{position:absolute;left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;gap:7px;pointer-events:none}.yuStageTop{top:13px}.yuStageBottom{bottom:10px;color:#50525e;font-size:.78rem;letter-spacing:.015em}.yuUnit,.yuMode{display:inline-flex;align-items:center;gap:7px}.yuUnit{color:#3d404a;font-size:.79rem;font-weight:650}.yuUnit svg{width:16px;height:16px}.yuMode{background:#f8f7f9dd;padding:2px 7px;border:1px solid #ffffff70;border-radius:4px}.yuStageTop .yuExpand{pointer-events:auto;padding:6px;background:#faf9fabf;border:1px solid #bebcc6;color:#444451}
.yuControl,.yuMeta{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 13px}.yuControl{background:#fcfbfc;border-top:1px solid #cfcdd5;border-bottom:1px solid #ebe7eb}.yuAngles,.yuTools,.yuFeatures{display:flex;align-items:center;gap:4px}.yuAngles{background:#efedf0;border-radius:8px;padding:3px}.yuAngles button{font-size:.85rem;padding:6px 12px}.yuAngles [aria-pressed=true]{background:white;box-shadow:0 1px 3px #2d24321f;font-weight:650}.yuTools{gap:0}.yuTools button{height:32px;width:35px}.yuMeta{padding-top:10px;padding-bottom:3px}.yuFeatures{gap:5px}.yuFeatures button,.yuWidget .yuExport{font-size:.85rem;min-height:32px;padding:5px 8px;border:1px solid #dfd9df}.yuFeatures [aria-pressed=true]{background:#f3e6ed;color:#7b3356;border-color:#caa8bb}.yuWidget .yuExport{border-color:#c8b9c2;color:#71354f;background:#fbf7fa}.yuSelection,.yuStatus{margin:5px 15px 12px;color:var(--yu-muted);font-size:.8rem;line-height:1.5}.yuStatus{color:#783951}.yuStatus[hidden]{display:none}
.yuDialog{padding:0;border:0;background:transparent;max-width:min(1160px,96vw);width:96vw;max-height:96dvh;overflow:auto;border-radius:16px}.yuDialog::backdrop{background:#282532aa}.yuDialog .yuStage{height:min(68dvh,730px);min-height:230px}
.inShop3D{margin:20px 0 3px}.inShop3D>h3{margin:0;font-size:1.05rem}.inShop3D>p{margin:3px 0 9px;font-size:.88rem;color:#706771}.inShop3D .yuStage{height:clamp(290px,30vw,370px)}.yuFallback{padding:12px;background:#f4eff3;color:#66505e;font-size:.9rem;border-radius:7px}.yuShopJump{margin-top:12px}
@media(max-width:650px){.yuStage{height:clamp(276px,81vw,380px)}.yuStageTop,.yuStageBottom{left:11px;right:11px}.yuControl,.yuMeta{padding-left:8px;padding-right:8px}.yuAngles button{padding:7px 9px}.yuFeatures button,.yuWidget .yuExport{gap:3px;padding:6px;font-size:.80rem}.yuFeatures svg,.yuExport svg{width:14px;height:14px}.yuSelection,.yuStatus{margin-inline:10px}.yuDialog{max-width:98vw;width:98vw}.yuDialog .yuStage{height:min(60dvh,560px)}.yuStageBottom{font-size:.75rem}.inShop3D .yuStage{height:285px}}
@media(max-width:345px){.yuMeta{align-items:flex-start;flex-wrap:wrap}.yuStageBottom span:last-child{max-width:52%;text-align:right}}
@media(max-width:650px){.yuMeta,.yuFeatures{flex-wrap:wrap}.yuControl{flex-wrap:wrap}}
.yuWidget button[hidden]{display:none}
.yuFeatures{flex-wrap:wrap;min-width:0}.yuWidget .yuExport{flex:none}
.yuRefs{display:flex;gap:6px;flex-wrap:wrap;margin:3px 13px}.yuRefs:has(button:only-child[hidden]),.yuRefs:not(:has(button:not([hidden]))){display:none}.yuRefs button,.yuPhotoDialog button{border:1px solid #d1c6cd;border-radius:7px;background:#fff;padding:6px 10px;color:#553c49;font:inherit;font-size:.85rem;cursor:pointer}.yuRefs [aria-pressed=true],.yuPhotoDialog [aria-pressed=true]{background:#f3e6ed;border-color:#bd95ab}
.yuPhotoDialog{box-sizing:border-box;width:min(940px,96vw);max-height:95dvh;padding:12px;border:0;border-radius:12px;background:#faf9f8;color:#36333a}.yuPhotoDialog::backdrop{background:#171520bd}.yuPhotoDialog>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.yuPhotoDialog>div:first-child{justify-content:space-between}.yuPhotoDialog img{width:100%;max-height:72dvh;object-fit:contain;display:block;margin:8px auto;background:#e8e6e5}
.framePalette{display:block}.framePalette .paletteTools,.framePalette .paletteGrid{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.framePalette .paletteTools{margin:8px 0;font-size:.82rem}.paletteTools select{font:inherit;padding:5px 8px}.paletteTools label{display:inline-flex;align-items:center;gap:4px}.paletteTools input[type=color]{width:30px;height:25px;padding:1px}.paletteGrid button{font:inherit;font-size:.82rem;display:inline-flex;align-items:center;gap:4px;border-radius:18px;background:white;color:#48414a;border:1px solid #cfc9cd;padding:4px 8px;cursor:pointer}.paletteGrid button[aria-pressed=true]{border-color:#95516e;box-shadow:inset 0 0 0 1px #95516e}.paletteGrid i{display:block;width:14px;height:14px;border-radius:50%;border:1px solid #0002}
.boardGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.boardCard{min-width:0;display:flex;flex-direction:column;align-items:stretch;border:1px solid #d5cfd2;border-radius:10px;background:#fff;overflow:hidden}
.boardCard:has(:checked){border-color:#964568;box-shadow:inset 0 0 0 1px #964568}
.boardCard label{position:relative;display:flex;flex:1;flex-direction:column;align-items:stretch;cursor:pointer;padding:6px;gap:2px}
.boardCard label:has(:disabled){cursor:default;color:#68646a}
.boardCard label:has(:disabled) img{opacity:.64}
.boardCard img{display:block;order:-1;width:100%;height:clamp(75px,12vw,117px);object-fit:contain;background:#f2f0ef;border-radius:5px}
.boardCard input[type=radio]{position:absolute;right:8px;top:8px;width:17px;height:17px;margin:0;accent-color:#934563}
.boardCard strong,.boardCard small{padding:0 3px;line-height:1.4}
.boardCard small{font-size:.75rem}
.boardCard button{border:0;border-top:1px solid #e5dfe1;background:#faf7f8;color:#70445b;padding:6px 2px;font:inherit;font-size:.8rem;cursor:pointer}
.boardMessage{font-size:.85rem;color:#794058;margin:6px 0 0}.boardMessage:empty{display:none}
.boardDialog{box-sizing:border-box;width:min(840px,96vw);max-height:95dvh;overflow:auto;padding:12px;border:1px solid #d7d3d4;border-radius:14px;background:#fbfaf9;color:#343138}
.boardDialog::backdrop{background:#19161cbd}.boardDialog header,.boardDialog nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.boardDialog header{justify-content:space-between}.boardDialog nav:not(:empty){margin:7px 0}
.boardDialog button{padding:5px 12px;font:inherit;font-size:.88rem;border-radius:6px;border:1px solid #cbc4c8;color:#4c4148;background:#fff;cursor:pointer}
.boardDialog button[aria-pressed=true]{background:#f0dee7;border-color:#a56d86}
.boardFigure{height:clamp(205px,58dvh,580px);background:#e0e1e1;border-radius:7px;overflow:hidden}
.boardFigure canvas,.boardFigure img{display:block;width:100%;height:100%;object-fit:contain}.boardFigure canvas{touch-action:none;cursor:grab}.boardFigure canvas:active{cursor:grabbing}
.boardDialog p{margin:6px 0 0;font-size:.82rem;color:#615863}.boardCard button:first-of-type{font-weight:650}
.yuScene { display:flex; align-items:center; flex-wrap:wrap; gap:6px 18px; padding:6px 13px; color:var(--yu-muted); font-size:.83rem; }
.yuScene label { display:inline-flex; gap:6px; align-items:center; cursor:pointer; }
.yuScene input { margin:0; accent-color:var(--yu-accent); }
.yuScene select { font:inherit; }
.yuFocus { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; margin:6px 15px 10px; color:var(--yu-muted); font-size:.87rem; }
.yuFocus[hidden] { display:none; }
.yuFocus select { min-width:0; max-width:100%; padding:5px 8px; border:1px solid var(--yu-edge); border-radius:6px; color:var(--yu-ink); background:var(--field,#fff); font:inherit; }
.yuFocus select:focus-visible { outline:3px solid #95587c; outline-offset:2px; }
.yuWidget[data-backdrop=midnight] .yuUnit,.yuWidget[data-backdrop=midnight] [data-ref=gesture] {color:#fbf8fb;text-shadow:0 1px 3px #162030;}
.yuWidget[data-backdrop=midnight] .yuMode {color:#383842;}
