{
  "namespace": "death",

  // Base button //

  "a_button_panel": {
    "type": "panel",
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "size": [ "100%c", 26 ],
    "offset": [ 0, "-17.75%" ],
    "controls": [
      {
        "gamepad_helper_a@common.gamepad_helper_a": {
          "$icon_text_color": "$gamepad_button_generic_text_color",
          "$icon_description_bind": "controller.buttonTip.select",
          "$icon_description_bind_type": "none"
        }
      }
    ]
  },

  // Screen //

  "death_screen@common.base_screen": {
    "$screen_content": "death.death_screen_content",
    "$screen_bg_content": "death.background_gradient"
  },

  "death_screen_content": {
    "type": "panel",
    "controls": [
      {
        "you_died_label": {
          "type": "label",
          "color": "$death_text_color",
          "anchor_from": "center",
          "offset": [ 0, 0 ],
          "text": " "
        }
      },
      {
        "you_died_label_2": {
          "type": "image",
          "texture": "textures/ui/gameoverlemo",
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "size": [ "100%", "100%" ],
          "uv": [ 0, 0 ],
          "uv_size": [ "100%", "100%" ]
        }
      },
      {
        "respawn_button@common_buttons.light_text_button": {
          "size": [ 76, 24 ],
          "$button_text": "deathScreen.respawn",
          "anchor_from": "center",
          "anchor_to": "center",
          "offset": [ 0, 58 ],
          "$pressed_button_name": "button.respawn_button"
        }
      },

      {
        "select_button@death.a_button_panel": { }
      }
    ]
  },

  "background_gradient": {
    "type": "custom",
    "renderer": "gradient_renderer",
    "color1": [ 0.1, 0.1, 0.1,0.8  ],
    "color2": [ 0.1, 0.1, 0.1, 0.8 ],
    "ignored": "$is_holographic"
  }
}