
/* The return control stays above the embedded app and has a full touch target. */
.app-viewer:not(.profile-popup) .viewer-home-gesture{z-index:100;height:48px;min-height:48px;width:min(460px,94vw);bottom:0;padding:0 0 max(9px,env(safe-area-inset-bottom));border:0;display:flex;align-items:flex-end;justify-content:center;touch-action:none;user-select:none;cursor:pointer;background:transparent;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;appearance:none;-webkit-appearance:none}
.app-viewer:not(.profile-popup) .viewer-home-gesture .viewer-home-bar{height:7px;width:min(200px,52vw);flex:none;background:#fff;border:1px solid rgba(24,28,34,.38);border-radius:999px;box-shadow:0 1px 4px rgba(0,0,0,.3),0 0 1px rgba(0,0,0,.22);backdrop-filter:none;-webkit-backdrop-filter:none}
.viewer-home-gesture:focus-visible{outline:none}
.viewer-home-gesture:focus-visible .viewer-home-bar{outline:2px solid #ffcc38;outline-offset:3px}
.app-viewer:not(.profile-popup) iframe{height:calc(100% - 30px)}
.theme-dark .pinned-note-widget{background:#242832;color:#f1f3f8}
.theme-dark .pinned-note-widget :is(header,.note-paper){background:#242832;color:#f1f3f8}
.theme-dark .pinned-note-widget p{color:#e0e4ed}
