/* LEO Core V4.1.5 — profilo separato strutturalmente dalla navigazione */

@media (min-width: 821px) {
  body.leoCoreV4 .app {
    position: relative !important;
  }

  body.leoCoreV4 .app > #profileName.leoV415ProfileAnchor,
  body.leoCoreV4 .app > .profilePill.leoV415ProfileAnchor {
    position: absolute !important;
    z-index: 550 !important;
    top: 28px !important;
    right: 28px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    min-width: 150px !important;
    min-height: 52px !important;
    max-width: 190px !important;
    padding: 0 24px !important;
    margin: 0 !important;
    gap: 9px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  body.leoCoreV4 .app > #profileName.leoV415ProfileAnchor::before,
  body.leoCoreV4 .app > .profilePill.leoV415ProfileAnchor::before {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #b49b80, #d4b995);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 6px 17px rgba(91, 76, 61, .14);
    content: "E";
    font-size: 14px;
    font-weight: 720;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  body.leoCoreV4 .app > #profileName.leoV415ProfileAnchor,
  body.leoCoreV4 .app > .profilePill.leoV415ProfileAnchor {
    min-width: 128px !important;
    padding: 0 15px !important;
  }
}
