
body[data-round]{--panel:#faf9fc;--scene:#f5f3f8;--page:#efedf3;--panel-width:320px;--round:24px;background:var(--page)}
body[data-round] .rail,body[data-round] #save-project,body[data-round] .inspector>[hidden]{display:none!important}
body[data-round] .topbar{height:64px;padding:0 22px;background:transparent;border:0}
body[data-round] .workspace{grid-template-columns:minmax(0,1fr) var(--panel-width);gap:14px;height:calc(100dvh - 64px);min-height:0;padding:0 14px 14px}
body[data-round] .workspace>.stage{grid-column:1;grid-row:1;background:var(--scene);border-radius:var(--round);border:1px solid #e6e0ed66}
body[data-round] .workspace>.inspector{grid-column:2;grid-row:1;border:1px solid #e4dfeb;background:var(--panel);border-radius:var(--round);min-height:0;position:relative;overflow:visible;box-shadow:0 6px 22px #4e385805}
body[data-round] .inspector-header{padding:17px 20px 13px}
body[data-round] .inspector-header h2{font-size:15px}
body[data-round] .tabs{margin:0 20px}
body[data-round] .controls{padding:20px 20px 10px;border-radius:0 0 var(--round) var(--round)}
body[data-round] .stage-heading{left:24px;right:24px;top:22px}
body[data-round] .stage-heading h1{font-size:28px}
body[data-round] .mini-identity-card{left:24px;top:80px;width:122px;height:77px;padding:9px}
body[data-round] .mini-id-body{gap:5px;margin-top:8px}
body[data-round] .stage-heading .character-save-bar{display:flex;flex-direction:row;gap:8px;top:0;align-items:center}
body[data-round] #export-button{background:linear-gradient(#fff,#faf9fc);color:#514b5a;border:1px solid #e5e0eb;box-shadow:inset 0 1px white,0 2px 2px #30203f0c;font-size:12px;padding:10px 14px;gap:7px}
body[data-round] #export-button svg{width:15px;height:15px}
body[data-round] .toast{display:none}
.round-account{width:34px;height:34px;border:2px solid white;border-radius:50%;background:#e5dcf1;color:#937caa;margin-left:9px;box-shadow:0 0 0 1px #dbd2e6;font-size:12px;cursor:pointer}
.round-switch{display:flex;gap:4px;padding:4px;margin:14px 14px 0;border-radius:15px;background:#eeebf3;flex:none}
.round-switch button{flex:1;border-radius:11px;padding:10px 5px;font-size:11px;color:#92849f;border:1px solid transparent;white-space:nowrap}
.round-switch button[aria-pressed=true]{background:white;color:#7c60a4;border-color:#e4dceb;box-shadow:0 2px 3px #4229530b}
.round-collection{padding:20px;color:#877794;font-size:12px;overflow:auto;flex:1}.round-collection h2{color:#38303f;font-size:20px;margin:7px 0}.round-collection p{line-height:1.7}.round-collection button{margin-top:15px;width:100%;padding:12px;border:1px solid #e3dbe9;border-radius:22px;background:white;color:#806a99;font-size:12px}.round-collection .collection-mark{font-size:34px;color:#bcacd0;display:block;margin:20px 0 13px}
.round-account-note{position:fixed;right:20px;top:57px;z-index:30;border:1px solid #e3dce9;background:white;border-radius:13px;padding:17px;font-size:11px;color:#8d7a9c;box-shadow:0 8px 24px #30203f15}
body[data-round=soft]{--panel:#f8f7fb;--scene:#f8f7fb}
body[data-round=cloud]{--page:#f6f5f9;--scene:#f6f5f9;--panel:#fff;--round:27px}
body[data-round=cloud] .stage{border:0}.cloud-placeholder{display:none}
body[data-round=cloud] .workspace>.inspector{margin-top:50px}
body[data-round=cloud] .round-switch{position:absolute;left:0;right:0;top:-51px;margin:0;background:#ebe7f1;padding:4px;border-radius:24px}
body[data-round=cloud] .round-switch button{border-radius:20px}
body[data-round=pearl]{--page:#eae8ef;--panel:#f2f1f6;--scene:#f2f1f6;--round:20px}
body[data-round=pearl] .round-switch{background:transparent;border-bottom:1px solid #dfd9e8;padding:0 0 12px;border-radius:0;margin:15px 17px 0;gap:8px}
body[data-round=pearl] .round-switch button{border-radius:24px}
body[data-round=lilac]{--page:#f3f0f7;--scene:#eee9f6;--panel:#fdfcfe;--round:28px}
body[data-round=lilac] .round-switch{background:#f2edf8;border-radius:24px}
body[data-round=lilac] .round-switch button{border-radius:20px}
body[data-round=lilac] .round-switch button[aria-pressed=true]{background:linear-gradient(#9f80f6,#7758ef);border-color:#8c6be2;color:white;box-shadow:inset 0 1px #ffffff66,0 2px 4px #7052b42b}
body[data-round=notebook]{--page:#f7f5fa;--scene:#f7f5fa;--panel:#fbfafd;--round:16px}
body[data-round=notebook] .workspace>.stage{border:0}
body[data-round=notebook] .round-switch{margin:0;padding:10px;border-radius:16px 16px 0 0;background:#eae4f2;border-bottom:1px solid #e0d7eb;gap:6px}
body[data-round=notebook] .round-switch button{border-radius:9px}
body[data-round=compact]{--panel-width:285px;--round:19px;--scene:#f5f3f9;--panel:#fcfbfe}
body[data-round=compact] .round-switch{margin:10px 10px 0;border-radius:12px;padding:3px}
body[data-round=compact] .round-switch button{font-size:10px;padding:8px 4px;border-radius:9px}
body[data-round=compact] .controls{padding:14px 16px}.body-placeholder{display:none}
body[data-round=compact] .control-section{margin-bottom:20px}
body[data-round=compact] .inspector-header{padding:15px 16px 10px}
body[data-round=wide]{--panel-width:365px;--panel:#f8f7fb;--scene:#f8f7fb;--round:30px}
body[data-round=wide] .round-switch{margin:18px 20px 0;background:transparent;gap:8px;padding:0}
body[data-round=wide] .round-switch button{padding:13px 6px;border:1px solid #e2dbe9;border-radius:24px;background:#f0edf5}
body[data-round=wide] .round-switch button[aria-pressed=true]{background:white;box-shadow:0 3px 5px #4531510a}
body[data-round=wide] .controls{padding:23px 25px}
body[data-round=sticker]{--page:#f3f0f7;--scene:#f8f5fb;--panel:#fcfafe;--round:26px}
body[data-round=sticker] .round-switch{background:transparent;gap:10px;margin:14px 15px 0;padding:4px}
body[data-round=sticker] .round-switch button{background:#ece5f5;border:3px solid white;box-shadow:0 0 0 1px #ded4e9,0 3px 3px #422b5410;border-radius:12px;transform:rotate(2deg);padding:8px 4px}
body[data-round=sticker] .round-switch button[aria-pressed=true]{background:#d9caf0;color:#70548f;transform:rotate(-3deg)}
body[data-round=sticker] .mini-identity-card{box-shadow:0 0 0 3px white,0 1px 0 4px #ddd4e8,0 8px 14px #49305b12;transform:rotate(-7deg)}
body[data-round=dock]{--page:#f4f2f8;--scene:#f4f2f8;--panel:#fcfbfe;--round:25px}
body[data-round=dock] .workspace>.stage{border:0}
body[data-round=dock] .workspace>.inspector{margin-top:59px}
body[data-round=dock] .round-switch{position:absolute;top:-59px;left:12px;right:12px;margin:0;background:#fff;border:1px solid #e3dcea;box-shadow:0 3px 7px #49365208;border-radius:27px;padding:5px}
body[data-round=dock] .round-switch button{border-radius:22px}
body[data-round=dock] .round-switch button[aria-pressed=true]{background:#eee6f9;border-color:#e7dcf2;box-shadow:none}
body[data-round=seamless]{--page:#f4f2f8;--scene:#f4f2f8;--panel:#f4f2f8;--round:0px}
body[data-round=seamless] .workspace{gap:0;padding-bottom:0}
body[data-round=seamless] .workspace>.stage{border:0}
body[data-round=seamless] .workspace>.inspector{border:0;border-left:1px solid #e0d9e8;box-shadow:none}
body[data-round=seamless] .round-switch{background:#eae5f1;border-radius:24px;margin:12px 20px 0}
body[data-round=seamless] .round-switch button{border-radius:20px}
@media(max-width:900px) and (min-width:761px){body[data-round]{--panel-width:280px}body[data-round] .stage-heading h1{font-size:23px}body[data-round] .character-save-bar{top:42px!important}body[data-round] .mini-identity-card{width:108px;height:72px}}
@media(max-width:760px){body[data-round] .topbar{height:60px;padding:0 12px}body[data-round] .workspace{display:flex;height:auto;padding:0 10px 10px;gap:12px}body[data-round] .stage{min-height:550px}body[data-round] .stage-heading{left:auto;right:15px;top:22px}body[data-round] .stage-heading h1{font-size:23px}body[data-round] .stage-heading .character-save-bar{position:static;margin-top:10px;gap:5px}body[data-round] #export-button{font-size:0;width:33px;height:33px;padding:0;justify-content:center}body[data-round] .mini-identity-card{left:13px;top:26px;width:103px;height:69px}body[data-round] .round-switch{position:static;margin:12px;padding:4px}body[data-round] .workspace>.inspector{margin-top:0}body[data-round] .brand-wordmark{width:110px}}

body[data-round=compact]{--page:#f5f3f8;--scene:transparent;--panel:#fcfbfe;--panel-width:285px}
body[data-round=compact] .workspace>.stage{border:0;border-radius:0;background:transparent}
body[data-round=compact] .header-actions{background:#ffffffc9;border:1px solid #e6e0ed;border-radius:28px;padding:6px 9px;gap:8px}
body[data-round=compact] .topbar{height:70px}
body[data-round=compact] .workspace{height:calc(100dvh - 70px)}
body[data-round=compact] .workspace[data-side=left]{grid-template-columns:var(--panel-width) minmax(0,1fr)}
body[data-round=compact] .workspace[data-side=left]>.inspector{grid-column:1}
body[data-round=compact] .workspace[data-side=left]>.stage{grid-column:2}
.dock-handle{height:27px;margin:0 10px;display:flex;align-items:center;justify-content:center;gap:7px;color:#a79bb4;font-size:9px;cursor:grab;touch-action:none;user-select:none;flex:none;border-radius:12px 12px 0 0}
.dock-handle svg{width:24px;height:16px;fill:currentColor;stroke:none}
.dock-handle:hover,.dock-handle:focus-visible{background:transparent;color:#816a9b;outline:none}
body[data-round=compact] .workspace>.inspector:has(.dock-handle:hover),body[data-round=compact] .workspace>.inspector:has(.dock-handle:focus-visible){border-color:#b59acd;box-shadow:0 0 0 1px #b59acd55}
body[data-round=compact] .workspace>.inspector.dock-floating{z-index:50;border-color:#b59acd;box-shadow:0 22px 60px #44304f30,0 5px 14px #44304f15;will-change:transform;pointer-events:auto}
.dock-handle:active{cursor:grabbing}
body[data-round=compact] .round-switch{margin-top:0}
.dock-target{position:fixed;top:82px;bottom:16px;width:285px;border:2px dashed #b69bd7;background:#b49bd815;border-radius:20px;pointer-events:none;z-index:20;display:grid;place-items:center;color:#9375b2;font-size:12px;backdrop-filter:blur(2px)}
.dock-target[hidden]{display:none}.dock-target[data-side=left]{left:14px}.dock-target[data-side=right]{right:14px}
.dock-target span{background:#fff;padding:11px 16px;border-radius:20px;box-shadow:0 3px 12px #61427d18}
body.dock-dragging,body.dock-dragging *{cursor:grabbing!important}
@media(max-width:760px){.dock-handle{display:none}body[data-round=compact] .workspace{height:auto}.dock-target{display:none}}

body[data-dock-name=only] .stage-heading h1,body[data-dock-name=only] #rename-character{font-family:"DM Sans",sans-serif;font-weight:500}
/* Keep the identity beside the monster, halfway down the preview. */
body[data-dock-name=only] .stage-heading{top:calc(50% - 66px)}
body[data-dock-name=only] .mini-identity-card{top:calc(50% - 8px)}
body[data-dock-name=only] .stage>.character-save-bar{position:absolute;top:22px;right:24px;display:flex;align-items:center;gap:8px;margin:0;z-index:4}
@media(max-width:760px){body[data-dock-name=only] .stage-heading{left:15px;right:auto}body[data-dock-name=only] .stage>.character-save-bar{top:22px;right:15px}}
body[data-dock-name=only] .stage>.character-save-bar #character-save-state,body[data-dock-name=only] .stage>.character-save-bar .project-label{display:none}

body[data-round] #save-project{display:inline-flex!important}
/* One rounded header, aligned with the workspace's outer gutters. */
body[data-round=compact] .topbar{height:58px;margin:14px 14px 12px;padding:0 18px;background:var(--panel);border:1px solid #e4dfeb;border-radius:19px}
body[data-round=compact] .header-actions{background:transparent;border:0;box-shadow:none;padding:0}
body[data-round=compact] .workspace{height:calc(100dvh - 84px)}
body[data-dock-name=only] .stage-heading{top:22px}
body[data-dock-name=only] .mini-identity-card{top:80px}
@media(max-width:760px){body[data-round=compact] .topbar{margin:8px 8px 10px;height:54px!important;padding:0 10px!important;border-radius:17px}body[data-round=compact] .workspace{height:calc(100dvh - 72px)!important}body[data-dock-name=only] .mini-identity-card{top:63px!important;bottom:auto!important}body[data-round=compact] #viewport{top:100px!important}}
