.studio-editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1.1fr);gap:24px;align-items:start}
.event-world-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.event-world-actions .btn{min-height:44px;font-size:12px}
html[data-workspace] #invite .card{width:min(410px,100%);padding:24px 20px}
html[data-workspace=guest] #invite,html[data-workspace=preview] #invite{position:fixed;inset:0;z-index:38;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
html[data-workspace] #invite .invitation-art{width:112px;height:70px}
html[data-workspace] #invite .btn,html[data-workspace] #invite summary{min-height:44px;font-size:13px}
html[data-workspace] #invite .when{line-height:1.7;overflow-wrap:anywhere}
.invitation-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px}.invitation-utilities .btn{padding:10px 6px;text-decoration:none}
.invitation-when,.invitation-where{display:block;overflow-wrap:anywhere}
html[data-workspace] #inviteTitle:focus{outline:none}
html[data-workspace] #invite .when{font-size:16px;line-height:1.65;margin:16px 0;text-wrap:pretty}
html[data-workspace] #invite .invitation-where{margin-top:6px;color:#51415c}
html[data-workspace] #invite .invitation-action-title{font:600 15px/1.5 system-ui,sans-serif;margin:22px 0 10px;letter-spacing:0;color:#4e2c40}
html[data-workspace] #invite #inviteResponses .btn{font-size:15px;min-height:48px}
html[data-workspace] #invite .invitation-note{font-size:13px;line-height:1.7}
html[data-workspace] #invite input{font-size:16px}
@media(max-width:600px){html[data-workspace] #invite .invitation-art{width:88px;height:55px}html[data-workspace] #invite .invitation-utilities .btn{font-size:13px;min-height:46px}}
#invite .invitation-note{font-size:12px;color:#5E5270;line-height:1.7;margin:12px 0}
.invitation-avatar{text-align:left;border-top:1px solid var(--inv-line,#E3C98F);margin-top:12px;padding-top:6px}.invitation-avatar summary{display:flex;align-items:center;cursor:pointer;color:#5E5270;font-weight:700}.invitation-avatar summary::before{content:'＋';margin-right:8px}.invitation-avatar[open] summary::before{content:'−'}.invitation-avatar small{display:block;line-height:1.6;margin:8px 0}
html[data-workspace] #invite input{font-size:16px;min-height:44px}html[data-workspace] #inviteDismiss{margin-top:8px}
.event-world-dialog{display:grid;gap:16px}.event-world-dialog form{display:grid;gap:14px}.event-world-dialog label{display:grid;gap:7px;font-size:13px}.event-world-dialog input,.event-world-dialog textarea,.event-world-dialog select{width:100%;min-width:0;min-height:44px;background:var(--panel2);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit}.event-world-dialog .event-world-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.7}.event-world-consent input{width:20px;min-height:20px;flex:none;margin-top:3px}.event-world-dialog article{padding:14px;border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}.event-world-dialog article p,.event-world-body{white-space:pre-wrap}.event-world-dialog .btn{min-height:44px}.event-world-dialog>article>.btn{margin:8px 6px 0 0}.event-world-notice{font-size:12px;line-height:1.75;color:var(--muted);margin:0}.event-world-photo{display:block;width:100%;max-height:55svh;object-fit:contain;border-radius:12px}.event-world-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}.event-world-grid img{width:100%;height:130px;object-fit:cover;border-radius:8px}.event-world-grid article{display:grid;gap:10px}
.world-edit-target{position:absolute;z-index:4;transform:translate(-50%,-50%);width:44px;height:44px;border:2px solid #a32656;border-radius:50%;color:#a32656;background:#fff8fb;font-size:25px;box-shadow:0 2px 12px #271e3633;cursor:pointer}.world-edit-target:focus-visible{outline:3px solid #e5ae34;outline-offset:4px}
html[data-workspace] .room small,html[data-workspace] #journalExport,html[data-workspace] #rr-memory-export,html[data-workspace] #rr-memory-import,html[data-workspace] #upl{display:none!important}
.studio-editor-body>form{grid-column:1;grid-row:1;min-width:0}
.studio-editor-body .editor-save{position:static}
.studio-world-preview{grid-column:2;grid-row:1;min-width:0;position:sticky;top:76px;background:var(--panel,#fffdf8);border:1px solid var(--line,#e4d7dc);border-radius:16px;overflow:hidden;z-index:2}
.studio-preview-heading{padding:16px;display:grid;gap:10px}.studio-preview-heading .eyebrow{font-size:9px!important;margin:0}.studio-preview-heading a{font-size:12px}
.studio-world-frame{width:100%;height:540px;display:block;border:0;border-block:1px solid var(--line,#e4d7dc);background:#f5ecf1}
.studio-world-preview>p{padding:0 16px;font-size:11px;line-height:1.7}
html[data-embedded-preview=true] .top,html[data-embedded-preview=true] .panel-col,html[data-embedded-preview=true] .stage-col>:not(#stage),html[data-embedded-preview=true] #worldDock,html[data-embedded-preview=true] #worldSave,html[data-embedded-preview=true] #editBtn,html[data-embedded-preview=true] #avaBtn,html[data-embedded-preview=true] #venueBtn,html[data-embedded-preview=true] .rightcol,html[data-embedded-preview=true] .bar{display:none!important}
html[data-embedded-preview=true] .layout{display:block!important;padding:0!important;margin:0!important;max-width:none!important;height:100dvh}
html[data-embedded-preview=true] .stage-col{height:100%;padding:0}
html[data-embedded-preview=true] #stage{height:100dvh!important;min-height:0!important;max-height:none!important;border:0;border-radius:0}
html[data-embedded-preview=true] .hud-top{padding:10px}
html[data-embedded-preview=true] .evtag{max-width:100%}
html[data-embedded-preview=true] .camctl{bottom:14px}
.workspace-editor-shell{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}
.ambience-picker{min-width:0;padding:0;border:0;margin:18px 0}.ambience-picker legend{font-size:14px;font-weight:700;padding:0}.ambience-description{font-size:12px;line-height:1.7;color:var(--muted)}
.ambience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ambience-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--panel);text-align:left;cursor:pointer;font:inherit}.ambience-card svg{display:block;width:100%;height:auto;border-radius:8px}.ambience-card strong{font-size:12px}.ambience-card>span{font-size:11px;line-height:1.6;color:var(--muted)}.ambience-card[aria-pressed=true]{border-color:#A32656;box-shadow:0 0 0 2px #A32656 inset}.ambience-card:focus-visible,.workspace-guide-step:focus-visible{outline:3px solid #A32656;outline-offset:3px}
.workspace-help{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff42;border-radius:50%;background:#21172d;color:#fff;font-size:19px;cursor:pointer}html[data-workspace=edit] .evtag{position:relative;padding-right:56px;min-height:52px}
.workspace-guide{display:grid;gap:12px}.workspace-guide-step{display:grid;grid-template-columns:40px 1fr;gap:5px 12px;align-items:center;width:100%;min-height:76px;padding:12px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--panel);text-align:left;font:inherit;cursor:pointer}.workspace-guide-step>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--rose-soft,#fae8ee);color:#8B264D}.workspace-guide-step>small{grid-column:2;color:var(--muted);line-height:1.6}
.edit-selection{min-width:0}.editbar #editSelection{min-width:0;max-width:200px;min-height:44px;margin-top:4px;border:1px solid #ffffff52;border-radius:8px;background:#21172d;color:#fff;padding:6px;font:12px var(--font,Arial,sans-serif)}
.edittray .addc{display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:flex-start;gap:4px;box-sizing:border-box;width:150px;white-space:normal;line-height:1.4}
.edittray .addc-title{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
.edittray .addc-title .rr-icon{flex:none}
.edittray .addc small{flex:0 0 auto;display:block;min-width:0;white-space:normal;overflow-wrap:anywhere}
.editor-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#e0d7ee}
.editor-options button{min-height:44px;border:1px solid #ffffff52;border-radius:10px;padding:6px 10px;background:#21172d;color:#fff;font:600 12px var(--sans)}
.editor-options button[aria-pressed=false]{background:#46314e}
.editor-options small{font-size:10px;line-height:1.5}
.edit-validation{max-height:120px;overflow:auto;border:1px solid #ff9ab1;border-radius:10px;background:#4d1c30;padding:8px;color:#fff;font-size:12px}
.edit-validation button{display:block;width:100%;padding:8px;border:0;background:transparent;color:#fff;text-align:left;font:inherit;text-decoration:underline;min-height:44px}
.character-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.character-fields label{display:grid;gap:5px;min-width:0;font-size:13px}
.character-fields input,.character-fields select{width:100%;box-sizing:border-box;min-height:44px;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--ink);padding:8px;font:inherit}
.character-fields input[type=color]{padding:4px}
.character-preview{display:block;width:100px;height:120px;margin:auto}
.workspace-details-layer,.workspace-mobile-dock{display:contents}.workspace-details-scrim,.workspace-details-close,.workspace-mobile-dock>#workspaceDetails,.workspace-mobile-dock>#workspaceArrange,.workspace-mobile-dock>#workspaceAppearance,.workspace-camera,.workspace-gesture-hint{display:none}
.workspace-inspector-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.workspace-inspector-heading h2{margin:0}
.workspace-tools,.workspace-history{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.workspace-history .btn{font-size:20px!important;min-width:44px;padding:4px!important}.workspace-back-arrow{display:none}
.workspace-inspector{padding:20px;border:1px solid var(--line);background:var(--panel);border-radius:18px;min-width:0;max-height:78dvh;overflow:auto;scrollbar-width:thin}
.workspace-inspector h2{font:26px var(--display,Georgia,serif);margin:0 0 8px}.workspace-inspector p{font-size:12px;line-height:1.7;color:var(--muted)}
.workspace-inspector label{display:grid;gap:7px;font-size:12px;font-weight:700;margin:14px 0}.workspace-inspector input,.workspace-inspector select{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--ink);min-height:44px;padding:10px;font:inherit}
.workspace-inspector .btn{min-height:44px;font-size:12px}.workspace-inspector .inspector-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:14px}.workspace-inspector .inspector-actions>*{flex:1}
.workspace-inspector .inspector-error{color:#ad234c}.workspace-inspector .inspector-date{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workspace-inspector .inspector-invite{padding:16px;border-radius:14px;border:1px solid var(--line);background:var(--panel2);margin-top:18px}.inspector-invite h3{margin:0 0 8px;font:22px var(--display,Georgia,serif)}
html[data-workspace=edit] .layout{display:block;max-width:1860px;margin:auto;padding:16px}
html[data-workspace=edit] .panel-col{display:none}
html[data-workspace=edit] .workspace-editor-shell #stage{height:78dvh;min-height:480px;max-height:850px}
html[data-workspace=edit] .workspace-note{max-width:none}
html[data-workspace=edit] .rightcol,html[data-workspace=edit] .bar,html[data-workspace=edit] #ctxBtn,html[data-workspace=edit] #acts{display:none!important}
html[data-workspace=edit] .world-dock{display:flex;width:auto;left:auto;right:14px;bottom:14px;transform:none;padding:5px;border-radius:16px}
html[data-workspace=edit] .world-dock button:not([data-world-action=menu]){display:none}
html[data-workspace=edit] .world-dock button{padding:7px 13px}
html[data-workspace=edit] .camctl{bottom:16px;right:104px}
html[data-workspace=edit] .workspace-bar .btn{white-space:nowrap;font-size:11px;padding:8px 10px}
@media(min-width:761px){
 html[data-workspace=edit] body{height:100dvh;display:flex;flex-direction:column}
 html[data-workspace=edit] .top{flex:none}
 html[data-workspace=edit] .layout{flex:1;min-height:0;width:100%;box-sizing:border-box;margin:0 auto}
 html[data-workspace=edit] .stage-col{height:100%;min-height:0;display:flex;flex-direction:column}
 html[data-workspace=edit] .workspace-bar,html[data-workspace=edit] .event-world-actions,html[data-workspace=edit] .workspace-note{flex:none}
 html[data-workspace=edit] .workspace-editor-shell{flex:1;min-height:320px;align-items:stretch}
 html[data-workspace=edit] .workspace-editor-shell #stage{height:100%;min-height:0;max-height:none}
 html[data-workspace=edit] .workspace-inspector{height:100%;max-height:100%;box-sizing:border-box}
}
@media(max-width:1100px){.studio-editor-body{grid-template-columns:1fr}.studio-world-preview{grid-column:1;grid-row:1;position:static}.studio-editor-body>form{grid-column:1;grid-row:2;max-height:50svh;overflow:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}.studio-world-frame{height:clamp(220px,38svh,360px)}.studio-world-preview>p{display:none}.studio-preview-heading{padding:10px 14px;grid-template-columns:1fr auto;align-items:center;gap:8px}.studio-preview-heading a{font-size:11px;padding:9px 10px}.workspace-editor-shell{grid-template-columns:minmax(0,1fr) 280px;gap:12px}}
@media(max-width:760px){.studio-preview-heading{grid-template-columns:1fr}.studio-preview-heading .eyebrow{display:none}.studio-world-preview{top:54px}.studio-world-frame{height:clamp(230px,36svh,320px)}}
@media(max-width:760px),(max-width:1100px) and (max-height:500px){
 html[data-workspace=edit]{padding:0;overflow:hidden;overscroll-behavior:none}
 html[data-workspace=edit] body{height:100dvh;overflow:hidden;overscroll-behavior:none}
 html[data-workspace=edit] .top{display:none}
 html[data-workspace=edit] .layout{max-width:none;height:100dvh;padding:0;margin:0}
 html[data-workspace=edit] .stage-col{height:100%;display:flex;flex-direction:column;min-height:0}
 html[data-workspace=edit] .workspace-bar{flex:none;flex-wrap:nowrap;gap:8px;margin:0;padding:calc(6px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) 6px max(10px,env(safe-area-inset-left,0px));border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--ink);min-height:56px;box-sizing:border-box}
 html[data-workspace=edit] .workspace-bar.warning{background:var(--rose-soft,#fae8ee)}
 html[data-workspace=edit] #workspaceStatus{order:1;flex:1;min-width:0;font-size:11px;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 html[data-workspace=edit] .workspace-bar .btn{flex:none;min-width:44px;min-height:44px;font-size:12px}
 html[data-workspace=edit] .workspace-back{order:0;padding:0;display:grid;place-items:center;border-radius:50%;text-decoration:none}.workspace-back-arrow{display:inline;font-size:22px}.workspace-back-label{display:none}
 html[data-workspace=edit] #workspaceSave{order:2;padding:8px 12px}
 html[data-workspace=edit] .workspace-editor-shell{display:block;flex:1;min-height:0;position:relative}
 html[data-workspace=edit] .workspace-editor-shell #stage{position:relative;top:auto;width:100%;height:100%;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}
 html[data-workspace=edit] .hud-top{position:absolute;display:block;width:auto;margin:0;top:12px;left:12px;right:12px}
 html[data-workspace=edit] .hudcol{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;max-width:none;width:100%}
 html[data-workspace=edit] .evtag{max-width:100%;width:100%;box-sizing:border-box;padding:10px 12px;background:rgba(24,17,38,.78);border:1px solid #ffffff24;border-radius:14px}
 html[data-workspace=edit] .evtag b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}
 html[data-workspace=edit] .evtag small{display:none}
 html[data-workspace=edit] .hudpills,html[data-workspace=edit] #worldSave,html[data-workspace=edit] #mc{display:none!important}
 html[data-workspace=edit] .hud-top #rooms{display:flex!important;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;width:100%;max-width:100%;padding:0 0 4px}
 html[data-workspace=edit] #rooms .room{flex:none;white-space:nowrap;min-height:44px;max-width:200px;font-size:12px;padding:8px 12px;background:#21172ded;color:#fff;border:1px solid #ffffff42;border-radius:24px}
 html[data-workspace=edit] #rooms .room[aria-pressed=true]{background:#fff5fa;color:#7d2146;border-color:#f0a3c3;box-shadow:0 0 0 1px #f0a3c3 inset}
 html[data-workspace=edit] #rooms .room .room-label{overflow:hidden;text-overflow:ellipsis}
 html[data-workspace=edit] .workspace-mobile-dock{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:5px;position:absolute;z-index:5;bottom:max(10px,env(safe-area-inset-bottom,0px));left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));padding:7px;background:#21172ded;border:1px solid #ffffff30;border-radius:20px;box-shadow:0 8px 28px #0003}
 html[data-workspace=edit] .workspace-mobile-dock>#workspaceDetails,html[data-workspace=edit] .workspace-mobile-dock>#workspaceArrange,html[data-workspace=edit] .workspace-mobile-dock>#workspaceAppearance{display:block}
 html[data-workspace=edit] .workspace-mobile-dock .btn{min-width:0;min-height:48px;padding:8px 4px;font-size:12px;border-radius:13px}
 html[data-workspace=edit] .world-dock{position:static;display:contents!important;padding:0;border:0;background:none;box-shadow:none;transform:none}
 html[data-workspace=edit] .world-dock button[data-world-action=menu]{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:48px;padding:8px;color:#fff;background:#ffffff12;border-radius:13px;font-size:12px}
 html[data-workspace=edit] .world-dock button[data-world-action=menu] .rr-icon{width:18px;height:18px}
 html[data-workspace=edit] .workspace-camera{display:flex;position:absolute;z-index:5;left:12px;bottom:calc(92px + env(safe-area-inset-bottom,0px));gap:2px;background:#21172ded;border:1px solid #ffffff30;border-radius:16px;padding:3px}
 html[data-workspace=edit] .workspace-camera button{width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:#fff;font-size:22px}
 html[data-workspace=edit] .workspace-history{position:absolute;z-index:5;right:12px;bottom:calc(92px + env(safe-area-inset-bottom,0px));flex-wrap:nowrap;gap:2px;padding:3px;background:#21172ded;border:1px solid #ffffff30;border-radius:16px}
 html[data-workspace=edit] .workspace-history .btn{color:#fff;background:transparent;border:0;border-radius:12px;height:44px}.workspace-history .btn:disabled{opacity:.4}
 html[data-workspace=edit] .workspace-camera button:focus-visible,html[data-workspace=edit] .workspace-history button:focus-visible{outline:2px solid #ffc2d9;outline-offset:-3px}
 html[data-workspace=edit] .camctl{display:none!important}
 html[data-workspace=edit] .workspace-orbit .camctl{position:static;display:flex!important;flex-direction:row;transform:none;gap:10px;margin-block:16px}
 html[data-workspace=edit] .workspace-orbit .camctl button{width:44px;height:44px}
 html[data-workspace=edit] .workspace-gesture-hint{display:block;position:absolute;left:0;right:0;bottom:calc(148px + env(safe-area-inset-bottom,0px));text-align:center;font-size:10px;color:#fff;background:#21172db3;width:max-content;max-width:90%;margin:0 auto;padding:5px 10px;border-radius:20px;pointer-events:none}
 html[data-workspace=edit] .workspace-details-layer{display:none;position:fixed;left:0;right:0;top:var(--workspace-viewport-top,0px);height:var(--workspace-viewport-height,100dvh);z-index:38}
 html[data-workspace=edit][data-details=open] .workspace-details-layer{display:block}
 .workspace-details-scrim{display:block;position:absolute;inset:0;width:100%;border:0;background:#100a2199;backdrop-filter:blur(3px)}
 html[data-workspace=edit] .workspace-inspector{position:absolute;bottom:0;left:0;right:0;max-height:min(85dvh,calc(var(--workspace-viewport-height,100dvh) - 16px));box-sizing:border-box;overscroll-behavior:contain;padding:0 max(20px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));border-radius:24px 24px 0 0;box-shadow:0 -12px 60px #0003;border:1px solid var(--line);scroll-padding-block:80px 20px}
 html[data-workspace=edit] #sheet{max-height:calc(var(--workspace-viewport-height,100dvh) - 12px);bottom:max(0px,calc(100dvh - var(--workspace-viewport-height,100dvh) - var(--workspace-viewport-top,0px)))}
 .workspace-inspector-heading{position:sticky;top:0;padding:18px 0 12px;background:var(--panel);z-index:2}.workspace-inspector-heading h2{font-size:25px}
 .workspace-details-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:50%;background:var(--panel2);color:var(--ink);font-size:26px}
 .workspace-inspector input,.workspace-inspector select,.event-world-dialog input,.event-world-dialog textarea,.event-world-dialog select{font-size:16px}
 .workspace-inspector .event-world-actions{border-top:1px solid var(--line);padding-top:20px;gap:10px}.workspace-inspector .event-world-actions>*{flex:1 1 45%}
 .workspace-inspector .workspace-note{padding:0}.workspace-inspector .workspace-tools{border-top:1px solid var(--line);padding-top:16px}.workspace-inspector .workspace-tools>*{flex:1 1 45%;font-size:12px;min-height:44px}
 html[data-workspace=edit] .stage.editing .workspace-mobile-dock,html[data-workspace=edit] .stage.editing .workspace-gesture-hint{display:none}
 html[data-workspace=edit] .stage.editing .workspace-camera,html[data-workspace=edit] .stage.editing .workspace-history{bottom:calc(var(--workspace-tray-height,140px) + 18px + env(safe-area-inset-bottom,0px))}
 html[data-workspace=edit] .stage.editing[data-prop-selected=true] .workspace-camera,html[data-workspace=edit] .stage.editing[data-prop-selected=true] .workspace-history{display:none}
 html[data-workspace=edit] .propbar{left:12px;right:12px;top:auto;bottom:calc(var(--workspace-tray-height,140px) + 18px + env(safe-area-inset-bottom,0px));transform:none!important;display:grid;grid-template-columns:44px 44px minmax(0,1fr) minmax(0,1fr);gap:4px;padding:8px;background:#fffaf5;color:#271e36}
 html[data-workspace=edit] .propbar[hidden]{display:none}html[data-workspace=edit] .propbar b{grid-column:1/-1;font-size:12px;padding:0 3px 4px}html[data-workspace=edit] .propbar button{min-width:0;min-height:44px;padding:4px;font-size:12px;color:#271e36}
 html[data-workspace=edit] .editbar{left:10px;right:10px;top:10px;gap:8px;padding:8px;display:grid;grid-template-columns:minmax(0,1fr) auto}
 html[data-workspace=edit] #editRooms{grid-column:1/-1;grid-row:2;display:flex;overflow-x:auto;flex-wrap:nowrap;max-width:100%;scrollbar-width:none}
 html[data-workspace=edit] #editRooms .room{flex:none;min-width:44px;min-height:44px}
 html[data-workspace=edit] .editbar .et b,html[data-workspace=edit] .editbar .et small{display:none}html[data-workspace=edit] .editbar #editSelection{margin:0;width:100%;max-width:none;font-size:16px}
 html[data-workspace=edit] #editDone{grid-column:2;grid-row:1;min-height:44px}
 html[data-workspace=edit] .edittray{bottom:max(8px,env(safe-area-inset-bottom,0px))}
 html[data-workspace=edit] .addc,html[data-workspace=edit] .propbar button{min-height:44px}
}
@media(max-width:1100px) and (max-height:500px) and (orientation:landscape){
 html[data-workspace=edit] .hud-top{right:260px}.workspace-gesture-hint{display:none!important}
 html[data-workspace=edit] .workspace-mobile-dock{left:auto;width:240px;bottom:8px;right:8px}
 html[data-workspace=edit] .workspace-history{bottom:84px;right:8px}
 html[data-workspace=edit] .workspace-camera{bottom:8px;left:8px}
 html[data-workspace=edit] .stage.editing .workspace-camera,html[data-workspace=edit] .stage.editing .workspace-history{bottom:8px}
 html[data-workspace=edit] .stage.editing .editbar{right:190px}html[data-workspace=edit] .stage.editing .edittray{left:auto;right:8px;top:8px;bottom:8px;width:170px;overflow:auto}html[data-workspace=edit] .stage.editing .edittray .chipsrow{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible}html[data-workspace=edit] .stage.editing .edittray .addc{min-width:0;width:100%}html[data-workspace=edit] .stage.editing .workspace-history{right:198px}html[data-workspace=edit] .stage.editing .propbar{right:190px;bottom:8px}.workspace-inspector{max-width:580px;margin-inline:auto}
}

/* In-room guidance points to the working controls without editing the draft. */
.workspace-help{width:auto;min-width:96px;height:44px;padding:8px 12px;border-radius:10px;font:600 12px var(--sans,Arial,sans-serif)}
html[data-workspace=edit] .evtag,html[data-workspace=preview] .evtag{position:relative;padding-right:118px;min-height:52px}
.room-tour-spotlight{position:fixed;z-index:190;pointer-events:none;border:2px solid #efb3cb;border-radius:12px;box-shadow:0 0 0 9999px #170e244d,0 0 0 4px #fff6}
.room-tour{position:fixed;z-index:191;box-sizing:border-box;width:min(366px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:1px solid #dbc9d1;border-radius:18px;background:#fffaf7;color:#372b36;padding:24px;box-shadow:0 16px 60px #170c333d;font:14px var(--sans,Arial,sans-serif);text-align:left}
.room-tour[hidden],.room-tour-spotlight[hidden]{display:none!important}
.room-tour h2{font:30px/1.15 var(--display,Georgia,serif);color:#372b36;letter-spacing:-.5px;margin:18px 0 12px}
.room-tour>p:not(.room-tour-progress){font-size:14px;line-height:1.8;color:#67535f;margin:0 0 22px}
.room-tour .room-tour-progress{font:700 10px/1.6 var(--sans,Arial,sans-serif);color:#8f2c51;letter-spacing:1.2px;text-transform:uppercase;margin:0 90px 8px 0}
.room-tour-dots{display:flex;gap:5px;margin-top:6px;max-width:185px}
.room-tour-dots span{height:3px;flex:1;background:#e9dce0;border-radius:4px}
.room-tour-dots span.active{background:#a02e57}
.room-tour button{box-sizing:border-box;min-height:44px;cursor:pointer;border-radius:10px;border:1px solid #d6bdc7;padding:10px 14px;font:600 12px var(--sans,Arial,sans-serif);color:#8f2c51;background:transparent}
.room-tour button:focus-visible{outline:3px solid #a02e57;outline-offset:3px}
.room-tour button:disabled{opacity:.45;cursor:default}
.room-tour .room-tour-close{position:absolute;top:10px;right:12px;border:0;padding:10px 6px;color:#6c5362;font-size:11px}
.room-tour-controls{display:flex;align-items:center;justify-content:space-between;gap:10px}
.room-tour .room-tour-next{background:#a02e57;border-color:#a02e57;color:#fff;min-width:100px}
.room-tour .room-tour-next:hover{background:#7e2445}
html[data-workspace=edit] .hud-top{z-index:10}
html[data-room-thumbnail=true] .hud-top,html[data-room-thumbnail=true] .hud-bot,html[data-room-thumbnail=true] #ov{display:none!important}
@media(max-width:600px){.room-tour{padding:20px}.room-tour h2{font-size:27px}.room-tour>p:not(.room-tour-progress){font-size:13px;line-height:1.7;margin-bottom:18px}.room-tour .room-tour-progress{font-size:10px}.room-tour button{font-size:12px}}
@media(max-height:500px){.room-tour{width:min(350px,calc(100vw - 24px));padding:18px}.room-tour h2{font-size:25px;margin:12px 0 8px}.room-tour>p:not(.room-tour-progress){font-size:12px;line-height:1.6;margin-bottom:12px}.room-tour .room-tour-progress{font-size:9px}.room-tour button{padding:8px 12px}}

/* Editor dialogs are glass panels: the room stays visible while forms are open. */
.sheet-peek{display:none}
html[data-workspace=edit] .sheet-peek:not([hidden]){display:inline-flex;align-items:center;gap:6px;position:absolute;z-index:3;top:12px;right:62px;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel2);color:var(--ink);font:600 12px var(--sans,system-ui,sans-serif);cursor:pointer}
html[data-workspace=edit] .sheet-peek .rr-icon{width:18px;height:18px;color:var(--rose)}
html[data-workspace=edit] .sheet-peek:focus-visible{outline:3px solid var(--rose);outline-offset:2px}
html[data-workspace=edit] #sheet:not(.avatar-sheet) #sheetBody>h2:first-child{padding-right:150px}
html[data-workspace=edit] .backdrop{background:rgba(13,8,22,.08);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-workspace=edit] .backdrop.peek{opacity:0}
html[data-workspace=edit] #sheet.peek{width:auto;min-width:0;height:auto;max-height:none;padding:8px;border-radius:999px;box-shadow:0 10px 30px rgba(10,6,18,.28)}
html[data-workspace=edit] #sheet.peek>:not(.sheet-peek){display:none!important}
html[data-workspace=edit] #sheet.peek .sheet-peek{position:static;min-height:44px;background:var(--rose);border-color:var(--rose);color:#fff}
html[data-workspace=edit] #sheet.peek .sheet-peek .rr-icon{color:#fff}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 html[data-workspace=edit] #sheet{background:color-mix(in srgb,var(--panel) 74%,transparent);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%);border-color:color-mix(in srgb,var(--line) 70%,transparent)}
 html[data-workspace=edit] #sheet .ambience-card,html[data-workspace=edit] #sheet .world-menu-item,html[data-workspace=edit] #sheet .venue,html[data-workspace=edit] #sheet .workspace-guide-step{background:color-mix(in srgb,var(--panel) 66%,transparent)}
 html[data-workspace=edit] #sheet input,html[data-workspace=edit] #sheet textarea,html[data-workspace=edit] #sheet select{background:color-mix(in srgb,var(--panel) 86%,transparent)}
}
@media(min-width:761px) and (min-height:501px){
 /* Desktop: center dialogs smoothly over the workspace with a peek toggle. */
 html[data-workspace=edit] #sheet:not(.avatar-sheet){inset:0;margin:auto;width:min(540px,calc(100vw - 40px));height:fit-content;max-height:min(740px,calc(100dvh - 40px));border-radius:24px;box-shadow:0 24px 68px rgba(13,8,22,.32);transform:translateY(14px) scale(.985)}
 html[data-workspace=edit] #sheet:not(.avatar-sheet).show{transform:none}
 html[data-workspace=edit] #sheet.dashboard-sheet{width:min(680px,calc(100vw - 40px));height:min(740px,calc(100dvh - 40px))}
 html[data-workspace=edit] #sheet:not(.avatar-sheet) .grab{display:none}
 html[data-workspace=edit] #sheet:not(.avatar-sheet) #sheetBody{padding-top:8px}
 html[data-workspace=edit] #sheet .venues{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-workspace=edit] #sheet.peek:not(.avatar-sheet){left:auto;right:20px;bottom:20px;top:auto;margin:0;width:auto}

 /* One calm toolbar: back · status · history · secondary actions · save. */
 html[data-workspace=edit] .layout{padding:8px 14px 12px}
 html[data-workspace=edit] .workspace-editor-shell{grid-template-columns:minmax(0,1fr) 304px;gap:14px}
 html[data-workspace=edit] .workspace-bar{gap:8px;padding:6px 10px;margin:0 0 6px;border-radius:18px;background:var(--panel);border-color:var(--line);box-shadow:0 6px 24px rgba(40,20,50,.06);flex-wrap:nowrap}
 html[data-workspace=edit] .workspace-bar a.btn{text-decoration:none}
 html[data-workspace=edit] .workspace-bar .btn{min-height:40px;font-size:12px;padding:8px 14px;border-radius:999px}
 html[data-workspace=edit] .workspace-back{order:-1;display:inline-flex;align-items:center;gap:6px}
 html[data-workspace=edit] .workspace-back-arrow{display:inline;font-size:16px;line-height:1}
 html[data-workspace=edit] #workspaceStatus{order:0;flex:1;min-width:120px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html[data-workspace=edit] #workspaceStatus::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#3d9a6a;box-shadow:0 0 0 3px #3d9a6a26}
 html[data-workspace=edit] .workspace-bar.warning #workspaceStatus::before{background:#d08a1f;box-shadow:0 0 0 3px #d08a1f2e}
 html[data-workspace=edit] .workspace-bar>.workspace-history{order:1;gap:2px;padding:2px;border:1px solid var(--line);border-radius:999px;flex-wrap:nowrap}
 html[data-workspace=edit] .workspace-bar>.workspace-history .btn{width:38px;min-width:38px;min-height:38px;height:38px;border:0;font-size:18px!important}
 html[data-workspace=edit] .workspace-bar>.workspace-tools{order:2;flex-wrap:nowrap;gap:6px;padding-left:8px;border-left:1px solid var(--line)}
 html[data-workspace=edit] .workspace-bar>.workspace-tools .btn{border-color:transparent;background:transparent}
 html[data-workspace=edit] .workspace-bar>.workspace-tools .btn:hover{background:var(--panel2);border-color:var(--line)}
 html[data-workspace=edit] #workspaceSave{order:3;padding-inline:20px;box-shadow:0 6px 16px rgba(200,56,110,.25)}

 /* Room tools become one labelled strip right above the canvas. */
 html[data-workspace=edit] .layout>.stage-col>.event-world-actions,html[data-workspace=edit] .stage-col>.event-world-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;margin:0 0 6px;padding:1px 2px 2px;overflow-x:auto;scrollbar-width:thin}
 html[data-workspace=edit] .stage-col>.event-world-actions::before{content:"Isi ruangan" / "";flex:none;margin-right:4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
 html[data-workspace=edit] .stage-col>.event-world-actions .btn{flex:none;min-height:36px;padding:6px 13px;border-radius:999px;font-size:12px;text-decoration:none;background:var(--panel);border:1px solid var(--line);color:var(--ink)}
 html[data-workspace=edit] .stage-col>.event-world-actions .btn:hover{border-color:var(--rose);color:var(--rose)}
 html[data-workspace=edit] .stage-col>.workspace-note{margin:0 0 6px;padding:0 4px;font-size:11px;line-height:1.4}
}
.workspace-appearance-actions{display:flex;flex-wrap:wrap;gap:8px;position:sticky;bottom:0;z-index:2;padding-top:10px;background: linear-gradient(180deg,transparent,var(--panel) 28%)}.workspace-appearance-actions>.btn{flex:1 1 180px}
@media(max-width:760px),(max-width:1100px) and (max-height:500px){
 /* Phone: dialogs and details take the lower part; the room stays visible above. */
 html[data-workspace=edit] #sheet:not(.avatar-sheet){max-height:min(68dvh,calc(var(--workspace-viewport-height,100dvh) - 96px))}
 html[data-workspace=edit] #sheet.dashboard-sheet{height:auto}
 html[data-workspace=edit] .sheet-peek:not([hidden]){right:62px;width:44px;height:44px;min-height:44px;padding:0;justify-content:center}
 html[data-workspace=edit] .sheet-peek .sheet-peek-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 html[data-workspace=edit] #sheet:not(.avatar-sheet) #sheetBody>h2:first-child{padding-right:100px}
 html[data-workspace=edit] #sheet.peek{left:auto;right:max(12px,env(safe-area-inset-right,0px));bottom:calc(var(--workspace-tray-height,0px) * 0 + 96px + env(safe-area-inset-bottom,0px));width:auto}
 html[data-workspace=edit] #sheet.peek .sheet-peek{width:auto;padding:0 16px}
 html[data-workspace=edit] #sheet.peek .sheet-peek .sheet-peek-label{position:static;width:auto;height:auto;clip:auto}
 .workspace-details-scrim{background:#100a2124;backdrop-filter:none;-webkit-backdrop-filter:none}
 html[data-workspace=edit] .workspace-inspector{max-height:min(62dvh,calc(var(--workspace-viewport-height,100dvh) - 120px))}
 @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html[data-workspace=edit] .workspace-inspector{background:color-mix(in srgb,var(--panel) 80%,transparent);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%)}
  .workspace-inspector-heading{background:color-mix(in srgb,var(--panel) 70%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  html[data-workspace=edit] .workspace-inspector input,html[data-workspace=edit] .workspace-inspector select,html[data-workspace=edit] .workspace-inspector textarea{background:color-mix(in srgb,var(--panel) 88%,transparent)}
 }
}
@media(prefers-reduced-transparency:reduce){html[data-workspace=edit] #sheet,html[data-workspace=edit] .workspace-inspector{background:var(--panel)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(max-width:760px),(max-width:1100px) and (max-height:500px){html[data-workspace=edit] .workspace-inspector-heading{margin-inline:calc(-1 * max(20px,env(safe-area-inset-left,0px)));padding-inline:max(20px,env(safe-area-inset-left,0px));border-radius:24px 24px 0 0}}
/* Narrow Studio: one page scroll. The live room stays pinned above the form and the
   save control stays reachable, instead of a form scrolling inside its own box. */
@media(max-width:1100px){
 .studio-world-frame{height:clamp(180px,28svh,280px)}
 .studio-editor-body>form{max-height:none;overflow:visible;padding-right:0}
 .studio-editor-body .editor-save{position:sticky;bottom:10px;z-index:2}
}
@media(max-width:1100px) and (min-height:600px){
 html:has(.studio-with-preview:not([hidden])){scroll-padding-top:calc(clamp(180px,28svh,280px) + 84px);scroll-padding-bottom:96px}
 .studio-world-preview{position:sticky;top:8px;z-index:3;box-shadow:0 10px 28px rgba(40,20,50,.14)}
}
@media(max-width:760px) and (min-height:600px){
 html:has(.studio-with-preview:not([hidden])){scroll-padding-top:calc(clamp(160px,24svh,230px) + 72px)}
 .studio-world-preview{top:6px}
 .studio-world-frame{height:clamp(160px,24svh,230px)}
}
/* Short embedded previews keep the room readable: compact title, room chips and no orbit buttons. */
@media(max-height:300px){
 html[data-embedded-preview=true] .hud-top{padding:6px}
 html[data-embedded-preview=true] .evtag{padding:4px 10px;min-height:0;border-radius:10px}
 html[data-embedded-preview=true] .evtag b{font-size:12px}
 html[data-embedded-preview=true] .evtag small{display:none}
 html[data-embedded-preview=true] #rooms{gap:4px;margin-top:4px}
 html[data-embedded-preview=true] #rooms .room{min-height:30px;padding:4px 10px;font-size:11px}
 html[data-embedded-preview=true] #rooms .room .rr-icon{width:14px;height:14px}
 html[data-embedded-preview=true] .camctl{display:none!important}
}
/* Editing is an explicit mode: a clear entry button and a visible "edit on" frame. */
html[data-workspace=edit] #editBtn{background:#c8386e;border-color:#f3a6c4;color:#fff;box-shadow:0 6px 18px rgba(200,56,110,.35)}
html[data-workspace=edit] #editBtn:hover{background:#b02d5f}
html[data-workspace=edit] .stage.editing #cv{outline:3px solid #e5ae34;outline-offset:-3px}
html[data-workspace=edit] .stage.editing .editbar{box-shadow:0 0 0 1px #e5ae34}
html[data-workspace=edit] .stage.editing .editbar .et>b::after{content:"MODE EDIT" / "";margin-left:8px;padding:2px 7px;border-radius:999px;background:#e5ae34;color:#21172d;font-size:9px;letter-spacing:.08em;vertical-align:middle}
html[data-workspace=guest] .workspace-make{margin-left:auto;flex:none;min-height:36px;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:600;text-decoration:none;border:1px solid #8b1f48;color:#8b1f48;background:#fffafc}
@media(prefers-color-scheme:dark){html[data-workspace=guest]:not([data-theme=light]) .workspace-make{border-color:#ffb3cf;color:#ffd6e5;background:#2a1b2e}}
html[data-workspace=guest][data-theme=dark] .workspace-make{border-color:#ffb3cf;color:#ffd6e5;background:#2a1b2e}
@media(max-width:540px){html[data-workspace=guest] .workspace-bar .workspace-make{flex:none;margin-left:0}}
/* Guests in the room: all wish authors or only who is online now. */
.guest-cast{display:inline-flex;flex:none;gap:2px;padding:3px;border-radius:999px;background:#fff;border:1px solid #d4b9c6}
.guest-cast button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px;border:0;border-radius:999px;background:transparent;color:#5b3a52;font-family:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer}
.guest-cast button b{font-variant-numeric:tabular-nums;font-weight:700;opacity:.8}
.guest-cast button[aria-pressed=true]{background:#8b1f48;color:#fff}
.guest-cast button:focus-visible{outline:3px solid #e5ae34;outline-offset:1px}
.guest-cast-dot{width:8px;height:8px;border-radius:50%;background:#c9a7b8}
.guest-cast [data-cast=online] .guest-cast-dot{background:#2f9e61;box-shadow:0 0 0 3px rgba(47,158,97,.18)}
@media(prefers-reduced-motion:no-preference){.guest-cast [data-cast=online][aria-pressed=true] .guest-cast-dot{animation:castPulse 2s ease-in-out infinite}}
@keyframes castPulse{50%{box-shadow:0 0 0 6px rgba(47,158,97,0)}}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .guest-cast{background:#2a1b2e;border-color:#5a3d55}html:not([data-theme=light]) .guest-cast button{color:#f3dbe7}html:not([data-theme=light]) .guest-cast button[aria-pressed=true]{background:#ffb3cf;color:#2a1b2e}}
html[data-theme=dark] .guest-cast{background:#2a1b2e;border-color:#5a3d55}html[data-theme=dark] .guest-cast button{color:#f3dbe7}html[data-theme=dark] .guest-cast button[aria-pressed=true]{background:#ffb3cf;color:#2a1b2e}
@media(max-width:540px){.guest-cast button{padding:4px 10px}}
.invitation-utilities>.btn:nth-child(3):last-child{grid-column:1/-1}
.invitation-countdown{margin:6px auto 0;width:fit-content;padding:4px 12px;border-radius:999px;background:#fff;border:1px solid var(--inv-line,#e3c98f);color:#3a2a35;font:700 12px/1.6 system-ui,sans-serif;letter-spacing:.02em}
.event-countdown{flex:none!important;min-width:0!important;padding:5px 12px;border-radius:999px;background:#fff3d6;color:#6d4a14;border:1px solid #e5c171;font-size:12px!important;font-weight:700;line-height:1.4!important;white-space:nowrap}
.event-countdown[hidden]{display:none}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .event-countdown{background:#3a2c12;color:#ffe3a3;border-color:#7a5a1c}}
html[data-theme=dark] .event-countdown{background:#3a2c12;color:#ffe3a3;border-color:#7a5a1c}
.event-countdown-rest{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:900px){.event-countdown-rest{position:static;width:auto;height:auto;overflow:visible;clip-path:none}}

/* Camera and placement controls stay available while the room itself is visible. */
.stage.editing .editbar { flex-wrap:wrap; }
.editbar-actions { display:flex; gap:5px; flex:none; align-items:center; }
.stage.editing .editbar-actions .btn { min-height:44px; padding-inline:9px; }
.edit-camera-tools {
  display:flex; flex:0 0 100%; gap:4px; flex-wrap:wrap;
  padding-top:3px;
}
.edit-camera-tools[hidden], .edit-place-hint[hidden] { display:none; }
.edit-camera-tools button {
  min-width:44px; min-height:44px; padding:5px; color:#fff;
  background:#30223c; border:1px solid #bca8c7; border-radius:8px;
  font:600 20px var(--sans,Arial,sans-serif);
}
.edit-camera-tools button:hover { background:#4b3558; }
.edit-place-hint {
  flex:0 0 100%; margin:0; padding:4px 2px; color:#fff1ca;
  font:600 13px/1.4 var(--sans,Arial,sans-serif);
}
.stage.placing-furniture #cv { cursor:crosshair; }
.stage.editing .propbar button { min-height:44px; min-width:44px; }
.stage.editing #pbMove[aria-pressed=true] { background:#f5d782; color:#25172d; }
@media(max-width:760px), (max-width:1100px) and (max-height:500px) {
  html[data-workspace=edit] .editbar-actions { grid-column:2; grid-row:1; }
  html[data-workspace=edit] #editRooms .room .pl { display:inline; }
  html[data-workspace=edit] .edit-camera-tools,
  html[data-workspace=edit] .edit-place-hint { grid-column:1/-1; }
  html[data-workspace=edit] .edit-camera-tools { display:grid; grid-template-columns:repeat(auto-fit,minmax(44px,1fr)); }
  html[data-workspace=edit] .edit-camera-tools[hidden] { display:none; }
  html[data-workspace=edit] .stage.editing .propbar { grid-template-columns:repeat(6,minmax(44px,1fr)); }
}
@media(max-width:359px) {
  html[data-workspace=edit] .stage.editing .propbar { grid-template-columns:repeat(3,minmax(44px,1fr)); }
}

.edit-place-hint{display:flex;align-items:center;gap:5px 12px;flex-wrap:wrap}
.edit-nudge{display:flex;align-items:center;gap:4px}
.edit-nudge button{min-width:44px;min-height:44px;padding:4px;border:1px solid #bca8c7;border-radius:7px;color:#fff;background:#30223c;font:650 19px/1 system-ui,sans-serif}
.edit-nudge button:active{background:#674779}

.workspace-room-studio{min-width:0;min-height:0;background:var(--panel,#fffaf4);color:var(--ink,#312732);border:1px solid var(--line,#dcd0d5);border-radius:16px;display:flex;flex-direction:column;overflow:hidden}
.workspace-editor-shell[data-room-design=open]{grid-template-columns:minmax(0,1fr) minmax(290px,344px)}
.workspace-editor-shell[data-room-design=open] :is(.workspace-details-layer,#worldEditBoardTarget){display:none}
.design-header,.design-scroll,.design-foot{padding:15px 17px}
.design-header{border-bottom:1px solid var(--line)}
.design-header h2{font:27px/1.12 var(--display,Georgia,serif);margin:0}
.design-header p,.design-feedback{color:var(--muted);font-size:12px;margin:4px 0 0}
.design-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;display:grid;align-content:start;gap:13px}
.design-scroll h3{font:650 13px/1.4 var(--sans,system-ui);margin:0}
.design-looks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.design-look{display:grid;align-content:start;gap:6px;min-height:63px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:10px;background:var(--panel2,#f6edf1);color:var(--ink);font:650 11px/1.3 var(--sans,system-ui);text-align:left;cursor:pointer}
.design-look i{display:flex;gap:3px}
.design-look b{border-radius:4px;min-width:0;flex:1;height:22px}
.design-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 11px}
.design-field{display:grid;gap:5px;min-width:0;font:650 12px/1.35 var(--sans,system-ui)}
.design-field select,.design-field input{width:100%;min-height:44px;min-width:0;border:1px solid var(--line);border-radius:9px;padding:7px;background:var(--panel2,#f7eff3);color:var(--ink);font:400 13px var(--sans,system-ui)}
.design-colors{margin:0;padding:0;border:0;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.design-colors legend{padding:0;margin-bottom:7px;font-size:13px;font-weight:650}
.design-colors .design-field{align-content:start;grid-template-rows:31px auto}
.design-color-field{min-width:0}
.design-colors input{padding:4px}
.design-reset-color{min-height:44px;padding:0 3px;background:transparent;border:0;color:var(--rose,#812c52);text-align:left;text-decoration:underline;font:550 11px var(--sans,system-ui);cursor:pointer}
.design-foot{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid var(--line);position:relative}
.design-foot .btn{min-height:44px;flex:1 1 auto;font-size:11px;padding:7px}
.design-feedback{width:100%;margin:0}
.workspace-inspector .room-design-trigger{width:100%}
.workspace-room-studio :focus-visible{outline:3px solid #96345b;outline-offset:2px}
.workspace-room-studio button:disabled{opacity:.56;cursor:default}
@media(max-width:760px),(max-width:1100px) and (max-height:500px){
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open]{display:flex;flex-direction:column;align-items:stretch;gap:0}
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] #stage{flex:1;height:auto;min-height:0}
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] .workspace-mobile-dock,
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] .workspace-gesture-hint{display:none}
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] .workspace-camera,
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] .workspace-history,
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] #room3dHelp,
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] .hud-top,
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open] #rooms{display:none}
 .workspace-room-studio{flex:0 0 min(51dvh,450px);border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}
 .design-header,.design-scroll,.design-foot{padding:10px 13px}
 .design-header h2{font-size:22px}
 .design-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
 .design-header p{text-align:right;margin:0}
 .design-field select,.design-field input{font-size:16px}
}
@media(max-width:1100px) and (max-height:500px) and (min-width:500px){
 html[data-workspace=edit] .workspace-editor-shell[data-room-design=open]{flex-direction:row}
 .workspace-room-studio{flex:0 0 min(48vw,344px);border-radius:0}
}

.event-world-dialog .event-world-options { border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.event-world-dialog .event-world-options > summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 600; }
.event-world-dialog .event-world-options[open] { padding-bottom: 12px; }
.event-world-dialog .event-world-options > label { margin-top: 10px; }
.event-world-dialog .event-world-options > label[hidden] { display: none; }
.event-world-dialog .event-world-photo-privacy { margin: 0; font-size: 12px; line-height: 1.55; }
.event-world-dialog > .event-world-photo-jump { justify-self: start; }
