<resources xmlns:tools="http://schemas.android.com/tools">
    <!--
      Base application theme.

      This app is EDGE-TO-EDGE: MainActivity calls enableEdgeToEdge(), and
      targeting SDK 36 makes it mandatory anyway (enforced from SDK 35, with the
      opt-out ignored from SDK 36). The WebView therefore spans the whole window,
      under the status bar, the navigation/gesture bar and the display cutout.

      This theme used to declare `android:fitsSystemWindows=true` with a "don't
      draw behind system bars" comment. That was never true: enableEdgeToEdge()
      calls setDecorFitsSystemWindows(false) at runtime and wins, and the
      platform ignores the attribute at this target SDK regardless. Leaving it
      in only hid the fact that nothing was insetting the content.

      Insets are handled where they can actually be honoured: WindowInsetsBridge
      reads them and hands them to CSS as jt-inset custom properties.
      See UR-066 / DR-112.
    -->
    <style name="Theme.jellytau" parent="Theme.MaterialComponents.DayNight.NoActionBar">
        <!-- System bars are transparent; the app draws its own background behind
             them (e.g. BottomUi's surface extends under the gesture bar). -->
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <!-- Light icons on our dark background, both bars. -->
        <item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
        <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    </style>
</resources>
