:root{font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#243a5a;background:#e8f3ff;font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(circle at 90% 3%,#fff4dc 0,transparent 24%),#e8f3ff}.topbar{height:82px;min-height:82px;padding:13px 28px;display:flex;align-items:center;gap:14px;background:#ffffffe0;border-bottom:1px solid #d9e8f3;box-shadow:0 5px 24px #7ea6c219;z-index:2}.brand-mark{width:48px;height:48px;display:grid;grid-template-columns:repeat(2,1fr);gap:4px;transform:rotate(-8deg)}.brand-mark span{border-radius:6px;box-shadow:inset 0 -4px #0000001a,0 3px 5px #809ab733}.brand-mark span:nth-child(1){background:#ff8581}.brand-mark span:nth-child(2){background:#ffd363}.brand-mark span:nth-child(3){background:#72c8ff}.brand-mark span:nth-child(4){background:#80d8b2}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-copy strong{font-size:23px;letter-spacing:.03em;color:#1d3455}.brand-copy small{font-size:13px;color:#6e87a2}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.save-status{font-size:13px;font-weight:700;color:#35a987}.save-error{color:#e26c6c}.quiet-button{border:1px solid #d5e4f1;background:#fff;border-radius:11px;padding:10px 15px;color:#5c7290;font-size:14px;font-weight:700}.quiet-button:hover:not(:disabled){border-color:#a2bfe4;color:#395db3}.workshop{min-height:0;flex:1;padding:20px;display:grid;grid-template-columns:256px minmax(0,1fr);gap:20px}.palette{min-height:0;overflow:auto;background:#fff;border:1px solid #dceaf5;border-radius:21px;padding:19px 17px;box-shadow:0 10px 28px #8caac025}.palette-heading{display:flex;align-items:center;gap:11px;padding:3px 2px 17px;border-bottom:1px solid #eaf1f7}.section-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#e7eaff;color:#7377da;font-size:22px}.palette-heading div{display:flex;flex-direction:column;gap:3px}.palette-heading strong{font-size:16px}.palette-heading small{font-size:12px;color:#8496ae}.section-label{margin:18px 2px 11px;font-size:14px;font-weight:800;color:#566f91}.brick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.brick-card{min-height:108px;border:2px solid #e5eef6;border-radius:15px;background:#f9fcff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#3e5776;transition:transform .15s,border-color .15s,background .15s}.brick-card:hover{transform:translateY(-2px);border-color:#9dc6ff}.brick-card.active{border-color:#6d99ee;background:#edf4ff;box-shadow:0 0 0 3px #d7e8ff}.brick-card strong{font-size:13px}.brick-card small{font-size:11px;color:#8396ae}.brick-figure{position:relative;display:block;width:37px;height:27px;border-radius:4px;transform:skewY(-8deg);box-shadow:inset 0 -7px #00000019,2px 5px 5px #566c8b33;margin-bottom:7px}.brick-figure:before{content:"";position:absolute;top:-7px;left:6px;width:11px;height:8px;border-radius:50% 50% 2px 2px;background:inherit;box-shadow:15px 0 0 currentColor;color:inherit;filter:brightness(1.05)}.brick-one{width:28px}.brick-one:before{box-shadow:none;left:9px}.brick-long{width:42px}.brick-square{width:42px;height:31px}.brick-beam{width:55px;height:31px}.color-label{margin-top:24px}.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 4px}.color-choice{width:38px;height:38px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 5px #46658133,0 0 0 1px #dbe6ef}.color-choice.active{box-shadow:0 2px 5px #46658133,0 0 0 3px #5d83e9}.palette-tip{margin-top:28px;display:flex;align-items:flex-start;gap:9px;background:#fff8e7;border-radius:13px;padding:12px;color:#7d6b55}.palette-tip span{font-size:19px}.palette-tip p{font-size:12px;line-height:1.6;margin:0}.scene-area{min-width:0;min-height:0;display:flex;flex-direction:column}.scene-heading{min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 4px}.eyebrow{font-size:12px;font-weight:900;color:#7198c3;letter-spacing:.18em}.scene-heading h1{font-size:24px;color:#233c5f;margin:1px 0 8px}.brick-count{border-radius:20px;background:#fff;color:#6785a4;padding:9px 14px;font-size:13px;font-weight:800;box-shadow:0 2px 12px #92b1cd22}.scene-frame{min-height:340px;flex:1;position:relative;background:#eaf5ff;border:1px solid #cfe3f1;border-radius:22px;overflow:hidden;box-shadow:0 12px 35px #81a8c82b}.canvas-host,.canvas-host canvas{width:100%;height:100%;display:block}.canvas-host canvas{cursor:crosshair}.scene-badge{position:absolute;top:17px;left:17px;padding:8px 12px;border-radius:10px;background:#ffffffda;color:#6e8eaf;font-size:12px;font-weight:800;pointer-events:none;box-shadow:0 2px 8px #8dafc344}.camera-panel{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;padding:7px;background:#ffffffed;border:1px solid #dfebf3;border-radius:15px;box-shadow:0 5px 20px #7295ac3d}.camera-panel button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#53749b;border-radius:9px;font-size:23px}.camera-panel button:hover{background:#eaf2ff;color:#3864d2}.camera-panel span{height:1px;background:#e1ebf3;margin:3px 4px}.scene-message{position:absolute;bottom:16px;left:50%;transform:translate(-50%);max-width:calc(100% - 130px);padding:10px 18px;border-radius:18px;background:#ffffffed;box-shadow:0 4px 16px #7ca3bd38;color:#506d8b;font-size:14px;font-weight:700;text-align:center;pointer-events:none;white-space:nowrap}.actionbar{margin-top:14px;background:#fff;border:1px solid #dceaf5;border-radius:17px;padding:10px;display:flex;justify-content:space-between;gap:10px;box-shadow:0 8px 22px #8caac021}.action-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.action-button{border:1px solid transparent;background:#f2f6fa;border-radius:11px;min-height:43px;padding:0 13px;color:#607c9c;font-size:19px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800}.action-button span{font-size:13px}.action-button:hover:not(:disabled){background:#e5efff;color:#3760c3}.action-button.primary{background:#668be5;color:#fff;box-shadow:0 3px 7px #6185dc55}.action-button.primary:hover{background:#5379d6;color:#fff}.action-button.danger{color:#e07171;background:#fff1f0}.action-button.danger:hover{background:#ffe4e2;color:#c85454}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.workshop{grid-template-columns:220px minmax(0,1fr);gap:12px;padding:12px}.palette{padding:14px 12px}.topbar{padding:10px 17px}.action-button{padding:0 9px}.action-button span{font-size:12px}}@media(max-width:780px){.app-shell{min-height:100dvh}.topbar{height:65px;min-height:65px}.brand-mark{width:37px;height:37px}.brand-copy strong{font-size:18px}.brand-copy small{display:none}.save-status{font-size:11px}.quiet-button{font-size:12px;padding:7px}.workshop{display:flex;flex-direction:column;overflow:auto}.palette{overflow:visible;display:grid;grid-template-columns:1fr auto;gap:5px 15px;flex:none}.palette-heading{grid-column:1/-1;padding-bottom:9px}.section-label{margin:6px 0}.brick-grid{display:flex;gap:6px}.brick-card{min-height:74px;min-width:82px;padding:6px}.brick-figure{margin-bottom:2px;transform:scale(.75) skewY(-8deg)}.brick-card strong{font-size:11px}.brick-card small{display:none}.color-label{grid-column:2;grid-row:2}.color-grid{grid-column:2;grid-row:3;grid-template-columns:repeat(4,31px);gap:5px}.color-choice{width:28px;height:28px}.palette-tip{display:none}.scene-area{min-height:540px}.scene-heading{min-height:56px}.scene-heading h1{font-size:19px}.scene-frame{min-height:380px}.actionbar{flex-wrap:wrap}.scene-message{font-size:12px;white-space:normal}}@media(max-width:540px){.palette{display:block;overflow-x:auto}.brick-grid{width:max-content}.color-grid{display:flex;margin:10px 0}.section-label{display:none}.palette-heading{margin-bottom:10px}.actionbar{justify-content:center}.history-actions{margin-left:0}.scene-area{min-height:520px}.scene-frame{min-height:330px}.scene-message{bottom:10px}.brick-count{font-size:11px}}.app-shell{height:100dvh;overflow:hidden}@media(max-width:780px){.app-shell{height:auto;overflow:visible}}.demo-entry{border:0;background:#ffce68;color:#624d20;border-radius:11px;padding:10px 16px;font-size:14px;font-weight:900;box-shadow:0 3px #e8ae4f}.demo-entry:hover{background:#ffd982}.demo-status{font-size:13px;font-weight:800;color:#5874cb}.demo-sidebar{min-height:100%;display:flex;flex-direction:column}.demo-icon{background:#fff0d3;color:#e5a637}.demo-intro{font-size:13px;line-height:1.6;color:#6c819a;margin:17px 2px}.demo-progress{height:9px;border-radius:20px;background:#e8f0f8;overflow:hidden}.demo-progress span{display:block;height:100%;background:linear-gradient(90deg,#ffbb68,#ff7778);border-radius:20px;transition:width .35s}.demo-progress-label{font-size:12px;font-weight:800;color:#8196aa;text-align:right;margin:7px 2px 10px}.demo-step-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px;overflow:auto}.demo-step-list li button{width:100%;min-height:43px;display:flex;align-items:center;gap:9px;text-align:left;border:0;background:transparent;border-radius:10px;color:#8293a8;font-size:12px;font-weight:700;padding:5px 7px}.demo-step-list li button:hover{background:#eef5ff}.demo-step-list li.current button{background:#fff1da;color:#8f5d30}.demo-step-list li.done button{color:#4aaf91}.demo-step-number{flex:none;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e9f0f7;color:#7e91a8;font-size:12px}.demo-step-list li.current .demo-step-number{background:#ffbf69;color:#fff}.demo-step-list li.done .demo-step-number{background:#c9f0e2;color:#2caa81}.demo-sidebar .palette-tip{margin-top:auto}.demo-actionbar .action-group{flex-wrap:nowrap}@media(max-width:780px){.demo-palette{display:block;max-height:250px;overflow:auto}.demo-sidebar{display:block}.demo-intro{margin:8px 0}.demo-step-list{flex-direction:row;overflow:auto;padding-bottom:4px}.demo-step-list li{min-width:143px}.demo-step-list li button{min-height:50px}.demo-sidebar .palette-tip{display:none}}@media(max-width:540px){.demo-actionbar .action-group{flex-wrap:wrap;justify-content:center}.demo-status{display:none}.demo-entry{font-size:12px;padding:8px}}.brick-roof{clip-path:polygon(0 100%,100% 8%,100% 100%);box-shadow:inset 0 -7px #00000019,2px 5px 5px #566c8b33}.brick-roof:before{display:none}.brick-arch{width:40px;height:29px;background:linear-gradient(90deg,currentColor 22%,transparent 22% 78%,currentColor 78%),linear-gradient(currentColor,currentColor)!important;clip-path:polygon(0 0,100% 0,100% 34%,79% 34%,79% 100%,21% 100%,21% 34%,0 34%);filter:drop-shadow(2px 4px 2px #566c8b33)}.brick-arch:before{display:none}.brick-turret{width:38px;height:31px;clip-path:polygon(50% 0,100% 70%,100% 100%,0 100%,0 70%)}.brick-turret:before{display:none}.brick-flag{width:7px;height:32px;margin-left:-8px}.brick-flag:before{display:block;left:5px;top:2px;width:25px;height:15px;border-radius:1px 7px 2px 1px;box-shadow:none;clip-path:polygon(0 0,100% 0,78% 100%,0 82%)}.demo-phase{list-style:none;margin:10px 0 1px;padding:6px 8px 4px;color:#738ca6;font-size:11px;font-weight:900;letter-spacing:.05em;border-top:1px solid #edf2f7}.demo-step-list .demo-phase:first-child{border-top:0;margin-top:2px}.demo-picker-backdrop{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:#20385666;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.demo-picker{position:relative;width:min(680px,100%);padding:34px;border-radius:26px;background:#fff;box-shadow:0 24px 80px #20385655}.demo-picker-close{position:absolute;right:17px;top:15px;width:40px;height:40px;border:0;border-radius:12px;background:#f1f5f9;color:#627790;font-size:25px}.demo-picker h2{margin:7px 0;color:#243e60;font-size:28px}.demo-picker>p{margin:0 0 22px;color:#71859c;font-size:14px}.demo-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.demo-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:250px;padding:18px;border:2px solid #e5edf5;border-radius:19px;background:#f8fbff;color:#314c6c;transition:transform .16s,border-color .16s,box-shadow .16s}.demo-card:hover{transform:translateY(-3px);border-color:#87a9ea;box-shadow:0 10px 24px #7794bc33}.demo-card-castle{background:linear-gradient(150deg,#fff8ec,#fff 60%)}.demo-card-art{width:100%;height:100px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(180deg,#dbf0ff,#f4fbff);font-size:60px}.demo-card-castle .demo-card-art{background:linear-gradient(180deg,#ffe8c1,#fff8ea)}.demo-card strong{margin-top:13px;font-size:18px}.demo-card small{margin-top:4px;color:#7c91a8;font-size:12px;font-weight:800}.demo-card-description{margin-top:10px;color:#6e8299;font-size:12px;line-height:1.6}.demo-card-action{margin-top:auto;padding-top:14px;color:#5a7ed4;font-size:13px;font-weight:900}@media(max-width:540px){.demo-picker{padding:26px 17px 18px;border-radius:20px}.demo-picker h2{font-size:23px}.demo-card-grid{gap:9px}.demo-card{padding:10px;min-height:228px}.demo-card-art{height:75px;font-size:47px}.demo-card strong{font-size:15px}.demo-card-description{font-size:11px}}.palette-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:10px 0 2px}.palette-tabs button{border:1px solid #e4edf5;border-radius:9px;background:#f7fafe;color:#778ca5;padding:8px 3px;font-size:12px;font-weight:800}.palette-tabs button.active{border-color:#9bb4ee;background:#eef3ff;color:#4969bf}.brick-trackstraight,.brick-trackramp{width:36px;height:19px;border:4px solid #55a5c7;border-top:0;border-radius:0 0 8px 8px;transform:rotate(-12deg);box-shadow:none}.brick-trackstraight:before,.brick-trackramp:before{top:-5px;left:-4px;width:4px;height:13px;border-radius:3px;box-shadow:32px 0 0 currentColor;filter:none}.brick-trackramp{transform:skewY(-23deg);border-width:4px}.brick-trackturn{width:32px;height:28px;border:4px solid #55a5c7;border-left:0;border-bottom:0;border-radius:0 13px 0 0;transform:rotate(0);box-shadow:none}.brick-trackturn:before{display:none}.brick-trackstart,.brick-trackgoal{width:30px;height:21px;border:4px solid #55a5c7;border-top:0;border-radius:0 0 50% 50%;transform:perspective(30px) rotateX(-12deg);box-shadow:none}.brick-trackstart:before,.brick-trackgoal:before{display:none}.marble-launch{background:#fff6d9;color:#94702d}.marble-launch:hover{background:#ffedb6;color:#7e5d22}.marble-actionbar{align-items:center;min-height:64px;padding:10px 16px}.marble-mode-copy{display:flex;align-items:center;gap:10px;color:#657d98;font-size:14px;font-weight:800}.marble-mode-dot{width:12px;height:12px;border-radius:50%;background:#ffd34f;box-shadow:0 0 0 4px #fff0bd}.marble-mode-dot.rolling{background:#4e7bd8;box-shadow:0 0 0 4px #dfe8ff;animation:marble-pulse .8s infinite alternate}.marble-mode-dot.arrived{background:#50c99b;box-shadow:0 0 0 4px #dcf8ed}@keyframes marble-pulse{to{transform:scale(.75);opacity:.6}}.brick-trackstraight,.brick-trackramp,.brick-trackturn,.brick-trackstart,.brick-trackgoal{width:38px;height:27px;border:0;border-radius:6px;transform:none;box-shadow:inset 0 -5px #00000024,2px 4px 5px #566c8b33;background:linear-gradient(90deg,currentColor 0 21%,#3c5268 22% 78%,currentColor 79%)!important}.brick-trackstraight:before,.brick-trackramp:before,.brick-trackturn:before,.brick-trackstart:before,.brick-trackgoal:before{display:block;top:3px;left:3px;width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:27px 0 0 currentColor,0 17px 0 currentColor,27px 17px 0 currentColor;filter:brightness(1.12)}.brick-trackramp{background:linear-gradient(90deg,currentColor 0 21%,#3c5268 22% 78%,currentColor 79%),linear-gradient(165deg,transparent 48%,#00000022 49%)!important}.brick-trackturn{background:linear-gradient(90deg,currentColor 0 21%,#3c5268 22% 78%,currentColor 79%),linear-gradient(0deg,transparent 39%,currentColor 40% 62%,transparent 63%)!important}.brick-trackstart,.brick-trackgoal{background:radial-gradient(ellipse at center,#3c5268 0 25%,currentColor 28% 46%,transparent 49%),linear-gradient(90deg,currentColor 0 14%,transparent 15% 85%,currentColor 86%)!important}.demo-card-marble-sky .demo-card-art{background:linear-gradient(145deg,#dff6ff,#fff2d6 55%,#f6e5ff)}.demo-card-coaster .demo-card-art{background:linear-gradient(150deg,#d9f3ff,#f4e6ff 48%,#ffe1cf)}.action-button.product{background:#fff1d8;color:#a3752a}.action-button.product:hover:not(:disabled){background:#ffe6bb;color:#8a5f1c}.shortcut-hint{margin:11px 2px 0;font-size:11px;font-weight:700;line-height:1.55;color:#96abbd;letter-spacing:.01em}.key-hint{display:inline-block;min-width:17px;margin-left:-1px;padding:1px 4px;border:1px solid #dce7f2;border-radius:5px;background:#f4f8fc;color:#849db5;font-size:10px;font-weight:900;line-height:1.35;letter-spacing:0}@media(max-width:780px){.shortcut-hint{display:none}}.my-demo-entry{width:100%;display:flex;align-items:center;gap:13px;margin:0 0 16px;padding:11px 15px;border:2px solid #f3d49c;border-radius:17px;background:linear-gradient(120deg,#fff8ec,#fffdf9);text-align:left;color:#5a4526;transition:transform .16s,box-shadow .16s,border-color .16s}.my-demo-entry:hover{transform:translateY(-2px);border-color:#eabf74;box-shadow:0 10px 22px #c9a46833}.my-demo-entry-art{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:13px;background:#fff1d8;font-size:23px}.my-demo-entry-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.my-demo-entry-copy strong{font-size:15px;color:#4a3a20}.my-demo-entry-copy small{font-size:12px;font-weight:700;color:#9b855f}.my-demo-entry-go{margin-left:auto;flex:none;font-size:12px;font-weight:900;color:#c08a3a}.demo-picker{max-height:calc(100dvh - 40px);overflow:auto}.walk-launch{background:#eef8ff;color:#3f7ba0}.walk-launch:hover{background:#ddf0ff;color:#2f6484}.walk-actionbar{align-items:center;min-height:64px;padding:10px 16px}.walk-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.walk-pad{display:grid;grid-template-columns:repeat(3,34px);grid-template-rows:repeat(2,32px);gap:5px;flex:none}.walk-pad-button{display:grid;place-items:center;border:1px solid #dceaf5;border-radius:10px;background:#f6fbff;color:#4b7695;font-size:12px;font-weight:900;line-height:1;cursor:pointer;transition:background .15s,transform .12s}.walk-pad-button:hover{background:#e6f3fd}.walk-pad-button:active{transform:scale(.94);background:#d8ecfb}.walk-pad-button.up{grid-column:2;grid-row:1}.walk-pad-button.left{grid-column:1;grid-row:2}.walk-pad-button.down{grid-column:2;grid-row:2}.walk-pad-button.right{grid-column:3;grid-row:2}.walk-copy{font-size:13px}@media(max-width:780px){.walk-controls{gap:10px}.walk-copy{font-size:12px}}.mode-gate{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;overflow:auto;background:radial-gradient(circle at 12% 8%,#fff2d8 0,transparent 34%),radial-gradient(circle at 88% 92%,#e0f5ff 0,transparent 42%),#eaf4ff}.mode-gate-inner{width:min(880px,100%);padding:38px 40px 30px;border-radius:30px;background:#fff;box-shadow:0 30px 90px #2a4a7040;text-align:center}.mode-gate-inner h1{margin:10px 0 8px;color:#24405f;font-size:32px}.mode-gate-lead{margin:0 auto 24px;max-width:520px;color:#77909f;font-size:14px;font-weight:700;line-height:1.6}.mode-gate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;text-align:left}.mode-card{display:flex;flex-direction:column;align-items:flex-start;padding:22px 22px 20px;border:2px solid #e3edf7;border-radius:22px;background:linear-gradient(160deg,#f9fcff,#f2f9ff);color:#2f4a68;transition:transform .16s,border-color .16s,box-shadow .16s}.mode-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px #7ea6c22e}.mode-card-walk:hover{border-color:#a9d8f5}.mode-card-marble{background:linear-gradient(160deg,#fffdf8,#fff8ec)}.mode-card-marble:hover{border-color:#f3d49c}.mode-card-art{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:#e8f5ff;font-size:30px}.mode-card-marble .mode-card-art{background:#fff0d3;color:#d59a3f;font-size:26px;font-weight:900}.mode-card strong{margin-top:14px;font-size:20px;color:#223c59}.mode-card small{margin-top:4px;color:#7c92a8;font-size:13px;font-weight:800;line-height:1.5}.mode-card ul{margin:13px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.mode-card li{position:relative;padding-left:16px;color:#6d839a;font-size:12px;font-weight:700;line-height:1.5}.mode-card li:before{content:"";position:absolute;left:0;top:6px;width:6px;height:6px;border-radius:50%;background:#b9d6ea}.mode-card-marble li:before{background:#f0c983}.mode-card-action{margin-top:16px;color:#4f77cf;font-size:14px;font-weight:900}.mode-card-marble .mode-card-action{color:#c1883b}.mode-gate-foot{margin:20px 0 0;color:#93a7bb;font-size:12px;font-weight:700}.mode-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #d7e6f2;border-radius:12px;background:#fff;color:#3f6285;font-size:13px;font-weight:900;white-space:nowrap}.mode-chip:hover{border-color:#b9d3e8;background:#f6fbff}.mode-chip span{padding-left:7px;border-left:1px solid #e2edf6;color:#8ba3b8;font-size:11px;font-weight:800}.mode-chip-marble{border-color:#f0dbb2;background:#fffaf0;color:#8a6430}.mode-chip-marble span{border-left-color:#f1e2c8;color:#b08b53}@media(max-width:860px){.mode-gate{padding:14px}.mode-gate-inner{padding:24px 18px 18px;border-radius:22px}.mode-gate-inner h1{font-size:24px}.mode-gate-lead{margin-bottom:16px;font-size:13px}.mode-gate-grid{gap:12px}.mode-card{padding:15px}.mode-card-art{width:46px;height:46px;border-radius:13px;font-size:24px}.mode-card strong{margin-top:10px;font-size:17px}.mode-card small{font-size:12px}.mode-card ul{display:none}.mode-card-action{margin-top:11px;font-size:13px}.mode-gate-foot{font-size:11px}}@media(max-width:600px){.mode-gate{align-items:start;padding:10px}.mode-gate-inner{margin:auto}.mode-gate-grid{grid-template-columns:1fr}}@media(max-width:780px){.mode-chip{padding:6px 8px;font-size:11px}.mode-chip span{display:none}}.demo-picker.demo-picker-wide{width:min(1120px,100%);max-height:calc(100dvh - 32px);padding:0;border-radius:26px;display:flex;flex-direction:column;overflow:hidden;background:#fff}.demo-picker-head{position:relative;padding:26px 34px 16px;border-bottom:1px solid #eef3f9;background:linear-gradient(150deg,#f6fbff,#fff 72%)}.demo-picker-head h2{margin:6px 0 5px}.demo-picker-head p{margin:0;max-width:760px;color:#71859c;font-size:13.5px;line-height:1.65}.demo-picker-wide .demo-picker-close{right:22px;top:20px}.demo-filters{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;padding:12px 34px;border-bottom:1px solid #eef3f9;background:#fbfdff}.demo-filter-row{display:flex;align-items:center;gap:9px}.demo-filter-label{font-size:11px;font-weight:900;color:#93a8bd;letter-spacing:.1em;white-space:nowrap}.demo-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.demo-filter-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 13px;border:1.5px solid #e3edf7;border-radius:999px;background:#fff;color:#6b8299;font-size:12.5px;font-weight:800;line-height:1;cursor:pointer;transition:border-color .15s,background .15s,color .15s,box-shadow .15s}.demo-filter-chip:hover{border-color:#b8d2ea;color:#45698c}.demo-filter-chip em{font-style:normal;font-size:10.5px;font-weight:900;color:#a9bccd}.demo-filter-chip.active{border-color:#7ea8e8;background:#eef4ff;color:#3d64b5;box-shadow:0 3px 10px #7ea8e81f}.demo-filter-chip.active em{color:#6d92d6}.demo-filter-chip.scale-small.active{border-color:#7fc79b;background:#eefaf2;color:#33805a}.demo-filter-chip.scale-medium.active{border-color:#7ea8e8;background:#eef4ff;color:#3d64b5}.demo-filter-chip.scale-large.active{border-color:#e6b077;background:#fff5e9;color:#a9712c}.demo-filter-chip.mode-marble.active{border-color:#69b6d4;background:#eaf8fd;color:#2c7896}.demo-filter-chip.mode-walk.active{border-color:#a292e0;background:#f3efff;color:#6050a4}.demo-filter-count{margin-left:auto;font-size:11.5px;font-weight:800;color:#9fb2c6}.demo-picker-body{overflow:auto;padding:18px 34px 24px}.demo-picker-body .demo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.demo-picker-body .demo-card{min-height:0;padding:13px;border-radius:17px}.demo-picker-body .demo-card-art{height:82px;font-size:42px}.demo-picker-body .demo-card strong{margin-top:10px;font-size:16px}.demo-picker-body .demo-card-description{margin-top:8px}.demo-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.demo-tag{padding:2px 8px;border-radius:999px;background:#eef3f9;color:#7b91a7;font-size:10.5px;font-weight:900;letter-spacing:.01em;white-space:nowrap}.demo-tag.scale-small{background:#eaf8f0;color:#3d8560}.demo-tag.scale-medium{background:#eaf1ff;color:#4a70b8}.demo-tag.scale-large{background:#fdf1e3;color:#a8702f}.demo-tag.mode-walk{background:#f2eeff;color:#6653a8}.demo-tag.mode-marble{background:#e8f7fd;color:#2f7e9d}.demo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:210px;padding:26px;border:2px dashed #dfeaf4;border-radius:18px;background:#fbfdff;text-align:center}.demo-empty>span{font-size:34px}.demo-empty strong{color:#4c6b8a;font-size:15px}.demo-empty p{margin:0;max-width:360px;color:#8499ad;font-size:12.5px;line-height:1.65}@media(max-width:900px){.demo-picker-body .demo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.demo-picker.demo-picker-wide{max-height:calc(100dvh - 16px);border-radius:20px}.demo-picker-head{padding:20px 18px 12px}.demo-picker-head h2{font-size:22px}.demo-filters{padding:10px 18px;gap:8px 14px}.demo-filter-count{display:none}.demo-picker-body{padding:14px 18px 18px}.demo-picker-body .demo-card-grid{grid-template-columns:1fr;gap:10px}.demo-picker-body .demo-card-art{height:64px;font-size:34px}.demo-picker-wide .demo-picker-close{right:12px;top:12px;width:36px;height:36px}}.demo-picker-body{flex:1 1 auto;min-height:0}.work-save,.work-list{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.work-save{border-color:#f3d49c;background:#fff8ec;color:#a3752a}.work-save:hover:not(:disabled){background:#ffefd6;color:#8a5f1c}.work-list{border-color:#cfe0f0;background:#f7fbff;color:#4f7295}.work-list:hover{background:#eaf4ff;color:#3a5f83}.work-dialog-backdrop{position:fixed;inset:0;z-index:12;display:grid;place-items:center;padding:20px;background:#20385666;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.work-dialog{position:relative;width:min(452px,100%);padding:28px 28px 22px;border-radius:22px;background:#fff;box-shadow:0 24px 70px #20385655}.work-dialog h2{margin:7px 0 6px;color:#243e60;font-size:23px}.work-dialog-meta{margin:0 0 16px;color:#7d90a5;font-size:12.5px;line-height:1.6}.work-name-field{display:flex;flex-direction:column;gap:6px}.work-name-field>span{font-size:11.5px;font-weight:900;color:#8ea3b9;letter-spacing:.08em}.work-name-field input{width:100%;padding:12px 14px;border:2px solid #dfeaf5;border-radius:13px;background:#f9fcff;color:#2c4864;font-size:15px;font-weight:800;font-family:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.work-name-field input:focus{border-color:#8fb4e8;background:#fff;box-shadow:0 0 0 3px #8fb4e826}.work-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px}.works-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.works-editing{font-size:12px;font-weight:800;color:#967f56;background:#fff6e4;border:1px solid #f1e0bd;border-radius:999px;padding:5px 11px}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.work-card{display:flex;flex-direction:column;gap:6px;padding:12px;border:2px solid #e6eef6;border-radius:17px;background:#fbfdff;transition:border-color .16s,box-shadow .16s}.work-card.editing{border-color:#8fb4e8;background:#f7fbff;box-shadow:0 6px 18px #8fb4e81f}.work-thumb{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid #e6f0f9;border-radius:12px;background:#f4faff}.work-thumb svg{display:block;width:100%;height:100%}.work-thumb-empty{display:grid;place-items:center;color:#9fb6cb;font-size:12px;font-weight:800}.work-card-name{margin-top:2px;color:#2f4c6b;font-size:14.5px;line-height:1.35;word-break:break-word}.work-card-meta{color:#8299ae;font-size:11.5px;font-weight:700;line-height:1.5}.work-card-time{color:#9db0c3}.work-card-actions{display:flex;gap:6px;margin-top:auto;padding-top:8px}.work-action{flex:1;padding:7px 0;border:1px solid #dfeaf5;border-radius:10px;background:#fff;color:#5b7897;font-size:12px;font-weight:900;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.work-action:hover{background:#f0f7ff;border-color:#c9dcf8}.work-action.primary{background:#eef4ff;border-color:#c9dcf8;color:#4162b5}.work-action.primary:hover{background:#e3edff}.work-action.danger{border-color:#f2dcdc;background:#fff8f8;color:#c86a6a}.work-action.danger:hover{background:#ffecec}.work-rename{display:flex;align-items:center;gap:5px;margin-top:2px}.work-rename input{flex:1;min-width:0;padding:6px 9px;border:2px solid #b9d3ee;border-radius:9px;background:#fff;color:#2f4c6b;font-size:13px;font-weight:800;font-family:inherit;outline:none}.work-rename-ok,.work-rename-cancel{width:28px;height:28px;flex:none;border:1px solid #dfeaf5;border-radius:8px;background:#fff;color:#5b7897;font-size:13px;font-weight:900;cursor:pointer;line-height:1}.work-rename-ok{border-color:#cfe9dc;background:#f4fbf7;color:#3f8f6a}@media(max-width:1240px){.top-actions{gap:10px}.top-actions .save-status{display:none}}@media(max-width:1040px){.top-actions .btn-text{display:none}.work-save,.work-list{padding:9px 10px}}@media(max-width:900px){.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.works-grid{grid-template-columns:1fr}.work-dialog{padding:22px 18px 18px;border-radius:18px}.work-dialog-actions{justify-content:stretch}.work-dialog-actions .quiet-button,.work-dialog-actions .action-button{flex:1}}.action-button.walk-entry{background:#e8f7ef;color:#2f7c55;border-color:#cbe9d9;box-shadow:0 3px 7px #63c08f2e}.action-button.walk-entry:hover:not(:disabled){background:#d7f0e2;color:#256843}.brick-ramp{width:42px;height:31px;clip-path:polygon(0 100%,100% 0,100% 100%);border-radius:0}.brick-ramp:before{display:none}.brick-ramplong{width:58px;height:31px;clip-path:polygon(0 100%,100% 0,100% 100%);border-radius:0}.brick-ramplong:before{display:none}.brick-rampnarrow{width:34px;height:31px;clip-path:polygon(0 100%,100% 0,100% 100%);border-radius:0}.brick-rampnarrow:before{display:none}.action-button.slide-down{background:#e7f4ff;color:#2b6f9e;border-color:#c6e2f7}.action-button.slide-down:hover:not(:disabled){background:#d5eafc;color:#1f5b85}.walk-angle{display:flex;gap:3px;padding:3px;border-radius:12px;background:#eef4fb;border:1px solid #e1ebf6}.walk-angle button{border:0;background:transparent;color:#6b86a3;font-family:inherit;font-size:12.5px;font-weight:800;line-height:1;padding:8px 11px;border-radius:9px;cursor:pointer;transition:background .15s,color .15s}.walk-angle button:hover{background:#e0ebf8;color:#42688c}.walk-angle button.on{background:#668be5;color:#fff;box-shadow:0 2px 6px #6185dc44}@media(max-width:620px){.walk-angle button{padding:7px 9px;font-size:12px}}.walk-pad-button.up-left{grid-column:1;grid-row:1;color:#7ba3bf;background:#fbfdff}.walk-pad-button.up-right{grid-column:3;grid-row:1;color:#7ba3bf;background:#fbfdff}.walk-pad-button.up-left:hover,.walk-pad-button.up-right:hover{background:#eaf6ff;color:#4b7695}.file-input-hidden{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none;border:0}.work-card-actions{flex-wrap:wrap}.work-card-actions .work-action{flex:1 1 42%;min-width:54px}.works-head-actions .quiet-button{display:inline-flex;align-items:center;gap:4px;border-radius:11px;padding:9px 13px;font-size:13px;font-weight:800}@media(max-width:620px){.work-card-actions .work-action{flex:1 1 40%}}.play-actions{padding-left:10px;border-left:1px solid #e7f0f8}@media(max-width:860px){.play-actions{border-left:0;padding-left:0}}.author-entry{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-color:#f0e0c2;background:#fffaf0;color:#9a7c46}.author-entry:hover:not(:disabled){border-color:#e2cb9d;background:#fff3dd;color:#7f6234}.author-backdrop{z-index:14;animation:author-fade .16s ease-out}.author-dialog{animation:author-pop .18s ease-out}@keyframes author-fade{0%{opacity:0}to{opacity:1}}@keyframes author-pop{0%{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:none}}.author-close{right:14px;top:13px;width:36px;height:36px;display:grid;place-items:center;font-size:22px;line-height:1}.author-head{display:flex;align-items:center;gap:13px;padding-right:36px}.author-avatar{flex:none;width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(150deg,#fff1d8,#ffe3bd);font-size:27px;box-shadow:inset 0 -4px #00000010}.author-head h2{margin:3px 0 0;font-size:24px;color:#243e60}.author-lead{margin:14px 0 16px;color:#70869c;font-size:13.5px;line-height:1.7}.author-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.author-list li{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1.5px solid #e9f1f8;border-radius:15px;background:#fafcff}.author-item-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.author-label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#9db0c4}.author-value{font-size:16px;font-weight:900;color:#2b4665;word-break:break-all}.author-link{color:#3d63b8;text-decoration:none;border-bottom:1px dashed #b9cbe8}.author-link:hover{color:#2a4d9e;border-bottom-color:#7e9ada}.author-hint{font-size:11.5px;font-weight:700;line-height:1.45;color:#93a7b9}.author-copy{flex:none;min-width:58px;padding:8px 11px;border:1px solid #d9e6f3;border-radius:10px;background:#fff;color:#5c7a99;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.author-copy:hover{background:#eef6ff;border-color:#b9d5ee;color:#3f6285}.author-copy.copied{border-color:#b6e4d0;background:#e9f9f0;color:#2f9068}.author-foot{margin:14px 0 0;padding-top:11px;border-top:1px solid #eef3f9;color:#9cb0c3;font-size:11.5px;font-weight:700;line-height:1.6}@media(max-width:620px){.author-dialog{padding:20px 16px 16px;border-radius:18px}.author-head h2{font-size:21px}.author-avatar{width:46px;height:46px;border-radius:14px;font-size:23px}.author-list li{padding:9px 10px;gap:9px}.author-value{font-size:15px}.author-copy{min-width:50px;padding:7px 8px;font-size:11px}}@media(max-width:400px){.author-hint{display:none}}.action-button.color-switch .color-switch-dot{flex:none;width:15px;height:15px;border-radius:5px;box-shadow:inset 0 -2px #00000026,0 0 0 2px #ffffffb3}.action-button.primary .key-hint{background:#ffffff30;border-color:#ffffff6b;color:#fff}.action-button.danger .key-hint{background:#fff;border-color:#f2cfcb;color:#c07f7f}
