#lantay-props{position:absolute;inset:0;pointer-events:none;z-index:auto}#lantay-props .lantay-prop{position:absolute;pointer-events:none}#lantay-props img{width:100%;height:auto;display:block}#lantay-props.editing .lantay-prop{pointer-events:auto;touch-action:none;cursor:move}#lantay-props .selected{outline:1px dashed #f4cc83}
#lantay-scene-editor{position:fixed;inset:12px 12px auto auto;margin:0;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;scrollbar-width:none;padding:20px;border:1px solid var(--paper-line);border-radius:18px;background:var(--paper);color:var(--paper-ink);z-index:80;font:16px 'Alegreya Sans',sans-serif}#lantay-scene-editor header{display:flex;justify-content:space-between;align-items:center}#lantay-scene-editor h2{font:24px Maragsa,Georgia,serif;margin:0}#lantay-scene-editor label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}#lantay-scene-editor input:not([type=checkbox]),#lantay-scene-editor select{width:130px;min-width:0;font:inherit;color:inherit;background:var(--paper-field);border:1px solid var(--paper-line);border-radius:8px;padding:6px}#lantay-scene-editor button,#lantay-edit-entry{position:static;inset:auto;transform:none;width:auto;height:auto;opacity:1;font:inherit;padding:8px 12px;background:var(--paper-field);color:var(--paper-ink);border:1px solid var(--paper-line);border-radius:18px;backdrop-filter:none}#lantay-edit-entry{width:100%;margin:8px 0}#lantay-scene-editor .scene-add,#lantay-scene-editor .scene-actions{display:flex;flex-wrap:wrap;gap:6px}#lantay-scene-editor p{font-size:14px;line-height:1.4}#lantay-scene-editor details{margin-top:16px}#lantay-scene-editor [data-action=publish]{background:#465d48;color:#fff}#lantay-scene-editor .scene-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px}#lantay-scene-editor .scene-fields label{display:grid}#lantay-scene-editor .scene-fields input{width:100%}#lantay-scene-editor button:focus-visible{outline:2px solid currentColor;outline-offset:3px}

#lantay-scene-editor.canvas-mode>:not(header){display:none}#lantay-scene-editor.canvas-mode{width:auto;max-width:calc(100vw - 24px)}#lantay-scene-editor header{gap:8px}#lantay-scene-editor header button{font-size:13px}

#lantay-props .scene-rotate{position:absolute;left:50%;top:-38px;transform:translateX(-50%);width:32px;height:32px;border:1px solid #f4cc83;border-radius:50%;background:#26362b;color:#fff;opacity:1;pointer-events:auto;touch-action:none;cursor:grab;font:22px sans-serif;padding:0;backdrop-filter:none}

#lantay-scene-editor{width:min(360px,calc(100vw - 24px));padding:18px}#lantay-scene-editor .scene-editor-nav{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}#lantay-scene-editor .scene-room{margin:10px 0;font-size:14px}#lantay-scene-editor .scene-precise{border-top:1px solid var(--paper-line);padding-top:12px}#lantay-scene-editor .scene-fields{margin-top:10px}#lantay-scene-editor .scene-actions{margin-top:14px}#lantay-scene-editor [data-action=publish]{width:100%;margin-top:8px}.scene-settings{max-width:520px!important}.scene-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.scene-settings input{box-sizing:border-box;max-width:150px;min-height:42px;padding:8px;border:1px solid var(--paper-line,#53634d40);border-radius:8px;background:var(--paper-field,#fffcf5);color:inherit;font:inherit}.scene-settings input[type=checkbox]{min-height:0;width:18px;height:18px}.scene-settings summary{display:none}.store-edit-marker{pointer-events:auto;position:absolute!important;transform:translate(-50%,-50%)!important;z-index:30;min-width:54px;min-height:42px;background:#465d48!important;color:#fff!important;border:2px solid #f4cc83!important;border-radius:12px;touch-action:none;cursor:move}.store-edit-marker[hidden]{display:none!important}#lantay-props .scene-resize{position:absolute;right:-14px;bottom:-14px;width:28px;height:28px;min-width:0;min-height:0;padding:0;border:2px solid #f4cc83;border-radius:50%;background:#26362b;pointer-events:auto;touch-action:none;cursor:nwse-resize;opacity:1}
@media(max-width:600px){#lantay-scene-editor{inset:auto 12px 12px;width:auto;max-height:43dvh}#lantay-scene-editor.canvas-mode{inset:auto 12px 12px auto}#lantay-scene-editor .scene-editor-nav button{flex:1}.scene-settings label{font-size:15px}}
#lantay-props.editing .main-lantern-handle{outline:1px dashed #e9ce8c66;background:#f4cc8308}#lantay-props.editing .main-lantern-handle.selected{outline:2px dashed #f4cc83}

/* Layer 0 is behind the complete bench painting, including its roof. */
#place > .bench,#place > .thatch-life{z-index:1}

.scene-open-status:empty{display:none}
.scene-wall-settings[hidden]{display:none}.scene-wall-settings{margin-top:12px;padding:10px;border:1px solid var(--paper-line);border-radius:10px}.scene-wall-settings summary{cursor:pointer;font-weight:600}.scene-wall-settings label{display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-wall-settings select{max-width:155px;min-height:38px;padding:6px;border:1px solid var(--paper-line);border-radius:8px;background:var(--paper-field);color:inherit;font:inherit}

.scene-wall-settings[hidden]{display:none!important}.scene-wall-settings{border-top:1px dashed var(--paper-line);margin-top:16px;padding-top:12px}.scene-wall-settings label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.scene-wall-settings input[type=file]{max-width:100%}.scene-wall-preview{aspect-ratio:360/440;width:100%;border-radius:20px;border:1px solid var(--paper-line)}

/* A placed suggestion box is a button for seated tambays. */
#lantay-props .suggestion-prop{pointer-events:auto;cursor:pointer;border-radius:6px}html:not(.joined) #lantay-props .suggestion-prop{pointer-events:none}#lantay-props .suggestion-prop:focus-visible{outline:2px solid #f4cc83;outline-offset:3px}

/* Store-front signs placed as assets: wording sized to the asset. The cardboard opens Tambay updates. */
#lantay-props .sign-prop{container-type:inline-size}
#lantay-props .store-sign-name{position:absolute;inset:12% 2% 4%;display:grid;place-items:center;color:#f9e7c5;font:600 9cqw Georgia,serif;text-shadow:0 1px 2px #34251b;white-space:nowrap;pointer-events:none}
[data-time=night] #lantay-props .store-sign-name{color:#c4c6bf;text-shadow:0 1px 2px #101c29}
#lantay-props .sign-prop .notice-board-wording{pointer-events:none}
#lantay-props .updates-prop{pointer-events:auto;cursor:pointer}#lantay-props .updates-prop:focus-visible{outline:2px solid #f4cc83;outline-offset:3px}
