/* V1.28Beta-home-mode-full-frame-action1:
   Each complete painted mode plate is the button. Never crop or redraw its frame. */
html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select {
  grid-auto-rows: auto !important;
  align-items: start !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode] {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  justify-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 !important;
  padding: 0 8% !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  color: #173d5c !important;
  -webkit-text-fill-color: currentColor !important;
  background-image: var(--mode-action-art) !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  box-shadow: none !important;
  filter:
    saturate(1.02)
    drop-shadow(0 8px 12px rgba(23, 65, 96, 0.16)) !important;
  text-align: center !important;
  transform: translateY(0) scale(1) !important;
  transform-origin: center center !important;
  transition: transform 150ms ease, filter 150ms ease !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode="1v1"][data-mode] {
  --mode-action-art: url("assets/ui/mode-1v1-home-whitegold-frame-v1.png?v=V1.28Beta-home-mode-full-frame-action1") !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode="2v2"][data-mode] {
  --mode-action-art: url("assets/ui/mode-2v2-home-whitegold-frame-v1.png?v=V1.28Beta-home-mode-full-frame-action1") !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode="3v3"][data-mode] {
  --mode-action-art: url("assets/ui/mode-3v3-home-whitegold-frame-v1.png?v=V1.28Beta-home-mode-full-frame-action1") !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode="identity"][data-mode] {
  --mode-action-art: url("assets/ui/mode-identity-home-whitegold-council-v1.png?v=V1.28Beta-home-mode-full-frame-action1") !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode]::before,
html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode]::after {
  content: none !important;
  display: none !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode] > span {
  position: relative !important;
  z-index: 1 !important;
  color: #fff4cf !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: clamp(30px, 2.7vw, 42px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow:
    0 2px 2px rgba(8, 38, 61, 0.96),
    0 0 4px rgba(8, 38, 61, 0.82),
    0 1px 0 rgba(255, 255, 255, 0.55) !important;
  white-space: nowrap !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode] > small {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 5px !important;
  color: #0e3a5b !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: clamp(13px, 1.05vw, 16px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-rendering: geometricPrecision !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode]:hover:not(:disabled),
html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode]:focus-visible:not(:disabled) {
  filter:
    saturate(1.08)
    brightness(1.04)
    drop-shadow(0 9px 14px rgba(55, 126, 176, 0.22)) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode]:active:not(:disabled) {
  transform: translateY(1px) scale(0.99) !important;
}

html body:not(.maintenance-mode)
  #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
  .mode-select.mode-select.mode-select.mode-select
  button[data-mode][data-mode].selected {
  box-shadow: none !important;
  filter:
    saturate(1.08)
    brightness(1.03)
    drop-shadow(0 0 8px rgba(90, 180, 236, 0.28))
    drop-shadow(0 8px 13px rgba(23, 65, 96, 0.17)) !important;
}

@media (max-width: 720px) {
  html body:not(.maintenance-mode)
    #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo:not(.room-lobby-app):not(.character-select-app):not(.identity-select-app):not(.team-battle-app):not(.identity-battle-app)
    .arena {
    background:
      linear-gradient(180deg, rgba(3, 10, 20, 0.03), rgba(3, 10, 20, 0.13) 100%),
      var(--luminary-home-bg) center center / cover no-repeat,
      #eaf7ff !important;
  }

  html body:not(.maintenance-mode)
    #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
    .mode-select.mode-select.mode-select.mode-select
    button[data-mode][data-mode] {
    padding: 0 6% !important;
  }

  html body:not(.maintenance-mode)
    #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
    .mode-select.mode-select.mode-select.mode-select
    button[data-mode][data-mode] > span {
    font-size: clamp(26px, 7.2vw, 31px) !important;
  }

  html body:not(.maintenance-mode)
    #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.solo.solo
    .mode-select.mode-select.mode-select.mode-select
    button[data-mode][data-mode] > small {
    margin-top: 4px !important;
    font-size: clamp(13px, 3.5vw, 15px) !important;
  }
}
