{
  "namespace": "start",

  "achievements_icon": {
    "type": "image",
    "texture": "textures/ui/achievements",
    "layer": 3,
    "size": [ 16, 16 ]
  },

  "feedback_icon": {
    "type": "image",
    "texture": "textures/ui/Feedback",
    "layer": 3,
    "size": [ 16, 16 ]
  },

  "feedback_icon_edu": {
    "type": "image",
    "texture": "$feedback_texture",
    "offset": [ -0.5, -0.5 ],
    "size": [ 16, 16 ],
    "layer": 3,

    "$feedback_texture": "textures/ui/feedback",
    "variables": [
      {
        "requires": "($hover_state or $pressed_state)",
        "$feedback_texture": "textures/ui/feedback_hover"
      }
    ]
  },

  "Xbox_icon": {
    "type": "image",
    "texture": "textures/ui/xbox4",
    "layer": 3,
    "size": [ 27, 27 ]
  },

  "change_skin_icon": {
    "type": "image",
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "texture": "textures/ui/hangar",
    "layer": 3,
    "size": [ 32, 16 ]
  },

  "new_offers_icon@common_store.new_offer_icon": {
    "layer": 11, // This is the lowest layer where the button border won't show through this icon while being pressed
    "anchor_from": "top_right",
    "anchor_to": "top_right"
  },

  "update_prompt_icon": {
    "type": "image",
    "texture": "textures/ui/update",
    "layer": 12, // This is the lowest layer where the button border won't show through this icon while being pressed
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "size": [ 11, 21 ]
  },

  "marketplace_error_icon@common_store.marketplace_error_icon": {
    "layer": 12,
    "anchor_from": "top_left",
    "anchor_to": "top_left"
  },

  "sale_ribbon_icon": {
    "type": "image",
    "texture": "textures/ui/saleribbon",
    "layer": 12 // This is the lowest layer where the button border won't show through this icon while being pressed
  },

  "copyright": {
    "type": "label",
    "color": "$main_header_text_color",
    "layer": 2,
    "text": "menu.copyright",
    "size": [ "default", 10 ],
    "max_size": [ "100%", "100%" ],
    "anchor_from": "top_left",
    "anchor_to": "top_left"
  },

  "development_version": {
    "type": "label",
    "color": "$main_header_text_color",
    "layer": 2,
    "text": "#development_version",
    "size": [ "default", 10 ],
    "max_size": [ "100%", "100%" ],
    "anchor_from": "center",
    "anchor_to": "center",
    "bindings": [
      {
        "binding_name": "#development_version"
      }
    ]
  },

  "version": {
    "type": "label",
    "color": "$main_header_text_color",
    "layer": 2,
    "text": "#version",
    "size": [ "default", 10 ],
    "max_size": [ "100%", "100%" ],
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "bindings": [
      {
        "binding_name": "#version"
      }
    ]
  },

  "text_panel": {
    "type": "panel",
    "size": [ "100%-2px", 10 ],
    "offset": [ 0, -1 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "controls": [
      {
        "copyright@start.copyright": {}
      },
      {
        "development_version@start.development_version": {
          "ignored": "$is_publish"
        }
      },
      {
        "version@start.version": {}
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Skins Panel
  //---------------------------------------------------------------------------

  "skin_or_profile_panel": {
    "type": "panel",
    "size": [ "100%", 25 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "controls": [
      {
        "change_skin@start.change_skin_button": {
          "bindings": [
            {
              "binding_name": "(not #persona_enabled)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "change_profile@start.profile_button": {
          "bindings": [
            {
              "binding_name": "#persona_enabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "change_skin_button@common_buttons.light_glyph_button": {
    "$pressed_button_name": "button.menu_skins",
    "size": [ 25, 25 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "$button_content_offset": [ 1, 2 ],
    "$button_content": "start.change_skin_icon",
    "$pressed_alpha": 0.65,
    "$focus_id": "menu_skins_button",
    "$button_tts_header": "accessibility.start.skinPicker"
  },

  "profile_button@common_buttons.light_text_form_fitting_button": {
    "$pressed_button_name": "button.to_profile_screen",
    "size": [ "100%c", 25 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel",
    "$button_text_size": [ "default", 10 ],
    "$button_text": "profileScreen.header",
    "$focus_id": "profile_button",
    "$pressed_alpha": 0.65,
    "$button_tts_header": "accessibility.start.profile"
  },

  "skin_viewer_panel": {
    "type": "input_panel",
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "size": [ "100%", "100% - 24px" ],
    "offset": [ 0, -16 ],
    "gesture_tracking_button": "button.turn_doll",
    "tts_ignore_count": true,
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "button.turn_doll",
        "mapping_type": "pressed",
        "button_up_right_of_first_refusal": true
      }
    ],
    "controls": [
      {
        "paper_doll_panel": {
          "type": "panel",
          "size": [ "100%", "100% - 10px" ],

          "controls": [
            {
              "paper_doll": {
                "type": "custom",
                "renderer": "paper_doll_renderer",
                "camera_tilt_degrees": -10,
                "starting_rotation": 30,
                "layer": 2,
                "anchor_from": "bottom_middle",
                "anchor_to": "bottom_middle",
                "rotation": "gesture_x",
                "size": [ "100%", "100%" ],
                "offset": [ 0, -22 ],
                "animation_reset_name": "screen_animation_reset",
                "anims": [
                  "@common.screen_exit_size_animation_push",
                  "@common.screen_exit_size_animation_pop",
                  "@common.screen_entrance_size_animation_push",
                  "@common.screen_entrance_size_animation_pop"
                ],
                "bindings": [
                  {
                    "binding_type": "view",
                    "source_control_name": "viewer_panel",
                    "source_property_name": "#gesture_delta_source",
                    "target_property_name": "#gesture_delta_source"
                  },
                  {
                    "binding_type": "view",
                    "source_control_name": "viewer_panel",
                    "source_property_name": "#gesture_mouse_delta_x",
                    "target_property_name": "#gesture_mouse_delta_x"
                  },
                  {
                    "binding_name": "#is_appearance_visible",
                    "binding_name_override": "#visible",
                    "binding_condition": "always"
                  }
                ]
              }
            },
            {
              "appearacne_loading_panel@common_store.progress_loading": {
                "$hide_failure_text": true,
                "$hide_progress_loading_outline": true,
                "$source_control_name": "paper_doll",
                "$source_property_name": "(not #visible)"
              }
            }
          ]
        }
      },
      {
        "paper_doll_name_tag": {
          "type": "custom",
          "renderer": "name_tag_renderer",
          "layer": 2,
          "anchor_from": "top_middle",
          "anchor_to": "bottom_middle",
          "size": [ 8, 8 ],
          "bindings": [
            {
              "binding_name": "#playername"
            }
          ]
        }
      }
    ]
  },

  "skin_panel": {
    "type": "panel",
    "anchor_to": "bottom_right",
    "anchor_from": "bottom_right",
    "size": [ "50% - 75px", 124 ],
    "offset": [ 0, "-10% - 4px" ],
    "controls": [
      { "change_profile_or_skin@start.skin_or_profile_panel": {} },
      { "viewer_panel@start.skin_viewer_panel": {} }
    ]
  },

  //---------------------------------------------------------------------------
  // Online Buttons Panel (and the lang button)
  //---------------------------------------------------------------------------

  "edu_feedback_button@common_buttons.light_content_button": {
    "size": [ 25, 25 ],
    "$button_pressed_offset": [ 0, 0 ],
    "$button_content": "start.feedback_icon_edu",
    "$pressed_button_name": "button.edu_feedback"
  },

  "release_feedback_button@common_buttons.hyperlink_content_button": {
    "size": [ 24, 24 ],
    "property_bag": {
      "#hyperlink": "https://aka.ms/minecraftfb"
    },
    "$button_content": "start.feedback_icon"
  },

  "pre_release_feedback_button@start.release_feedback_button": {
    "property_bag": {
      "#hyperlink": "https://aka.ms/minecraftfbbeta"
    }
  },

  "feedback_button": {
    "ignored": "$feedback_ignored",
    "type": "panel",
    "$button_tts_header": "accessibility.start.feedback",
    "controls": [
      { "edu_feedback_button@start.edu_feedback_button": { "ignored": "$edu_feedback_ignored" } },
      { "release_feedback_button@start.release_feedback_button": { "ignored": "($pre_release or $education_edition)" } },
      { "pre_release_feedback_button@start.pre_release_feedback_button": { "ignored": "(not $pre_release or $education_edition)" } }
    ]
  },

  "achievements_button@common_buttons.light_content_button": {
    "size": [ 24, 24 ],
    "$button_content": "start.achievements_icon",
    "$pressed_button_name": "button.menu_achievements"
  },

  "achievements_icon_button": {
    "ignored": "$achievements_ignored",
    "type": "panel",
    "$button_tts_header": "menu.achievements",
    "controls": [
      { "achievements_button@start.achievements_button": { "ignored": "$education_edition" } }
    ]
  },

  // Button will resize itself to length of the text
  "xbl_signin_button@common_buttons.light_text_form_fitting_button": {
    "size": [ "100%c", 25 ],
    "$pressed_button_name": "button.signin",
    "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel",
    "$button_text_size": [ "default", 10 ],
    "$button_text_max_size": [ 80, 10 ], // longest localized string length will fit in this
    "$button_text": "xbox.signin",
    "$focus_id": "menu_xbox_signin_button",
    "anchor_from": "left_middle",
    "anchor_to": "left_middle"
  },

  "platform_signin_button@common_buttons.light_text_button": {
    "$pressed_button_name": "button.signin",
    "$button_text_max_size": [ "100%", 26 ],
    "$focus_id": "menu_xbox_signin_button",
    "$button_text": "#platform_signin_text",
    "$button_text_binding_type": "global",
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "bindings": [
      {
        "binding_name": "#platform_signin_text"
      }
    ]
  },

  "column_frame": {
    "type": "panel"
  },

  "educator_resources_button@start.main_button": {
    "$pressed_button_name": "button.edu_resources",
    "$button_text": "menu.educatorResources"
  },

  "upper_online_buttons_panel": {
    "type": "stack_panel",
    "anchor_to": "bottom_left",
    "anchor_from": "bottom_left",
    "size": [ "50% - 75px", "100%c" ],
    "offset": [ 0, "-23%" ],
    "controls": [
      {
        "stacked_column": {
          "type": "stack_panel",
          "size": [ "100%", 32 ],
          "offset": [ "5%", 0 ],
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "orientation": "horizontal",
          "controls": [
            {
              "xbl_btn_padding": {
                "ignored": "($nx_os or $is_ps4)",
                "type": "panel",
                "size": [ 5, 0 ],
                "bindings": [
                  {
                    "binding_name": "#sign_in_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "xbl_btn@start.column_frame": {
                "ignored": "($nx_os or $is_ps4)",
                "size": [ 94, 32 ],
                "max_size": [ "95%", 32 ],
                "controls": [
                  { "xbl_signin_button@start.xbl_signin_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#sign_in_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "platform_signin_btn@start.column_frame": {
                "ignored": "(not $nx_os and not $is_ps4)",
                "size": [ "90% - 6px", 32 ],
                "controls": [
                  {
                    "platform_signin_button@start.platform_signin_button": {}
                  }
                ],
                "bindings": [
                  {
                    "binding_name": "#sign_in_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "gamertag_pic_and_label": {
                "ignored": "(not $nx_os and not $is_ps4)",
                "type": "stack_panel",
                "orientation": "horizontal",
                "size": [ "100%c", 16 ],
                "controls": [
                  {
                    "gamerpic_with_border": {
                      "type": "panel",
                      "size": [ "100%c", "100%" ],
                      "controls": [
                        {
                          "gamerpic": {
                            "type": "image",
                            "size": [ 16, 16 ],
                            "layer": 1,
                            "bindings": [
                              {
                                "binding_name": "#gamerpic_texture_path",
                                "binding_name_override": "#texture"
                              },
                              {
                                "binding_name": "#gamerpic_texture_location_type",
                                "binding_name_override": "#texture_file_system"
                              }
                            ]
                          }
                        },
                        {
                          "border_white@common.focus_border_white": {
                            "layer": 3,
                            "size": [ 16, 16 ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "spacer": {
                      "type": "panel",
                      "size": [ 1, 0 ]
                    }
                  },
                  {
                    "label_panel": {
                      "type": "panel",
                      "size": [ "100%c", "100%" ],
                      "controls": [
                        {
                          "gamertag_label": {
                            "type": "label",
                            "color": "$main_header_text_color",
                            "layer": 1,
                            "text": "#gamertag_label",
                            "locked_alpha": 0.5,
                            "size": [ "default", "100%" ],
                            "offset": [ 0, "25%" ],
                            "bindings": [
                              {
                                "binding_name": "#gamertag_label"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ],
                "bindings": [
                  {
                    "binding_name": "#gamertag_pic_and_label_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#online_buttons_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "lower_online_buttons_panel": {
    "type": "stack_panel",
    "anchor_to": "bottom_left",
    "anchor_from": "bottom_left",
    "size": [ "50% - 75px", "100%c" ],
    "offset": [ 0, "-10%" ],
    "controls": [
      {
        "stacked_column": {
          "type": "stack_panel",
          "size": [ "100%", 32 ],
          "offset": [ "5%", 0 ],
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "orientation": "horizontal",
          "controls": [
            {
              "feedback_padding": {
                "ignored": "$feedback_ignored",
                "type": "panel",
                "size": [ "5%", 0 ],
                "bindings": [
                  {
                    "binding_name": "#feedback_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "feedback_btn@start.column_frame": {
                "ignored": "$feedback_ignored",
                "size": [ 28, 32 ],
                "controls": [
                  { "feedback_button@start.feedback_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#feedback_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "signingin": {
                "size": [ "default", "100%" ],
                "max_size": [ 120, "100%" ],
                "type": "label",
                "color": "$main_header_text_color",
                "text": "#signingin_text",
                "bindings": [
                  {
                    "binding_name": "#signingin_visible",
                    "binding_name_override": "#visible"
                  },
                  {
                    "binding_name": "#signingin_text"
                  }
                ]
              }
            },
            {
              "achievements_padding": {
                "ignored": "$achievements_ignored",
                "type": "panel",
                "size": [ 3, 0 ],
                "bindings": [
                  {
                    "binding_name": "#achievements_icon_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "achievements_btn@start.column_frame": {
                "ignored": "$achievements_ignored",
                "size": [ 28, 32 ],
                "controls": [
                  { "achievements_icon_button@start.achievements_icon_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#achievements_icon_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "invite_padding": {
                "type": "panel",
                "size": [ 3, 0 ],
                "bindings": [
                  {
                    "binding_name": "#realms_notification_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "invite_btn_other@start.column_frame": {
                "size": [ 28, 32 ],
                "controls": [
                  { "invite_button@start.realms_pending_invite_panel": {} }
                ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#online_buttons_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Main Buttons Panel
  //---------------------------------------------------------------------------

  "main_button@common_buttons.light_text_button": {
    "size": [ "100% - 2px", "100% - 2px" ]
  },

  "main_content_button@common_buttons.light_content_button": {
    "size": [ "100% - 2px", "100% - 2px" ]
  },

  "play_button@start.main_button": {
    "$pressed_button_name": "$play_button_target",
    "$button_text": "menu.play",
    "$focus_override_right": "profile_button"
  },

  "toolbox_mode_button@start.main_button": {
    "$pressed_button_name": "button.toolbox_mode",
    "$button_text": "menu.toolboxMode",
    "$focus_override_right": "profile_button"
  },

  "course_button@start.main_button": {
    "$pressed_button_name": "button.menu_courses",
    "$button_text": "course.edu.courses"
  },

  "tutorial_button@start.main_button": {
    "$pressed_button_name": "button.menu_tutorial",
    "$button_text": "tutorial.edu.menuTitle"
  },

  "featured_world_button@start.main_button": {
    "$pressed_button_name": "button.featured_category",
    "$button_text": "start_screen.start_demo"
  },

  "switch_accounts_button@start.main_button": {
    "$pressed_button_name": "button.switch_accounts",
    "$button_text": "#switch_accounts_button_text",
    "$button_text_binding_type": "global"
  },

  "launch_editions_button@start.main_button": {
    "$pressed_button_name": "button.launch_editions",
    "$button_text": "menu.editions"
  },

  "settings_button@start.main_button": {
    "$pressed_button_name": "button.menu_settings",
    "$button_text": "menu.settings",
    "$focus_override_right": "profile_button"
  },

  "store_button@common_buttons.light_content_button": {
    "size": [ "100% - 2px", "100% - 2px" ],
    "$pressed_button_name": "button.menu_store",
    "$button_text": "menu.store",
    "$button_content": "start.store_button_content",
    "$button_text_binding_type": "none",
    "$button_binding_condition": "none",
    "$button_text_grid_collection_name": "",
    "tts_inherit_siblings": true,
    "$focus_override_right": "profile_button"
  },

  "error_store_button@common_buttons.light_content_button": {
    "size": [ "100% - 2px", "100% - 2px" ],
    "$pressed_button_name": "button.menu_store",
    "$button_text": "menu.store",
    "$button_content": "start.store_button_content",
    "$button_text_binding_type": "none",
    "$button_binding_condition": "none",
    "$button_text_grid_collection_name": "",
    "tts_inherit_siblings": true
  },

  "store_button_sale_banner@start.sale_ribbon_icon": {
    "size": [ "100%c", 16 ], // For some reason doing 100%c + X doesn't work on an image?
    "controls": [
      {
        "banner_label_padding": {
          "type": "panel",
          "size": [ "100%c + 12px", "100%" ],
          "controls": [
            {
              "banner_label": {
                "type": "label",
                "size": [ "default", 10 ],
                "offset": [ -1, -1 ],
                "text": "store.startMenu.sale",
                "color": "$title_text_color",
                "layer": 1,
                "tts_name": "accessibility.store.tag",
                "tts_control_type_order_priority": 1004, // To be read after the button control type
                "tts_value_order_priority": 1003
              }
            }
          ]
        }
      }
    ]
  },

  "store_button_content": {
    "type": "panel",
    "controls": [
      {
        "button_label@common_buttons.new_ui_binding_button_label": {
          "layer": 5
        }
      },
      {
        "sales_banner@start.store_button_sale_banner": {
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "offset": [ -6, -8 ],
          "bindings": [
            {
              "binding_name": "#sale_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "store_error_image": {
    "type": "image",
    "texture": "textures/ui/ErrorGlyph",
    "size": [ 15, 15 ]
  },

  "store_error_content": {
    "type": "image",
    "texture": "textures/ui/disabledButton",
    "layer": 9,
    "controls": [
      {
        "marketplace_button_label": {
          "type": "label",
          "text": "menu.store",
          "layer": 1,
          "color": "$light_button_locked_text_color"
        }
      }
    ]
  },

  "store_sale_label": {
    "type": "label",
    "size": [ "default", 10 ],
    "offset": [ 4, 0 ],
    "text": "store.startMenu.sale",
    "color": "$light_button_default_text_color",
    "layer": 2
  },

  "store_button_stack@start.stacked_row": {
    "controls": [
      {
        "store_button@start.store_button": {
          "enabled": "(not $store_disabled and not ($is_ios and $pre_release)))",
          "bindings": [
            {
              "binding_name": "(not #marketplace_disabled)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "update_icon@start.update_prompt_icon": {
          "ignored": "$store_disabled",
          "size": [ "52.38%y", 15 ],
          "offset": [ -16, -6 ],
          "bindings": [
            {
              "binding_name": "#update_icon_visible",
              "binding_name_override": "#visible",
              "binding_condition": "always"
            }
          ]
        }
      },
      {
        "new_offers_icon@start.new_offers_icon": {
          "ignored": "$store_disabled",
          "offset": [ 8, -6 ],
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "bindings": [
            {
              "binding_name": "#new_offers",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "marketplace_error_button@common_buttons.dynamic_tooltip_notification_panel": {
          "size": [ "100%", "100%" ],
          "button_mappings": [
            {
              "from_button_id": "button.menu_select",
              "to_button_id": "button.menu_store_error",
              "mapping_type": "pressed"
            },
            {
              "to_button_id": "button.is_hovered",
              "mapping_type": "pressed"
            }
          ],
          "consume_hover_events": false,
          "focus_enabled": true,
          "$dynamic_tooltip_button_visibility_binding_name": "#has_marketplace_errors",
          "$tooltip_popup_visible_binding": "#marketplace_errors_tooltip_visible",
          "$override_tooltip_popup_image": true,
          "$tooltip_popup_override_image_panel": "start.store_error_image",
          "$tooltip_text_binding_name": "#marketplace_error_text",
          "$tool_tip_text_max_size": [ "300px", "default" ],
          "$tooltip_panel_content": "start.store_error_content",
          "bindings": [
            {
              "binding_name": "#marketplace_disabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "marketplace_error_icon@start.marketplace_error_icon": {
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "offset": [ -2, 0 ],
          "bindings": [
            {
              "binding_name": "#marketplace_disabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "buy_game_button@start.main_button": {
    "$pressed_button_name": "button.menu_buy_game",
    "$button_text": "trial.pauseScreen.buyGame"
  },

  "stacked_row": {
    "type": "panel",
    "size": [ "100%", 32 ]
  },

  "main_buttons_stack_panel": {
    "type": "stack_panel",
    "size": [ "100%", "100%" ],
    "orientation": "vertical",
    "$title_offset_padding|default": [ "100%", "10%" ],
    "variables": [
      {
        "requires": "($pocket_screen)",
        "$title_offset_padding": [ "100%", "5%" ]
      }
    ],
    "controls": [
      {
        "title_offset_padding": {
          "type": "panel",
          "size": "$title_offset_padding"
        }
      },
      {
        "title_panel_content@common_art.start_title_panel_content": {}
      },
      {
        "padding_fill_1": {
          "type": "panel",
          "size": [ "100%", "fill" ]
        }
      },
      {
        "main_buttons_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "main_buttons_panel@start.main_buttons_panel": {}
            }
          ]
        }
      },
      {
        "padding_fill_2": {
          "type": "panel",
          "size": [ "100%", "fill" ],
          "controls": [
            {
              "gamepad_helpers@start.gamepad_helpers": {}
            },
            {
              "keyboard_helpers@start.keyboard_helper_vr_swap": {}
            }
          ]
        }
      },
      {
        "padding_3": {
          "type": "panel",
          "size": [ "100%", 10 ] // size of text at the bottom of the screen
        }
      }
    ]
  },

  "main_buttons_panel": {
    "type": "panel",
    "size": [ 150, "100%c" ],
    "controls": [
      {
        "stacked_rows": {
          "type": "stack_panel",
          "size": [ "100%", "100%c" ],
          "anchor_from": "bottom_middle",
          "anchor_to": "bottom_middle",
          "controls": [
            {
              "stacked_row_0@start.stacked_row": {
                "ignored": "(not $play_button_visible)",
                "controls": [
                  { "play_button@start.play_button": {} }
                ]
              }
            },
            {
              "stacked_row_toolbox@start.stacked_row": {
                "ignored": "$is_toolbox_ignored",
                "controls": [
                  { "toolbox_mode_button@start.toolbox_mode_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#toolbox_button_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "course@start.stacked_row": {
                "ignored": "$courses_ignored",
                "controls": [
                  { "course_button@start.course_button": {} }
                ]
              }
            },
            {
              "featured_world@start.stacked_row": {
                "ignored": "$featured_world_ignored",
                "controls": [
                  { "featured_world_button@start.featured_world_button": {} }
                ]
              }
            },
            {
              "stacked_row_2@start.stacked_row": {
                "ignored": "(not $trial or $use_single_column_for_buttons)",
                "controls": [
                  {
                    "stacked_columns": {
                      "type": "stack_panel",
                      "size": [ "100%", "100%" ],
                      "orientation": "horizontal",
                      "controls": [
                        {
                          "stacked_col_0": {
                            "type": "panel",
                            "size": [ "fill", "100%" ],
                            "controls": [
                              { "settings_button@start.settings_button": {} }
                            ]
                          }
                        },
                        {
                          "stacked_col_1": {
                            "type": "panel",
                            "size": [ "fill", "100%" ],
                            "ignored": "($store_ignored)",
                            "controls": [
                              {
                                "store_button@start.store_button": {
                                  "enabled": "(not $store_disabled)",
                                  "bindings": [
                                    {
                                      "binding_name": "(not #marketplace_disabled)",
                                      "binding_name_override": "#visible"
                                    }
                                  ]
                                }
                              },
                              {
                                "update_icon@start.update_prompt_icon": {
                                  "size": [ "52.38%y", 15 ],
                                  "offset": [ -16, -6 ],
                                  "bindings": [
                                    {
                                      "binding_name": "#update_icon_visible",
                                      "binding_name_override": "#visible",
                                      "binding_condition": "always"
                                    }
                                  ]
                                }
                              },
                              {
                                "new_offers_icon@start.new_offers_icon": {
                                  "offset": [ 8, -6 ],
                                  "anchor_from": "top_right",
                                  "anchor_to": "top_right",
                                  "bindings": [
                                    {
                                      "binding_name": "#new_offers",
                                      "binding_name_override": "#visible"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "settings@start.stacked_row": {
                "ignored": "($trial and not $use_single_column_for_buttons)",
                "controls": [
                  { "settings_button@start.settings_button": {} }
                ]
              }
            },
            {
              "switch_accounts_row@start.stacked_row": {
                "ignored": "$switch_accounts_ignored",
                "controls": [
                  { "switch_accounts@start.switch_accounts_button": {} }
                ]
              }
            },
            {
              "store@start.store_button_stack": {
                "ignored": "(($trial and not $use_single_column_for_buttons) or ($store_ignored))"
              }
            },
            {
              "buy_game@start.stacked_row": {
                "ignored": "$unlock_full_game_button_ignored",
                "controls": [
                  { "buy_game_button@start.buy_game_button": {} }
                ]
              }
            },
            {
              "launch_editions@start.stacked_row": {
                "ignored": "($trial or not $supports_launching_legacy_version)",
                "controls": [
                  {
                    "launch_editions_button@start.launch_editions_button": {}
                  }
                ],
                "bindings": [
                  {
                    "binding_name": "#editions_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "gamepad_helpers": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", 26 ],
    "controls": [
      { "gamepad_helper_a@common.gamepad_helper_a": {} },
      {
        "gamepad_helper_b_and_padding": {
          "ignored": "(not $can_quit)",
          "type": "panel",
          "size": [ "100%c + 10px", "100%c" ],
          "controls": [
            {
              "gamepad_helper_b@common.gamepad_helper_b": {
                "offset": [ 10, 0 ],
                "anchor_to": "left_middle",
                "anchor_from": "left_middle"
              }
            }
          ]
        }
      },
      {
        "gamepad_helper_y_and_padding": {
          "type": "panel",
          "size": [ "100%c + 10px", "100%c" ],
          "controls": [
            {
              "gamepad_helper_y@common.gamepad_helper_y": {
                "offset": [ 10, 0 ],
                "anchor_to": "left_middle",
                "anchor_from": "left_middle"
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#y_helper_visible",
              "binding_name_override": "#visible",
              "binding_condition": "always"
            }
          ]
        }
      },
      {
        "gamepad_helper_x_and_padding": {
          "type": "panel",
          "size": [ "100%c + 10px", "100%c" ],
          "controls": [
            {
              "gamepad_helper_x@common.gamepad_helper_x": {
                "offset": [ 10, 0 ],
                "anchor_to": "left_middle",
                "anchor_from": "left_middle"
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#x_helper_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "vr_swap_description@common.keyboard_helper_description": {
    "offset": [ 5, 2 ]
  },

  "keyboard_helper_vr_swap@common.keyboard_helper": {
    "$text_color": [ 1.0, 1.0, 1.0 ],
    "$description_bind": "#button_keyboard_description",
    "$keyboard_description": "start.vr_swap_description",
    "$keyboard_character": "keyboard.keyName.e",
    "bindings": [
      {
        "binding_name": "#swap_vr_keyboard_helper_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Realms Invite Panel
  //---------------------------------------------------------------------------

  "invite_notification_icon": {
    "type": "image",
    "texture": "textures/ui/invite_base",
    "size": [ 20, 20 ]
  },

  "invite_notification_button@common_buttons.light_content_button": {
    "size": [ 24, 24 ],
    "$button_content": "start.invite_notification_icon"
  },

  "notification_button_text": {
    "type": "label",
    "color": "$tab_secondary_unchecked_text_color",
    "shadow": false,
    "text": "#realms_notification_count",
    "bindings": [
      {
        "binding_name": "#realms_notification_count"
      }
    ]
  },

  "notification_button_text_background": {
    "type": "image",
    "texture": "textures/ui/invite_number_background"
  },

  "notification_button_text_panel": {
    "type": "panel",
    "anchor_from": "top_right",
    "anchor_to": "center",
    "controls": [
      {
        "text@start.notification_button_text": {
          "layer": 9,
          "controls": [
            {
              "background@start.notification_button_text_background": {
                "layer": -1,
                "size": [ "100%+4px", "100%" ],
                "offset": [ -0.5, 0 ]
              }
            }
          ]
        }
      }
    ]
  },

  "realms_pending_invite_panel": {
    "type": "panel",
    "layer": 1,
    "size": [ 24, 24 ],
    "controls": [
      {
        "button@start.invite_notification_button": {
          "$pressed_button_name": "button.menu_invite_notification",
          "$button_tts_header": "realmsInvitationScreen.shareTitle"
        }
      },
      {
        "count@start.notification_button_text_panel": {
          "offset": [ -2.5, 2 ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#realms_notification_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Cloud Upload Popup
  //---------------------------------------------------------------------------
  "cloud_upload_prompt@common_dialogs.main_panel_three_buttons": {
    "size": [ 300, 200 ],
    "$fill_alpha": 1,

    "layer": 101,
    "$text_name": "cloud_upload.title",
    "$description_text": "cloud_upload.prompt.description",
    "$button_size": [ "100%", 30 ],
    "$close_button_to_button_id": "button.close_cloud_upload_prompt",

    "$child_control": "start.scrolling_child",
    "$scrolling_content": "common.tts_label_focus_wrapper",

    "$top_button_panel": "start.cloud_upload_do_not_show_checkbox",
    "$middle_button_panel": "start.cloud_upload_worlds_button",
    "$bottom_button_panel": "start.cloud_upload_learn_more_button",

    "$tts_label_panel": "start.cloud_upload_description"
  },

  "scrolling_child": {
    "type": "panel",
    "controls": [
      {
        "scrolling_panel@common.scrolling_panel": {
          "$scrolling_pane_size": [ "100% - 1px", "100% - 2px" ],
          "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ],
          "$scroll_view_port_offset": [ 3, 2 ],
          "$scroll_size": [ 5, "100% - 2px" ],
          "$show_background": false
        }
      }
    ]
  },

  "cloud_upload_worlds_button@popup_dialog.popup_dialog_button": {
    "size": "$button_size",
    "$pressed_button_name": "button.worlds",
    "$button_text": "cloud_upload.prompt.button.worlds"
  },

  "cloud_upload_learn_more_button@popup_dialog.popup_dialog_button": {
    "size": "$button_size",
    "$pressed_button_name": "button.learn_more",
    "$button_text": "cloud_upload.prompt.button.learn_more"
  },

  "cloud_upload_description": {
    "type": "label",
    "size": [ "100% - 4px", "default" ],
    "font_type": "smooth",
    "line_padding": 1.5,
    "color": "$body_text_color",
    "text": "cloud_upload.prompt.description"
  },

  "cloud_upload_do_not_show_checkbox@common.checkbox": {
    "size": [ "100%", 30 ],
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "$toggle_name": "cloud_upload_do_not_show_again",
    "$toggle_state_binding_name": "#cloud_upload_do_not_show_again",
    "$toggle_label_text|default": "cloud_upload.prompt.do_not_show_toggle",

    "tts_control_type_order_priority": 100,
    "tts_value_order_priority": 101,
    "$toggle_enabled_binding_type": "global",

    "controls": [
      {
        "header_description_stack_panel": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "100%" ],
          "anchor_from": "top_left",
          "anchor_to": "top_left",

          "controls": [
            {
              "checkbox_visuals@common.toggle_visuals": {
                "size": [ 30, "100%" ],
                "anchor_from": "left_middle",
                "anchor_to": "left_middle"
              }
            },
            {
              "buffer_panel": {
                "type": "panel",
                "layer": 3,
                "size": [ "fill", "100%" ],
                "controls": [
                  {
                    "label": {
                      "type": "label",
                      "color": "$light_button_default_text_color",
                      "text": "$toggle_label_text",
                      "size": [ "default", "default" ],
                      "anchor_from": "center",
                      "anchor_to": "center"
                    }
                  }
                ]
              }
            },
            {
              "another_panel": {
                "type": "panel",
                "size": [ 30, "100%" ]
              }
            }
          ]
        }
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Screens
  //---------------------------------------------------------------------------

  "start_screen@common.base_screen": {

    "$screen_animations": [
      "@common.screen_exit_animation_push_fade",
      "@common.screen_exit_animation_pop_fade",
      "@common.screen_entrance_animation_push_fade",
      "@common.screen_entrance_animation_pop_fade"
    ],

    "button_mappings": [
      {
        "ignored": "(not $can_quit)",
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      },
      {
        "ignored": "(not $nx_os)",
        "from_button_id": "button.controller_select",
        "to_button_id": "button.menu_offline",
        "mapping_type": "global"
      },
      {
        "ignored": "(not $can_swap_vr_mode)",
        "from_button_id": "button.controller_secondary_select",
        "to_button_id": "button.menu_swap_vr_mode",
        "mapping_type": "global"
      },
      {
        "ignored": "(not $can_swap_vr_mode)",
        "from_button_id": "button.menu_swap_vr_mode",
        "to_button_id": "button.menu_swap_vr_mode",
        "mapping_type": "global"
      }
    ],
    "$screen_content": "start.start_screen_content"
  },

  "start_screen_content": {
    "type": "panel",
    "$achievements_ignored|default": false,
    "$feedback_ignored|default": false,
    "$store_ignored|default": false,
    "$is_toolbox_ignored|default": false,
    "variables": [
      {
        "requires": "$education_edition",
        "$achievements_ignored": true,
        "$store_ignored|default": true
      },
      {
        "requires": "$gear_vr",
        "$feedback_ignored": true
      },
      {
        "requires": "$fire_tv",
        "$feedback_ignored": true
      },
      {
        "requires": "$nx_os",
        "$feedback_ignored": true
      },
      {
        "requires": "(not $supports_xbl_achievements)",
        "$achievements_ignored": true,
        "$feedback_ignored": true
      },
      {
        "requires": "$trial",
        "$achievements_ignored": true
      },
      {
        "requires": "(not $is_desktop or $is_publish)",
        "$is_toolbox_ignored": true
      }
    ],
    "bindings": [
      {
        "binding_name": "(not #screen_needs_rebuild)",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "main_buttons_and_title_panel@start.main_buttons_stack_panel": {}
      },
      {
        "upper_online_buttons_panel@start.upper_online_buttons_panel": {}
      },
      {
        "lower_online_buttons_panel@start.lower_online_buttons_panel": {}
      },
      {
        "skin_panel@start.skin_panel": { "layer": 1 }
      },
      {
        "text_panel@start.text_panel": {}
      },
      {
        "popup_dialog_factory": {
          "type": "factory",
          "control_ids": {
            "cloud_upload_prompt": "@start.cloud_upload_prompt"
          }
        }
      }
    ]
  }
}
