Remove unused imports and an unused spacing constant, drop redundant if checks and redundant opt-in markers, replace loop variables with destructuring, convert a string concatenation to a template, use Configuration.screenHeightDp instead of LocalWindowInfo.containerSize, and opt in to ExperimentalSerializationApi for decodeFromStream.