{
  "namespace": "start",

  "achievements_icon": {
    "type": "image",
    "texture": "textures/ui/achievements",
    "layer": 3,
    "size": [ 16, 16 ]
  },

  "inbox_bell_animation": {
    "anim_type": "flip_book",
    "initial_uv": [ 0, 0 ],
    "frame_count": 28,
    "frame_step": 8,
    "fps": 10,
    "play_event": "inbox_bell_animation_start",
    "reset_event": "inbox_bell_animation_reset",
    "looping": false
  },

  "inbox_bell_animated_icon": {
    "type": "image",
    "layer": 2,
    "texture": "textures/ui/bell_ringing",
    "uv_size": [ 16, 16 ],
    "size": [ 16, 16 ],
    "uv": "@start.inbox_bell_animation"
  },

  "inbox_icon": {
    "type": "image",
    "texture": "textures/ui/icon_bell",
    "layer": 3,
    "size": [ 16, 16 ]
  },

  "unread_notification_animation_show": {
    "anim_type": "flip_book",
    "frame_count": 4,
    "frame_step": 8,
    "fps": 10,
    "looping": false,
    "resettable": false
  },

  "unread_notification_animation_wait": {
    "anim_type": "wait",
    "duration": 2.0,
    "play_event": "inbox_bell_animation_start",
    "next": "@start.unread_notification_animation_show"
  },

  "unread_notification_icon": {
    "type": "image",
    "texture": "textures/ui/red_dot",
    "layer": 4,
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "size": [ 7, 8 ],
    "bindings": [
      {
        "binding_name": "#unread_notification_icon"
      },
      {
        "binding_name": "#unread_notification_icon_visibility",
        "binding_name_override": "#visible"
      }
    ]
  },

  "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 ]
  },

  "manage_accounts_icon": {
    "type": "image",
    "anchor_from": "center",
    "anchor_to": "center",
    "texture": "textures/ui/profile_glyph_combined",
    "layer": 3,
    "size": [ 11, 12 ]
  },

  "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"
  },

  "edu_ai_lesson_crafter_button_content": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "controls": [
      {
        "padded_label@common.empty_panel": {
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "label": {
                "type": "label",
                "size": [ "default", "default" ],
                "color": "$text_color",
                "text": "menu.ai_lesson_crafter"
              }
            }
          ]
        }
      },
      {
        "padded_icon@common.empty_panel": {
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "icon": {
                "type": "image",
                "texture": "textures/ui/icon_external_link",
                "color": "$glyph_color",
                "size": [ 9, 9 ],
                "offset": [ 3, 7 ]
              }
            }
          ]
        }
      }
    ]
  },

  "preview_tag": {
    "type": "image",
    "size": [ "100%c + 4px", 15 ],
    "offset": [ 19, -1 ],
    "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",
    "texture": "textures/ui/previewIcon",
    "bindings": [
      {
        "binding_name": "#edu_ai_lesson_crafter_on",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "preview_label": {
          "type": "label",
          "size": [ "default", 10 ],
          "offset": [ 0, 1 ],
          "text": "menu.preview",
          "color": "$store_white_text_color",
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "layer": 1
        }
      }
    ]
  },

  "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
  },

  "alex_icon": {
    "type": "image",
    "texture": "textures/ui/icon_alex",
    "layer": 1,
    "size": [ 16, 16 ]
  },

  "gamerpic": {
    "type": "custom",
    "renderer": "profile_image_renderer",
    "size": [ 16, 16 ],
    "layer": 2,
    "$gamerpic_visible|default": "#none",
    "bindings": [
      {
        "binding_name": "#profile_image_options"
      },
      {
        "binding_name": "$gamerpic_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "copyright": {
    "type": "panel",
    "controls": [
      {
        "label": {
          "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"
        }
      },
      {
        "label_background": {
          "type": "image",
          "texture": "textures/ui/Black",
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "offset": [ -1, -1 ],
          "alpha": 0.6,
          "size": [ "100%sm + 4px", "100%sm + 2px" ],
          "layer": 1
        }
      }
    ]

  },

  "development_version": {
    "type": "panel",
    "controls": [
      {
        "label": {
          "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"
            }
          ]
        }
      },
      {
        "label_background": {
          "type": "image",
          "texture": "textures/ui/Black",
          "anchor_from": "center",
          "anchor_to": "center",
          "alpha": 0.6,
          "size": [ "100%sm + 2px", "100%sm + 2px" ],
          "layer": 1
        }
      }
    ]
  },

  "version": {
    "type": "panel",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "size": [ "50%", "100%" ],
    "controls": [
      {
        "label": {
          "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"
            }
          ]
        }
      },
      {
        "label_background": {
          "type": "image",
          "texture": "textures/ui/Black",
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "offset": [ 1, -1 ],
          "alpha": 0.6,
          "size": [ "100%sm + 2px", "100%sm + 2px" ],
          "layer": 1
        }
      }
    ]
  },

  "trial_info": {
    "type": "panel",
    "controls": [
      {
        "trial_label": {
          "type": "label",
          "size": [ "150%", 20 ],
          "offset": [ 4, 0 ],
          "text": "menu.trialLabel",
          "color": "$body_text_color",
          "text_alignment": "center",
          "layer": 2
        }
      },
      {
        "label_background": {
          "type": "image",
          "texture": "textures/ui/Black",
          "anchor_from": "center",
          "anchor_to": "center",
          "alpha": 0.6,
          "size": [ "100%sm + 10px", "100%sm + 10px" ],
          "layer": 1
        }
      }
    ]
  },

  "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": {}
      }
    ]
  },

  "anim_main_buttons_panel_alpha": {
    "anim_type": "alpha",
    "easing": "linear",
    "duration": 0.2,
    "from": 0,
    "to": 1,
    "play_event": "anim_main_buttons_panel_alpha_play_event"
  },

  "anim_new_player_buttons_panel_alpha": {
    "anim_type": "alpha",
    "easing": "linear",
    "duration": 0.2,
    "from": 1,
    "to": 0,
    "play_event": "anim_new_player_buttons_panel_alpha_play_event",
    "end_event": "anim_new_player_buttons_panel_finish_event"
  },

  //---------------------------------------------------------------------------
  // Skins Panel
  //---------------------------------------------------------------------------

  "skin_or_profile_panel": {
    "type": "panel",
    "size": [ 55, 25 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "variables": [
      {
        "requires": "($showing_new_player_flow_buttons)",
        "$anim_type": "@start.anim_main_buttons_panel_alpha"
      },
      {
        "requires": "(not $showing_new_player_flow_buttons)",
        "$anim_type": 1.0
      }
    ],
    "alpha": "$anim_type",
    "controls": [
      {
        "change_skin@start.change_skin_button": {
          "bindings": [
            {
              "binding_name": "#edu_signed_in_only_ui_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "change_skin_button_demo@start.change_skin_button_demo": {
          "bindings": [
            {
              "binding_name": "#edu_demo_only_ui_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "dressing_room_button@start.dressing_room_button": {
          "bindings": [
            {
              "binding_name": "#dressing_room_button_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "switch_accounts@start.switch_accounts_button": {
          "bindings": [
            {
              "binding_name": "#edu_signed_in_only_ui_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "profile_button@start.profile_button": {
          "$focus_id": "profile_button",
          "bindings": [
            {
              "binding_name": "#profile_button_b_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#persona_and_skins_enabled",
        "binding_name_override": "#visible"
      }
    ]
  },

  "change_skin_button@common_buttons.light_glyph_button": {
    "ignored": "(not $education_edition)",
    "$pressed_button_name": "button.menu_skins",
    "size": [ 25, 25 ],
    "anchor_from": "bottom_left",
    "anchor_to": "bottom_left",
    "$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"
  },

  "change_skin_button_demo@common_buttons.light_glyph_button": {
    "ignored": "(not $education_edition)",
    "$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"
  },

  "switch_accounts_button@common_buttons.light_content_button": {
    "ignored": "(not $education_edition)",
    "$pressed_button_name": "button.manage_account",
    "size": [ 25, 25 ],
    "anchor_from": "bottom_right",
    "anchor_to": "bottom_right",
    "$button_content_offset": [ 0, 0 ],
    "$button_content": "start.manage_accounts_icon",
    "$pressed_alpha": 0.65,
    "$focus_id": "menu_account_button",
    "$button_tts_header": "accounts.manage"
  },

  "dressing_room_button@common_buttons.light_text_form_fitting_button": {
    "ignored": "($education_edition)",
    "$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
  },

  "profile_button_content": {
    "type": "stack_panel",
    "size": [ "100%c", 24 ],
    "orientation": "horizontal",
    "controls": [
      {
        "gamerpic_offset_wrapper": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "gamerpic_with_border": {
                "type": "panel",
                "size": [ 18, 18 ],
                "offset": [ -2, 0 ],
                "controls": [
                  {
                    "gamerpic@start.gamerpic": {
                      "$gamerpic_visible": "#show_gamerpic"
                    }
                  },
                  {
                    "alex_icon@start.alex_icon": {
                      "bindings": [
                        {
                          "binding_name": "(not #show_gamerpic)",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "border_black@common.focus_border_black": {
                      "layer": 3,
                      "size": [ 18, 18 ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "padding_middle@common.empty_panel": {
          "size": [ 2, "100%" ]
        }
      },
      {
        "vertically_central_text": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "top_padding": {
                "type": "panel",
                "size": [ "0px", 4 ]
              }
            },
            {
              "profile_button_label@common_buttons.new_ui_binding_button_label": {
                "layer": 1,
                "$button_text": "menu.profile",
                "$button_text_size": [ "default", "default" ],
                "$button_text_max_size": [ "default", 20 ],
                "$button_text_binding_type": "none",
                "$button_binding_condition": "none",
                "$button_text_grid_collection_name": ""
              }
            }
          ]
        }
      },
      {
        "padding_right@common.empty_panel": {
          "size": [ 6, "100%" ]
        }
      }
    ]
  },

  "profile_button@common_buttons.light_content_form_fitting_button": {
    "size": [ "100%c", "100%c" ],
    "$button_content_size_override": [ "100%c", "100%c - 4px" ],
    "$button_content": "start.profile_button_content",
    "$pressed_button_name": "button.menu_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
      }
    ],
    "bindings": [
      {
        "binding_name": "#show_paper_doll",
        "binding_name_override": "#visible",
        "binding_condition": "always"
      }
    ],
    "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": {} }
    ]
  },

  //--------------------------------------------------------------------------
  // Friends drawer button panel
  //--------------------------------------------------------------------------

  "friendsdrawer_button_panel": {
    "type": "panel",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "offset": [ -5, 5 ],
    "size": [ "default", "default" ],
    "controls": [
      {
        "friendsdrawer_button@friendsbutton.button": {
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "$context": "start"
        }
      }
    ]
  },

  //--------------------------------------------------------------------------
  // Gathering
  //--------------------------------------------------------------------------

  "gathering_button@common_buttons.light_text_button": {
    "size": [ 100, 25 ],
    "$pressed_button_name": "button.gathering",
    "$button_text": "#gathering_button_text",
    "$button_text_binding_type": "global",
    "$focus_override_right": "play_button",
    "bindings": [
      {
        "binding_name": "#gathering_button_enabled",
        "binding_name_override": "#enabled"
      }
    ]
  },

  "gathering_animation": {
    "anim_type": "aseprite_flip_book",
    "initial_uv": [ 0, 0 ]
  },

  "badge_and_caption_animated": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "caption_and_padding": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "100%c" ],
          "layer": 14,
          "controls": [
            {
              "pad@common.empty_panel": {
                  "size": [ 10, 1 ]
              }
            },
            {
              "caption@start.gathering_caption": {}
            }
          ]
        }
      },
      {
        "badge_and_padding": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "use_child_anchors": true,
          "size": [ "100%", 40 ],
          "controls": [
            {
              "badge": {
                "size": [ 100, 40 ],
                "type": "image",
                "anchor_from": "bottom_left",
                "anchor_to": "bottom_left",
                "layer": 8,
                "uv_size": [ 475, 200 ],
                "uv": "@start.gathering_animation",
                "disable_anim_fast_forward": true,
                "allow_debug_missing_texture": false,
                "bindings": [
                  {
                    "binding_name": "#gathering_badge",
                    "binding_name_override": "#texture"
                  }
                ]
              }
            },
            {
              "fill@common.empty_panel": {
                "size": [ "fill", "100%" ]
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#gathering_badge_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#gathering_animated_badge",
        "binding_name_override": "#visible"
      }
    ]
  },

  "gathering_badge": {
    "type": "image",
    "size": [ "237%y", "100%" ],
    "layer": 20,
    "allow_debug_missing_texture": false,
    "bindings": [
      {
        "binding_name": "#gathering_badge",
        "binding_name_override": "#texture"
      }
    ]
  },

  "badge_and_caption": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "caption_and_padding": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "100%c" ],
          "layer": 14,
          "controls": [
            {
              "pad@common.empty_panel": {
                "size": [ 12, 1 ]
              }
            },
            {
              "caption@start.gathering_caption": {}
            }
          ]
        }
      },
      {
        "badge_and_padding": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", 30 ],
          "controls": [
            {
              "badge@start.gathering_badge": {}
            },
            {
              "fill@common.empty_panel": {
                "size": [ "fill", "100%" ]
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#gathering_badge_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "(not #gathering_animated_badge)",
        "binding_name_override": "#visible"
      }
    ]
  },

  "gathering_caption": {
    "type": "image",
    "size": [ "100%c + 6px", "100%c + 12px" ],
    "anchor_to": "bottom_middle",
    "anchor_from": "bottom_middle",
    "layer": 9,
    "$gathering_caption_foreground_color|default": "$0_color_format",
    "$gathering_caption_background_color|default": "$f_color_format",
    "color": "$gathering_caption_background_color",
    "texture": "textures/ui/flyout",
    "keep_ratio": false,
    "controls": [
      {
        "countdown_text": {
          "type": "label",
          "text": "#text",
          "font_scale_factor": 0.9,
          "offset": [ 0, -2 ],
          "size": [ 88, "default" ],
          "text_alignment": "center",
          "layer": 10,
          "color": "$gathering_caption_foreground_color",
          "bindings": [
            {
              "binding_name": "#gathering_countdown_text",
              "binding_name_override": "#text",
              "binding_condition": "always_when_visible"
            },
            {
              "binding_name": "#gathering_caption_foreground_color",
              "binding_name_override": "#color"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#gathering_caption_background_color",
        "binding_name_override": "#color"
      }
    ]
  },

  "gathering_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "ignored": "($education_edition or $showing_new_player_flow_buttons)",
    "controls": [
      {
        "horizontal_panel": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "pad@common.empty_panel": {
                "size": [ 5, 0 ]
              }
            },
            {
              "inner_panel": {
                "type": "stack_panel",
                "orientation": "vertical",
                "anchor_to": "bottom_left",
                "anchor_from": "bottom_left",
                "size": [ "100% - 5px", "100%c" ],
                "controls": [
                  {
                    "badge_and_caption@start.badge_and_caption": {}
                  },
                  {
                    "badge_and_caption_animated@start.badge_and_caption_animated": {}
                  },
                  {
                    "gathering_button@start.gathering_button": {}
                  }
                ]
              }
            }
          ]
        }
      },
      // The gathering panel is stacked on top of either the upper or lower online buttons. This padding is only needed when the upper online buttons are visible.
      {
        "bottom_pad": {
          "type": "panel",
          "size": [ "100%", 5 ],
          "bindings": [
            {
              "binding_name": "#upper_online_buttons_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#gathering_enabled",
        "binding_name_override": "#visible"
      }
    ]
  },

  //---------------------------------------------------------------------------
  // 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.light_content_button": {
    "size": [ 24, 24 ],
    "$button_pressed_offset": [ 0, 0 ],
    "$button_content": "start.feedback_icon",
    "$pressed_button_name": "button.feedback_button_pressed"
  },

  "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" } }
    ]
  },

  "inbox_button@common_buttons.light_content_button": {
    "size": [ 24, 24 ],
    "$button_content": "start.inbox_bell_animated_icon",
    "$pressed_button_name": "button.menu_inbox",
    "$button_tts_header": "menu.inbox",
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "to_button_id": "inbox_button.is_hovered",
        "mapping_type": "pressed"
      }
    ]
  },

  "inbox_button_unread_panel": {
    "type": "panel",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "size": [ 7, 8 ],
    "offset": [ 0, 1 ],
    "controls": [
      {
        "background@start.unread_notification_icon": {
          "layer": 8
        }
      }
    ]
  },

  "inbox_icon_button": {
    "type": "panel",
    "$button_tts_header": "menu.inbox",
    "offset": [ 0, 0 ],
    "ignored": "$education_edition",
    "controls": [
      { "inbox_button@start.inbox_button": {} },
      { "inbox_button_unread_panel@start.inbox_button_unread_panel": {} }
    ]
  },

  // 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",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "top_pad": {
          "type": "panel",
          "size": [ "100%", 5 ]
        }
      },
      {
        "stacked_column": {
          "type": "stack_panel",
          "size": [ "100%", "100%c" ],
          "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, 25 ],
                "max_size": [ "95%", 25 ],
                "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@start.gamerpic": {}
                        },
                        {
                          "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"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "bottom_pad": {
          "type": "panel",
          "size": [ "100%", 5 ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#upper_online_buttons_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "lower_online_buttons_panel": {
    "type": "stack_panel",
    "anchor_to": "bottom_left",
    "anchor_from": "bottom_left",
    "size": [ "100%", "100%c" ],
    "variables": [
      {
        "requires": "($showing_new_player_flow_buttons)",
        "$anim_type": "@start.anim_main_buttons_panel_alpha"
      },
      {
        "requires": "(not $showing_new_player_flow_buttons)",
        "$anim_type": 1.0
      }
    ],
    "alpha": "$anim_type",
    "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": [ 3, "100%" ],
                "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, "100%" ],
                "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"
                  }
                ]
              }
            },
            {
              "inbox_padding": {
                "type": "panel",
                "size": [ 3, "100%" ],
                "bindings": [
                  {
                    "binding_name": "#inbox_enabled",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "inbox_btn@start.column_frame": {
                "size": [ 28, 32 ],
                "controls": [
                  { "inbox_icon_button@start.inbox_icon_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#inbox_enabled",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "profile_btn_padding": {
                "type": "panel",
                "size": [ 5, "100%" ],
                "bindings": [
                  {
                    "binding_name": "#profile_button_a_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "profile_btn@start.column_frame": {
                "size": [ "100%c", 32 ],
                "controls": [
                  { "profile_button@start.profile_button": {} }
                ],
                "bindings": [
                  {
                    "binding_name": "#profile_button_a_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  //---------------------------------------------------------------------------
  // Main Buttons Panel
  //---------------------------------------------------------------------------

  "main_button@common_buttons.light_text_button": {
    "size": [ "100% - 2px", "100% - 2px" ]
  },

  "main_button_dark@common_buttons.dark_text_button": {
    "size": [ "100% - 2px", "100% - 2px" ]
  },

  "main_content_button@common_buttons.light_content_button": {
    "size": [ "100% - 2px", "100% - 2px" ]
  },

  "main_button_gif": {
    "type": "custom",
    "renderer": "animated_gif_renderer",
    "size": [ "100% + 30px", "100% + 2px" ], // covers button safe area (180x34)
    "$gif_path_binding_name|default": "",
    "$gif_alpha_binding_name|default": "",
    "bindings": [
      {
        "binding_name": "$gif_path_binding_name",
        "binding_name_override": "#gif_path",
        "binding_condition": "visible"
      },
      {
        "ignored": "($gif_alpha_binding_name = '')",
        "binding_name": "$gif_alpha_binding_name",
        "binding_name_override": "#alpha",
        "binding_condition": "visible"
      },
      {
        "binding_type": "view",
        "source_property_name": "(#alpha = 0.0)",
        "target_property_name": "#pause_gif"
      }
    ]
  },

  "main_button_banner": {
    "type": "image",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "offset": [ 9, 0 ],
    "size": [ "100%c + 12px", 14 ],
    "$banner_visible_binding_name|default": "",
    "$banner_texture_binding_name|default": "",
    "$banner_texture_source_binding_name|default": "",
    "$banner_text_binding_name|default": "",
    "$banner_text_color_binding_name|default": "",
    "bindings": [
      {
        "binding_name": "#banner_nineslice_size",
        "binding_name_override": "#nineslice_size",
        "binding_condition": "once"
      },
      {
        "ignored": "($banner_visible_binding_name = '')",
        "binding_name": "$banner_visible_binding_name",
        "binding_name_override": "#visible"
      },
      {
        "ignored": "($banner_texture_binding_name = '')",
        "binding_name": "$banner_texture_binding_name",
        "binding_name_override": "#texture",
        "binding_condition": "visible"
      },
      {
        "ignored": "($banner_texture_source_binding_name = '')",
        "binding_name": "$banner_texture_source_binding_name",
        "binding_name_override": "#texture_file_system",
        "binding_condition": "visible"
      }
    ],
    "controls": [
      {
        "banner_label": {
          "type": "label",
          "size": [ "default", 10 ],
          "offset": [ -3, -1 ],
          "color": "$title_text_color",
          "layer": 1,
          "text": "#text",
          "tts_name": "accessibility.store.tag",
          "tts_control_type_order_priority": 1004, // To be read after the button control type
          "tts_value_order_priority": 1003,
          "bindings": [
            {
              "ignored": "($banner_text_binding_name = '')",
              "binding_name": "$banner_text_binding_name",
              "binding_name_override": "#text",
              "binding_condition": "visible"
            },
            {
              "ignored": "($banner_text_color_binding_name = '')",
              "binding_name": "$banner_text_color_binding_name",
              "binding_name_override": "#color",
              "binding_condition": "visible"
            }
          ]
        }
      }
    ]
  },

  "play_button@start.main_button": {
    "$pressed_button_name": "$play_button_target",
    "$button_text": "menu.play",
    "$focus_override_right": "profile_button",
    "default_focus_precedence": 1,
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "to_button_id": "play_button.is_hovered",
        "mapping_type": "pressed"
      }
    ]
  },

  "play_button_art": {
    "type": "panel",
    "controls": [
      {
        "default_background@start.main_button_gif": {
          "layer": 1,
          "$gif_path_binding_name": "#play_button_art_default_bg_path",
          "$gif_alpha_binding_name": "#play_button_art_default_alpha"
        }
      },
      {
        "hover_background@start.main_button_gif": {
          "layer": 2,
          "$gif_path_binding_name": "#play_button_art_hover_bg_path",
          "$gif_alpha_binding_name": "#play_button_art_hover_alpha"
        }
      },
      {
        "label": {
          "type": "label",
          "layer": 3,
          "font_type": "default",
          "text": "menu.play",
          "color": "$light_button_default_text_color",
          "bindings": [
            {
              "binding_name": "#play_button_art_label_color",
              "binding_name_override": "#color",
              "binding_condition": "visible"
            }
          ]
        }
      },
      {
        "default_foreground@start.main_button_gif": {
          "layer": 4,
          "$gif_path_binding_name": "#play_button_art_default_fg_path",
          "$gif_alpha_binding_name": "#play_button_art_default_alpha"
        }
      },
      {
        "hover_foreground@start.main_button_gif": {
          "layer": 5,
          "$gif_path_binding_name": "#play_button_art_hover_fg_path",
          "$gif_alpha_binding_name": "#play_button_art_hover_alpha"
        }
      }
    ]
  },

  "play_button_stack@start.stacked_row": {
    "controls": [
      {
        "play_button@start.play_button": {}
      },
      {
        "play_button_art@start.play_button_art": {
          "layer": 12,
          "bindings": [
            {
              "binding_name": "#play_button_art_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "play_button_banner@start.main_button_banner": {
          "layer": 18,
          "$banner_visible_binding_name": "#play_button_banner_visible",
          "$banner_texture_binding_name": "#play_button_banner_texture",
          "$banner_texture_source_binding_name": "#play_button_banner_texture_source",
          "$banner_text_binding_name": "#play_button_banner_text",
          "$banner_text_color_binding_name": "#play_button_banner_text_color"
        }
      }
    ]
  },

  "get_started_button@start.main_button": {
    "$pressed_button_name": "button.menu_get_started",
    "$button_text": "menu.getStarted"
  },

  "main_menu_button@edu_common.underline_button": {
    "$pressed_button_name": "button.open_main_menu",
    "$single_label_size": [ "default", "default" ],
    "$single_line_font_scale_factor": 1,
    "$single_line_label_text": "#get_open_main_menu_text",
    "$label_text_bindings": [
      {
        "binding_name": "$single_line_label_text"
      }
    ],
    "$font_type": "smooth"
  },

  "featured_world_button@start.main_button": {
    "$pressed_button_name": "button.featured_category",
    "$button_text": "start_screen.start_demo"
  },

  "unlock_full_game_button@start.main_button": {
    "$pressed_button_name": "button.manage_account",
    "$button_text": "#unlock_full_game_button_text",
    "$button_text_binding_type": "global"
  },

  "launch_editions_button@start.main_button": {
    "$pressed_button_name": "button.launch_editions",
    "$button_text": "menu.editions"
  },

  "ai_lesson_crafter_button@common_buttons.light_content_button": {
    "size": [ "100% - 2px", "100% - 2px" ],
    "ignored": "(not $education_edition)",
    "$pressed_button_name": "button.ai_lesson_crafter",
    "$button_content": "start.edu_ai_lesson_crafter_button_content"
  },

  "settings_button@start.main_button": {
    "$pressed_button_name": "button.menu_settings",
    "$button_text": "menu.settings"
  },

  "realms_button@start.main_button_dark": {
    "$pressed_button_name": "button.menu_realms",
    "$button_text": "menu.realmsServer",
    "$default_button_texture": "textures/ui/realms_button_borderless_default",
    "$hover_button_texture": "textures/ui/realms_button_borderless_hover",
    "$pressed_button_texture": "textures/ui/realms_button_borderless_hover_pressed"
  },

  "servers_button@start.main_button": {
    "$pressed_button_name": "button.menu_servers",
    "$button_text": "menu.servers"
  },

  "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",
    "bindings": [
      {
        "binding_name": "(not #marketplace_disabled)",
        "binding_name_override": "#visible"
      }
    ],
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "to_button_id": "store_button.is_hovered",
        "mapping_type": "pressed"
      }
    ]
  },

  "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 ],
          "visible": false // leaving this here in case we override with a treatment pack during a sale
        }
      }
    ]
  },

  "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_art": {
    "type": "panel",
    "controls": [
      {
        "default_background@start.main_button_gif": {
          "layer": 1,
          "$gif_path_binding_name": "#store_button_art_default_bg_path",
          "$gif_alpha_binding_name": "#store_button_art_default_alpha"
        }
      },
      {
        "hover_background@start.main_button_gif": {
          "layer": 2,
          "$gif_path_binding_name": "#store_button_art_hover_bg_path",
          "$gif_alpha_binding_name": "#store_button_art_hover_alpha"
        }
      },
      {
        "label": {
          "type": "label",
          "layer": 3,
          "font_type": "default",
          "text": "menu.store",
          "color": "$light_button_default_text_color",
          "bindings": [
            {
              "binding_name": "#store_button_art_label_color",
              "binding_name_override": "#color",
              "binding_condition": "visible"
            }
          ]
        }
      },
      {
        "default_foreground@start.main_button_gif": {
          "layer": 4,
          "$gif_path_binding_name": "#store_button_art_default_fg_path",
          "$gif_alpha_binding_name": "#store_button_art_default_alpha"
        }
      },
      {
        "hover_foreground@start.main_button_gif": {
          "layer": 5,
          "$gif_path_binding_name": "#store_button_art_hover_fg_path",
          "$gif_alpha_binding_name": "#store_button_art_hover_alpha"
        }
      }
    ]
  },

  "store_button_stack@start.stacked_row": {
    "controls": [
      {
        "store_button@start.store_button": {
          "enabled": "(not $store_disabled and not ($is_ios and $pre_release)))"
        }
      },
      {
        "store_button_art@start.store_button_art": {
          "ignored": "$store_disabled",
          "layer": 12,
          "bindings": [
            {
              "binding_name": "#store_button_art_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "store_button_banner@start.main_button_banner": {
          "ignored": "$store_disabled",
          "layer": 18,
          "$banner_visible_binding_name": "#store_button_banner_visible",
          "$banner_texture_binding_name": "#store_button_banner_texture",
          "$banner_texture_source_binding_name": "#store_button_banner_texture_source",
          "$banner_text_binding_name": "#store_button_banner_text",
          "$banner_text_color_binding_name": "#store_button_banner_text_color"
        }
      },
      {
        "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"
            }
          ]
        }
      }
    ]
  },

  "buy_game_button@start.main_button": {
    "$pressed_button_name": "button.menu_buy_game",
    "$button_text": "$unlock_full_game_button_text"
  },

  "stacked_row": {
    "type": "panel",
    "size": [ "100%", 32 ]
  },

  "main_buttons_stack_panel": {
    "type": "stack_panel",
    "size": [ "100%", "100%" ],
    "orientation": "vertical",
    "$title_offset_padding|default": [ "100%", "12%" ],
    "variables": [
      {
        "requires": "($pocket_screen)",
        "$title_offset_padding": [ "100%", "12%" ]
      }
    ],
    "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" ],
          "variables": [
            {
              "requires": "($showing_new_player_flow_buttons)",
              "$anim_type": "@start.anim_main_buttons_panel_alpha"
            },
            {
              "requires": "(not $showing_new_player_flow_buttons)",
              "$anim_type": 1.0
            }
          ],
          "bindings": [
            {
              "binding_name": "(not #showing_new_player_flow_buttons)",
              "binding_name_override": "#visible"
            }
          ],
          "alpha": "$anim_type",
          "propagate_alpha": true,
          "controls": [
            {
              "main_buttons_panel@start.main_buttons_panel": {}
            }
          ]
        }
      },
      {
        "main_buttons_panel_new_player_flow": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "bindings": [
            {
              "binding_name": "#showing_new_player_flow_buttons",
              "binding_name_override": "#visible"
            }
          ],
          "alpha": "@start.anim_new_player_buttons_panel_alpha",
          "propagate_alpha": true,
          "controls": [
            {
              "main_buttons_panel_new_player_flow@start.main_buttons_panel_new_player_flow": {}
            }
          ]
        }
      },
      {
        "padding_fill_2": {
          "type": "panel",
          "size": [ "100%", "fill" ],
          "controls": [
            {
              "gamepad_helpers@start.gamepad_helpers": {}
            }
          ]
        }
      },
      {
        "padding_3": {
          "type": "panel",
          "size": [ "100%", 10 ] // size of text at the bottom of the screen
        }
      }
    ]
  },

  "main_buttons_panel_new_player_flow": {
    "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": [
            {
              "test_label_row@start.stacked_row": {
                "ignored": "(not $trial)",
                "controls": [
                  {
                    "trial_info@start.trial_info": {}
                  }
                ]
              }
            },
            {
              "spacer": {
                "type": "panel",
                "ignored": "(not $trial)",
                "size": [ 20, 20 ]
              }
            },
            {
              "get_started_row@start.stacked_row": {
                "controls": [
                  {
                    "get_started_button@start.get_started_button": {}
                  }
                ]
              }
            },
            {
              "main_menu_row@start.stacked_row": {
                "controls": [
                  {
                    "main_menu_button@start.main_menu_button": {}
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "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": [
            {
              "play@start.play_button_stack": {
                "ignored": "(not $play_button_visible)"
              }
            },
            {
              "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)"
                                }
                              },
                              {
                                "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"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "ai_lesson_crafter_row@start.stacked_row": {
                "bindings": [
                  {
                    "binding_name": "#edu_ai_lesson_crafter_on",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  { "ai_lesson_crafter_button@start.ai_lesson_crafter_button": {} },
                  { "lesson_crafter_preview_overlay@start.preview_tag": {} }
                ]
              }
            },
            {
              "edu_featured_button@start.stacked_row": {
                "ignored": "(not $education_edition)",
                "bindings": [
                  {
                    "binding_name": "#edu_signed_in_only_ui_visible",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  {
                    "new_and_featured_button@edu_featured.featured_button": {}
                  }
                ]
              }
            },
            {
              "settings_and_editions_panel@start.stacked_row": {
                "ignored": "($trial or not $supports_launching_legacy_version)",
                "bindings": [
                  {
                    "binding_name": "#realms_promo_visible",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  {
                    "settings_and_editions": {
                      "type": "stack_panel",
                      "size": [ "100%", "100%" ],
                      "orientation": "horizontal",
                      "ignored": "($trial or not $supports_launching_legacy_version)",
                      "bindings": [
                        {
                          "binding_name": "#editions_visible",
                          "binding_name_override": "#visible"
                        }
                      ],
                      "controls": [
                        {
                          "settings_panel": {
                            "type": "panel",
                            "size": [ "fill", "100%" ],
                            "controls": [
                              { "settings_button@start.settings_button": {} }
                            ]
                          }
                        },
                        {
                          "editions_panel": {
                            "type": "panel",
                            "size": [ "fill", "100%" ],
                            "controls": [
                              {
                                "launch_editions_button@start.launch_editions_button": {}
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "settings_panel@start.stacked_row": {
                      "bindings": [
                        {
                          "binding_name": "(not #editions_visible)",
                          "binding_name_override": "#visible"
                        }
                      ],
                      "controls": [
                        {
                          "settings_button@start.settings_button": {
                            "$focus_override_right": "profile_button"
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "settings@start.stacked_row": {
                "ignored": "($trial and not $use_single_column_for_buttons)",
                "bindings": [
                  {
                    "binding_name": "#not_realms_promo_visible_and_supports_launching_legacy_version",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  {
                    "settings_button@start.settings_button": {
                      "$focus_override_right": "profile_button"
                    }
                  }
                ]
              }
            },
            {
              "realms@start.stacked_row": {
                "ignored": "($trial or $is_preview_app)",
                "bindings": [
                  {
                    "binding_name": "#realms_promo_visible",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  {
                    "realms_button@start.realms_button": {
                      "$button_text": "menu.realms"
                    }
                  }
                ]
              }
            },
            {
              "unlock_full_game_row@start.stacked_row": {
                "ignored": "(not $education_edition)",
                "bindings": [
                  {
                    "binding_name": "#edu_demo_only_ui_visible",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  { "unlock_full_game@start.unlock_full_game_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_and_not_realms_promo_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"
            }
          ]
        }
      }
    ]
  },

  //---------------------------------------------------------------------------
  // 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 ]
              }
            }
          ]
        }
      }
    ]
  },

  //---------------------------------------------------------------------------
  // 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"
      }
    ],
    "$screen_content": "start.start_screen_content"
  },

  "start_screen_content": {
    "type": "panel",
    "$achievements_ignored|default": false,
    "$feedback_ignored|default": false,
    "$store_ignored|default": false,
    "variables": [
      {
        "requires": "$education_edition",
        "$achievements_ignored": true,
        "$store_ignored|default": true
      },
      {
        "requires": "$nx_os",
        "$feedback_ignored": true
      },
      {
        "requires": "(not $supports_xbl_achievements)",
        "$achievements_ignored": true,
        "$feedback_ignored": true
      },
      {
        "requires": "$trial",
        "$achievements_ignored": true
      }
    ],
    "bindings": [
      {
        "binding_name": "(not #screen_needs_rebuild)",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "main_buttons_and_title_panel@start.main_buttons_stack_panel": {}
      },
      {
        "online_button_stack": {
          "type": "stack_panel",
          "orientation": "vertical",
          "anchor_to": "bottom_left",
          "anchor_from": "bottom_left",
          "size": [ "50% - 75px", "100%c" ],
          "offset": [ 0, "-10%" ],
          "variables": [
            {
              "requires": "($showing_new_player_flow_buttons)",
              "$anim_type": "@start.anim_main_buttons_panel_alpha"
            },
            {
              "requires": "(not $showing_new_player_flow_buttons)",
              "$anim_type": 1.0
            }
          ],
          "alpha": "$anim_type",
          "controls": [
            {
              "gathering_panel@start.gathering_panel": {}
            },
            {
              "upper_online_buttons_panel@start.upper_online_buttons_panel": {}
            },
            {
              "lower_online_buttons_panel@start.lower_online_buttons_panel": {}
            }
          ],
          "bindings": [
            {
              "binding_name": "#online_stack_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "skin_panel@start.skin_panel": { "layer": 1 }
      },
      {
        "text_panel@start.text_panel": {}
      },
      {
        "friendsdrawer_button_panel@start.friendsdrawer_button_panel": {
          "$focus_id": "friendsdrawer_button",
          "bindings": [
            {
              "binding_name": "#friends_drawer_button_enabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  }
}
