body .header-place
{
  display: none;

  position: fixed;

  left: -2px;
  width: calc(100% + 4px);

  border-radius: 0px 0px 25px 25px;

  border-bottom: 1px solid var(--gold-color-light);
  border-left: 1px solid var(--gold-color-light);
  border-right: 1px solid var(--gold-color-light);

  box-shadow: 0px 3px 5px rgb(0 0 0 / 50%);

  background: var(--popup-page-background);

  z-index: 2;
}

body .header
{
  display: flex;

  padding: 8px 12px;
  
  justify-content: space-between;

  gap: 5px;

  box-sizing: border-box;
}

body .header .user
{
  display: flex;

  gap: 6px;

  align-items: center;
  justify-content: left;
  overflow: hidden;
}

body .header .user .avatar
{
  width: 22px;
  height: 22px;

  border-radius: 6px;

  overflow: hidden;
}

body .header .user .avatar img
{
  max-width: 100%;
}

body .header .user .name
{
  color: var(--base-text-color);

  font-size: 93%;
  font-weight: var(--title-font-weight);
}

body .header .user .name svg
{
  width: 28px;
  height: 28px;
}

body .scene .header .user .name.holder
{
  min-width: 100px;
  min-height: 20px;

  border-radius: 6px;
}

body .header .holder
{
  background: #3E3E3E;
}

body .header .logo
{

}

body .header .logo div
{
  width: 70px;
  height: 10px;
  position: relative;

  margin-top: -5px;

  text-align: center;
}

body .header .logo img
{
  width: 70px;
  height: 70px;
}



body .header .controls
{
  width: calc(50% - 10px - 40px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  gap: 1vw;

  align-items: center;

  padding: 0px 6px 0px 0px;
}
body .header .controls.right
{
  flex-direction: row-reverse;
  justify-content: right;
  padding: 0px 0px 0px 6px;
}

body .header .item.token
{
  margin-right: 2.5vw;
}

body .header .item.ton-coins
{
  display: flex;
  flex-direction: row;

  gap: 2vw;
}

body .header .item a
{
  display: flex;

  gap: 2px;

  align-items: center;

  font-size: 90%;
  font-weight: var(--title-font-weight);

  padding: 7px 0px 7px 0px;
}

body .header .item svg,
body .header .item img
{
  width: 20px;
  height: 20px;

  border-radius: 11px;

  box-shadow: 0px 0px 6px rgb(0 0 0 / 30%);
}


body .header .page-icons
{
  display: flex;
  flex-direction: row;

  gap: 8px;
}

body .header .page-icons .item svg,
body .header .page-icons .item img
{
  width: 20px;
  height: 20px;

  border-radius: 15px;
}

body .header .item .settings svg
{
  width: 20px;
  height: 20px;
}

@media (min-width: 290px)
{
  body .header .item a
  {
    gap: 0px;
  }

  body .header .page-icons
  {
    display1: none;
  }

  body .ton-coins
  {
    display1: none;
  }
}

@media (min-width: 320px)
{
  body .header .item a
  {
    gap: 2px;
  }

  body .header .page-icons
  {
    display1: none;
  }

  body .ton-coins
  {
    display1: none;
  }
}

@media (min-width: 420px)
{
  body .header .item a
  {
    gap: 2px;
  }

  body .header .page-icons
  {
    display: flex;
  }

  body .ton-coins
  {
    display: block;
  }
}

