body.is-space-page [data-hero-node][hidden],
body.is-space-page .is-space-hidden { display:none!important; }
body.is-space-page [data-space-opacity] { opacity:var(--space-opacity)!important; }
body.is-space-page [data-space-flip] .hero-custom-node__media-frame :is(img,video) { transform:scale(var(--space-flip-x),var(--space-flip-y)); }
body.is-space-page .is-space-locked { outline:1px dashed #ffffff30;outline-offset:4px; }
.space-toasts { position:fixed;left:50%;top:max(20px,env(safe-area-inset-top));transform:translateX(-50%);z-index:31000;display:flex;flex-direction:column;gap:10px;width:min(390px,calc(100vw - 32px));pointer-events:none;font:13px/1.4 Inter,sans-serif; }
.space-swipe-toast { position:relative;display:flex;align-items:center;gap:12px;min-height:74px;padding:15px 12px 15px 16px;border:1px solid #ffffff1c;border-radius:14px;background:#242426;color:#f5f5f5;box-shadow:0 12px 40px #0005;overflow:hidden;pointer-events:auto;touch-action:none;user-select:none; }
.space-swipe-toast__icon { display:grid;place-items:center;flex:0 0 26px;color:#c0d1fa; }
.space-swipe-toast__icon svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.space-swipe-toast__text { display:grid;gap:3px;flex:1;min-width:0; }
.space-swipe-toast__text strong { font-size:13px;font-weight:550;overflow-wrap:anywhere; }
.space-swipe-toast__text>span { color:#aaaab0;font-size:12px; }
.space-swipe-toast button { border:0;font:500 12px Inter,sans-serif;cursor:pointer!important;flex-shrink:0; }
.space-swipe-toast__action { padding:9px 11px;border-radius:7px;background:#f2f2ef;color:#222; }
.space-swipe-toast__close { width:30px;height:36px;background:transparent;color:#b3b3b8;font-size:20px!important; }
.space-swipe-toast button:focus-visible { outline:2px solid #c0d1fa;outline-offset:2px; }
.space-swipe-toast__fuse { position:absolute;bottom:0;left:0;right:0;height:2px;background:#c0d1fa;transform-origin:left; }
.space-shortcuts-button { position:fixed;left:max(20px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));z-index:10900;width:44px;height:44px;border:1px solid #ffffff20;border-radius:12px;background:#1b1b1b;color:#ccc;font:16px Inter,sans-serif;cursor:pointer!important; }
.space-keyboard-dialog { width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:28px;border:1px solid #ffffff26;border-radius:20px;background:#19191b;color:#eee;font:13px/1.5 Inter,sans-serif; }
.space-keyboard-dialog::backdrop { background:#0009;backdrop-filter:blur(6px); }
.space-keyboard-dialog h2 { margin:0 0 5px;font-size:22px;font-weight:500;letter-spacing:-.5px; }
.space-keyboard-dialog p { color:#a5a5ac; }
.space-keyboard-dialog header { display:flex;align-items:start;justify-content:space-between;gap:16px; }
.space-keyboard-dialog button { border:1px solid #ffffff25;border-radius:8px;background:#252527;color:#eee;padding:8px 12px;cursor:pointer!important; }
.space-keyboard-dialog input { box-sizing:border-box;width:100%;margin:16px 0;padding:11px 13px;border:1px solid #ffffff20;border-radius:9px;background:#111;color:#fff;font:13px Inter,sans-serif; }
.space-shortcut-row { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #ffffff0c; }
.space-shortcut-row kbd { color:#c0d1fa;font:11px Inter,sans-serif;white-space:nowrap; }
.space-shortcut-section { margin:18px 0 5px;color:#aaa;font-size:12px;font-weight:500; }
body.is-space-page.is-space-grid-hidden .hero-node-grid { visibility:hidden; }
body.is-space-page.is-space-focus .space-tools,body.is-space-page.is-space-focus .space-zoom { visibility:hidden; }
